Commit Graph

148 Commits

Author SHA1 Message Date
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
mycroft
7227af1293 Document that the time zone is obselete, add an xref to localtime(3), and
correct the HISTORY section.
1997-10-09 05:05:35 +00:00
jtc
43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos
3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
christos
615413beb6 Include "extern.h" to get prototype for _tztab
Fix gcc warnings.
Fix RCSID's
1997-07-13 19:35:08 +00:00
mikel
3f0dbdf761 xref exit(3) not exit(2) 1997-07-10 07:57:07 +00:00
mikel
8b787e68dc include <stdlib.h> for free() prototype 1997-06-19 07:50:43 +00:00
mrg
7bc62c9a2d move swapon() stub here 1997-06-12 22:39:15 +00:00
mrg
552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
cgd
c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
mrg
9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
jtc
fd08cf75d8 Handle null string in re_comp.
From Kazushi Jam Marukawa <kazusi-m@is.aist-nara.ac.jp> in PR 2196.
1996-03-21 03:11:13 +00:00
jtc
b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
jtc
2bb92dc67a Don't bother with a m68k assembly version of insque/remque. Gcc
generates the pretty much the same code (I believe it is exactly
the same except for stack frame setup) as the generic C version.
1995-09-07 07:17:53 +00:00
cgd
5fb36cfb02 cast assignments to quiet const warnings. Mark (at least some) uses of
const variables that result in their modification (!!) as XXX.
1995-06-07 03:55:49 +00:00
pk
dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
mycroft
89ef25dac6 Fill in sin_len. 1995-06-03 22:03:51 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd
4eab61bd40 merge with lite, keeping most local changes. clean up Ids 1995-02-27 12:31:34 +00:00
cgd
9060ff0dc7 merge with 4.4-Lite, keeping local changes. clean up Ids 1995-02-27 05:50:11 +00:00
jtc
edcbc4e64c Changed formatting of manpage cross references to use .Xr macro.
Changed all libcompat manpages so that they clearly state that the
documented interface is availiable from libcompat.
(Fixes PR #703)
1995-01-13 01:15:53 +00:00
jtc
4b8de372d4 fix typo 1994-12-22 17:57:02 +00:00
cgd
3a370daf86 specify man pages the new way. 1994-12-22 09:44:45 +00:00
mycroft
d8f841190c .s -> .S 1994-12-16 10:01:23 +00:00
cgd
73de321a73 needs string.h 1994-10-19 03:01:39 +00:00
mycroft
a0c1518680 Do something more intelligent when compiling into ${DESTDIR}. Also fix bogus
definition of AINC.
1994-07-06 04:08:28 +00:00
cgd
395cddf518 make stty and gtty real function stubs (they're now gone from ioctl_compat.h). 1994-05-21 05:20:25 +00:00
jtc
ac15753796 Remove links to regexp(3) manpage, as they overwrite the links with the
same name to the regex(3) manpage, which is the preferred regular expression
API.
1994-05-19 06:23:50 +00:00
jtc
66a7b96e20 Move our cuserid(3) manpage to libcompat, since the cuserid() function
now lives there.
1994-05-19 06:20:17 +00:00
cgd
dd267b8c9d patch up 1994-05-06 06:49:32 +00:00
cgd
a34c9134ca oops! 1994-05-06 06:42:21 +00:00
cgd
74c187c292 update 1994-05-06 06:25:33 +00:00
cgd
e3a4ae7264 Initial revision 1994-05-06 06:25:32 +00:00
cgd
9f670da25f update 1994-05-06 06:25:29 +00:00
jtc
38065bce20 Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters.  At that time it would
be appropriate to reintroduce this error with appropriate text.  Perhaps
"The pathname contains a character that is not valid for filesystem type".
1994-04-22 00:13:22 +00:00
jtc
a3376999f0 Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
1994-04-19 00:10:45 +00:00
jtc
520c05b536 Instruct user to #include <search.h>.
Remque() has returned void for some time now.
1994-03-12 01:28:56 +00:00
jtc
bbcdac1400 Don't install manpage links to regexp(3), they overwrite the links
to regex(3).
1994-02-07 18:29:53 +00:00
jtc
ec22bca1e7 Since V8 regex routines have been moved to libcompat(), the BSD regex
routines must again be defined as wrappers around them.
1994-02-01 17:45:53 +00:00
mycroft
a4d10d0ab2 Clean up deleted files. 1994-01-15 19:31:44 +00:00
cgd
73da6e26ee actually commit the changes i made the other day to the Makefile 1994-01-15 19:31:32 +00:00
jtc
584ac8448e Fix spelling errors. 1994-01-10 23:32:20 +00:00
jtc
250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
jtc
f947c6c25d Format ERROR values like all the other manual pages. 1993-11-29 19:45:00 +00:00
jtc
6e9ac1805f Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
  Use .At and .St macros instead of spelling out "Version 6 UNIX",
	"IEEE 1003.1-1988 (POSIX)", etc.
1993-11-25 00:38:17 +00:00
jtc
9bd83209f0 Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +00:00
jtc
c52b10cc29 Layer re_comp() and re_exec() on top of the POSIX regular expression
routines, as the V8 regexp routines have been removed.
1993-11-11 01:24:50 +00:00
jtc
57c5f16709 #include <search.h> to ensure that the public function declarations match
the implementation.
Use old-style function definitions so functions can be compiled with non-ansi
compilers.
Functions are specified to take void * arguments, so they must be cast to
a struct qelem * before they are used.
1993-10-21 21:08:55 +00:00
pk
a3d6ce6845 PIC: don't bother. 1993-10-05 21:55:45 +00:00
jtc
9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
brezak
d1c89ea35f Correct copyright statements 1993-08-13 12:54:10 +00:00
brezak
cbeddce7ff Machine independent version of insque/remque 1993-08-13 02:49:41 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
55b7fa6d0b Add RCS identifiers. 1993-08-01 07:54:52 +00:00
mycroft
b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft
0e9c8e4524 Add RCS identifiers. 1993-07-30 08:34:38 +00:00
mycroft
f23f94cb77 Add even more RCS frobs. 1993-07-30 08:21:41 +00:00
nate
81e9be8dc1 Changed Makefile to include the new regex.c package 1993-03-23 19:20:18 +00:00
nate
9e98d4b874 From BSDI Mailing list. regex.c uses the regcomp routines to emulate
the regex routines.
1993-03-23 10:49:38 +00:00
cgd
91ac7bf11a added libcompat for compatibility routines, like ftime, etc. 1993-03-23 10:14:55 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00