summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: use canonical form of .Dd macro.Ruslan Ermilov2000-12-1116-16/+17
| | | | Notes: svn path=/head/; revision=69857
* Move telldir position recording type definitions and prototypesDaniel Eischen2000-12-116-31/+92
| | | | | | | | | | to "telldir.h" in order to prevent namespace pollution in <dirent.h> (which was including <sys/queue.h>). Add $FreeBSD$ to rewinddir.c and seekdir.c. Notes: svn path=/head/; revision=69841
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-095-7/+14
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* strunvis(3) and unvis(3) are the same files.Alexander Langer2000-12-081-1/+0
| | | | Notes: svn path=/head/; revision=69759
* There are four types of encoding now, not three. Most of them use theAlexander Langer2000-12-081-2/+2
| | | | | | | backslash as a special char, but not all. Notes: svn path=/head/; revision=69756
* When TFTP tries to open a file, it is expecting struct open_filePaul Saab2000-12-081-0/+3
| | | | | | | | | | | member f_devdata to be a pointer to a socket number. When currdev is "pxe", that assumption is correct. When currdev is "disk*", that assumption is incorrect. Submitted by: Jim Browne <jbrowne@jbrowne.com> Notes: svn path=/head/; revision=69739
* Upgrade to groff 1.16.1.Ruslan Ermilov2000-12-061-8/+1
| | | | Notes: svn path=/head/; revision=69675
* Somewhere along the line, I misunderstood the whole FTP_PASSIVE_MODE debateDag-Erling Smørgrav2000-12-062-4/+4
| | | | | | | | | | and had libfetch selecting passive mode even when FTP_PASSIVE_MODE was not set at all, which is really quite surprising unless you know about it. So change it to the agreed default behaviour of selecting passive mode if FTP_PASSIVE_MODE is set, but not "no". Notes: svn path=/head/; revision=69670
* Back this out, we apparently have the ipfw(4).Ruslan Ermilov2000-12-061-1/+1
| | | | Notes: svn path=/head/; revision=69662
* ipfw(4) -> ipfw(8).Ruslan Ermilov2000-12-061-1/+1
| | | | Notes: svn path=/head/; revision=69661
* Cleanup XXXdir functions to eliminate global hash table ofDaniel Eischen2000-12-065-53/+34
| | | | | | | | | | | | | | | | | | | telldir positions. This will allow (future) locking on a per-DIR basis (for MT-safety). For now, this change does the following: o Remove the hash table from telldir.c. Recode to use queue macros. o Remove 'const' from 'telldir(const DIR *)'. o Remove 'register' variables as suggested in a recent thread. No response from: -current Notes: svn path=/head/; revision=69656
* Add appropriate defines to use snprintf/vsnprintf instead ofChris D. Faulhaber2000-12-061-0/+2
| | | | | | | | | sprintf/vsprintf. Approved by: peter Notes: svn path=/head/; revision=69653
* Change the spelling of `.' to `.' from .OBJDIR since `.' really is whereDavid E. O'Brien2000-12-051-1/+1
| | | | | | | generated files land. Also give precedence to generated files. Notes: svn path=/head/; revision=69640
* Move the ipfw(4) xref to the description of LOG_SECURITY instead ofJohn Baldwin2000-12-051-1/+1
| | | | | | | | | | LOG_UUCP. PR: docs/23302 Submitted by: cshumway Notes: svn path=/head/; revision=69637
* Add some missing functions in MLINKS. Link assume_default_colors.3Thomas Gellekum2000-12-052-10/+20
| | | | | | | | and use_default_colors.3 to default_colors.3 instead of dft_fgbg.3. The former seems to be newer and/or better maintained. Notes: svn path=/head/; revision=69619
* Install manpages, including appropriate MLINKS.Thomas Gellekum2000-12-056-0/+274
| | | | Notes: svn path=/head/; revision=69618
* Forgot to remove the old line in the last commit.Brian Feldman2000-12-051-1/+0
| | | | Notes: svn path=/head/; revision=69590
* - __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpdHajimu UMEMOTO2000-12-041-102/+170
| | | | | | | | | | | | | | | | - iruserok_sa() and __ivaliduser_af() were re-organized to use __ivaliduser_sa() - __icheckhost() was re-written to use getaddrinfo() instead of getipnodebyname() - better handling of multiple destination addresses in rcmd() These changes were basically taken from KAME and changed to fit our rcmd.c. Obtained from: KAME Notes: svn path=/head/; revision=69575
* mdoc(7) police: fix formatting errors in rev 1.27.Ruslan Ermilov2000-12-041-13/+27
| | | | Notes: svn path=/head/; revision=69563
* When recording the original arguments, stop short if we encounterJohn Polstra2000-12-041-0/+10
| | | | | | | | | | | a NULL argument. Some programs change the contents of the argv array, typically to remove some special arguments. They shorten argv by storing a NULL where an argument pointer used to be. Such programs core dumped if they called setproctitle(), because it would try to apply strlen() to a NULL pointer. Notes: svn path=/head/; revision=69560
* When recording the original arguments, don't (ab)use "nargc" forJohn Polstra2000-12-041-3/+4
| | | | | | | | iterating over the arguments. Doing so wipes out the value which is about to be stored into the ps_strings structure. Notes: svn path=/head/; revision=69558
* Add warning on file-fragmentation issues related to MAP_NOSYNCMatthew Dillon2000-12-031-0/+15
| | | | Notes: svn path=/head/; revision=69555
* Remove last vestiges of thr_sleep and thr_wakeup from libc.Jake Burkholder2000-12-024-4/+4
| | | | Notes: svn path=/head/; revision=69515
* Fix some error-handling logic so that ferror is called before fclose,Garance A Drosehn2000-12-021-7/+21
| | | | | | | | | | | | instead of immediately after the fclose. The previous logic did work on freebsd, but is somewhat risky practice (and causes trouble when porting to other OS's). PR: bin/22965 Reviewed by: Garrett Wollman Notes: svn path=/head/; revision=69502
* Remove some obsolete comments.Dag-Erling Smørgrav2000-12-011-13/+0
| | | | Notes: svn path=/head/; revision=69466
* Clean up the whitespace encoding code.Dag-Erling Smørgrav2000-12-011-5/+6
| | | | Notes: svn path=/head/; revision=69465
* Add SCHEME_HTTPS.Dag-Erling Smørgrav2000-12-011-0/+1
| | | | Notes: svn path=/head/; revision=69464
* The GCC 2.96 snapshots have slightly different rules for finding includeDavid E. O'Brien2000-12-011-1/+1
| | | | | | | | | | files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.". Notes: svn path=/head/; revision=69453
* remove unneded sys/ucred.h includeAlfred Perlstein2000-11-301-1/+0
| | | | Notes: svn path=/head/; revision=69396
* document O_NOFOLLOW and O_FSYNC flags to openAlfred Perlstein2000-11-291-0/+21
| | | | Notes: svn path=/head/; revision=69336
* Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.xJohn Baldwin2000-11-283-3/+3
| | | | | | | happy. Notes: svn path=/head/; revision=69332
* The parameter that contains valid options is "optstring", not "optarg".Matthew Hunt2000-11-281-1/+1
| | | | Notes: svn path=/head/; revision=69329
* Add reference to elf(5) in addition to already mentioned a.out(5) and add bothMaxim Sobolev2000-11-271-0/+4
| | | | | | | elf(5) and a.out(5) into `SEE ALSO' section. Notes: svn path=/head/; revision=69276
* Fix old-style proxy specs: default to FTP if FTP_PROXY was set; only defaultDag-Erling Smørgrav2000-11-271-2/+6
| | | | | | | to HTTP if HTTP_PROXY was used instead. Notes: svn path=/head/; revision=69272
* Don't try to get the proxy port number from /etc/services.Dag-Erling Smørgrav2000-11-271-4/+0
| | | | Notes: svn path=/head/; revision=69271
* Note that the `fmt' parameter is a printf()-like string.David E. O'Brien2000-11-261-1/+4
| | | | Notes: svn path=/head/; revision=69235
* ConstifyKris Kennaway2000-11-262-2/+4
| | | | Notes: svn path=/head/; revision=69204
* sprintf -> snprintfKris Kennaway2000-11-261-1/+1
| | | | Notes: svn path=/head/; revision=69203
* Make it possible to override the function which writes messages toPoul-Henning Kamp2000-11-262-18/+32
| | | | | | | | | | stderr in case of warnings and errors. Rename malloc_options to have a leading underscore, I belive I have been told that is more correct namespace wise. Notes: svn path=/head/; revision=69201
* sprintf -> snprintfKris Kennaway2000-11-261-1/+1
| | | | Notes: svn path=/head/; revision=69196
* Fix a mangled $Id stringPeter Wemm2000-11-251-1/+1
| | | | Notes: svn path=/head/; revision=69156
* In env_destroy(), it is a bad idea to env_swap(self, 0) to switchBrian Feldman2000-11-251-0/+2
| | | | | | | | | | | | | back to the original environ unconditionally. The setting of the variable to save the previous environ is conditional; it happens when ENV.e_committed is set. Therefore, don't try to swap the env back unless the previous env has been initialized. PR: bin/22670 Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp> Notes: svn path=/head/; revision=69130
* Correct an arguement to ssh_add_identity, this matches what is currentlyBill Fumerola2000-11-251-1/+1
| | | | | | | | | | | | in ports/security/openssh/files/pam_ssh.c PR: 22164 Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp> Reviewed by: green Approved by: green Notes: svn path=/head/; revision=69129
* Remove the only hard sentence break in the file.Sheldon Hearn2000-11-241-4/+5
| | | | Notes: svn path=/head/; revision=69113
* Eliminate groff(1) warnings.Ruslan Ermilov2000-11-247-49/+77
| | | | Notes: svn path=/head/; revision=69104
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-2253-87/+124
| | | | Notes: svn path=/head/; revision=69051
* Don't go haywire if the server closes the connection in the middle of aDag-Erling Smørgrav2000-11-221-1/+1
| | | | | | | multiline response (proper fix this time). Notes: svn path=/head/; revision=69044
* Revert previous commit, it was somewhat hasty.Dag-Erling Smørgrav2000-11-221-5/+1
| | | | Notes: svn path=/head/; revision=69043
* Don't go haywire if the server closes the connection during a multilineDag-Erling Smørgrav2000-11-221-1/+5
| | | | | | | response. Notes: svn path=/head/; revision=69041
* logRuslan Ermilov2000-11-2210-6/+17
| | | | Notes: svn path=/head/; revision=69026