History log of /netbsd-src/lib/libc/stdio/gets.c (Results 1 – 18 of 18)
Revision Date Author Comments
# ca2d95d1 04-Oct-2013 christos <christos@NetBSD.org>

avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_fo

avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.

show more ...


# 526d9427 15-Mar-2012 christos <christos@NetBSD.org>

- ansify, knf.
- no functional changes


# 14183450 03-Jun-2007 christos <christos@NetBSD.org>

Make these work with _FORTIFY_SOURCE, by overriding the fortified definitions


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# a74e50dd 18-Jul-2003 nathanw <nathanw@NetBSD.org>

#include "local.h" to get __flockfile_internal() prototype.


# d8962612 20-Sep-1999 lukem <lukem@NetBSD.org>

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attemp

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif

show more ...


# 8e8595b0 20-Nov-1998 kleink <kleink@NetBSD.org>

Need to wrap stdio stream locking around the function body. On the bright
side, getchar_unlocked() can now be used instead of getchar().


# c8bafd62 03-Feb-1998 perry <perry@NetBSD.org>

remove obsolete register declarations


# 2a43f220 04-Nov-1997 thorpej <thorpej@NetBSD.org>

__warn_references and __indr_reference semicolon fixups. From
Chris Demetriou <cgd@pa.dec.com>.


# 23312f88 13-Jul-1997 christos <christos@NetBSD.org>

Fix RCSID's
Fix gcc warnings.
Add prototypes for functions that were declared in more than one place
to local.h or extern.h and use that instead.


# 255db7b2 02-Feb-1995 jtc <jtc@NetBSD.org>

Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.


# c7527f8b 21-Jul-1994 jtc <jtc@NetBSD.org>

Converted to use link-time warning messages.


# d3972d51 24-Apr-1994 mycroft <mycroft@NetBSD.org>

Get rid of extra calls to strlen().


# 409eebd1 24-Apr-1994 mycroft <mycroft@NetBSD.org>

Print the name of the program using a deprecated function.


# 9c20f740 26-Aug-1993 jtc <jtc@NetBSD.org>

Declare rcsid strings so they are stored in text segment.


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources