Mail Archives: djgpp-workers/2000/05/01/09:49:03
Thanks for your feedback, Zack.
Zack Weinberg wrote:
> Therefore, I'd be willing to dump the fcntl() call entirely and open
> the file in blocking mode on all hosts. Does anyone else have an
> opinion?
OK, I'll delay fcntl() part of patch until I see your solution.
What about other fixes?
2000-05-01 Laurynas Biveinis <lauras AT softhome DOT net>
* config/i386/djgpp.h (INT_ASM_OP): define.
* tm.texi: Fix typo in TARGET_HAS_F_SETFLKW description.
diff -u -r cvs/gcc/gcc/config/i386/djgpp.h gcc/gcc/config/i386/djgpp.h
--- cvs/gcc/gcc/config/i386/djgpp.h Thu Mar 30 04:19:20 2000
+++ gcc/gcc/config/i386/djgpp.h Mon May 1 15:48:52 2000
@@ -205,3 +205,8 @@
/* Used to be defined in xm-djgpp.h, but moved here for cross-compilers. */
#define LIBSTDCXX "-lstdcxx"
+
+/* This is the pseudo-op used to generate a 32-bit word of data with a
+ specific value in some section. */
+
+#define INT_ASM_OP ".long"
diff -u -r cvs/gcc/gcc/tm.texi gcc/gcc/tm.texi
--- cvs/gcc/gcc/tm.texi Wed Apr 26 00:10:26 2000
+++ gcc/gcc/tm.texi Mon May 1 15:48:42 2000
@@ -7949,7 +7949,7 @@
@findex TARGET_HAS_F_SETLKW
@item TARGET_HAS_F_SETLKW
-Define this macro iff the target supports file locking with fcntl / F_SETLKW.
+Define this macro if the target supports file locking with fcntl / F_SETLKW.
Note that this functionality is part of POSIX.
Defining @code{TARGET_HAS_F_SETLKW} will enable the test coverage code
to use file locking when exiting a program, which avoids race conditions
- Raw text -