Sfoglia il codice sorgente

fix broken fcntl locks on x86_64

Rich Felker 14 anni fa
parent
commit
ace973637f
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      arch/x86_64/bits/fcntl.h

+ 3 - 3
arch/x86_64/bits/fcntl.h

@@ -39,9 +39,9 @@
 #define F_SETOWN 8
 #define F_SETOWN 8
 #define F_GETOWN 9
 #define F_GETOWN 9
 
 
-#define F_GETLK 12
-#define F_SETLK 13
-#define F_SETLKW 14
+#define F_GETLK 5
+#define F_SETLK 6
+#define F_SETLKW 7
 
 
 #define FD_CLOEXEC 1
 #define FD_CLOEXEC 1