Bill Paul
12228287c1
Fix _listmatch() again so that it works with group lists containing only
...
one group. Thanks to Dirk Froemberg for supplying a patch for this. I will
be closing out the PR and moving this to the 2.2.5 branch later: my login
sessions to freefall from Columbia are ridiculously spotty today.
PR: 5610
Submitted by: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
1998-02-12 19:29:05 +00:00
Nate Williams
6629ddfc54
- Bump the minor # due to the addition of the stringlist functions.
...
Reviewed by: asami
1998-02-12 01:44:53 +00:00
John Polstra
0fbd9e9828
Remove the include of <dlfcn.h> from crt0.c; it is not needed now
...
that the dl* trampolines have been moved into libc.
Move dlfcn.h from src/lib/csu/i386 into src/include. Nothing in
src/lib/csu/i386 uses it any more.
1998-02-11 04:57:25 +00:00
Guido van Rooij
3ff9c00752
Do signal handlig he Posix way
...
Obtained from: NetBSD (after complains from Bruce)
1998-02-10 20:05:15 +00:00
Jordan K. Hubbard
f1a98d56f2
Be more verbose if we can't determine device major/minor.
1998-02-10 17:19:12 +00:00
Jordan K. Hubbard
74be6b27e1
environment variables missing from ftpio(3) man page
...
PR: 5691
Submitted by: archie@whistle.com
1998-02-10 07:01:51 +00:00
John Polstra
645c4be38a
Move the trampolines for dlopen and related functions from crt0.o
...
into libc. This reduces the size of every dynamically linked
executable by 248 bytes, and it reduces the size of static executables
by a lesser amount. It also eliminates some global namespace
pollution.
With this change in place, the source for dlfcn.h should probably
be moved to "/usr/src/include". I'll save that for another day.
Compatibility note: Programs which use dlopen, if compiled on
systems with this change, will not run on systems with a libc from
prior to this change. Very few programs use dlopen, so I think
that is OK.
1998-02-09 06:05:25 +00:00
John Polstra
663690b388
Implement dladdr.
1998-02-06 16:46:46 +00:00
Julian Elischer
eb45f34378
slight cleanup in handling sockets and file descriptors.
...
Same fix already applied to other types of fds. This one was apparently missed.
1998-02-05 21:16:52 +00:00
Jonathan Lemon
4f36d4ac99
Document the fpgetprec/fpsetprec functions in their man page.
...
Add cross-references to the elusive fpsetmask() function to various other
man pages.
Reviewed by: bde
1998-02-04 22:30:20 +00:00
Steve Price
f63999476c
Cleanup the manpage now that setpwent has a void return type.
1998-02-01 17:13:12 +00:00
Steve Price
2e645a20cb
XOpen says the void setpwent(void) is correct. Also call setpassent(0)
...
instead of duplicating code, albeit trivial (inspired by NetBSD).
PR: 5524
1998-02-01 06:16:08 +00:00
Warner Losh
52dbfb5c0f
Kill lfs files that were causing make world to fail.
1998-01-31 05:53:57 +00:00
Daniel O'Callaghan
38ce39bde5
PR: 5573
...
Submitted by: garbanzo@hooked.net
Add strncasecmp, strncmp to NAME field.
1998-01-27 07:01:09 +00:00
John Birrell
2b3f4eadb0
Fix a cast from a pointer to a long instead of an int which was enough
...
to ruin a 64-bit day.
1998-01-24 20:57:38 +00:00
Wolfgang Helbig
5aeee887af
Don't swap carriage return and new line in quoted mode (after ^V).
1998-01-22 07:37:10 +00:00
Warner Losh
9f6c32362c
Eliminate sprintf
...
Obtained from:OpenBSD (theo de raadt)
1998-01-21 21:46:36 +00:00
Bruce Evans
c7b367098d
Fixed #includes in the synopsis and in an example. <sys/socket.h>
...
isn't a prerequisite, since it isn't required for the prototypes
and isn't always needed to call the functions (the address family
might be a variable).
1998-01-20 11:03:15 +00:00
Bruce Evans
2aeb5561dd
Moved most of the (source-level) compatibility hacks for the vfsconf
...
interface from sys/mount.h to libc/getvfsent.c The new interface is
now the default.
1998-01-20 10:36:24 +00:00
Alexander Langer
2768e0c4b5
Added cross references to mincore(2) and minherit(2).
...
Obtained from: OpenBSD
1998-01-20 03:59:07 +00:00
Alexander Langer
891d6e5881
Added #include <sys/types.h> to synopsis.
...
Obtained from: OpenBSD
1998-01-20 03:52:49 +00:00
Bruce Evans
1e69872de7
Started getting rid of the compatibility cruft for the Lite1 mount()
...
and the pre-Lite2 vfsconf interfaces.
For getvfsent.c, just define _OLD_VFSCONF. This will give the
current default macro hacks in <sys/mount.h> when the default is
reversed. This is an intermediate step.
1998-01-17 16:32:14 +00:00
Bruce Evans
ccb8bfa988
Don't install the tcl implementation headers. The tcl distribution
...
makefile doesn't install them, and they couldn't be used without
lots of undocumented -I's in CFLAGS. tcl.h is still installed in
/usr/include/tcl/. Note that rev.1.24 of tcl_bmake/mkMakefile.sh
broke all the section 3 tcl man pages by putting it there instead
of in /usr/include.
1998-01-17 15:52:32 +00:00
Bruce Evans
7eb44007dd
Updated shlib version to 80.4 in the correct place.
...
Regenerated libtcl/Makefile. This adds -DHAVE_ST_BLKSIZE=1 to CFLAGS.
It was broken by direct editing in rev.1.25.
1998-01-17 15:49:55 +00:00
Bruce Evans
060cc64852
Fixed bitrot in the prototype for logwtmp().
1998-01-16 16:53:30 +00:00
Bruce Evans
d7fb4b13b9
Fixed bugs in the conversion of kvm to to use procfs in rev.1.3. All
...
are in kvm_uread():
- the setting of errno before checking it in the lseek() was lost.
- EOF handling was lost. kvm_uread() retried forever on EOF. EOF is
not really an error, but report it one as in rev.1.2.
- reporting of errno after a read error was lost.
Fixed style bugs in rev.1.3 and rev.1.12.
Not fixed: errno is not reported after lseek() failures.
1998-01-16 16:45:05 +00:00
Bruce Evans
cf95d56dc5
Fixed wrong prototype for history().
...
Don't (mis)use .Fd outside of the synopsis.
1998-01-16 14:33:47 +00:00
Bruce Evans
c8b6b31f15
Fixed missing #include in synopsis.
1998-01-16 13:41:28 +00:00
Bruce Evans
a182428346
Fixed wrong prototype for clock_getres().
1998-01-16 13:39:49 +00:00
Bruce Evans
d142a33b7f
Fixed wrong prototypes. Most of the prototypes had missing return types,
...
or missing const's or `short *' instead of `[ug]id_t *' in argument types.
1998-01-16 13:33:09 +00:00
Bruce Evans
04b7c9479b
Fixed missing return type in a prototype.
1998-01-16 13:10:18 +00:00
Bruce Evans
442a25bd7b
Fixed a missing #include in the synopsis.
...
Fixed some wrong prototypes.
Fixed a misspelled function name.
The owner of this file should add a copyright and an Id.
1998-01-16 13:02:58 +00:00
Bruce Evans
bb6d5d9147
Added prototypes for functions that were documented in libalias.3
...
but not prototyped here.
1998-01-16 12:56:07 +00:00
Jordan K. Hubbard
76b851fda2
Non-intrusive changes to support Justin's CAM stuff.
1998-01-16 12:50:36 +00:00
Daniel O'Callaghan
fb9d219add
PR: 5489
...
Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu>
Repair corrupted text.
1998-01-15 23:28:18 +00:00
Stephen McKay
4773010d2f
Return the correct errno from getcwd() even if free() or closedir()
...
overwrites it. This actually showed up when running under an old
kernel when free() called the madvise() stub which set errno, causing
getcwd() to return EOPNOTSUPP instead of ERANGE.
1998-01-15 13:52:55 +00:00
John Birrell
c61e516832
Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() which
...
do not exist in NetBSD 1.3.
1998-01-15 09:58:08 +00:00
Alexander Langer
cbc3778c2f
Typo fix.
...
Added EOPNOTSUPP and EMLINK to errors section.
Added symlink(2) xref.
Obtained from: OpenBSD
1998-01-15 04:31:28 +00:00
John Birrell
da8a9b61c7
Include string.h for memcpy function prototype.
1998-01-14 08:14:56 +00:00
Brian Somers
b563bd02f0
Remove __libalias_version. Ppp no longer uses it.
1998-01-14 01:24:49 +00:00
Alexander Langer
4d1b2e67ae
Consistently reference init as .Xr init 8.
...
Obtained from: OpenBSD
1998-01-13 05:09:16 +00:00
Alexander Langer
e3abfc8253
Return type and argument to sleep are unsigned int.
1998-01-13 04:32:00 +00:00
John Birrell
49f91abde3
When printf'ing the result of pointer arithmetic, cast the result to
...
long and use %ld, not %d.
We're going to need an abbreviation for this comment 'cause it's going
to be used a lot from now on.
1998-01-13 03:07:10 +00:00
Alexander Langer
26db1da8a9
Dump the constant NGROUPS in favor of the POSIX way:
...
sysconf(_SC_NGROUPS_MAX).
Submitted by: bde
1998-01-13 01:30:17 +00:00
Alexander Langer
e4a6f1ad1f
Use .Fn for sysconf(_SC_CLOCK_TCK) reference.
...
Added $Id$.
1998-01-13 01:21:19 +00:00
Eivind Eklund
920207a8e9
${TARGET} -> ${.TARGET}
...
Tiny pointed hat goes to: Our Makefile-meister.
1998-01-12 18:29:02 +00:00
Alexander Langer
73a8c56ec1
Formatting fix & improved comment for struct timeval.
...
Obtained from: OpenBSD
1998-01-11 22:28:56 +00:00
Alexander Langer
d4b1275d66
Fixed brk(2) xref.
...
Obtained from: OpenBSD
1998-01-11 22:22:50 +00:00
Alexander Langer
21bcb535ea
Added sys/types.h to synopsis as per POSIX.
...
Obtained from: OpenBSD
1998-01-11 22:16:11 +00:00
Alexander Langer
7ea0dca625
Replace sys/param.h with sys/types.h as per POSIX.
...
Document the special case of gidsetlen == 0.
Partially obtained from: OpenBSD
1998-01-11 22:01:20 +00:00