cgd
6039a60bb3
don't squish newline at end of fgetline()... from bostic
1993-12-22 07:10:58 +00:00
pk
47b4886a7f
Return a well-known constant after becoming a daemon.
1993-12-19 08:44:42 +00:00
jtc
eeb1800b0e
Fix bug #24 by renaming _logname_valid to __logname_valid.
1993-12-18 01:16:18 +00:00
jtc
412e7d5328
More manpage tweaks.
1993-12-15 20:32:47 +00:00
deraadt
6401f7c13a
speed up getpwnam/getpwuid for standard cases
1993-12-10 12:46:29 +00:00
pk
49d5ac06cc
Added some Sparc sources.
1993-12-08 13:31:01 +00:00
mycroft
565cec3fcc
Add a `const' to shut up gcc.
1993-12-06 21:47:38 +00:00
cgd
f00e1cfe6a
get pc532 moved into ns32k; that's is MACHINE_ARCH
1993-12-05 02:20:58 +00:00
cgd
0ada107897
update for .S and MACHINE_ARCH
1993-12-04 02:33:35 +00:00
cgd
39496a6bca
get rid of extra RCS Id in header
1993-12-03 23:02:05 +00:00
jtc
c2a2e6a126
Add common definition of errno back to the C library. One notable program
...
uses its own crt0.c, so it can't pick it up from there.
1993-12-03 19:40:23 +00:00
mycroft
ded6c495f2
Remove hack for errlst.o.
1993-12-02 19:48:08 +00:00
mycroft
504c62c073
Add `const's to sys_siglist and sys_signame decls.
1993-12-02 09:50:34 +00:00
mycroft
03b753a0dd
Get rid of dated MLINKS for regexp man pages.
...
Reported by Mark_Weaver@brown.edu .
1993-12-02 07:18:57 +00:00
mycroft
e14697d8f2
Add `const's to sys_errlist decl to match 4.4.
1993-12-02 04:45:32 +00:00
jtc
17585e0f6d
Manpage formatting tweaks.
1993-12-01 18:49:52 +00:00
cgd
62b6693299
fix typo; from Louis A. Mamakos <louie@TransSys.COM>
1993-12-01 02:26:50 +00:00
jtc
ed9ab81fcc
Use ".Va" macro when formatting "errno".
1993-11-30 21:52:46 +00:00
jtc
fa8cf50620
Renamed _sigintr to __sigintr. _sigintr is in the user's namespace.
1993-11-30 21:21:42 +00:00
jtc
d3b6c3481b
"errno" was not being formatted with the .Va macro.
1993-11-30 00:50:58 +00:00
jtc
691ded4519
Use "Er" for argument to -width in the lists in the ERROR sections so that
...
formatting is consistant.
Other misc. tweaks.
1993-11-29 21:40:55 +00:00
jtc
f5edebac02
Cuserid() is specified in such a way that it can overwrite the buffer used
...
by getpwent(), getpwnam() & getpwuid() --- but not the other way around.
This requires that cuserid() have its own static buffer.
1993-11-29 19:39:44 +00:00
jtc
2b67bcc1b6
Make it clear that ctermid's argument is a pointer to an array.
1993-11-29 19:30:32 +00:00
jtc
0e817b67bc
install cuserid(3) manpage.
1993-11-29 19:22:31 +00:00
jtc
fe57b6e1e6
A manpage for cuserid(3) (hacked up from ctermid(3)).
1993-11-29 19:22:00 +00:00
jtc
9c4ad8fbd4
Misc manpage fixes.
1993-11-25 02:48:32 +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
cgd
553e6a15d4
finish cleanup
1993-11-19 05:25:40 +00:00
mycroft
ce351a47d2
Clean up after Brezak.
1993-11-19 03:18:24 +00:00
jtc
653d8ef24c
If _CS_PATH is defined in <unistd.h>, the latest bash assumes that confstr()
...
will be present as well. Here is a quick implementation based on my online
copy of 1003.2 (D11.2). I'll confirm that nothing has been changed in the
final standard and write up a manual page soon.
1993-11-17 18:15:32 +00:00
cgd
5e9b346b27
Add the System V message queue and semaphore facilities. Implemented
...
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 12:40:23 +00:00
jtc
a054c6582a
First pass at getting a clean compile with "gcc -Wall", mostly explictly
...
declaring function return values, etc.
1993-11-11 19:04:04 +00:00
mycroft
a06a8e88ff
Clean up deleted files.
1993-11-11 03:33:53 +00:00
jtc
bc692825ee
Implement the FNM_PERIOD flag.
1993-11-11 03:21:21 +00:00
mycroft
24bc204201
Clean up deleted files.
1993-11-11 01:22:45 +00:00
jtc
3f40c24bb3
Enable Henry Spencer's POSIX.2 compatible regular expression routines.
...
Disable his earlier V8-style routines.
1993-11-11 01:22:33 +00:00
jtc
14925245d3
Fixed the most major defect in fnmatch(): backslash-escape processing in
...
bracket expressions. Still need to implement FNM_PERIOD...
1993-11-09 18:22:05 +00:00
jtc
ce4f97eb24
I've been informed that the fts family of functions is being considered
...
for a _future_ edition of 1003.1.
I recovered the STANDARDS section, and reworded it slightly so it is
clear that we are talking about a future edition instead of 1003.1-88.
1993-11-09 00:29:57 +00:00
cgd
6270d348a1
update to latest version.
1993-11-06 01:10:15 +00:00
cgd
f95d2e2869
update to latest version; va_list specification changes.
1993-11-06 00:55:23 +00:00
cgd
affc13c674
just berkeley copyright/version # changes.
1993-11-06 00:52:40 +00:00
cgd
dcabc1d9b5
nuke comments re: posix, per jtc. this isn't spec'd by posix.
1993-11-06 00:51:28 +00:00
cgd
95c898787c
update to latest version; no *significant* changes.
1993-11-06 00:33:23 +00:00
jtc
344059bc2d
Remove extra "eval" variables in warn() & warnx() function definitions;
...
these variables were probably introduced by copying the definitions of
err() & errx() when the functions were first implemented.
1993-11-06 00:27:23 +00:00
jtc
71afdb430b
Update source and manual pages to match X/Open 1170 specification.
...
Updated setpassent() to understand YP (a bug), and changed setpwent()
to simply be a call to setpassent(0) (to remove duplicated code).
1993-10-25 23:36:51 +00:00
jtc
92ba83edfc
X/Open 1170 defines the return type of setpwent() to be void -- a trival
...
change since our setpwent() allways succeeded.
1993-10-25 22:21:36 +00:00
pk
33e72d8f40
In execvp(): `eacces' did not get initialized when path name contains a '/'.
...
This causes the wrong error to be reported when execve() fails.
1993-10-22 19:13:42 +00:00
jtc
3e8ba8c7b5
Add my lsearch & lfind implementations.
1993-10-22 17:51:51 +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
jtc
f97d1797c8
Use i386 sigsetjmp()/siglongjmp() implementation.
...
Install sigsetjmp()/siglongjmp() links to setjmp manpage.
Note that sigsetjmp() and siglongjmp() are 1003.1 compliant.
1993-10-19 21:00:46 +00:00