History log of /netbsd-src/lib/libc/stdio/makebuf.c (Results 1 – 19 of 19)
Revision Date Author Comments
# e8277867 14-Dec-2018 uwe <uwe@NetBSD.org>

Fix typo in the function comment.


# 90b9d61d 15-Jul-2015 christos <christos@NetBSD.org>

Allow changing the default buffering policy for a stdio stream during
construction by setting environment variables.


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

- ansify, knf.
- no functional changes


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# 749de7f2 13-Mar-2008 christos <christos@NetBSD.org>

Since _file is a short, check that the fd fits in it, otherwise bail with
EMFILE. We treat _file as an unsigned short to double our range, with a
special case for -1 (closed). Make a note of what we

Since _file is a short, check that the fd fits in it, otherwise bail with
EMFILE. We treat _file as an unsigned short to double our range, with a
special case for -1 (closed). Make a note of what we should do about stdio
if we ever bump libc. We could change _file in the future compatibly to an
int by putting it in the extension space but for now we don't bother.

show more ...


# 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.


# 3fdac2b8 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 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 ...


# 6865d51c 15-Nov-1998 christos <christos@NetBSD.org>

st_blksize cannot be negative


# f5092a6c 13-Oct-1998 kleink <kleink@NetBSD.org>

Need an internal name for isatty().


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

remove obsolete register declarations


# 15de1c9f 19-Oct-1997 mycroft <mycroft@NetBSD.org>

Use S_IS*(), not S_IF*.


# 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.


# 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.


# e9fa4a0d 07-May-1993 cgd <cgd@NetBSD.org>

update with new files from Chris Torek


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

initial import of 386bsd-0.1 sources