cgd
db755e7c76
sweep of my licenses (userland files w/o only my copyright) for
...
consistency. (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
mycroft
519baa3266
Build a PIC version of this -- but not yet a shlib, due to some obscure lossage
...
-- so that it can be linked into another shlib as needed.
2000-02-19 18:51:30 +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
lukem
2c6c9ee64c
sort includes
1999-09-16 09:57:06 +00:00
kleink
5a0d65cb6b
Add missing regerror() prototype.
1999-08-22 13:06:47 +00:00
kleink
dc2dac7564
G/C the manual pages for getpw(3), vlimit(3) and vtimes(3). Although stated
...
in the manuals, these interfaces don't actually exist in libcompat and it isn't
likely that anyone needs nor actually implementents them; in fact,
<sys/vlimit.h> was removed recently.
1999-08-22 12:43:51 +00:00
tron
c3fd5ee212
Undo last commit. As pointed out by John Darrow on "regex.c" wasn't listed
...
twice in "SRCS", it were "regex.c" and "rexec.c".
1999-08-12 21:00:05 +00:00
lukem
dc501adfd5
why have regex.c twice in SRCS ?
1999-08-11 13:14:20 +00:00
simonb
1528b77539
More trailing white space.
1999-07-02 15:14:07 +00:00
mycroft
5ac207165b
LP64 fixes. *sigh*
1999-05-09 12:28:15 +00:00
christos
07b45180bb
Forgot to commit this.
...
delint: const castaway and cast to size_t
1999-05-06 17:09:31 +00:00
christos
d2c07ddc88
- widen prototypes
...
- fix portability with signed >>
- remove unreachable code
- add const castaways where appropriate
1999-05-04 17:15:51 +00:00
christos
1c494e5421
add /*ARGSUSED*/
1999-05-04 17:14:54 +00:00
christos
3ecd1f9ce3
- KNF
...
- add NetBSD comment
- use warn instead of perror
- protect overflowing the stack on bad DNS records
- delint
1999-05-04 17:13:57 +00:00
christos
da0e4c24dc
- add a comparison to NULL in a conditional.
...
- cast third argument of strn*() to size_t
- s/FALL THROUGH/FALLTHROUGH/
1999-05-04 17:12:21 +00:00
christos
3a4f700dae
In lint redefine __compat_regerror to __compat43_regerror, to avoid clash
...
with the other __compat_regerror...
1999-05-04 17:11:01 +00:00
christos
bc6a12aaec
De-constify the code, and add const castaway lint comments.
1999-05-04 17:10:10 +00:00
christos
d2cc1353b8
Cast to unsigned short to avoid loss of precision message.
1999-05-04 17:08:32 +00:00
garbled
38c96853cf
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Wheee!
1999-03-22 19:44:33 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tv
5426fd2771
__RENAME() the libcompat regexp routines so they will not be used by
...
programs that want -lcompat but use POSIX regex. Inspired by
<david@mono.org> in PR bin/1849.
1998-09-14 20:25:02 +00:00
lukem
ce83c69e00
first pass at fixing up capitalization of function names and
...
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
thorpej
7ba69add63
Add some braces to make egcs happy.
1998-08-19 00:17:41 +00:00
phil
177c3172ab
Add the correct type for the first parameter.
1998-08-14 04:49:18 +00:00
perry
a843f0f8a5
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:43:08 +00:00
mycroft
965a95625c
Copy into a local buffer rather than using the getpw*() buffer.
1998-07-26 19:31:35 +00:00
mrg
32f519716b
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
kleink
695ad15b90
Need <re_comp.h> for re_comp() and re_exec() prototypes.
1998-06-01 20:22:58 +00:00
kleink
e127c74140
Prototypes have moved: change inclusion of <unistd.h> to <re_comp.h>.
1998-06-01 20:22:01 +00:00
fair
42aff08cb4
fix a bad .Xr
1998-04-29 19:25:25 +00:00
fair
6b57aa9fdc
fix mdoc references
1998-04-28 23:03:56 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
tv
64288566a1
FTP uses ruserpass() differently from that in libcompat. Fix rexec to
...
recognize that the new ruserpass returns an int (but ignore it for now),
and ruserpass does not accept an acct pointer.
1998-03-19 18:06:15 +00:00
tv
bceb6b5729
Add a ruserpass() function to make rexec happy. PR 901 (that's not a typo).
1998-03-19 17:51:04 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +00:00
perry
741740203c
remove obsolete register declarations
1998-02-03 18:49:08 +00:00
perry
2663a57471
remove files added by lite-2 sync.
1998-01-25 00:37:38 +00:00
perry
1dba62f76d
import lite-2
1998-01-25 00:35:02 +00:00
perry
b51ed80fd5
RCS Id Police.
1998-01-09 04:11:49 +00:00
lukem
952b672fde
use CPPFLAGS instead of CFLAGS
1997-10-22 23:33:05 +00:00
christos
3ecdd3624c
Moved timezone, swapon and getdirentries back to libc.
1997-10-20 15:49:39 +00:00
mikel
7ff744c57e
xref time(3) instead of time(2)
1997-10-18 06:43:38 +00:00
christos
2e3f898c30
Add timezone, swapon, getdirentries
1997-10-16 23:02:45 +00:00
christos
58b5d748a3
Remove namespace cruft and add a prototype for tztab
1997-10-16 23:02:16 +00:00
christos
f4f1c47f83
Moved by repository magick...
...
put in their description that they are obsolete and name by what function
if appropriate.
1997-10-16 23:00:26 +00:00
mrg
74f573d85d
remove advertising clause from all my licenses.
1997-10-10 05:39:47 +00:00
fvdl
e03a6d4d3e
Add new getdents() syscall, provide compat code for old getdirentries.
1997-10-10 02:15:44 +00:00
lukem
e37aec676a
rcsid facism, WARNSify
1997-10-09 10:20:07 +00:00