summary refs log tree commit diff
path: root/sysdeps/posix/ttyname_r.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-07-19 21:18:32 +0000
committerUlrich Drepper <drepper@redhat.com>1997-07-19 21:18:32 +0000
commit907a1bacf996264c3197342cfc565b1d4f840bfb (patch)
treeec78ea7cfaf5e43e4f9a8b54198e8aa65f32d2f4 /sysdeps/posix/ttyname_r.c
parentcd6ede759fadcf8cd1f8c069928611d18cef5c1a (diff)
downloadglibc-907a1bacf996264c3197342cfc565b1d4f840bfb.tar.gz
glibc-907a1bacf996264c3197342cfc565b1d4f840bfb.tar.xz
glibc-907a1bacf996264c3197342cfc565b1d4f840bfb.zip
1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>

	* time/africa: Update from tzdata1997g.
	* time/asia: Likewise.
	* time/australia: Likewise.
	* time/europe: Likewise.
	* time/iso3166.tab: Likewise.
	* time/zone.tab: Likewise.
	* time/private.h: Update from tzcode1997f.
	* time/scheck.c: Likewise.

	* libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.

	* math/math.h: Correct comments.  Include <bits/mathinline.h>
	always when optimizing.

1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>

	* time/getdate.c (__getdate_r):
	Report failure if string was not completely parsed.
	(getdate): Set getdate_err on failure.

1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
	Synchronize with malloc/obstack.c.

1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>

	* sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
	than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
	Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.

1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>

	* manual/Makefile (INSTALL_INFO): Introduce variable to override
	path to install-info for systems like Debian that have an
	install-info with a different command line interface from the
	canonical GNU texinfo version.

1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
	* posix/unistd.h: Likewise.
	* sysdeps/stub/ttyname_r.c: Likewise.

	* sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
Diffstat (limited to 'sysdeps/posix/ttyname_r.c')
-rw-r--r--sysdeps/posix/ttyname_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/ttyname_r.c b/sysdeps/posix/ttyname_r.c
index d404245be5..b3a15d13d1 100644
--- a/sysdeps/posix/ttyname_r.c
+++ b/sysdeps/posix/ttyname_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 95, 96 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@
 #endif
 
 /* Store at most BUFLEN character of the pathname of the terminal FD is
-   open on in BUF.  Return 0 on success, -1 otherwise.  */
+   open on in BUF.  Return 0 on success,  otherwise an error number.  */
 int
 __ttyname_r (fd, buf, buflen)
      int fd;