summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* PR: 5489danny1998-01-151-5/+5
| | | | | Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu> Repair corrupted text.
* Return the correct errno from getcwd() even if free() or closedir()mckay1998-01-151-0/+4
| | | | | | 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.
* Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() whichjb1998-01-153-6/+18
| | | | do not exist in NetBSD 1.3.
* Typo fix.alex1998-01-151-2/+12
| | | | | | | Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD
* Include string.h for memcpy function prototype.jb1998-01-141-0/+1
|
* Remove __libalias_version. Ppp no longer uses it.brian1998-01-141-3/+0
|
* Consistently reference init as .Xr init 8.alex1998-01-131-2/+2
| | | | Obtained from: OpenBSD
* Return type and argument to sleep are unsigned int.alex1998-01-131-2/+3
|
* When printf'ing the result of pointer arithmetic, cast the result tojb1998-01-131-9/+9
| | | | | | | 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.
* Dump the constant NGROUPS in favor of the POSIX way:alex1998-01-131-9/+6
| | | | | | sysconf(_SC_NGROUPS_MAX). Submitted by: bde
* Use .Fn for sysconf(_SC_CLOCK_TCK) reference.alex1998-01-131-1/+3
| | | | Added $Id$.
* ${TARGET} -> ${.TARGET}eivind1998-01-121-2/+2
| | | | Tiny pointed hat goes to: Our Makefile-meister.
* Formatting fix & improved comment for struct timeval.alex1998-01-111-1/+3
| | | | Obtained from: OpenBSD
* Fixed brk(2) xref.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Added sys/types.h to synopsis as per POSIX.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Replace sys/param.h with sys/types.h as per POSIX.alex1998-01-111-1/+9
| | | | | | Document the special case of gidsetlen == 0. Partially obtained from: OpenBSD
* Document that arg max is controllable via sysctl.alex1998-01-111-5/+7
|
* Remove use of <osreldate.h>.eivind1998-01-111-6/+0
| | | | Screwed up by: myself
* Formatting fix.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Added EMFILE and ENFILE to errors section.alex1998-01-111-0/+5
| | | | Obtained from: OpenBSD
* .Xr sigvec --> sigactionalex1998-01-111-2/+2
| | | | Obtained from: OpenBSD
* Add <sys/types.h> to synopsis.alex1998-01-111-1/+4
| | | | | | | Correct a grammatical error. Add cross-reference to setrlimit(2). Obtained from: OpenBSD
* CSU source for Alpha obtained from NetBSD. The makefile will requirejb1998-01-114-0/+419
| | | | more work when we get a half-way usable libc (which is next).
* We can now build libm on Alpha. There is very little MD alpha code.jb1998-01-101-3/+0
|
* This is the only alpha math source that NetBSD has.jb1998-01-102-0/+90
|
* Put back __libalias_version so ppp(8) build again.steve1998-01-101-0/+3
|
* Sync with ipfw interface change: fw_pts is now part of a union (aalex1998-01-101-5/+5
| | | | necessary evil due to the 108 byte setsockopt() limit).
* include <net/if.h> and restore this to sanity.jkh1998-01-101-0/+1
|
* Bruce says that ${.CURDIR}/csu/${MACHINE} will prevent finding ajb1998-01-101-2/+6
| | | | | | | | 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.
* Allow this to compile with NetBSD tools.jb1998-01-091-1/+1
|
* Teach libalias to work with IPFW firewalls (controlled by a flag).eivind1998-01-099-93/+475
| | | | | Obtained from: Yes development tree (+ 10 lines of patches from Charles Mott, original libalias author)
* Don't build libc, libc_r or libm on Alpha yet. We'll do the otherjb1998-01-091-3/+7
| | | | libraries first and use NetBSD's libc/libm for now.
* Make a couple of the stat flags dependent on the sys/stat.h header filejb1998-01-094-4/+36
| | | | | | | | | | | 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-)
* Build lib/csu/${MACHINE} only if it exists so that when porting FreeBSDjb1998-01-091-1/+1
| | | | | | 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.
* handle long usernames more carefullyimp1998-01-071-5/+8
| | | | | Reviewed by: guido Obtained from: OpenBSD (Theo de Raadt)
* Convert to mdoc format.charnier1998-01-051-248/+146
|
* size_t -> unsignedache1998-01-041-3/+3
| | | | | in arguments length INT_MAX overflow check Suggested-by: bde
* Expanded cross references.alex1998-01-029-8/+20
|
* Remove unneeded code left from testingache1998-01-021-13/+2
|
* 1) Redo internal interface to be more latest ncurses-likeache1998-01-023-73/+82
| | | | | | 2) Fix winsdel called in last line of the window (nothing happens in old variant) 3) Add range checks to wscrl() and internal soft scroll function
* Fix another problem with clearing the last line of thesteve1998-01-011-1/+1
| | | | | | display. Submitted by: Kouichi Hirabayashi <kh@mogami-wire.co.jp>
* 1. EOF was returned when the buffer size was larger than INT_MAX. Thisache1998-01-012-10/+10
| | | | | | | | | | case has very little to do with the output size being larger than INT_MAX. 2. The new #include of <limits.h> was disordered. 3. The new declaration of `on' was disordered (integer types go together). 4. Testing an unsigned value for > 0 was fishy. Submitted by: bde
* Drop the use of caddr_t in conjunction with mmap(2).alex1997-12-311-4/+4
|
* Convert caddr_t --> void * for sys/mman.h functions.alex1997-12-319-16/+16
| | | | | | | | | | | | | | | | mlock, mmap, mprotect, msync, munlock, and munmap are defined by POSIX as taking void *. The const modifier has been added to mlock, munlock, and mprotect as the standard dictates. minherit comes from OpenBSD and has been updated to conform with their recent change to void *. madvise and mincore are not defined by POSIX, but their arguments have been modified to be consistent with the POSIX-defined functions. mincore takes a const pointer, but madvise does not due to the MADV_FREE case. Discussed with: bde
* Fixed formatting of the MADV_FREE flag description.alex1997-12-301-3/+3
| | | | Pointed out by: bde
* Typo fix.alex1997-12-301-2/+2
|
* Document MS_SYNC.alex1997-12-301-0/+1
|
* Handle the condition where BS is typed while the cursor issteve1997-12-291-1/+3
| | | | | | | | | at the first position on either of the last two lines of the screen. Ie. append contents of current line to the previous line and scroll the next line's contents up. PR: 5392 Submitted by: Kouichi Hirabayashi <kh@mogami-wire.co.jp>
* The terminating character in strings is `NUL', not `NULL'.wosch1997-12-282-2/+2
|
* fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.hoek1997-12-261-1/+1
| | | | | pr: docs/5260 submitted-by: Niall Smart [3]njs3@doc.ic.ac.uk
OpenPOWER on IntegriCloud