Commit Graph

7062 Commits

Author SHA1 Message Date
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
lukem
bbd17ef8af Don't attempt to use an uninitialized variable in a debug message.
Detected with gcc -Wuninitialized.
2005-06-02 05:54:44 +00:00
lukem
b38b7ffb5c Don't try to use an uninitialized variable.
Detected with gcc -Wuninitialized.
2005-06-02 05:12:41 +00:00
lukem
1363df60c1 Don't try to use an uninitialized variable.
Detected with gcc -Wuninitialized.
2005-06-02 05:10:22 +00:00
yamt
261b58bea9 allow QSTRING for make variable names for eg. "COPTS.somefile.c". 2005-06-01 12:32:57 +00:00
christos
4ac0cb602f add genassym 2005-06-01 03:22:56 +00:00
wiz
7a9582b62a Spread some more unsigned for less casts. 2005-05-31 22:29:41 +00:00
wiz
0ba4110751 Move unsigned to where it belongs, to remove a cast. 2005-05-31 21:03:58 +00:00
christos
99f2d4f70b Move genassym.sh.8 from src/share/man/man8 to here. 2005-05-31 11:35:54 +00:00
christos
857e3fb66b Add non-tool version of genassym. 2005-05-31 03:48:43 +00:00
wiz
8529448f16 Comment out too noisy warning. 2005-05-30 19:44:03 +00:00
wiz
1723911d3c Add ranges support to the pkg_* tools. See mail on tech-pkg or
pkg_info(1) for details.
Co-production with dillo@.
Bump PACKAGE_TOOLS_VERSION to 20050530.
2005-05-30 13:10:14 +00:00
christos
68a1fbb811 catch up with kernel's constification. 2005-05-30 07:24:31 +00:00
minskim
773938ed0f If a pattern does not have any suffix, assume that it matches both
".tbz" and ".tgz".  This allows to install binary package dependencies
that are not exact matches, but satisfy requirements.

Bump version to 20050529.
2005-05-29 19:16:18 +00:00
kleink
bcbb5c6578 Include <sys/time.h> for struct timeval. 2005-05-20 18:01:46 +00:00
chs
2438f5c3ad add hp700 support. 2005-05-14 14:46:21 +00:00
rillig
360e66cfd6 Output the error string when renaming a dependency file fails. This has
happened to me when I had a misnamed directory in the pkgdb directory.
2005-05-10 00:06:57 +00:00
augustss
56cfb488eb Print serial number if there is one. 2005-05-08 08:12:45 +00:00
wiz
72bce79312 Update reference from Packages.txt to doc/pkgsrc.txt. 2005-05-07 22:43:21 +00:00
wiz
968dbe95c1 Instead of exec(2)ing rmdir(1), just use rmdir(2).
Reviewed by dillo.
2005-05-07 15:09:41 +00:00
wiz
0ae4504a04 Fix Dq argument, which somehow ended up on the next line. 2005-05-06 23:02:39 +00:00
wiz
756bc811ee Document the vulnerable subdir.
Reviewed by dillo and rillig.
Some minor fixes while I am here. Bump date.
2005-05-06 22:45:56 +00:00
lukem
c0b68cb4cf Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.
2005-05-01 07:26:29 +00:00