christos
1418345039
Make these work with _FORTIFY_SOURCE, by overriding the fortified definitions
2007-06-03 17:39:26 +00:00
lukem
a8c35a134f
remove superfluous assignment
2003-12-14 23:56:28 +00:00
simonb
62887f0740
Remove another unneeded cast to size_t.
...
Pointed out by Anil Madhavapeddy in private email.
2003-10-10 05:38:45 +00:00
simonb
444e6dce83
No need to cast "len" to a size_t now that "len" is a size_t.
2003-10-09 00:50:34 +00:00
itojun
1bb83f4a4a
avoid signed->unsigned assignment. openbsd PR 1709
2003-10-08 20:33:17 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +00:00
yamt
17f3654a64
- make FILE structure extensible without breaking binary-compatibility.
...
- add fputwc, fgetwc, fwide and related functions.
- add hooks needed to maintain the orientation of file stream.
2001-12-07 11:47:40 +00:00
explorer
5e5a72ffef
missing ;
1999-11-14 18:19:57 +00:00
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
christos
56395b9694
change len from size_t to int so that len = fp->_r does not get promoted
...
to unsigned. cast len appropriately to size_t later.
1998-11-15 17:15:18 +00:00
kleink
caa80a1e72
Sloppy stdio stream lock tracking.
1998-09-07 14:31:57 +00:00
perry
c8bafd6265
remove obsolete register declarations
1998-02-03 18:38:12 +00:00
jtc
da2013ac86
Use FLOCKFILE() and FUNLOCKFILE() macros from reentrant.h so that stdio
...
can be made thread-safe.
1998-01-19 07:38:41 +00:00
christos
23312f88d4
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:14:49 +00:00
jtc
2ef4abe78f
change second arg of fgets() from size_t to int
1995-03-25 02:50:04 +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
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
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00