summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-238-72/+74
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Describe errx/warnx in comparison to errc/warnc/err/warn.ghelmer2000-05-231-12/+33
| | | | | | Use .Fa instead of .Va for function arguments. Reviewed by: sheldonh
* Use the new machine-independent versions of crtbegin and crtendjdp2000-05-233-108/+2
| | | | | | | | from the "common" directory. As a side-effect, this also fixes a bug in the ordering of global constructors and destructors on the Alpha. See revision 1.3 of "../common/crtbegin.c" for details.
* Use $FTP_PASSWORD for FTP password. If $FTP_PASSWORD is notume2000-05-221-1/+11
| | | | found, `yourname@yourhost' is used.
* <blush> I tested the real code changes, but neglected to test theimp2000-05-222-5/+5
| | | | | insertion of $FreeBSD$. I miffed it (pointy hat please). Hopefully no one will notice this short window where -current didn't compile.
* Do not read editrc file from '.'. This can be as unsafe as havingimp2000-05-222-12/+11
| | | | | | | | | | . first in root's path. While I'm here: o Add $FreeBSD$ o Get errno from <errno.h>, but extern int errno. Submitted by: Tim Vanderhoek
* Make comment match code forgotten in last commitimp2000-05-221-1/+1
|
* Add $FreeBSD$ so I can commit:imp2000-05-221-4/+6
| | | | | Remove extern int errno;. Instead include the ANSI <errno.h>. No functional changes, just a higher level of pedantry.
* Implement a new camcontrol function, 'camcontrol format'.ken2000-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcam/Makefile: Add scsi_da.c to libcam for the new scsi_format_unit() function. camcontrol.8: Update the man page for the new format functionality, and take out the examples section describing how to do it with 'camcontrol cmd'. camcontrol.c: New format functionality. Note that unlike the rest of the camcontrol subcommands, this one is interactive by default. Because of the potential destructiveness of the format command, I thought it necessary to get confirmation from the user before spamming a disk. You can disable the interactive behavior, and the status meter with command line arguments. scsi_da.c: Add the new scsi_format_unit() cdb building function and use #ifdef _KERNEL to make this file compile in both the kernel and userland. The format unit function is currently only defined in the non-kernel case, because nothing in the kernel is using it. If that changes, it should be un-ifdefed and compiled in both cases. scsi_da.h: New function declaration, CDB structure and format data structures. Thanks to Nick Hibma for providing some valuable input on these changes.
* Back out NOTE_EXIT status reporting pending discussion.green2000-05-211-4/+0
|
* Fix a memory leak in getent() that occurred when the requested entryhoek2000-05-211-1/+3
| | | | | | could not be found. PR: bin/17084
* Fix a memory leak with lc->lc_cap in login_close().hoek2000-05-211-0/+1
| | | | PR: bin/17084
* IPv6 support.ume2000-05-207-68/+278
|
* Take crtbegin.c and crtend.c from the new machine-independentjdp2000-05-204-135/+4
| | | | "common" sister directory.
* Better handling of some boundary conditions.des2000-05-192-4/+9
| | | | Submitted by: ume
* This is step 1 in an effort to unify the start-up files for thejdp2000-05-196-78/+120
| | | | | | | | | | | | | | | | | various architectures. Now all the work is done in crtbegin.c. It doesn't contain any assembly language code, so it should work fine on all architectures. (I have tested it on the i386 and the alpha.) The old assembly language files crt[in].S are now empty shells that generate no code or data. They should not be removed any time soon, because the various versions of gcc in src and ports expect them to exist. Next I will move crtbegin.c into a new common machine-independent directory, and adjust the i386-elf Makefile to use that version. After that I will adjust the alpha Makefile to use the common version too. Requested by: obrien
* Remove a superfluous `.Pp' occuring directly afterchris2000-05-191-1/+0
| | | | `.Sh IMPLEMENTATION NOTES'.
* Add a note under IMPLEMENTATION NOTES about the behavior of sendfile()chris2000-05-191-0/+27
| | | | in the threaded library.
* List ECONNRESET as a return value. EINVAL was not documented either.peter2000-05-192-0/+4
|
* Put the wait(2) exit status in "data" for NOTE_EXIT kevents.green2000-05-171-0/+4
|
* Fix a memory leak. pthread_set_name_np() allocates space for a name, butjasone2000-05-163-6/+18
| | | | | | was not deallocating space for the previous name, if any. PR: misc/18504
* Fix a memory leak. pthread_set_name_np() allocates space for a name, butjasone2000-05-162-0/+8
| | | | | | _thread_gc() was not deallocating it. PR: misc/18504
* Make HTTP_PROXY work for FTP.ume2000-05-152-13/+45
| | | | | Reported by: Ben Smithurst <ben@scientia.demon.co.uk> Reviewed by: des
* Document struct url.des2000-05-151-0/+32
| | | | Document the default values for fetchStat*().
* Initialize the struct url_stat at the beginning of _fetch_stat_file().des2000-05-151-0/+2
|
* Initialize the struct url_stat at the beginning of fetchStatFTP().des2000-05-151-0/+3
|
* Remove unused 'verbose'.des2000-05-151-6/+6
| | | | Initialize the struct url_stat at the beginning of fetchStatHTTP().
* Add some extra functions adapted from OpenBSD, in preparation forkris2000-05-152-0/+97
| | | | OpenSSH OPIE support.
* Fix the real problem that broke the Alpha loader this last week. Itpeter2000-05-121-2/+3
| | | | | | | | | | | | | | | was not the fault of the module code, nor FICL. The malloc code requires sbrk() to return addresses that were at least 16 byte aligned. If the Alpha loader happened to be 8 byte but not 16 byte aligned in length, then you would get a zfree() panic at startup. Incidently, this affected the i386 loader as well, and explains why the static heap changed things and why jlemon had trouble when the bss was not ending at a multiple of 8 bytes. My fix is to 16 byte align it on all arches, even though the x86 version only required 8 byte alignment (struct MemNode is smaller there). We could page align it if we wanted to be paranoid, but it isn't presently necessary.
* We compile expressly on the alpha with -mno-fp-regs - so do not use thempeter2000-05-121-0/+4
| | | | | explicitly here. This was the original cause of instruction faults on the Alpha in loader. (not this code, but the same problem in libficl.a)
* mdoc related fixes:phantom2000-05-121-19/+22
| | | | | | . synchronize NAME and SYNOPSIS sections . replace .Ev macros with .Dv / .Er / .Em macros as mdoc(7) specification declare
* . fix .Dt macro argumentphantom2000-05-121-2/+2
| | | | . spell inet6_rthdr_reverse correctly
* add MLINKS: pthread_testcancel(3) -> pthread_setcanceltype(3)phantom2000-05-122-0/+2
|
* "Fixed" missing include in synopsis. POSIX.1-1996 only specifiesbde2000-05-114-0/+4
| | | | | including <signal.h>, but that must be a bug in POSIX.1, because it also specifies that the relevant prototype is [only] in <pthread.h>.
* Fixed misspelling of a struct tag in a function parameter type.bde2000-05-112-2/+2
|
* Fixed missing include in synopsis.bde2000-05-111-2/+2
| | | | | Use a long line instead splitting a line with backslash-newline in synopsis. My synopsis checker doesn't understand backslash-newline.
* Add workaround for ftpds with the Y2K MDTM bugdes2000-05-111-7/+22
|
* Fixed missing consts for function parameters, so that the code matchesbde2000-05-119-9/+18
| | | | | the man page and POSIX.1. Fixed nearby misformatting. Fixed a missing prototype.
* Bump major number, since struct url has changed.des2000-05-111-1/+1
| | | | Discussed with: jdp
* Fix hard sentence break.des2000-05-111-2/+2
| | | | Submitted by: sheldonh
* Reorganize some of the http code and split it into more functions.des2000-05-114-103/+203
| | | | | | Implement fetchStatHTTP(). Unbungle struct url, and add fetchFreeURL(). Document it.
* Revert the default behaviour for incoming connections sobrian2000-05-112-3/+3
| | | | | | | | that they (once again) go to the target machine rather than the alias address. PR: 18354 Submitted by: ru
* When "any" acts as a subject, the verb must agree with whatever any is of.hoek2000-05-111-2/+2
|
* Content-free commit: only remove trailing whitespacehoek2000-05-111-6/+6
|
* The accept() function is a call, not an argument. Also, add: serialhoek2000-05-111-5/+5
| | | | comma, missing-hyphen, and a word-erase character.
* Finish moving all IEEE fp types to be the same on all arch's.jhb2000-05-102-3/+3
|
* Add FreeBSD Id tags.obrien2000-05-1012-1/+13
|
* fp_except => fp_except_t for consistancy with the i386 and the traditionobrien2000-05-104-8/+12
| | | | C methoid of nameing types.
* Supply only one author name per instance of %A, as per mdoc.samples(7).sheldonh2000-05-103-6/+17
| | | | | PR: 18465 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
* correct possible security issue(s) in name resolution, due to use ofitojun2000-05-101-177/+391
| | | | | | | pre-4.9.7 BIND resolver code. ftp://ftp.kame.net/pub/mail-list/snap-users/2348 for details. Reviewed by: ume
OpenPOWER on IntegriCloud