hubertf
390553bef2
cleanup: preserve errno. Needed so err() functions ran after running
...
cleanup(0) print the correct error message.
2005-06-29 01:40:42 +00:00
hubertf
9a9bdaa985
Fix 'pkg_add -R' handling - not registering really means not touching
...
the pkgdb too - useful for pkg_add as non-root!
2005-06-29 01:39:37 +00:00
peter
df0caa2637
Remove (pf)spamd. Its right to exist in NetBSD has been questioned since it
...
appeared and whether it's really part of pf or not is still unclear. Looking
at the other *BSDs it seems that they have left out spamd when importing pf,
and now we do that too. Also, the name conflicted with another more popular
used tool, after the rename to pfspamd it was left with completely unusable
documentation which apparently no-one wanted to fix.
A port of the latest spamd will be imported into pkgsrc soon.
Suggested by several people, no objections on last proposal on tech-userlevel.
2005-06-27 20:32:39 +00:00
junyoung
632e7ed58f
Remove a unnecessary semicolon and trailing spaces.
2005-06-27 12:07:46 +00:00
christos
c40b82ea42
constify.
2005-06-27 03:10:32 +00:00
wiz
9dda894764
Dd wants long name of the month, not the three-letter one.
2005-06-26 13:12:07 +00:00
peter
c14c7a6bb6
- Use the timer* macros from sys/time.h, no need to invent a new time add
...
function if it already exists.
- Improve a few function/variable names and use EXIT_FAILURE.
2005-06-24 13:47:30 +00:00
christos
a8b658e375
Initialize events not revents. Noted by Peter Postma. The timer changes he
...
can make himself :-)
2005-06-24 13:24:23 +00:00
christos
f17eeccada
Fixes from Liam J. Foy to use poll, and proper signals. (from OpenBSD)
...
While there, ansify, and fix const abuse.
2005-06-24 13:22:09 +00:00
fvdl
b14624e508
Pull in DIP_ADD from sys/ufs/ufs/inode.h and use it, to prevent bad lvalue
...
assignment warnings/errors from gcc4.
2005-06-23 00:53:16 +00:00
dyoung
9063402978
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
...
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
peter
a9b411c198
Change all .Xr config 8 to .Xr config 1, following the recent move of
...
config from usr.sbin -> usr.bin.
Reviewed by wiz.
2005-06-20 13:25:23 +00:00
salo
bb837eff67
Monitor mode requires firmware version 1.0.4 or newer. Bump date.
...
ok <sekiya>
2005-06-20 09:49:27 +00:00
sekiya
3b3daf0a90
Add "monitor" to list of valid modes. No functional change.
2005-06-20 09:06:40 +00:00
lukem
aa159e4a50
ypdb_open():
...
* Clarify what it does (adds YPDB_SUFFIX if it's missing).
* Add some explicit pathname length checks and display a warning if exceeded.
2005-06-20 00:29:42 +00:00
lukem
cdd4868c29
tweak filename length check
2005-06-20 00:08:35 +00:00
lukem
a0b1a25618
snprintf NUL terminates, so there is no need to explicitly do it afterwards
2005-06-19 23:43:51 +00:00
blymn
21cbe2316b
Fix up the adding of static routes, incorrect parameters were being passed
...
to the route command.
2005-06-19 05:04:34 +00:00
lukem
365a6c8313
Convert from tmpnam()/open() -> snprintf()/mkstemp(); the latter
...
avoids a linker warning about the use of tmpnam().
2005-06-18 11:07:26 +00:00
wiz
95c82c980c
Non-argument options in SYNOPSIS belong before options with arguments.
...
New sentence, new line.
2005-06-17 18:22:18 +00:00
peter
97c5e2ee72
- Document the -i flag (PR/26684)
...
- Add arguments to the relevant flags.
2005-06-17 17:49:07 +00:00
peter
f1843b15c3
- add -D to usage
...
- use getprogname()
- sort options (usage, synopsis and description)
- add `Ar conf_file' to -f option (description)
From Kouichirou Hiratsuka in PR/26532.
2005-06-17 12:02:00 +00:00
agc
6fdfc9ef36
Be consistent when deleting a non-existent group - tell if the group is
...
non-existent.
Problem noted by Geert Hendrickx, fix from Liam J. Foy.
2005-06-14 18:29:58 +00:00
peter
960f4edd01
The default hops is not 30, but is taken from the net.inet.ip.ttl sysctl
...
variable. Fixes PR/30209 from Jed Davis.
2005-06-14 13:55:59 +00:00
dyoung
00218a63cc
Oops, straggler: #include <nbinclude/sys/disklabel.h> if we're
...
building a host-tool.
XXX In hp300_setboot, quiet -Wunitialized: initialize secsize to
XXX HP300_SECTSIZE. Is this correct?
2005-06-12 21:38:12 +00:00
dyoung
dba4661556
Build hp300 support into installboot(8).
2005-06-12 20:25:26 +00:00
dyoung
a039894d70
For portability, use 'unsigned int' instead of 'uint'.
2005-06-12 20:21:20 +00:00
he
46892c9e37
Initialize class and node in modify_single(), as their initial assignment
...
appears to depend on the passed function parameters.
2005-06-11 18:42:56 +00:00
lukem
b3a34b7256
Support MKINET6=no building after the -Wuninitalized fix.
...
Noted by Jukka Salmi in email.
2005-06-07 22:21:57 +00:00
he
07950b9fb6
Add initialization of a local variable to appease -Wuninitialized.
...
Marked with XXXGCC for hpcarm (found while compiling for it).
It appears that the reason is that gcc for this target is not able
to determine unchanging complementary conditionals and sort out the
corresponding assignment / use.
2005-06-07 14:01:49 +00:00
he
e670882cec
Initialize a local variable in ufs_getlbns() to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:54:55 +00:00
he
0590642883
Initialize a local variable (bbinfop) to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:49:31 +00:00
he
63104d4c13
Initialize s, name and name_end in load_env() to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:43:52 +00:00
he
7cc15c3097
Initialize various local variables (clinfo, fltrinfo) to appease
...
-Wuninitialized. Found while compiling for sun2.
Reviewed by lukem.
2005-06-07 13:39:37 +00:00
chs
7bbdd188e1
appease gcc -Wuninitialized on hp700.
2005-06-05 19:08:28 +00:00
thorpej
5ecc953bdb
config and genassym are not sysadmin tools, they are development tools.
...
As such, they don't belong in /usr/sbin, but rather /usr/bin. Move them
there.
2005-06-05 18:19:52 +00:00
wiz
51a21e357b
Add hp700 to supported list. Bump date.
2005-06-03 20:22:45 +00:00
lukem
616bb5ee8e
appease gcc -Wuninitialized
2005-06-02 11:29:01 +00:00
lukem
274427706d
Rewrite method used to determine the ethernet address of the desired
...
interface to not use uninitalized variables.
Bug crept in in conversion to getifaddrs().
Detected with gcc -Wuninitalized.
2005-06-02 11:27:44 +00:00
lukem
311c22130d
appease gcc -Wuninitialized
2005-06-02 09:47:37 +00:00
lukem
1fab072e48
appease gcc -Wuninitialized
2005-06-02 09:42:57 +00:00
lukem
14e2784ec2
Remove an effectively unused variable.
...
Appease gcc -Wuninitialized.
2005-06-02 09:41:12 +00:00
lukem
0fc9160967
appease gcc -Wuninitialized
2005-06-02 09:32:57 +00:00
lukem
677504d9ca
Test the correct pointer 'rfl' rather than an uninitialized 'fl' when
...
determining whether the lock was a LOCK_V4 or not.
Detected with gcc -Wuninitialized.
2005-06-02 09:30:27 +00:00
lukem
f604dfed13
WARNS=3
2005-06-02 09:21:01 +00:00
lukem
2a7d51e439
appease gcc -Wuninitialized and WARNS=3 in one swoop.
2005-06-02 09:20:37 +00:00
lukem
90b888928b
appease gcc -Wuninitialized
2005-06-02 09:18:14 +00:00
lukem
68b1911850
appease gcc -Wuninitialized
2005-06-02 06:54:02 +00:00
lukem
c8e07a4ef7
appease gcc -Wuninitialized
2005-06-02 05:58:24 +00:00
lukem
9b668c37e7
Ensure s is initialized before testing (none of the sockets may be ready
...
so it might not be setup).
Detected with gcc -Wuninitialized.
2005-06-02 05:57:03 +00:00