elad
854038392c
PR/30819: Peter Postma: src/usr.bin/shlock has no license
...
Thanks to Matt Fleming for contacting Erik E. Fair and getting his
agreement to put a TNF license on this.
2006-10-07 21:13:00 +00:00
elad
925c6f17f2
PR/29722: Andreas Kling: chpass temporary files in /etc not always unlinked
...
We had a (long) discussion about this in #NetBSD-code and the consensus was
that /tmp should always be sticky (+t), and as such it is safe to create
the temporary files for chpass(1) in there. We added a check to guarantee
this (and bail out otherwise) and now temporary files are created in /tmp,
not filling up /etc.
Thanks to rivo nurges et al.
2006-10-07 20:09:09 +00:00
elad
1232ea27c4
PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
...
Adapted to -current by myself, thanks for the patch!
2006-10-07 17:27:57 +00:00
apb
bfb3f336ef
Document "find ... -exec ... {} +". Also make some other minor updates.
...
Changes initially supplied by John Hawkinson in PR 20470, but edited by me.
/msg wizd: search for ".sp"
2006-10-07 17:06:28 +00:00
apb
b90dcb5d01
Add support for "find ... -exec ... {} +".
...
The code is from John Hawkinson in PR 20470. I adapted it to current,
and made some KNF and comment changes.
2006-10-07 17:04:02 +00:00
apb
dbe2acacef
Add some missing entries in lists, and some serial commas.
...
Inspired by PR 20470 from John Hawkinson.
2006-10-07 16:34:06 +00:00
elad
e3f885bca5
PR/31053: Roland Illig: Enhancement: getconf -a to list all applicable
...
variables
Thanks for the patch!
2006-10-07 15:20:44 +00:00
tron
1b5edf0b17
Fix broken line continuation, probably caused by editor word wrap.
2006-10-07 13:04:43 +00:00
elad
3bd9466e80
PR/32855: der Mouse: [dM] ftp -q is broken (or misdocumented)
...
Patch applied, thanks!
2006-10-07 10:49:14 +00:00
elad
2a7d09e7cd
PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't
...
grok -f, and there's no alternative (+fix)
Patch applied with minor tweak (%y -> %R, as it was already taken) plus
some nits from myself. Thanks!
2006-10-07 10:41:50 +00:00
elad
d730e7f066
Add standard TNF license, requested by cube@.
2006-10-07 09:40:03 +00:00
elad
fd79a15577
PR/18126: jnilsson at ludd dot luth dot se: add the revoke program
...
I have commited a different version than in the PR, it lacks a license
but if it warrants one we can stick the TNF standard on it. It's just
a main() routine that calls revoke(2).
2006-10-07 08:48:03 +00:00
elad
89f8748c35
PR/20319: Jeremy C. Reed: calendar reports other months that have matching
...
days
Patch applied, thanks!
2006-10-07 07:12:01 +00:00
rillig
e723f89fb8
When trying to copy many files into another file, provide a useful and
...
more specific error message instead of the usage().
2006-10-06 20:22:59 +00:00
dsl
342d35797b
Instead of trying to check the return value of every fprintf() and fputs()
...
call - which makes the code completely impossibly to follow, call fflush()
and ferror() just prior to calling fclose().
This has the advantage of actually detecting the any write errors, since
the output is block bufferred and will typically not happen during fprintf()
but only during the fclose() - where it is difficult to report.
I also singlilarly refuse to add (void) casts to every printf call in the
system - since it almost never makes any sense to look at the return value
(unless you want to know how many bytes were actually writtem).
2006-10-04 20:34:48 +00:00
mlelstv
05f80f69b3
avoid signed/unsigned error when computing mask lengths for empty
...
masks with sa_len == 0 (happens for inet6 default route).
2006-10-03 08:30:12 +00:00
simonb
bca6df8e18
Add standard TNF copyright boilerplate.
2006-10-03 08:20:03 +00:00
christos
5c86a088e8
Completion on a line like "." at the command prompt gives you a rather
...
rude response! (from our anonymous user)
2006-10-02 16:43:31 +00:00
apb
9eda896a8f
Use ${HOST_SH}, not just sh, in the shell command to set MAGDIRF.
2006-09-29 20:20:47 +00:00
dsl
a178085551
Reap any dead children that we have at startup.
...
If there are any undead ones set a flag so we don't report the 'Child (pid)
not in table' message when they die - it is impossible to (portably) find
the childrens pids.
This happens when make is run as 'make -f- ... <<EOF' and the shell uses
a child of (what will be) make to write the data into a pipe.
2006-09-29 19:38:48 +00:00
christos
f0f6b1cde9
Using (void)&foo; shuts up gcc-4 but does not stop the compiler from clobbering
...
the variables in the setjmp/longjmp cases. Use volatile instead as we are
supposed to (from our anonymous user).
2006-09-29 14:59:31 +00:00
christos
3f7563e969
Coverity CID 4119: Check negative returns (from Arnaud Lacombe)
2006-09-29 14:42:59 +00:00
christos
f6e58c8bec
Add -DHEIMDAL
2006-09-28 21:24:58 +00:00
christos
a86c4b2a6a
better format for run level entries.
2006-09-28 15:24:31 +00:00
mrg
33c0ea44b6
redo the previous, based on a comment from and reviewed by christos.
2006-09-27 22:20:31 +00:00
mrg
b1906bf12d
redo previous: move the EOF check back into non-dead code so that it
...
will be used again.
2006-09-27 21:02:38 +00:00
christos
49334834f0
Coverity CID 793 uncovered a bunch of issues:
...
1. needfree = 0, should have been *needfree = 0
2. this function will not work with sp == NULL, since KEY_NAME dereferences it.
3. the if (0) {
label:
}
code is disgusting.
Remove all the nasty and impossible code and fix 1.
2006-09-27 21:01:18 +00:00
christos
5d1b788b2a
Coverity CID 4166: If GET_SPACE_RET can return a NULL pointer if len == 0.
...
Check for it.
2006-09-27 20:04:25 +00:00
elad
9a206be80a
Print a message if there are no PaX flags, to be less confusing.
...
Requested by and okay rpaulo@.
2006-09-27 20:01:50 +00:00
christos
d25337ac41
Coverity CID 4171: bp can be null if len == 0. So check for it anyway and
...
don't call memcpy unconditionally.
2006-09-27 19:58:00 +00:00
christos
0bcef42677
Coverity CID 4073: Delete impossible code.
2006-09-27 19:09:14 +00:00
christos
c0156a4952
Coverity CID 175: Avoid memory leak; add new function to destroy a hash table.
2006-09-27 19:05:46 +00:00
wiz
b849663960
mdoc improvements.
2006-09-27 17:41:30 +00:00
christos
8d396aad54
Coverity CID 4194: Wow, isn't char *foo = bar() ? : "0"; a syntax error?!?!
2006-09-27 15:23:34 +00:00
christos
364b94acf5
Coverity CID 4195: Off by one buffer overflow.
2006-09-27 15:21:26 +00:00
christos
1a5929d3f3
Coverity CID 4196: Off by one buffer overflow.
2006-09-27 15:20:06 +00:00
christos
10c7dc6280
Avoid longjmp clobberring (from our anonymous user)
2006-09-27 12:58:33 +00:00
elad
65305bdc98
Good intentions are still intentions. If we can't open kvm, but we still
...
have sysctl, it's still not enough for -P. A groveler is a groveler is
a groveler.
On a different note, this code needs a rewrite.
2006-09-27 12:51:43 +00:00
yamt
243b5d4a07
increase a chance to fit within 80 char width consoles.
...
- use PRWORD for dovmstat as well.
- reduce number of drives shown by default from 3 to 2.
2006-09-27 12:35:08 +00:00
daniel
6177293347
PR/17410: lam(1) contains numerous overflows (Juli Mallett)
...
Fix some overflows and bugs (patch from FreeBSD).
2006-09-27 08:29:31 +00:00
christos
b10771897b
handle signals for the second editline struct. (from our anonymous user)
2006-09-26 23:33:56 +00:00
christos
0dea4d56e9
add a continue message.
2006-09-26 23:33:23 +00:00
plunky
0b73a6ec91
expose the bthcid API details so that external PIN clients do not
...
need the NetBSD source in order to compile
2006-09-26 19:18:19 +00:00
christos
1e1f0dd3ab
PR/34627: Lubomir Kundrak: patch(1) segfaults, when fed from stdin in batch
...
or force mode
2006-09-26 16:36:07 +00:00
daniel
ce560c1e4f
PR/9742: whatis doesn't deal with '.' in manpage names (John Hawkinson)
...
Use name matching code from OpenBSD (ack christos@).
2006-09-26 04:16:24 +00:00
christos
1a6e50f273
PR/34599: Mindaugas: csplit(1) utility port
2006-09-25 19:21:42 +00:00
daniel
c43e654c14
PR/30698: install(1) stripping flags in METALOG [patch] (Jukka Salmi)
...
Apply patch, thanks!
2006-09-25 16:05:44 +00:00
daniel
3b6bc88204
PR/32589: install -d ignores existing non-directories (joerg@netbsd.org)
...
Raise an error if an argument to 'install -d' exists as a non-directory,
as suggested by joerg@ (and acked by some developers on #netbsd-code).
With this change behavior is equal in this respect to FreeBSD and
DragonFly.
2006-09-25 13:21:19 +00:00
dbj
f3b496ec9b
implement HOST_CPPFLAGS+= -DNO_BASE64
...
this fixes cross compiling
2006-09-24 21:43:14 +00:00
wiz
f98885cd92
Add -m to SYNOPSIS.
2006-09-24 15:56:42 +00:00
elad
3b4778f8b2
PR/33319: Seebs: base64 is annoying
...
Thanks to Matt Fleming for implementing a -m switch (base64 mode) for
both uuencode(1) and uudecode(1)! Man-pages updated as well.
2006-09-24 15:32:48 +00:00
christos
fbdddce8c7
1) Disable completion and history when grabbing header strings (e.g.,
...
with '~h' in the mail editor).
2) Eliminate a core dump when hitting '^D' with a zero length line.
From our anonymous user
2006-09-24 14:01:48 +00:00
xtraeme
f375107517
PR bin/27066 by Sergey Svishchev: "eject(1) does not DTRT for floppy drives
...
(such as one in SPARCstation 5)".
Patch applied, thanks.
2006-09-24 08:42:55 +00:00
wiz
9db182ac71
Fix typo in usage.
2006-09-24 07:19:57 +00:00
wiz
467caa772b
Remove trailing whitespace.
2006-09-24 07:19:16 +00:00
wiz
6ff90ba3e6
Bump date for previous.
2006-09-24 07:18:40 +00:00
elad
9cd65b7c28
PR/34220: Tyler Spivey: feature request: --max-depth for du
...
Thanks to Matt Fleming for porting the -d feature from FreeBSD!
2006-09-23 23:20:20 +00:00
elad
e42f031453
PR/30107: Bob Kemp: calendar reports non-matching days.
...
Applied patch, and also apply patch from Johan Veenhuizen to fix bug
introduced later on -- thanks for the patches!
2006-09-23 22:25:19 +00:00
manu
8a1037a46b
Add a -t+S flag to ktrace for tracing activity related to sysctl. MIB
...
names will be displayed, with data readen and written as well.
2006-09-23 22:01:04 +00:00
elad
a01c1f4782
PR/28157: KAMADA Ken'ichi: escape sequence of hexdump(1) is broken
...
(SIGSEGV at worst)
Applied patch, thanks for the report!
2006-09-23 21:19:34 +00:00
dsl
56564e27f6
Complete revamp of the way make handles job control signals.
...
- Send each type of signal to its own handler.
- Only call JobFinish when a process exits, in particular don't 'fake up'
'exitstatus' for jobs being continued, nor call it for suspends.
- When a job is stopped, use an entire variable to remember the fact, so
we know we need to send a SIGCONT. Don't change any other state.
- In order to report '*** [job3] Suspended' before we suspend ourselves we
have to call waitpid() from the signal handler - where we don't want to
process job termination events. Save the exit status and process later.
The code now handles:
- jobs that suspend themselves
- jobs exiting while suspended
- jobs that don't actually suspend at all
Hoewever it still does printfs() from the signal handler, and I haven't yet
stopped it thrashing the signal mask.
2006-09-23 20:51:28 +00:00
elad
d42da91b60
PR/33712: Nicolas Joly: top(1) print uptime twice on dump terminal
...
(-current)
Applied patch, thanks!
2006-09-23 19:46:57 +00:00
daniel
c819b9b057
PR/30820: Peter Postma: shlock(1) manpage incorrect
...
shlock uses link(2) rather than rename(2) to make the final target,
fix the manual page to reflect this.
2006-09-23 12:55:22 +00:00
elad
ac3134b0c7
PR/21741: Christian Biere: Buffer overrun and wrong usage of islower() in
...
less 381
Over three years ago the less maintainer said he'll add these fixes.
Nothing happened, so we do it ourselves.
Thanks for the report and the patch!
2006-09-23 12:51:18 +00:00
wiz
8f4dd609aa
English improvements. New sentence, new line.
2006-09-23 11:21:35 +00:00
wiz
1fe50328b8
Drop trailing whitespace. New sentence, new line.
...
Use .Dq.
2006-09-23 11:16:21 +00:00
wiz
7158992a0e
Mark up flags in -a description. Start sentences with upper-case letters.
2006-09-23 10:06:57 +00:00
uebayasi
c9ce60a1ed
PR32022 - Clarify find(1) syntax documentation about parenthesized expressions
...
and the -f option (explicit hierarchy specifier). From "Sander Bos, with
credits to Peter Bex".
Bump date.
2006-09-23 05:03:33 +00:00
elad
a81bf90a94
PR/31347: Geoff C. Wing: netstat err message is ambiguous about cause
...
Applied patch, thanks!
2006-09-22 23:21:52 +00:00
elad
d4d70cef20
PR/34584: Geoff C. Wing: cksum not closing filescriptors after finishing
...
processing files.
Applied patch, thanks!
2006-09-22 22:35:57 +00:00
elad
fb85339a04
PR/34540: b1ff at fr33 dot b33r dot net: bogus free() in ftp(1)
...
Applied patch, thanks!
2006-09-22 22:29:25 +00:00
dsl
7adfa633e3
Fix build on 64 bit systems.
...
Remove now-unecessary temporary local.
2006-09-22 21:55:52 +00:00
christos
c044a535e1
add definition for down time.
2006-09-22 21:40:12 +00:00
dsl
11d35f72b2
Replace the two lists 'job_list' (previously 'jobs') and 'stoppedJobs'
...
with a table that is malloced with 'maxJobs' entries.
Add a 'job_state' field to the Job type that exactly follows which of
the old lists the job was on (or not).
Change all the code that scanned the lists to scan the array.
No logic changes in this commit.
(Soon we'll no longer need to lock out signals for the changes to job
statuses that are done from signal handlers now that there is no linked list.)
2006-09-22 19:07:09 +00:00
xtraeme
49627385cb
Apply patch from PR bin/34545 sent by Sergey Svishchev to add support
...
for digital transfer mode, not enabled by default.
To use it: $ cdplay -a /dev/audio (otherwise /dev/sound will be used)
and type "digital" on the interactive mode.
Thank you very much Sergey, it's very useful.
Reviewed and ok by christos@.
2006-09-22 18:20:53 +00:00
dsl
edb0aa98de
Rename the variable 'jobs' to 'job_list' in preparation for making it an array.
2006-09-21 19:56:05 +00:00
christos
411ddc6a74
set utmp entry types to user process.
2006-09-20 19:43:33 +00:00
christos
14e0a0ccc6
unbreak the build by including the appropriate header files here.
2006-09-20 19:39:23 +00:00
he
c364d22b20
The recently added -ledit needs -ltermcap added as well.
2006-09-20 09:29:42 +00:00
christos
fccf00319f
document the new options; from out anonymous user.
2006-09-20 01:25:16 +00:00
christos
cbf3acdacb
Add support for the majority of the rest of the system V options, although
...
we don't support some of them. We might add boottime, system clock change
time, in the future, so add the code to do it.
2006-09-19 21:01:29 +00:00
christos
e7d816a1da
s/ReplyFrom/ReplyAsRecipient/ from our anonymous user.
2006-09-19 20:31:49 +00:00
wiz
d16e662529
Document /var/log/wtmpx.[0-9] too.
2006-09-19 19:04:52 +00:00
wiz
1e4a7c15a0
Sync usage with man page.
2006-09-19 19:01:56 +00:00
wiz
72335cc2bc
Lowercase argument (no reason for uppercase).
2006-09-19 19:01:44 +00:00
wiz
071cbdf1e3
New sentence, new line. Miscellaneous minor improvements.
2006-09-19 19:00:17 +00:00
christos
630fdba88e
add an el_ prefix to the libedit variables. From our anonymous user.
2006-09-19 18:52:04 +00:00
wiz
4357668fad
Sort options. Remove duplicate word. Use more markup macros.
2006-09-19 18:52:02 +00:00
christos
3cd99db90e
restore "sh" to mean "shell" not "show". From our anonymous user.
2006-09-19 18:01:00 +00:00
hubertf
d7f002b78d
Change -u behaviour to also print PID of process on terminal, and
...
add -d to print more information from utmpx.
OK'd by christos@
2006-09-19 14:35:25 +00:00
hubertf
47ac97884a
Clarify usage: either -t or a template can be given (or both),
...
but at least one is mandatory.
Patch contributed by Tilman Kranz <tilman.kranz@tk-sls.de>,
OK'd by wiz@
2006-09-19 14:22:51 +00:00
christos
43c9741202
Jumbo mail patch from our anonymous user:
...
1) Use editline [optional]:
Most of this code was borrowed from src/usr.bin/ftp. It does the
appropriate editing, history, and completion for all mail commands
(from cmdtab[]) and also does editing on header strings ('~h' inside
the mail editor).
2006-09-18 19:48:44 +00:00
christos
85c81c58a5
Jumbo mail patch from our anonymous user:
...
1) Use editline [optional]:
Most of this code was borrowed from src/usr.bin/ftp. It does the
appropriate editing, history, and completion for all mail commands
(from cmdtab[]) and also does editing on header strings ('~h' inside
the mail editor).
2) '-B' flag:
This will suppress the "To:" line passed to sendmail. In most
configurations it will lead to sendmail adding "To: undisclosed
recipients;". Currently, AFAIK mail requires at least one exposed
recipient address.
3) Comments in rcfile:
Currently, comments in .mailrc are only supported if the first
(non-white) character on a line is '#' followed by white space,
i.e., '#' is a 'nop' command. This (trivial) patch allows the more
normal/expected use of '#' as a comment character. It does not
respect quoting, so that might be an objection which I should fix.
4) Sendmail option editing:
This adds the sendmail option string to the strings editable by the
'~h' command within the mail editor. Currently, you can only set
this string from the command-line, which is particularly annoying
when replying to mail.
5) Reply from:
When replying to a message, grab the "To:" address from the message
and, if there is only one such address and it does not match a list of
allowed addresses (set in the "ReplyFrom" variable), pass it to
sendmail as the "From:" address for the reply (with the '-f' option).
I often make aliases for myself so that my primary address is not
given out; if the alias gets out, I know who to blame. Unfortunately,
a reply to such a message would normally use the primary address
without this patch. A warning is displayed when this is going to
happen so that it can be modified with '~h'.
6) CC and BCC lists:
Allow '-c' and '-b' to accept white-space or ',' delimited lists.
Currently, a white-space delimited list of addresses work, but a
list of aliases will not get expanded. For example, currently:
mail -c "foo bar" christos
will fail to send mail to 'foo' and 'bar' if these are mail aliases
(in ~/.mailrc); sendmail aliases (in /etc/aliases) do work.
7) pipe command:
This pipes the current message into a shell command. I use this for
quick decoding of uuencoded mail, but I can imagine it might be
useful for decrypting encrypted mail, too.
8) show command:
This command takes a list of variables and shows their values. It
is probably stupid as the 'set' command without any argument
displays all variable values. Of course, if there are a lot of
variables you have to sift through the list for the one(s) you want.
2006-09-18 19:46:21 +00:00
wiz
bcbefab5bf
"is be" -> "is"
2006-09-17 12:15:20 +00:00
elad
b77c058061
We now have CARP, so don't skip IFT_CARP in link_print().
2006-09-16 12:25:11 +00:00
yamt
08c96f5c24
sync with kernel after yamt-pdpolicy merge.
2006-09-15 15:53:42 +00:00
christos
32f8a691e7
- Back to using kvm if we have access to it, since the sysctl stats do not
...
yet support all the fields we need.
- Don't core-dump if we could not open the kvm file.
2006-09-14 20:43:50 +00:00
christos
13a976b45e
print "-"'s for the statistics that we don't support in the sysctl interface
...
and make columns aligned again.
2006-09-14 20:42:34 +00:00
dbj
b41feff50f
fixes for installing into a case insensitive $DESTDIR
...
when files may have hard links to a a name that only differs by case
- change install to unconditionally remove its temporary file
when installing hard links with -r. This avoids problems when
built with posix rename(2) semantics and reinstalling an existing
hard link.
- rework hard link targets in bsd.man.mk and bsd.links.mk
to use makefile constructs instead of shell constructs
- always reinstall hard links that may have case conflicts, even
when MKUPDATE=yes, this ensures that they get added to METALOG
- remove man pages which were hard linked to themselves in libform
- remove improper hard link command for existing man page in libkrb5
- fix libl's makefile to include bsd.lib.mk at end
- remove shell quoting in link target for test's [.1 man page
2006-09-11 22:24:09 +00:00
tnozaki
48d386f61a
mapper_std iconv module and mkcsmapper(1) now can treat
...
plain-row-col charset and 4byte code(like GB18030) as SRC_ZONE.
2006-09-09 14:35:17 +00:00
dsl
0eca4248ac
Fix requests for msg input with a NULL target buffer (or zero length one)
...
to core dumps from sysinsts mbr code (and others) that use message boxes
for 'press enter to continue' actions.
Fixes PR/34206
2006-09-06 19:24:15 +00:00
dsl
895acb9f43
Rename 'max_chars' to 'val_buf_len' to make it clearer that it has to include
...
the trailing NUL.
2006-09-06 19:13:51 +00:00
hira
fadb259b4d
Fix uninitialized variables.
2006-09-05 12:11:27 +00:00
rpaulo
2fb2ae3251
Import of TCP ECN algorithm for congestion control.
...
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.html .
Work sponsored by the Google Summer of Code project 2006.
Special thanks to Kentaro Kurahone, Allen Briggs and Matt Thomas for their
help, comments and support during the project.
2006-09-05 00:29:35 +00:00
dsl
75469d03e1
Separate out the CRC functions in a manner that actually makes them useful
...
for other program binaries.
Fixes build of 'config' where I added code (commented out) to use the CRC
function - but didn't comment out the #include :-(
2006-09-04 20:01:10 +00:00
christos
f11da4b014
make this compile again.
2006-09-04 18:42:14 +00:00
wiz
2ba7db1893
Fix typo.
2006-09-04 18:32:54 +00:00
cube
1e2d115e84
Bump version after last feature addition (default value for defparam).
2006-09-04 07:32:50 +00:00
dsl
6467d53e48
Add support for specifying a default value on a 'defparam' line.
...
If a default is specified then the option is always defined in the
corresponding .h file.
Particularly useful for parameters where the default action isn't the
same a defining the value zero, given that the current use of #if defined(opt)
is open to problems wehere the relevant .h file isn't actually included, so
requiring an option to always have a value makes sense.
Also included (but commented out) is code that adds a global symbol to
the object file to stop objects compiled with different values for the
same option being linked together - I'm not quite happy with it yet!
2006-09-04 06:45:14 +00:00
dsl
17ff309c84
There isn't really any point in the 'union' for nv_str and nv_ptr, all it
...
does is cause confusion when I try to add default values for defparam.
Also if malloc()/free() aren't efficient enough for us, we ought to fix
them rather than having local free list - so kill the local free lists.
2006-09-03 07:45:40 +00:00
wiz
127e5ecbd6
Bump date for previous.
2006-09-02 23:27:45 +00:00
he
0b5587a884
Provide a dummy default for NBPG after including <sys/param.h> to deal
...
with a build problem for sparc. The reason is that <dev/tc/sticio.h>
(yes, irrelevant for sparc...) wants NBPG declared, but for sparc user-land
that symbol is not available since sun4/sun4c/sun4m do not all share the
same page size.
2006-08-31 22:41:14 +00:00
he
276f9c838b
Add one more conflicting ioctl set: CLOCKCTL_ADJTIME / TCTRL_MODEM_PWR,
...
(partially) fixes build problem for sparc.
2006-08-31 22:25:34 +00:00
he
29c0c094cc
Add linking against -lutil to pick up estrdup(). Fixes evbsh5 build.
2006-08-31 07:18:39 +00:00
he
061f5e8762
Add handling of two more pairs of duplicate ioctl values: amiga's
...
and x68k's PARIOC[SG]PARAM reuse the ioctl values from sbus/mbppio.h's
MBPPIOC[SG]PARAM.
Suggested by Christos.
2006-08-30 23:26:25 +00:00
he
d425dd3b69
Remove unused local variable.
2006-08-30 15:03:56 +00:00
cube
08ba9c9303
Bump version after deffs change.
2006-08-30 13:48:11 +00:00
matt
4a82747a8f
Allow deffs to take dependencies like defflag and defopt
2006-08-30 10:12:25 +00:00
christos
505c9ab4bf
protect libutil with hostprog
2006-08-29 17:00:28 +00:00
christos
55ee861f25
protect libutil with HOSTPROG
2006-08-29 16:54:03 +00:00
christos
659537b3d6
Fix sparc64 build; thanks to Martin S. Weber
2006-08-29 14:53:57 +00:00
christos
4623faa261
We only need libutil in native mode.
2006-08-29 12:50:49 +00:00
christos
e07b7e508b
build complete initializations.
2006-08-28 01:45:41 +00:00
christos
4de29ae80e
Include <sys/device.h> needed by iopio.h
2006-08-27 21:41:18 +00:00
christos
5699156510
pick up ioctls from other devices too.
2006-08-27 20:31:26 +00:00
simonb
b4120542a5
Remove some unnecessary casts.
2006-08-27 06:58:55 +00:00
christos
03eff0d591
Fix non-native build.
2006-08-26 22:19:03 +00:00
christos
623c0a861f
Don't include <util.h> if we are not NetBSD. Other OS's don't have it.
2006-08-26 22:13:00 +00:00
christos
cdab3a7a06
More programs using efun.
2006-08-26 18:17:41 +00:00
christos
d0fb89015b
Now that this is part of tools, we don't need the extra build glue.
2006-08-26 18:17:13 +00:00
matt
a5db205458
Conditionalize XNS support. No longer enabled.
2006-08-26 15:33:20 +00:00
matt
9e051a8002
Add enough configury glue so that src/tools can build a N64 mips toolchain.
2006-08-25 23:35:04 +00:00
elad
0b20a6d87c
mention we support sha2, pointed out by dieter roelants
...
okay hubertf
2006-08-25 10:40:25 +00:00
wiz
3c488ef896
It is sendmail(1), not sendmail(8). Prepare for HTML output.
...
Remove trailing space.
2006-08-23 21:02:29 +00:00
wiz
e4113c2f20
Bump date for previous.
2006-08-23 20:39:01 +00:00
christos
c10a5d302a
well, the || needed to be an && and the operand order needed to be changed.
...
XXX: There are still things like interface printing that need kvm.
2006-08-22 20:06:17 +00:00
christos
0bdbda4753
mention that following the recipient(s) one can supply sendmail flags.
...
from our anonymous admirer.
2006-08-22 17:13:12 +00:00
christos
ed6a70d32a
Fix another && || confusion, from Kurt Schreiner, thanks!
2006-08-21 18:31:24 +00:00
plunky
a643df2f21
Remove reference to btcontrol(8) and clarify mixer(4)
2006-08-19 16:37:26 +00:00
christos
a49f247028
Don't use || if you need &&.
2006-08-17 22:23:07 +00:00
plunky
a097328fe5
Add service discovery support for the Handsfree profile
2006-08-17 20:13:31 +00:00
rpaulo
4381b9dc9b
Revert previous.
2006-08-17 01:42:57 +00:00
rpaulo
d7a463a8aa
Adapt to ECN.
2006-08-17 01:32:13 +00:00
christos
d43ad774cc
Add Auto-Submitted: header per RFC 3834, from OpenBSD
2006-08-15 16:21:59 +00:00
kardel
0da8c70aed
PR 34205: workaround struct timeval tv_sec not being SUS compliant issue (reported by Takeshi Nakayama)
2006-08-15 07:09:12 +00:00
jnemeth
c6c7f4a492
PR/34182 from der Mouse -- clarify -0 option
2006-08-11 23:01:46 +00:00
christos
67a75c5772
If a word is "" eat the last quote since we ate the first.
2006-08-11 19:11:00 +00:00
drochner
fe5f2a85b5
Make sure that only specisications for _interface_ attributes are
...
emitted, the rest is useless at runtime.
saves some bloat in ioconf.c
2006-08-09 18:03:23 +00:00
cube
71af9028c9
Check that the device is not a pseudo-device in deldev(), too (as in
...
deldevi()).
PR#34111 by jmmv@.
2006-08-07 12:03:32 +00:00
jnemeth
f514ab0275
don't highlight the single dash
2006-07-31 09:39:59 +00:00
jnemeth
d0801ba71e
PR/33995: Aleksey Cheusov: support use "-" to indicate stdin from SUS
2006-07-31 09:02:57 +00:00
martin
ef30089df2
Apply patch from Michael van Elst to fix PR bin/34114:
...
which doesn't handle commands given as absolute pathnames.
2006-07-30 11:50:29 +00:00
wiz
d8488cf5fd
Bump date for previous. New sentence, new line. Sort sections.
2006-07-30 00:09:09 +00:00
wiz
548073d0a0
Bump date for previous. New sentence, new line. Sort SEE ALSO.
2006-07-30 00:03:22 +00:00
hubertf
53f3b1d56f
Xref sockstat(1)
2006-07-29 14:46:13 +00:00
jnemeth
a8488a76e0
PR/33995: Aleksey Cheusov: support use "-" to indicate stdin from SUS
2006-07-29 02:01:24 +00:00
sjg
7ab69f08a8
Indicate which modifier a result applies to, helps debug complex cases.
2006-07-28 17:08:55 +00:00
sjg
ba9f975490
Add debug output for CondDoExists() - the results can be surprising.
2006-07-28 17:07:33 +00:00
sjg
772ecb66aa
Fix minor mem leak in PrintOnError().
2006-07-28 17:06:14 +00:00
christos
9e8b7b7aae
PR/34095: Brian Buhrow: Vacation(1) core dumps when there is a Subject:
...
header with no content
2006-07-27 00:10:42 +00:00
lukem
af2c479f62
If a file upload (via -u) fails, return an non-zero exit value based on the
...
index of the file that caused the problem (a la auto-fetch retrieval).
Problem noted by A P Garcia in private email.
2006-07-26 14:28:11 +00:00
tron
1bd56d0520
Bluetooth fixes by Iain Hibbert:
...
sdpquery(1) no longer handles device configuration.
2006-07-26 10:54:49 +00:00
tron
30d6332135
Bluetooth fixes by Iain Hibbert:
...
Remove bthset(4) device and add btsco(4) in its place. This is an
improved version which is not just for headsets, as it can receive
incoming connections (eg for Hands Free Profile). Update bthset(1)
control utlitiy to relate to new device.
2006-07-26 10:43:01 +00:00
wiz
56a3a2ae7a
Nitpicks.
2006-07-23 18:01:58 +00:00
jmcneill
4f4e89872b
Mention multicast TFTP support.
2006-07-23 17:52:24 +00:00
wiz
f94a2b9563
Bump date for previous.
2006-07-22 08:36:14 +00:00
mishka
044dd5aab8
Remove the obsolete notes on F/V/E-style output.
2006-07-22 00:29:55 +00:00
mishka
c6d1c22580
Apply patches from bin/26449: improve fdformat diagnostic messages.
...
Early okayed by <thorpej> on tech-userlevel@.
2006-07-21 23:05:14 +00:00
jmcneill
22c701ecab
Add support for the multicast TFTP option. Reviewed by Rui Paulo.
2006-07-21 17:49:00 +00:00
simonb
01d9f1263a
Dump some column widths.
2006-07-21 05:26:53 +00:00
peter
49e6c2a1db
Document the option -n and bump date.
2006-07-14 21:14:24 +00:00
christos
2b91c98c21
remove PAM_DEBUG
2006-07-13 18:18:09 +00:00
christos
eb251235c6
flex arrays are a c9x feature.
2006-07-13 17:49:29 +00:00
martin
a3b5baed42
Fix alignement problems for fhandle_t, exposed by gcc4.1.
...
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
mrg
70e8425daf
properly check the return value of read() & pread(). PR#26688.
2006-07-13 11:51:39 +00:00
christos
692e9c49f5
PR/33984: YAMAMOTO Takashi: lint complains about typedef
...
The grammar for c99 initializers only looked for name tokens, so if there
was a typedef'ed name it failed. Fixed by looking at all identifier tokens.
2006-07-12 20:03:48 +00:00
wiz
504d664ef9
ANSIfy, remove unnecessary errno.h inclusion.
2006-07-09 21:39:48 +00:00
wiz
1f359fc560
OpenBSD v1.7, jmc@openbsd:
...
this file is public domain;
problem reported by will h. backman;
sorted with the author's permission - thanks henry spencer.
2006-07-09 21:38:47 +00:00
kardel
e386d70092
accept either "time_second" or "time" as kernel timevariable in
...
order to support common userland in enviroments where
timecounter kernels and non timecounter kernel co-exist
(e.g. xen & i386)
2006-07-09 06:43:16 +00:00
yamt
aa1d51179e
include evcnt.h rather than device.h.
2006-07-08 14:58:51 +00:00
ross
2f202b9b76
Make yet another ELF64 check work for powerpc64.
2006-07-08 06:51:36 +00:00
ross
bcc364ea13
Check for powerpc64 when enumerating MACHINE_ARCH
2006-07-08 05:43:35 +00:00
cube
15f9f25144
s/setmachine/machine. Overlook pointed out by Havard Eidnes.
2006-07-05 10:11:02 +00:00
wiz
1f88ff447a
Bump date for previous. New sentence, new line.
2006-07-02 01:48:51 +00:00
he
cb27e76665
Um, pointer differences are ptrdiff_t, and there's already a
...
printf specifier for it (t), so use it instead.
2006-07-01 11:05:42 +00:00
he
1209c64644
The type for pointer difference varies between ports, on some it's
...
"long int" and on others "int", so cast via long and use %ld for printing.
2006-07-01 10:58:29 +00:00
chap
80f0cf5785
The rest of merge from chap-midi branch. Version of midiplay that uses the
...
sequencer API definitions in sys/midiio.h (so there is a use example).
These produce the same (ABI) sequencer events as the OSS macros, but in
a more strongly-typed way; OSS API macros could be built on them and added
to the OSS compatibility header sys/soundcard.h but have not been, yet.
2006-06-30 22:19:32 +00:00
mrg
d1b9a6c456
allow powerpc64 lint to build (not really tested yet though.)
2006-06-29 23:41:28 +00:00
rillig
9edce8b593
Fixed gcc warnings about signed vs. unsigned in comparisons.
2006-06-29 22:02:06 +00:00
rillig
a3ea8b9d59
Fixed the bug reported in PR 33866, which is that the :Q operator does not
...
handle newlines correctly. Ok'ed by christos.
2006-06-29 22:01:17 +00:00
christos
0b5ed2ad28
In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and
...
TOOL_SED:
* Parameterise JOIN, MKTEMP, NM, SED, and SORT. Previously
only NM and MKTEMP were parameterised.
* Rewrite some duplicated code using a loop.
* More careful quoting of shell variables.
* `...` -> $(...)
2006-06-27 12:28:43 +00:00
mrg
5609a371c9
make MKCRYPTO=no work again.
2006-06-25 03:02:19 +00:00
yamt
2c7ff2a52f
remove "XXX = <struct simplelock>" from -D output.
2006-06-24 12:34:51 +00:00
christos
aca1acfb3f
Use the UTX sizes + 1 for the struct to save space.
...
Don't complain if pid == 0
2006-06-22 17:57:31 +00:00
rpaulo
63b3e9f51c
It's not an error if we can't print CARP stats, it just means it's not built
...
in.
2006-06-20 19:22:17 +00:00
gdamore
a5c89047c0
Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
...
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.
The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.
Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
dogcow
444e690921
Remove various dotfiles that wandered their way in.
2006-06-18 08:59:39 +00:00
gdamore
d9ac053afa
Make TOOL_SED, to allow using our own sed in cases where the host's version
...
is busted in some way.
The TOOL_SED doesn't use TIOCGWINSIZE, and has some changes to include
nbtool_config.h in a cross build environment.
Combined with some other changes (not yet committed), this allows cross
compiling m68k code on Solaris 10/amd64.
2006-06-18 05:16:41 +00:00
elad
fc534d00ff
mark strpy safe
2006-06-17 08:32:42 +00:00
elad
1b28df2fb7
strncpy -> strlcpy
2006-06-17 08:22:06 +00:00
reed
37bfcfc9dd
Another mispelling fix. I should have done these all in one commmit
...
but I was editing several files and didn't realize the multiple
were all in one file.
2006-06-17 02:27:05 +00:00
reed
5cb179a5f0
Fix typo (or mispelling).
2006-06-17 02:19:57 +00:00
reed
d35727353d
Fix mispelling.
2006-06-17 02:18:48 +00:00
reed
c5f16e7060
Fix mispelling.
2006-06-17 02:06:17 +00:00
ghen
3da129c2c7
Make mail(1) invoke "sendmail" instead of "send-mail", this is more standard.
...
Ok with christos.
2006-06-15 13:03:29 +00:00
skrll
f1713aebe3
Remove a hack that's no longer needed with gcc 3.3.6.
2006-06-15 10:55:02 +00:00
liamjfoy
4511d3297e
Fix PR: 26363: script core dumps on incorrect input files.
...
This patch virtually re-writes the playback code and contains
improvements (mainly the dependency upon BUFSIZ being the same
size as it was wrote at).
OK: christos, joerg
2006-06-14 16:05:38 +00:00
christos
afe552b7f1
detect overflow and exit with an error.
2006-06-13 17:18:56 +00:00
christos
7afd9e136a
PR/33709: Kevin Massey: Avoid stack smashing in args copy
2006-06-13 03:22:00 +00:00
christos
e1168b9564
PR/33698: Kevin Massey: use strlcpy/strlcat to avoid stack overwrites.
2006-06-11 16:11:53 +00:00
christos
13b8a79d82
PR/33677: Scott Ellis: Building with MKINET6=no causes netstat to fail compiling
2006-06-09 16:39:11 +00:00
kardel
75418af90c
support timecounters (struct time gone, use time_second then)
2006-06-07 20:56:19 +00:00
liamjfoy
db01b090d5
Print the euid after the gid as demanded by POSIX.
...
from freebsd rev 1.27
ok christos, joerg
2006-06-07 13:09:56 +00:00
elad
fb101b952c
another netstat fix, Kurt Schreiner. thanx!
2006-06-04 22:39:33 +00:00
cube
93e398b3e3
Reference config(5). Noted by perry@.
...
XXX options(4), config(9) and probably some others still have to be changed
XXX a bit. A chaque jour suffit sa peine.
2006-06-04 20:07:52 +00:00
cube
3bde459b8f
Set a more realistic date than the day I started writing it.
2006-06-04 20:06:14 +00:00
elad
e7a2ce04a1
fix logic; from Kurt Schreiner
2006-06-04 20:01:14 +00:00
cube
ecfd193d31
Install config.5 and config.samples.5.
2006-06-04 19:42:18 +00:00
cube
8a5d15c785
Everything you've always wanted to know about config(1) without daring
...
asking (with reason).
You've entered the config(1) dungeon--More--
An option hits you. You die.
2006-06-04 19:41:26 +00:00
cube
1baa475170
Bump version after fix to obsolete syntax.
2006-06-04 13:52:27 +00:00
cube
87ab9060e2
D'uh. Forgot the file name argument in the "obsolete" statements.
2006-06-04 13:07:24 +00:00
christos
e07345e108
off-by-one (thanks to our anonymous contributor)
2006-06-03 21:47:55 +00:00
christos
e538b980bb
If one file is shorter than the other, print the byte and line offsets if
...
available. From our anonymous contributor.
2006-06-03 18:55:02 +00:00
christos
286191634b
We don't need to define struct ap_control anymore
2006-06-03 03:15:24 +00:00
christos
7042b96381
SIOCLOOKUPSTAT is the same as SIOCPROXY.
2006-06-03 00:02:51 +00:00
mrg
95c96a60f2
remove sh3/GCC2 hack.
2006-06-02 19:44:48 +00:00
christos
5e5752c8cd
PR/33627: Keiichi Shima: typo in Makefile.ioctl-c in kdump directory
...
s/RW/WR/
2006-06-02 13:56:49 +00:00
simonb
2f8c495ce2
Fix problems with program names with a "-" in them, where crunchgen was
...
outputting the original program name for the stub name instead of the
mangled name.
From Mikolaj Golub on tech-embed.
2006-06-02 10:11:56 +00:00
rpaulo
088720fe4b
Don't print an error if kernel doesn't have INET6 support.
...
By Jukka Salmi on current-users.
2006-05-31 13:26:17 +00:00
simonb
f11583fa19
Fix "pointer targets in passing argument X of 'Y' differ in signedness"
...
warnings. Originally, bswap32_region() took a u_int32_t * as its first
argument. Since no args passed to it are u_int32_t *, but some are
int32_t *, change it to int32_t * and fix remaining casts.
2006-05-31 08:09:55 +00:00
elad
5d7aa1a613
Make netstat use sysctl when dumping routing tables/stats.
...
Heavily based on similar code from Claudio Jeker (at OpenBSD).
While here, fix inet/inet6 sysctl stuff commited previously to
actually work, and some other nits to make netstat more sysctl
friendly.
One step closer to losing setgid kmem on this one...
2006-05-28 16:51:40 +00:00
elad
48404677c4
be quiet if symbol not in namelist, nothing cares
2006-05-27 23:57:32 +00:00
simonb
7f2151a308
Fix previous Coverity "fix" so that it doesn't break vi completely.
2006-05-27 12:03:37 +00:00
agc
8b41108aee
Clean up after the last fix.
2006-05-27 11:10:55 +00:00
yamt
b1af57a6ba
remove __POOL_EXPOSE.
2006-05-27 09:14:03 +00:00
jnemeth
6222f021a3
Coverity CID 3684: memory leak
2006-05-27 04:55:14 +00:00
jnemeth
243d02dab5
Coverity CID 3135: memory leak
2006-05-27 04:15:42 +00:00
cube
ac24e16176
Introduce two new statements:
...
obsolete defflag <option> [, <option> [, ...]]
obsolete defparam <option> [, <option> [, ...]]
The two statements actually do the same thing (there could be only one),
but it makes things less cryptic that way. The optional ": deps" part of
a 'defflag' or 'defparam' still has to be dropped when it gets obsoleted.
When the user has 'options OBSOLETE_OPTION' in his configuration file, it
is ignored (that is, opt_*.h files are generated as if it wasn't there),
and the user gets a warning about it.
Bump version to 20060525.
When someone first uses that syntax in the tree, a "version 20060525"
statement should be added before its occurrence, preferably at the top
of sys/conf/files.
Suggested by Matt Thomas a few months ago.
2006-05-25 22:28:38 +00:00
christos
fc19b961ac
s/vax/__vax__/
2006-05-25 22:06:53 +00:00
jnemeth
0b1276d17c
Coverity annotation
2006-05-25 21:43:40 +00:00
christos
f81561404f
deal with the vax gcc that does not understand __attribute__ used.
2006-05-24 23:16:50 +00:00
christos
16aa23f5c3
sort static and non-static decls.
2006-05-24 18:06:58 +00:00
christos
8d1d34adc0
- ansi prototypes
...
- sprinkle static
No functional change (just smaller binary because of unused functions)
2006-05-24 18:01:43 +00:00
christos
42df83a697
Coverity CID 3337: Close file before returning.
2006-05-24 16:57:12 +00:00
christos
04e2c897d2
Coverity CID 3510: Don't leak memory.
2006-05-24 16:43:35 +00:00
christos
a740c3d0aa
Coverity CID 3204: The USE_SLEEP case can close the fp, and break does
...
not break from the loop, only from the switch. Make it break from the
loop to avoid a NULL pointer dereference.
2006-05-24 16:34:25 +00:00
christos
a52c240b50
Coverity CID 2285: in the dump and dumpshort case, don't trash head so that
...
we can free the memory later.
2006-05-24 16:04:03 +00:00
christos
cd2ccbaf94
Coverity CID 3212: Don't return, goto out in all cases so that cleanup
...
happens.
2006-05-24 15:59:06 +00:00
christos
4871d79cb7
Coverity CID 3318: Remove stray semicolon that caused close to be called
...
unintentionally.
2006-05-24 15:53:21 +00:00
jnemeth
c287edd2a0
Coverity CID 3610: derefencing NULL pointer.
2006-05-23 23:59:48 +00:00
rpaulo
f6e31a1aa2
Fix carp_stats() prototype location.
...
Noticed by Iain Hibbert.
2006-05-23 14:31:11 +00:00
christos
1fc5ea78ff
Coverity CID 3184: Don't dereference NULL
2006-05-23 01:11:12 +00:00
christos
d257792f4a
Coverity CID 3187: Fix memory leak
2006-05-23 01:07:16 +00:00
dan
450da78dd9
the intention of the whole tip-as-cu thing was to allow tip-as-cu and
...
have a cu command installed, even when the rest of uucp was removed
via MKUUCP=no. The old uucp-derived cu is no more, and is not
installed in either case.
make it so, by correcting some confusion that had made the non-uucp
tip-as-cu cu conditional on MKUUCP
2006-05-22 12:32:20 +00:00
liamjfoy
362a260c6d
check if malloc(3) failed
...
ok joerg@
2006-05-21 21:01:55 +00:00
dsl
35fde98d40
Reduce the field widths for the summary line of traps, system calls
...
and interrupts so that the numbers don't all run into one.
2006-05-21 20:22:34 +00:00
jnemeth
563d9df051
Victoria Day in Canada occurs on the Monday prior to May 25th
2006-05-20 22:31:02 +00:00
dsl
ded5cac581
Checkpoint this as 'WIP' before I break it again!
...
(Not complied by default.)
2006-05-20 20:07:35 +00:00
mrg
aa349aa646
s/0/NULL/ for execl*'s last argument.
2006-05-20 10:31:59 +00:00
rillig
2d158db9a6
Increased WARNS to 4.
2006-05-19 20:06:30 +00:00
rillig
902271403f
Typo.
2006-05-19 20:03:30 +00:00
christos
236f8aef2c
Coverity CI D3758: Plug memory leak.
2006-05-19 17:29:01 +00:00
christos
19d4b5c5e9
Coverity CID 3757: Plug memory leak.
2006-05-19 17:27:06 +00:00
christos
ffbb87954b
Coverity CID 3147: Plug memory leak.
2006-05-19 17:21:46 +00:00
christos
1245f2f0ca
Sprinkle static, pass lib, warns=4
2006-05-19 14:43:58 +00:00
riz
64cde4117b
Use PRIu64 to format uint64_t quantities, instead of %llu, in
...
newly-introduced code.
XXX more %llu cleanup is needed throughout netstat code.
2006-05-18 17:19:22 +00:00
liamjfoy
4876c304b1
Integrate Common Address Redundancy Procotol (CARP) from OpenBSD
...
'pseudo-device carp'
Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@
2006-05-18 09:05:49 +00:00
dogcow
5c02c41fc6
add missing prototypes
2006-05-16 02:37:24 +00:00
elad
04d63f90b5
Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
...
W^X mappings.
Disabled by default.
First proposed in:
http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html
More information in:
http://pax.grsecurity.net/docs/mprotect.txt
Read relevant parts of options(4) and sysctl(3) before using!
Lots of thanks to the PaX author and Matt Thomas.
2006-05-16 00:08:24 +00:00
rillig
6e29471885
Changed the type of some size variables from int to size_t. Added const
...
qualifiers to some parameters. These changes allow WARNS to be raised to
4.
2006-05-15 21:12:21 +00:00
christos
00dd70ade5
WARNS=4, ansi pass lint.
2006-05-15 14:30:38 +00:00
christos
c3ec4b956d
Add the DRV lkm type. From David Boggs.
2006-05-15 12:51:19 +00:00
gson
9aca5a13df
Recording to standard output is specified by a file name of -,
...
not by omitting the file name.
2006-05-15 02:21:37 +00:00
christos
9a02ff9b42
gcc-4.0 needs attribute used. Variables with attribute unused get removed.
2006-05-14 23:47:34 +00:00
mlelstv
bad43188a8
restore elevated priority before launching command in
...
user context. Fixes PR 33479.
2006-05-14 21:18:31 +00:00
wiz
cc9f77ff20
Clarify location of `}'. Requested by joerg. Bump date.
2006-05-14 14:34:49 +00:00
christos
77d2f1cd19
XXX: GCC uninitialized
2006-05-14 03:05:47 +00:00
christos
a58e08b7cf
XXX: GCC uninitialized.
2006-05-14 03:00:45 +00:00
christos
abcf3383b8
Gcc 4 needs to have the enum declaration in scope to determine the enum size.
2006-05-14 02:56:27 +00:00
christos
7a029a3c6a
XXX: GCC uninitialized variables
2006-05-14 02:51:03 +00:00
liamjfoy
5bafb9022a
reference uptime(1) correctly
...
ok joerg@
2006-05-13 12:41:54 +00:00
he
eb8d767d84
Sorry, fix syntax error in previous.
2006-05-12 07:20:13 +00:00
he
afd5b9b6d3
Appease gcc 3.3.3 -Wuninitialized warning; fixes build problem for
...
a multitude of archtectures (prep, alpha, i386, acorn32 and probably
more).
To be documented in doc/HACKS.
2006-05-12 07:19:43 +00:00
lukem
143c145a8f
Only use -Wno-pointer-sign for gcc4.
2006-05-12 03:52:05 +00:00
mrg
abeaa4f60d
apply -Wno-pointer-sign with GCC4.
2006-05-12 03:29:11 +00:00
mrg
5063b7a180
apply -Wno-pointer-sign with GCC4.
2006-05-12 02:01:15 +00:00
mrg
20265245bf
use -Wno-pointer-sign with GCC4.
2006-05-12 01:26:05 +00:00
mrg
16efbf8575
don't do the -Wno-pointer-sign dance for host programs.
2006-05-12 01:18:25 +00:00
mrg
aadd7d4847
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
2006-05-11 23:16:28 +00:00
mrg
f066626ffb
char -> u_char in a couple of places to match other variables.
2006-05-11 19:16:42 +00:00
sjg
fc23c7c758
Remove the modterm case from moderrs, the syntax errors
...
generated by /bin/sh on other systems are not consistent.
2006-05-11 18:48:33 +00:00
mrg
117693dfce
when calling compile_tr() add (void *) to the 2nd argument's cast chain.
2006-05-11 17:18:19 +00:00
mrg
6f4493cd5c
xdr sucks. sprinkle some (void *) casts into it's functions taking void **,
...
and shut up GCC4.
2006-05-11 17:11:57 +00:00
sjg
03cbcf6532
Extract the variable modifier logic to a separate function.
...
This cuts Var_Parse in half! and allows the modifier logic to
be used recursively - when getting modifiers via variables.
Add new unit-test, to check that certain error cases are handled
correctly.
2006-05-11 15:37:07 +00:00
liamjfoy
1ee9d337ea
clear errno before using strtol
...
ok christos & joerg
2006-05-11 12:02:08 +00:00
yamt
ee458ef97e
include errno.h directly rather than via user.h.
2006-05-11 12:01:33 +00:00
yamt
49cee5da7c
#include a necessary header directly, rather than via user.h.
...
while i'm here, remove unnecessary #include.
2006-05-11 11:58:04 +00:00
yamt
2416177358
tweak for user.h cleanup.
...
while i'm here, remove unnecessary #include.
2006-05-11 11:56:38 +00:00
mrg
c92f14aaa2
include "rcv.h" so that extern array types are well-known.
2006-05-11 10:45:48 +00:00
mrg
982b2b7938
char -> u_char for a buffer passed to MD5*().
2006-05-11 06:09:44 +00:00