lukem
d896261208
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
...
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365
* 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
1999-09-16 11:44:54 +00:00
perry
c8bafd6265
remove obsolete register declarations
1998-02-03 18:38:12 +00:00
jtc
b559f98b9b
Use FLOCKFILE() and FUNLOCKFILE() macros from reentrant.h so that stdio
...
can be made thread-safe.
1998-01-22 06:35:01 +00:00
kleink
f47d490f87
Change several functions to return -1 instead of EOF, which was semantically
...
wrong.
1997-12-19 14:08:41 +00:00
christos
0c339c443a
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.
1997-07-13 20:15:17 +00:00
jtc
da8d0ce8e0
Add explict function return types
1996-03-29 23:29:06 +00:00
jtc
255db7b26b
Merged with 4.4lite.
...
Changed to conform to NetBSD's new RCS Id convention.
1995-02-02 02:09:03 +00:00
cgd
527838aa9a
yet another setvbuf fix from torek...
1993-11-17 08:18:39 +00:00
jtc
9c20f740a3
Declare rcsid strings so they are stored in text segment.
1993-08-26 00:43:03 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
27c2936367
apply fix to setvbuf(), supplied by chris torek
1993-05-24 07:19:35 +00:00
cgd
e9fa4a0d6e
update with new files from Chris Torek
1993-05-07 07:40:27 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00