From 3b3e7e80daac86fbdded8b0047a4a52ec2324ab8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 15 Jul 2001 15:13:14 +0000 Subject: [PATCH] *** empty log message *** --- lib/.cvsignore | 1 + lib/ChangeLog | 6 ++++++ lib/unlocked-io.hin | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 lib/unlocked-io.hin diff --git a/lib/.cvsignore b/lib/.cvsignore index 59acd7aa3..3d2ec05a7 100644 --- a/lib/.cvsignore +++ b/lib/.cvsignore @@ -11,3 +11,4 @@ safe-lstat.h safe-stat.c safe-stat.h stat.c +unlocked-io.h diff --git a/lib/ChangeLog b/lib/ChangeLog index 9f5976965..48686a372 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,11 @@ 2001-07-15 Jim Meyering + * Makefile.am (EXTRA_DIST): Add unlocked-io.hin. + (BUILT_SOURCES): Add unlocked-io.h. + (io_functions): Define. + (unlocked-io.h): New rule. + * unlocked-io.hin: New file + * regex.c: Update from glibc. 2001-07-05 Jim Meyering diff --git a/lib/unlocked-io.hin b/lib/unlocked-io.hin new file mode 100644 index 000000000..7c7f87e47 --- /dev/null +++ b/lib/unlocked-io.hin @@ -0,0 +1,14 @@ +#ifndef UNLOCKED_IO_H +# define UNLOCKED_IO_H 1 + +# if USE_UNLOCKED_IO + +/* These are wrappers for functions/macros from GNU libc. + The standard I/O functions are thread-safe. These *_unlocked ones + are more efficient but not thread-safe. That they're not thread-safe + is fine since all these applications are single threaded. */ + +@replace_this@ + +# endif /* USE_UNLOCKED_IO */ +#endif /* UNLOCKED_IO_H */ -- 2.11.0