aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-04-30 22:00:59 +0000
committerRoland McGrath <roland@gnu.org>2002-04-30 22:00:59 +0000
commita8c017767721fec8fd4ee53c1937e31e35dfac08 (patch)
tree11c43b6158f98ebcce0ab0b5555faa3a35d43187
parent8543f93de2a52f1e314051aa20f7394a7c13366f (diff)
downloadglibc-a8c017767721fec8fd4ee53c1937e31e35dfac08.tar.xz
glibc-a8c017767721fec8fd4ee53c1937e31e35dfac08.zip
2002-04-30 Roland McGrath <roland@frob.com>
Removed old GNU stdio implementation; GNU libio is now the only option. * configure.in: Removed --enable-libio option and @stdio@ subst var. Define USE_IN_LIBIO unconditionally. * configure: Regenerated. * Makeconfig (stdio): Set to libio by default. * config.make.in (stdio): Variable removed. * sysdeps/unix/sysv/linux/configure.in: Don't set $stdio. * sysdeps/unix/sysv/linux/configure: Regenerated. * sysdeps/mach/hurd/configure.in: Don't test $stdio. * sysdeps/mach/hurd/configure: Regenerated. * stdio/.cvsignore: File removed. * stdio/Makefile: File removed. * stdio/Versions: File removed. * stdio/__fbufsize.c: File removed. * stdio/__flbf.c: File removed. * stdio/__fpending.c: File removed. * stdio/__fpurge.c: File removed. * stdio/__freadable.c: File removed. * stdio/__freading.c: File removed. * stdio/__fsetlocking.c: File removed. * stdio/__fwritable.c: File removed. * stdio/__fwriting.c: File removed. * stdio/clearerr.c: File removed. * stdio/fclose.c: File removed. * stdio/fcloseall.c: File removed. * stdio/feof.c: File removed. * stdio/ferror.c: File removed. * stdio/fflush.c: File removed. * stdio/fgetc.c: File removed. * stdio/fgetpos.c: File removed. * stdio/fgets.c: File removed. * stdio/fileno.c: File removed. * stdio/fmemopen.c: File removed. * stdio/fopen.c: File removed. * stdio/fopncook.c: File removed. * stdio/fputc.c: File removed. * stdio/fputs.c: File removed. * stdio/fread.c: File removed. * stdio/freopen.c: File removed. * stdio/fseek.c: File removed. * stdio/fsetpos.c: File removed. * stdio/ftell.c: File removed. * stdio/fwrite.c: File removed. * stdio/getc.c: File removed. * stdio/getchar.c: File removed. * stdio/getdelim.c: File removed. * stdio/gets.c: File removed. * stdio/glue.c: File removed. * stdio/internals.c: File removed. * stdio/linewrap.c: File removed. * stdio/linewrap.h: File removed. * stdio/memstream.c: File removed. * stdio/newstream.c: File removed. * stdio/obstream.c: File removed. * stdio/putc.c: File removed. * stdio/putchar.c: File removed. * stdio/puts.c: File removed. * stdio/rewind.c: File removed. * stdio/setbuf.c: File removed. * stdio/setbuffer.c: File removed. * stdio/setlinebuf.c: File removed. * stdio/setvbuf.c: File removed. * stdio/stdio.h: File removed. * stdio/ungetc.c: File removed. * stdio/vasprintf.c: File removed. * stdio/vscanf.c: File removed. * stdio/vsnprintf.c: File removed. * stdio/vsprintf.c: File removed. * stdio/vsscanf.c: File removed. * sysdeps/generic/defs.c: File removed. * sysdeps/generic/fdopen.c: File removed. * sysdeps/generic/pipestream.c: File removed. * sysdeps/generic/stdio_init.c: File removed. * sysdeps/generic/sysd-stdio.c: File removed. * sysdeps/generic/vdprintf.c: File removed. * sysdeps/mach/hurd/defs.c: File removed. * sysdeps/mach/hurd/fdopen.c: File removed. * sysdeps/mach/hurd/pipestream.c: File removed. * sysdeps/mach/hurd/stdio_init.c: File removed. * sysdeps/mach/hurd/sysd-stdio.c: File removed. * sysdeps/mach/hurd/vdprintf.c: File removed. * sysdeps/posix/defs.c: File removed. * sysdeps/posix/fdopen.c: File removed. * sysdeps/posix/pipestream.c: File removed. * sysdeps/posix/stdio_init.c: File removed. * sysdeps/posix/vdprintf.c: File removed. * sysdeps/unix/pipestream.c: File removed. * sysdeps/unix/sysv/sysd-stdio.c: File removed. * sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed. * sysdeps/unix/sysv/sysv4/pipestream.c: File removed.
-rw-r--r--Makeconfig8
-rw-r--r--config.make.in1
-rwxr-xr-xconfigure281
-rw-r--r--configure.in18
-rw-r--r--stdio/.cvsignore8
-rw-r--r--stdio/Makefile46
-rw-r--r--stdio/Versions70
-rw-r--r--stdio/__fbufsize.c25
-rw-r--r--stdio/__flbf.c25
-rw-r--r--stdio/__fpending.c25
-rw-r--r--stdio/__fpurge.c25
-rw-r--r--stdio/__freadable.c25
-rw-r--r--stdio/__freading.c26
-rw-r--r--stdio/__fsetlocking.c41
-rw-r--r--stdio/__fwritable.c25
-rw-r--r--stdio/__fwriting.c26
-rw-r--r--stdio/clearerr.c32
-rw-r--r--stdio/fclose.c60
-rw-r--r--stdio/fcloseall.c37
-rw-r--r--stdio/feof.c39
-rw-r--r--stdio/ferror.c40
-rw-r--r--stdio/fflush.c47
-rw-r--r--stdio/fgetc.c35
-rw-r--r--stdio/fgetpos.c41
-rw-r--r--stdio/fgets.c125
-rw-r--r--stdio/fileno.c50
-rw-r--r--stdio/fmemopen.c109
-rw-r--r--stdio/fopen.c112
-rw-r--r--stdio/fopncook.c49
-rw-r--r--stdio/fputc.c40
-rw-r--r--stdio/fputs.c35
-rw-r--r--stdio/fread.c135
-rw-r--r--stdio/freopen.c75
-rw-r--r--stdio/fseek.c179
-rw-r--r--stdio/fsetpos.c38
-rw-r--r--stdio/ftell.c54
-rw-r--r--stdio/fwrite.c222
-rw-r--r--stdio/getc.c6
-rw-r--r--stdio/getchar.c31
-rw-r--r--stdio/getdelim.c177
-rw-r--r--stdio/gets.c59
-rw-r--r--stdio/glue.c112
-rw-r--r--stdio/internals.c688
-rw-r--r--stdio/linewrap.c521
-rw-r--r--stdio/linewrap.h200
-rw-r--r--stdio/memstream.c176
-rw-r--r--stdio/newstream.c53
-rw-r--r--stdio/obstream.c185
-rw-r--r--stdio/putc.c6
-rw-r--r--stdio/putchar.c31
-rw-r--r--stdio/puts.c31
-rw-r--r--stdio/rewind.c32
-rw-r--r--stdio/setbuf.c29
-rw-r--r--stdio/setbuffer.c29
-rw-r--r--stdio/setlinebuf.c28
-rw-r--r--stdio/setvbuf.c88
-rw-r--r--stdio/stdio.h832
-rw-r--r--stdio/ungetc.c59
-rw-r--r--stdio/vasprintf.c85
-rw-r--r--stdio/vscanf.c32
-rw-r--r--stdio/vsnprintf.c59
-rw-r--r--stdio/vsprintf.c51
-rw-r--r--stdio/vsscanf.c59
-rw-r--r--sysdeps/generic/defs.c47
-rw-r--r--sysdeps/generic/fdopen.c34
-rw-r--r--sysdeps/generic/pipestream.c60
-rw-r--r--sysdeps/generic/stdio_init.c30
-rw-r--r--sysdeps/generic/sysd-stdio.c191
-rw-r--r--sysdeps/generic/vdprintf.c33
-rwxr-xr-xsysdeps/mach/hurd/configure13
-rw-r--r--sysdeps/mach/hurd/configure.in9
-rw-r--r--sysdeps/mach/hurd/defs.c87
-rw-r--r--sysdeps/mach/hurd/fdopen.c72
-rw-r--r--sysdeps/mach/hurd/pipestream.c2
-rw-r--r--sysdeps/mach/hurd/stdio_init.c62
-rw-r--r--sysdeps/mach/hurd/sysd-stdio.c257
-rw-r--r--sysdeps/mach/hurd/vdprintf.c57
-rw-r--r--sysdeps/posix/defs.c74
-rw-r--r--sysdeps/posix/fdopen.c75
-rw-r--r--sysdeps/posix/pipestream.c221
-rw-r--r--sysdeps/posix/stdio_init.c69
-rw-r--r--sysdeps/posix/vdprintf.c49
-rw-r--r--sysdeps/unix/pipestream.c2
-rw-r--r--sysdeps/unix/sysv/linux/configure.in3
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/pipestream.c3
-rw-r--r--sysdeps/unix/sysv/sysd-stdio.c2
-rw-r--r--sysdeps/unix/sysv/sysv4/pipestream.c2
87 files changed, 142 insertions, 7200 deletions
diff --git a/Makeconfig b/Makeconfig
index 2d2f727d85..ce2d16dcc5 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -139,10 +139,10 @@ endif
####
-# Set this to either `stdio' or `libio', to compile in either GNU stdio
-# or GNU libio.
+# Set this to the name of the subdirectory that implements stdio.
+# The only option right now is `libio'.
ifndef stdio
-stdio = stdio
+stdio = libio
endif
# Common prefix for machine-independent installation directories.
@@ -762,6 +762,7 @@ $(common-objpfx)shlib-versions.v.i: \
$(add-ons) \
$(subdirs)))
$(common-objpfx)soversions.i: $(common-objpfx)shlib-versions.v
+ default_setname='$(filter-out %_default,$(oldest-abi:%=GLIBC_%))'; \
while read conf version setname; do \
test -n "$$version" && \
test `expr '$(config-machine)-$(config-vendor)-$(config-os)' \
@@ -769,6 +770,7 @@ $(common-objpfx)soversions.i: $(common-objpfx)shlib-versions.v
if test "x$$version" = xDEFAULT