Commit Graph

90 Commits

Author SHA1 Message Date
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