update from main archive 961208cvs/libc-961209
commitfeb3c934355a9a2331cdfeb7ab6351fd4856164f
authorUlrich Drepper <drepper@redhat.com>
Mon, 9 Dec 1996 03:15:25 +0000 (9 03:15 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 9 Dec 1996 03:15:25 +0000 (9 03:15 +0000)
treec471eb93237700d90a63c8448e8b99a2ecb23dd0
parentf65fd747b440ae2d8a7481ecc50e668c5e4d0cc9
update from main archive 961208

Mon Dec  9 03:39:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* config.make.in (defines): Add @USE_NEW_MALLOC@.
* Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
we use the new malloc.

* malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
depending on USE_NEW_MALLOC.

Fix some more POSIX.1 problems.
* libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
on a write-only stream.
(_IO_file_overflow): Set errno to EBADF if used on a read-only
stream.
(_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
call really positions the file offset to the correct position
and no read-ahead happens.

* locale/C-monetary.c: Set mon_grouping file to "" and "\377"
to pass POSIX test suite.
* stdio-common/vfprintf.c: Handle empty string as grouping command
correctly.
* stdlib/grouping.h: Likewise.

* misc/syslog.c: Case first argument of __libc_cleanup_region_start.

* signal/sigsetops.h: Update copyright.  Don't include ansidecl.h.

* stdio-common/printf_fp.c: Update copyright.

Sun Dec  8 16:39:28 1996  Andreas Jaeger  <aj@arthur.pfalz.de>

* time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
used (not otherwise).

* misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
to get Hurd macros right.
17 files changed:
ChangeLog
config.make.in
configure
configure.in
libio/cleanup.c [deleted file]
libio/fileops.c
libio/ioprims.c [deleted file]
locale/C-monetary.c
malloc.h
misc/syslog.c
signal/sigsetops.h
stdio-common/printf_fp.c
stdio-common/vfprintf.c
stdlib/grouping.h
sysdeps/unix/sysv/linux/Dist
sysdeps/unix/sysv/linux/configure
time/Makefile