delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/01/09:49:03

Message-ID: <390D7FF5.3042DEE@softhome.net>
Date: Mon, 01 May 2000 16:00:37 +0300
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.72 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Zack Weinberg <zack AT wolery DOT cumb DOT org>
CC: gcc-patches AT gcc DOT gnu DOT org, DJGPP Workers <djgpp-workers AT delorie DOT com>
Subject: Re: Minor DJGPP fixes
References: <390C769C DOT 812EAB7D AT softhome DOT net> <20000501000928 DOT J11780 AT wolery DOT cumb DOT org>
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019