Commit Graph

2456 Commits

Author SHA1 Message Date
pooka
b5cf475347 add -D, which prompts to stay on foreground without debug spewage 2009-08-06 00:20:45 +00:00
pooka
e2863984f7 Check main loop fcntl return value and error out if it fails.
Prevents e.g. from 5.0 cleaner looping forever against -current
lfs driver (fcntl data structure sizes are different).
2009-08-06 00:05:01 +00:00
roy
7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
mbalmer
bf31e2ab08 Remove an old workaround from SCCS times (%M% would insert the filename). 2009-07-04 13:24:09 +00:00
christos
1b829b2a68 PR/40965: NAKAJIMA Yoshihiro: lfs_cleanerd isn't adapted to !MKDYNAMICROOT 2009-06-21 20:20:50 +00:00
he
45932f91e5 Apply fix borrowed from i386: Fix const issue (cast const pointers
to "const uint8_t *" instead of "caddr_t").
2009-05-24 20:35:41 +00:00
he
237687b934 Copy build fix from i386: Fix const issues (cast const pointers
to "const uint8_t *" instead of "caddr_t").
2009-05-24 18:29:03 +00:00
wiz
81ea280bf2 Sort options in SYNOPSIS. 2009-05-23 20:26:18 +00:00
mjf
27cb8d0e73 After a recent WARNS= bump on ld.elf_so it fails to build on hppa,
complaining that we're "discarding qualifier from pointer target
type".

Use const char * instead of caddr_t to avoid the warning and get
distribution building on hppa again.
2009-05-23 17:50:34 +00:00
mrg
4157d76654 fix a new -Wsign-compare bug. 2009-05-23 08:26:26 +00:00
mrg
67eebf838c fix a merge botch in previous 2009-05-23 06:45:28 +00:00
mrg
c6e75af28a merge bozohttpd 20090522 2009-05-23 02:26:03 +00:00
mrg
36a7970f3c import bozohttpd 20090522, which has these changes:
o  close more leaking file descriptors for CGI and daemon mode
	o  add subdirs for build "debug" and "small" versions
	o  clean up a bad merge / duplicate code
	o  make mmap() usage portable, fixes linux & ranges: support
	o  document the -f option
	o  daemon mode now serves 6 files per child
2009-05-23 02:21:19 +00:00
martin
c131490c29 Use the new Elf_SOff (signed offset) type to fix a few signed/unsigned
problems.
2009-05-22 21:47:46 +00:00
christos
b19e027aab fix signed/unsigned comparisons and const cast away (untested) 2009-05-20 22:31:46 +00:00
ad
51a76d6f11 Add a reminder about ldd depending on ld.so. 2009-05-20 19:38:38 +00:00
christos
fa64a5bf9b warns=4 2009-05-19 20:44:52 +00:00
wiz
93dafb2e39 Drop trailing whitespace. 2009-05-01 10:53:27 +00:00
lukem
24c7ea10da Simplify the example command used to extract a wu-ftpd compatible xferlog. 2009-05-01 09:47:26 +00:00
mrg
68b1f14092 oops. these files should never have made it in here. 2009-04-19 21:43:44 +00:00
mrg
bbbdac0a6f merge bozohttpd 20090418. remove a couple of minor do-nothing local
changes that don't need to cause conflicts.
2009-04-18 21:22:03 +00:00
mrg
5de1fbc2cb import bozohttpd 20090418. changes include:
o  avoid dying in daemon mode for some uncommon, but recoverable, errors
o  close leaking file descriptors for CGI and daemon mode
o  handle poll errors properly
o  don't try to handle more than one request per process yet

this covers PR#38489 and PR#40079, as well some some issues reported
privately.
2009-04-18 21:09:40 +00:00
wiz
98d3964304 Remove duplicate part (pasto?). Remove trailing whitespace.
Use Aq where easily possible.
2009-04-18 12:35:51 +00:00
mrg
74dbf40e6b re-add a lot of the distribution files 2009-04-18 07:48:02 +00:00
mrg
f32af62cb7 return a value when the function wants to. 2009-04-18 07:38:40 +00:00
mrg
ca01226b20 de-const some variables passed to free(). 2009-04-18 07:37:08 +00:00
mrg
033876329d merge bozohttpd 20090417 2009-04-18 07:28:24 +00:00
mrg
8033ac319d import latest bozohttpd sources. changes include:
o  make bozohttpd internally more modular, preparing the way
           to handle more than one request per process
        o  fix http-auth, set $REMOTE_USER not $REMOTEUSER.  also fix
           cgi-bin with cvsweb, from Holger Weiss <holger@CIS.FU-Berlin.DE>
        o  fix an uninitialised variable use in daemon mode
        o  fix ssl mode with newer OpenSSL
        o  mmap large files in manageable sizes so we can serve any size file
        o  refactor url processing to handle query strings correctly for CGI
           from Sergey Katsev at Coyote Point
        o  add If-Modified-Since support, from Joerg Sonnenberger
           <joerg@netbsd.org>
        o  many more manual fixes, from NetBSD
2009-04-18 07:09:27 +00:00
snj
4657fc1128 Fix typo in email address. Pointed out by Mirko Thiesen in PR 41229. 2009-04-16 21:26:57 +00:00
christos
f42cbba55c provide more info on decoding errors. 2009-04-13 03:38:15 +00:00
lukem
e91bd42f43 Fix const issues (cast const pointers to "const uint8_t *" instead of "caddr_t") 2009-04-12 13:29:29 +00:00
joerg
95f7f57dfb Remove physical markup. 2009-04-09 04:02:32 +00:00
joerg
3b17d40bfb Don't use .Xo/.Xc or .Oo/.Oc over .It lines to work around the macro
argument limit in ancient groff versions.
2009-04-09 02:25:45 +00:00
joerg
5b2aa3c892 Don't use .\" as callable macro. 2009-04-08 15:05:58 +00:00
joerg
f4bfcdb4ae Improve markup. 2009-04-08 13:36:32 +00:00
apb
33c39aadf2 In addwhatis(), two items should not be treated as duplicates unless
both the "data" and "prefix" elements are identical.  For example, the
two lines

	amiga/boot (8) - system bootstrapping procedures
	amd64/boot (8) - system bootstrapping procedures

both appear with data = "boot (8) - system bootstrapping procedures" but
with different values for prefix, and we do not want to reject one of
them as a duplicate.
2009-04-02 21:39:33 +00:00
reinoud
ce5ceeea15 Fix redirection core dump as reported in PR#41042. 2009-03-23 12:49:28 +00:00
lukem
fd6e87486b Fix 'vfork clobber' warning on vax.
Problem noted by and fix confirmed by Olaf 'Rhialto' Seibert.
2009-03-18 02:27:41 +00:00
lukem
b4fba76b41 Fix const issues (cast const pointers to "const uint8_t *" instead of "caddr_t")
NOTE: change based on ../i386/mdreloc.c 1.27
XXX: not compile tested
2009-03-16 02:46:47 +00:00
lukem
337930db10 Fix const issues (cast const pointers to "const uint8_t *" instead of "caddr_t") 2009-03-16 02:44:47 +00:00
lukem
500db00274 Default to WARNS=4
Exceptions that need a lower level are:
	getty ld.elf_so lfs_cleanerd makewhatis telnetd tftpd
	hpropd ipropd-master ipropd-slave kadmind kpasswdd
2009-03-16 02:24:55 +00:00
lukem
024b6bdcb7 fix sign-compare issue 2009-03-16 02:18:39 +00:00
lukem
c12ec9011a fix shadowed variable 2009-03-16 01:56:21 +00:00
lukem
7056a59163 fix WARNS=4 issues (const & type mismatches) 2009-03-16 01:13:38 +00:00
lukem
46067dc349 ANSI KNF 2009-03-16 01:04:32 +00:00
lukem
22fa21205e fix WARNS=4 issues.
(arguably usr.bin/who/utmpentry.c::getutentries() could return size_t not int)
2009-03-16 00:56:16 +00:00
lukem
eccb8fb7be WARNS=4 2009-03-16 00:43:33 +00:00
lukem
bb15c5ac36 fix WARNS=3 issues;
* sprinkle const
* avoid tests < 0 on unsigned types
* test fwrite() returns nmemb not <0
2009-03-16 00:08:10 +00:00
lukem
f3479fb8e4 avoid a shadowed variable 2009-03-15 23:56:24 +00:00
lukem
b8276deac1 rename a variable to avoid a compiler warning 2009-03-15 23:53:03 +00:00