]> gcc.gnu.org Git - gcc.git/commitdiff
system.h (fopen, [...]): Define these to the unlocked libiberty functions.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 19 Apr 2005 12:37:08 +0000 (12:37 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 19 Apr 2005 12:37:08 +0000 (12:37 +0000)
fixincludes:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.

gcc:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.

libcpp:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.

From-SVN: r98407

fixincludes/ChangeLog
fixincludes/system.h
gcc/ChangeLog
gcc/system.h
libcpp/ChangeLog
libcpp/system.h

index d6129d6a8ec26a6f7696fa39ff47ab7df0b0d8cb..36300e433dfcd3a3da0db7ef6f0698b921bfb9d0 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (fopen, fdopen, freopen): Define these to the unlocked
+       libiberty functions.
+
 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
index 4873d091cd6883003cab9adf8d9e88879f72dca6..602654e6b304b9a9e2644162fa7b2d9957123a61 100644 (file)
@@ -38,6 +38,11 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #define NULL 0
 #endif
 
+/* Use the unlocked open routines from libiberty.  */
+#define fopen(PATH,MODE) fopen_unlocked(PATH,MODE)
+#define fdopen(FILDES,MODE) fdopen_unlocked(FILDES,MODE)
+#define freopen(PATH,MODE,STREAM) freopen_unlocked(PATH,MODE,STREAM)
+
 /* fixincludes is not a multi-threaded application and therefore we
    do not have to use the locking functions.  In fact, using the locking
    functions can cause the compiler to be significantly slower under
index 844197d44f2edfb814ef2cbf019d72ebe2a68f47..e1b7265e6f267f25d053adcd840fc541766204c0 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (fopen, fdopen, freopen): Define these to the unlocked
+       libiberty functions.
+
 2005-04-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        PR tree-optimization/21096
index dc009d1ae2dcde65d0dc8191c5c6e33754c26c2e..62b8c0488a22b4c440f32f0289c5455d79d2b941 100644 (file)
@@ -46,6 +46,11 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #define NULL 0
 #endif
 
+/* Use the unlocked open routines from libiberty.  */
+#define fopen(PATH,MODE) fopen_unlocked(PATH,MODE)
+#define fdopen(FILDES,MODE) fdopen_unlocked(FILDES,MODE)
+#define freopen(PATH,MODE,STREAM) freopen_unlocked(PATH,MODE,STREAM)
+
 /* The compiler is not a multi-threaded application and therefore we
    do not have to use the locking functions.  In fact, using the locking
    functions can cause the compiler to be significantly slower under
index 615118634c1aa9fb14c042f1e9222a8800b28a27..7050d65189efa0c4be5ba9a599af27d9634f6ff7 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (fopen, fdopen, freopen): Define these to the unlocked
+       libiberty functions.
+
 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * configure.ac (libcpp_UNLOCKED_FUNCS): New.
index 560fa18406ba9f7ec4ef1ceee67e35a58617c418..98ac118e3518ac90a54237b42aabc0ee954cecb7 100644 (file)
@@ -38,6 +38,11 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #define NULL 0
 #endif
 
+/* Use the unlocked open routines from libiberty.  */
+#define fopen(PATH,MODE) fopen_unlocked(PATH,MODE)
+#define fdopen(FILDES,MODE) fdopen_unlocked(FILDES,MODE)
+#define freopen(PATH,MODE,STREAM) freopen_unlocked(PATH,MODE,STREAM)
+
 /* The compiler is not a multi-threaded application and therefore we
    do not have to use the locking functions.  In fact, using the locking
    functions can cause the compiler to be significantly slower under
This page took 0.077607 seconds and 5 git commands to generate.