Группа :: Эмуляторы
Пакет: dosemu
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: dosemu-1.1.3.2-oplocks.patch
diff -ur dosemu-1.1.3.3/src/dosext/mfs/mfs.c dosemu-1.1.3.3.bart/src/dosext/mfs/mfs.c
--- dosemu-1.1.3.3/src/dosext/mfs/mfs.c Sun Aug 18 18:45:42 2002
+++ dosemu-1.1.3.3.bart/src/dosext/mfs/mfs.c Sat Sep 14 18:32:38 2002
@@ -3864,8 +3864,12 @@
the top two bits are set. Shift the top ones by two bits. This
still allows OLE2 apps to operate, but should stop lockd from
dieing */
+#if 0
if ((larg.l_start & mask) != 0)
larg.l_start = (larg.l_start & ~mask) | ((larg.l_start & mask) >> 2);
+#else
+ larg.l_start &= 0x7fffffff;
+#endif
ret = fcntl (fd,F_SETLK,&larg);
Debug0((dbg_fd, "lock fd=%x rc=%x type=%x whence=%x start=%lx, len=%lx\n",