Commit Graph

8070 Commits

Author SHA1 Message Date
wiz
7aee94451b New sentence, new line; grammar improvements. 2005-06-01 17:33:21 +00:00
sjg
5f60a7de65 Add :Ox for random ordering, based on patch from
Mike M. Volokhov <mishka@apk.od.ua>
2005-06-01 17:17:34 +00:00
lukem
c7115c2b93 * Only print the "Trying <address>..." message if verbose and
there's more than one struct addrinfo in the getaddrinfo() result.
* Don't use non-standard "u_int".
2005-06-01 12:10:14 +00:00
chs
3f15e64c3c rename "kbucket" to "kmembuckets", for greater clarity.
don't forget to update vmstat this time.
2005-05-30 23:04:53 +00:00
lukem
e2240cac60 * fetch_ftp(): preserve 'anonftp' across a disconnect() so that multiple
ftp auto-fetches on the same command line login automatically.
* auto_fetch(): use an initialized volatile int to appease IRIX cc.
2005-05-29 05:56:56 +00:00
lukem
4011dcc7ab formatbuf(): fix %m and %M to use the hostname, not the username. 2005-05-27 14:35:50 +00:00
lukem
bed2c16589 Improve method used in fileindir() to determine if file' is in or under dir':
realpath(3) on non-NetBSD systems may fail if the target filename doesn't
exist, so instead use realpath(3) on the parent directory of `file'.
Per discussion with Todd Eigenschink.
2005-05-26 02:59:34 +00:00
wiz
077ec48387 Fix temp file paths. From Jeff Ito in PR 30316. 2005-05-24 11:21:40 +00:00
chs
d5b80101e7 do not rely on the pre-evcnt interrupt counter kernel symbols being present.
if they do not exist, then interrupt stats are all in evcnts.
2005-05-22 14:00:59 +00:00
he
d316ef3d77 Printf field widths and size_t don't always mix well, so cast to int.
Fixes build problem for alpha.
2005-05-20 07:26:01 +00:00
jdc
9c9b601a23 Make this compile on sparc64 (size_t != int). 2005-05-20 06:13:23 +00:00
lukem
943e24eb27 tab cleanup 2005-05-19 03:14:52 +00:00
lukem
dc6635b518 Use size_t instead of int where appropriate. 2005-05-19 03:05:04 +00:00
lukem
947172fa2b Some const cleanups. 2005-05-19 02:55:37 +00:00
yamt
627b0d5099 remove anon related statistics which are no longer used. 2005-05-15 08:01:06 +00:00
dsl
4ed2a0cea6 Helps if the definition of xconnect() matches its declaration.... 2005-05-14 18:56:45 +00:00
lukem
7f321b8850 Fix some cast issues highlighted by Scott Reynolds using gcc 4 on OSX.4 2005-05-14 15:26:43 +00:00
lukem
8b69a0f5ac * Correct the "optlen" argument passed to getsockopt(3) and setsockopt(3)
in various places.  Fixes a problem noted by Allen Briggs.
* Improve warning printed when connect(2) for the data channel fails.
2005-05-13 05:03:49 +00:00
jmc
2c8974a914 Fix fallout from vm_anon changes 2005-05-11 17:41:52 +00:00
lukem
9ffae1bf46 Use socklen_t instead of int as the 5th argument to getsockopt().
Improve invocation of setsockopt() and associated failure messages.
2005-05-11 02:29:12 +00:00
lukem
9607ad079e Prevent an overly-long input line causing a core dump when editing is enabled.
Issue noted by Ryoji Kanai in FreeBSD Problem Report # 77158.
2005-05-10 22:59:52 +00:00
lukem
1282d958b8 When creating a relative symlink (-lr), use the originally provided `to_name'
to create and metalog, rather than using the realpath(3) modified version.
Fixes a problem with -lr when -ddestdir contains a symlink.

Add some XXX comments reminding us that the `from_name' in a symlink may
point outside of destdir in the metalog, even though our build process
doesn't trigger this.
2005-05-10 01:24:42 +00:00
lukem
980e24707e strvis(3) encode the link=... argument in the metalog.
(mtree(8) already requires this.)
2005-05-08 23:05:02 +00:00
matt
7ee69fc344 Avoid casting an lvalue. 2005-05-08 19:53:57 +00:00
lukem
19452aceea metadata_log(): remove leading -D destdir before strsvis(3) encoding
the path, not after.
2005-05-08 10:23:13 +00:00
christos
ec9ba17179 Don't complain that we cannot make .END. 2005-05-08 04:19:12 +00:00
christos
733e0e6e72 Now that dependencies in .BEGIN, .END, and .INTERRUPT work, allow them. 2005-05-08 00:38:47 +00:00
lukem
1a090f24c2 correct a comment 2005-05-07 16:19:13 +00:00
christos
c9da1629b6 Mark the interrupt job as special so that when we hit ^C with -j and we
have a .INTERRUPT target we don't print "token botch".
2005-05-03 22:58:14 +00:00
jwise
c0b02c27ef Begin major reworking of calendar.history. Goals are:
* every day of the year should have at least one entry
  * all entries should have been fact-checked against reliable sources,
    particularly for dates
  * calendar should contain a fair balance of world history -- existing
    calendar, being based on that shipped in 4.2BSD, was very northern
    california-centric.

This commit meets these guidelines through March 13.  I will continue to
update this as time permits.
2005-05-02 15:20:43 +00:00
christos
592ba37fd4 Don't accept dependencies for .BEGIN, .END, and .INTERRUPT since they
don't make sense or work anyway.
2005-05-01 01:25:36 +00:00
christos
66b68ce36c PR/9566: Arne H. Juul: Document special targets that do not obey dependencies. 2005-05-01 00:37:10 +00:00
augustss
6fbdbcbb3e If running as a demon, make sure config file has an absolute path name.
Partly addresses PR 15769.
2005-04-29 17:18:30 +00:00
tshiozak
1cf148a9cc make the error message kindly if the last character is incompleted.
(bin/30051)
2005-04-25 13:57:34 +00:00
matt
0e46a38f38 Terminate variable argument list with NULL, not 0. 2005-04-25 01:33:03 +00:00
christos
557621f75a KNF, WARNS=3. 2005-04-24 17:46:06 +00:00
thorpej
f190e3a631 Fix error message when input file does not exist. From James Lowden. 2005-04-24 17:08:42 +00:00
christos
ab388e3703 sftp now uses libedit. 2005-04-23 16:54:09 +00:00
christos
76f53566bf PR/29806: Michael Van Elst: Off by one in code.
While I am there:
	- factor out the binary test to an inline function.
	- use size_t where appropriate.
	- check for <= 0 in gzread; it returns -1 on error.
2005-04-22 21:02:42 +00:00
christos
7e7ab613b8 trying to map a 4G file does not work nicely. Limit mmap to 64M. 2005-04-22 21:01:10 +00:00
atatat
fab1a5fa39 Fix a trivial truncation case, and eliminate a corner case that might
print a nul character.
2005-04-22 03:36:48 +00:00
reed
3b5d4b35bd Reworded, because it previously made it sound like it only sent a
signal if path_to_pid_file field is present.

Also mention that /var/run/syslogd.pid is used as the default
path_to_pid_file.

This was brought up on netbsd-help and Richard Braun suggested
this should be documented.

Reviewed by grant and wiz.
2005-04-21 17:33:31 +00:00
reed
403f0facb1 Fix grammar: s/sent the/sent to the/ 2005-04-20 19:26:50 +00:00
lukem
9830ed3053 Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all
failures, especially as we're ignoring the return result.
2005-04-19 03:40:58 +00:00
christos
1246ae1e23 check for pwd != NULL 2005-04-19 03:17:35 +00:00
christos
30a161cf4d PR/21177: Christian Biere: ctype function issues. 2005-04-17 17:16:37 +00:00
christos
69637e8009 Write the database file into a temporary file first, because otherwise if
we don't specify an output filename, the database file we create will end
up being used during population as the database file to find entries quickly.
2005-04-13 04:50:22 +00:00
enami
fa07a48b77 Don't put a space before function call operator. 2005-04-11 10:39:06 +00:00
enami
e61e3e0913 byte offset and line count shouldn't be initialized inside the loop. 2005-04-11 09:41:02 +00:00
enami
168f415563 Fix indent and wrap long lines. 2005-04-11 09:40:15 +00:00