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
Alexander Langer
6eba99b0db
Document that arg max is controllable via sysctl.
1998-01-11 21:43:38 +00:00
Eivind Eklund
58ba5f4a30
Remove use of <osreldate.h>.
...
Screwed up by: myself
1998-01-11 18:34:38 +00:00
Alexander Langer
92d7687ee6
Formatting fix.
...
Obtained from: OpenBSD
1998-01-11 17:49:51 +00:00
Alexander Langer
fa70846939
Added EMFILE and ENFILE to errors section.
...
Obtained from: OpenBSD
1998-01-11 17:07:20 +00:00
Alexander Langer
5e8b84b628
.Xr sigvec --> sigaction
...
Obtained from: OpenBSD
1998-01-11 16:56:01 +00:00
Alexander Langer
a5c3b32774
Add <sys/types.h> to synopsis.
...
Correct a grammatical error.
Add cross-reference to setrlimit(2).
Obtained from: OpenBSD
1998-01-11 16:51:49 +00:00
John Birrell
3c526fbfd3
CSU source for Alpha obtained from NetBSD. The makefile will require
...
more work when we get a half-way usable libc (which is next).
1998-01-11 03:30:39 +00:00
John Birrell
fdbac8827e
We can now build libm on Alpha. There is very little MD alpha code.
1998-01-10 22:51:51 +00:00
John Birrell
11f8db59fb
This is the only alpha math source that NetBSD has.
1998-01-10 22:17:24 +00:00
Steve Price
1f48070a27
Put back __libalias_version so ppp(8) build again.
1998-01-10 19:37:19 +00:00
Alexander Langer
1e73fe2ae8
Sync with ipfw interface change: fw_pts is now part of a union (a
...
necessary evil due to the 108 byte setsockopt() limit).
1998-01-10 16:14:18 +00:00
Jordan K. Hubbard
20f16cfce3
include <net/if.h> and restore this to sanity.
1998-01-10 15:04:06 +00:00
John Birrell
6a7a98c954
Bruce says that ${.CURDIR}/csu/${MACHINE} will prevent finding a
...
stale obj directory and we wouldn't want to do that! I trust he knows
what he's talking about. 8-)
Also avoid building libm at all until the NetBSD asm code is imported.
I wrongly commented this out last time. Oops.
1998-01-10 09:09:24 +00:00
John Birrell
d69fcdf283
Allow this to compile with NetBSD tools.
1998-01-09 23:51:04 +00:00
Eivind Eklund
8ddc51bc8b
Teach libalias to work with IPFW firewalls (controlled by a flag).
...
Obtained from: Yes development tree (+ 10 lines of patches from
Charles Mott, original libalias author)
1998-01-09 21:13:35 +00:00
John Birrell
b09f41a4b9
Don't build libc, libc_r or libm on Alpha yet. We'll do the other
...
libraries first and use NetBSD's libc/libm for now.
1998-01-09 19:46:30 +00:00
John Birrell
f1d896d117
Make a couple of the stat flags dependent on the sys/stat.h header file
...
that this source is compiled against. This source is referenced by
install which is needed as a build tool and must be able to compile
against NetBSD headers and libraries if we have a hope of supporting
another architecture.
With this change, that's two working programs down and 3945 (?) to go.
The other one was make, but that didn't need any changes to work under
FreeBSD/Alpha. 8-)
1998-01-09 06:14:59 +00:00
John Birrell
8d6fec39d2
Build lib/csu/${MACHINE} only if it exists so that when porting FreeBSD
...
to another architecture (in this case the Alpha) we can continue to use
the host csu objects (from NetBSD). This should be a non-function change
to FreeBSD/i386.
1998-01-09 05:37:41 +00:00
Warner Losh
3c8e19e155
handle long usernames more carefully
...
Reviewed by: guido
Obtained from: OpenBSD (Theo de Raadt)
1998-01-07 00:28:36 +00:00
Philippe Charnier
125c8263d8
Convert to mdoc format.
1998-01-05 07:12:16 +00:00
Andrey A. Chernov
b250f24856
size_t -> unsigned
...
in arguments length INT_MAX overflow check
Suggested-by: bde
1998-01-04 22:28:47 +00:00
Alexander Langer
e69bcfc3bc
Expanded cross references.
1998-01-02 19:22:52 +00:00