mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-07 22:00:06 +00:00
00bc5db059
1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com> * libio/fileops.c (_IO_new_file_underflow): Before allocating buffer make sure the pushback buffer is destroyed. (_IO_new_file_seekoff): Likewise. If mode==0 quit early with the result. Clear OEF flag after successful fseek. * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr. * libio/ftello.c (ftello): Add offset from original buffer if stream has pushed back characters. * libio/ftello64.c (ftello64): Likewise. * libio/iofgetpos.c (_IO_fgetpos): Likewise. * libio/iofgetpos64.c (_IO_fgetpos64): Likewise. * libio/ioftell.c (_IO_ftell): Likewise. * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr and _IO_save_ptr. (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr. (_IO_default_pbackfail): Only stored push back character in original buffer if it is the same as the one in the file at this position. * libio/iofclose.c: Free backup buffer if one is available. * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if mode!=0. * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly. * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12. 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl> * login/programs/pt_chown.c (more_help): Correct message that describes the purpose of the program. * login/openpty.c: Do not include pty-private.h. (pts_name): New function. Return name of slave pseudo terminal in an allocated buffer if necessary. (openpty): Use pts_name to get name of the slave end of the pseudo terminal pair. * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by pts_name before return. 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com> * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__. |
||
---|---|---|
.. | ||
.cvsignore | ||
Banner | ||
clearerr_u.c | ||
clearerr.c | ||
fcloseall.c | ||
feof_u.c | ||
feof.c | ||
ferror_u.c | ||
ferror.c | ||
fgetc.c | ||
filedoalloc.c | ||
fileno.c | ||
fileops.c | ||
fputc_u.c | ||
fputc.c | ||
freopen64.c | ||
freopen.c | ||
fseek.c | ||
fseeko64.c | ||
fseeko.c | ||
ftello64.c | ||
ftello.c | ||
genops.c | ||
getc_u.c | ||
getc.c | ||
getchar_u.c | ||
getchar.c | ||
iofclose.c | ||
iofdopen.c | ||
iofflush_u.c | ||
iofflush.c | ||
iofgetpos64.c | ||
iofgetpos.c | ||
iofgets_u.c | ||
iofgets.c | ||
iofopen64.c | ||
iofopen.c | ||
iofopncook.c | ||
iofputs_u.c | ||
iofputs.c | ||
iofread_u.c | ||
iofread.c | ||
iofsetpos64.c | ||
iofsetpos.c | ||
ioftell.c | ||
iofwrite_u.c | ||
iofwrite.c | ||
iogetdelim.c | ||
iogetline.c | ||
iogets.c | ||
iolibio.h | ||
iopadn.c | ||
iopopen.c | ||
ioputs.c | ||
ioseekoff.c | ||
ioseekpos.c | ||
iosetbuffer.c | ||
iosetvbuf.c | ||
iosprintf.c | ||
ioungetc.c | ||
iovdprintf.c | ||
iovsprintf.c | ||
iovsscanf.c | ||
libio.h | ||
libioP.h | ||
Makefile | ||
memstream.c | ||
obprintf.c | ||
oldfileops.c | ||
oldiofclose.c | ||
oldiofdopen.c | ||
oldiofopen.c | ||
oldstdfiles.c | ||
oldtmpfile.c | ||
pclose.c | ||
peekc.c | ||
putc_u.c | ||
putc.c | ||
putchar_u.c | ||
putchar.c | ||
rewind.c | ||
setbuf.c | ||
setlinebuf.c | ||
stdfiles.c | ||
stdio.c | ||
stdio.h | ||
strfile.h | ||
strops.c | ||
vasprintf.c | ||
Versions | ||
vscanf.c | ||
vsnprintf.c |