itojun
a297f25294
avoid issues with typecast optimization (taking advantage of pointer aliasing),
...
which results in incorrect igmp checksum.
confirmed by taca@netbsd
2002-08-01 08:33:14 +00:00
itojun
896f6ff227
u_short cleansing (should be u_int16_t)
2002-08-01 03:40:34 +00:00
itojun
eb78c879ca
we shouldn't be shipping it, pim6[sd]d is not part of our base tree
2002-08-01 03:38:01 +00:00
wiz
a1b3869d7e
Unifdef __STDC__, ansify.
2002-08-01 00:17:31 +00:00
christos
8fece071ac
don't try to chmod if fchmod fails when restoring the original tty modes.
...
It could cause a symlink race. Just report the fchmod failure. Reported
by itojun, found in FreeBSD.
2002-07-31 14:59:10 +00:00
bouyer
27b46820fc
As discussed on tech-userlevel on Jun, 10 2002, make changes to not use
...
getpwnam() to get the user's passwd entry but read it from the passwd file
yppasswdd will later update. This allows a NetBSD machine to be master NIS
server without requiring the NIS accounts to exist (via /etc/master.passwd,
nis or other ways) on the local machine.
2002-07-31 14:41:56 +00:00
mrg
ecae279f88
fix usage() message for "-s" argument. ie, do *not* suggest "/usr/src"
...
as this causes "make distribution" to be run in /usr/src.
2002-07-31 06:43:17 +00:00
jschauma
a1e7e17b3e
Fix typo pointed out by haes at shrubbery dot net in PR bin/17396
...
"filter to be use" -> "filter to be used"
2002-07-31 01:49:48 +00:00
jschauma
a82bd2c37e
Synch with reality (PKG_TMDIR defaults to /var/tmp (first)).
...
Pointed out by franklin at elfie dot org in PR pkg/17760,
discussed on packages@, approved by hubertf.
2002-07-31 01:39:40 +00:00
wiz
fbbf252d3c
g711conv has been obsoleted in March (use pkgsrc/audio/sox).
...
Remove reference to it from SEE ALSO.
2002-07-29 01:08:29 +00:00
wiz
bdd6e709c2
i4btel -> isdntel.
2002-07-29 01:05:37 +00:00
wiz
1e24ad3422
Update some man page references (i4b -> isdn rename).
2002-07-29 01:05:21 +00:00
wiz
3e4ae32f21
Uppercase ISDN and some unrelated fixes to words ispell didn't like.
2002-07-29 00:54:44 +00:00
jdolecek
fceac2db48
After showing help, touchwin/wrefresh the stdscr, do not try to do
...
that for form subwindow, which may be NULL (or is always, even?).
This fixes SIGSEGV when one goes to
Network related configuration -> Modify the hosts file -> Delete host entries
and presses F1 (Help).
2002-07-26 08:43:26 +00:00
jdolecek
d5d1e7aa6c
fgetln() does NOT return NUL-terminated string
...
This fixes bin/13624 by Jun-ichiro itojun Hagino
2002-07-26 07:59:33 +00:00
wiz
5db23d2c5d
enouth -> enough.
2002-07-26 01:00:39 +00:00
jdolecek
973b4b497c
form_appenditem(): make sure fte->list is initialized
...
process_{pre,}form(): g/c unnecessary malloc, plug memory leak
gen_list(): only check ftp->list after realloc()
handle_{pre,}form(): allocate F[] via calloc(3), so that the memory is
properly zeroed
2002-07-25 12:42:39 +00:00
jdolecek
d675751f34
g/c some pointless malloc()s
2002-07-25 12:39:26 +00:00
jdolecek
5ff2a932b1
launch_subwin(): make sure string 'command' is initialized; malloc may not return
...
zeroed memory. This should fix the SIGSEGV part of bin/17718
by Grant Beattie.
2002-07-25 12:34:09 +00:00
jdolecek
70accc48c9
add XXX comment for piece of very strange code; I don't currently
...
want to investigate more
2002-07-25 12:20:56 +00:00
jdolecek
ee3d448cbd
Array retrurned by form_fields() is NOT NULL-terminated - use field_count()
...
to get amount of fields on the form instead.
This fixes a SIGSEGV problem I encountered, and possibly also the crash part
of bin/17718 by Grant Beattie.
2002-07-25 09:38:31 +00:00
yamt
0eb57ea5a6
bump version to 20020723.
...
(PKG_PATH changes)
2002-07-23 09:23:35 +00:00
grant
eda9e509bb
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:40:16 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
yamt
b9911a030d
#if 0 out unused functions.
2002-07-20 05:40:55 +00:00
yamt
c819f95798
show_file: don't append '\n' if fopen failed.
2002-07-20 04:59:47 +00:00
yamt
c4ca16e864
show_file: add an extra '\n' unless file ended with '\n'.
2002-07-19 19:18:26 +00:00
yamt
5eb02a32ce
- remove handling of PKG_ADD_BASE.
...
- don't search current directory if PKG_PATH is set.
- don't prefer local directories.
- constify and cleanup.
discussed on tech-pkg.
2002-07-19 19:04:33 +00:00
wiz
9a97e49a31
Fix a typo.
2002-07-19 10:12:49 +00:00
mrg
65b6526e06
add a "-s <mopdir>" argument to mopd so that it doesn't require one place
...
files in /tftpboot/mop.
2002-07-19 10:05:34 +00:00
mrg
04ccd30c07
don't build eehandlers.c on MACHINE_ARCH!=sparc64
2002-07-19 02:26:40 +00:00
itojun
d650d1adac
with -i, flag on command line and flag displayed are different, and it does
...
nothing but confuse users. sync them.
for -nud and such, you need "-- -nud" due to posix arg parsing.
sync w/kame
2002-07-17 13:08:27 +00:00
wiz
fd8d583021
Unifdef __STDC__. Remove __P() and register. ANSIfy.
2002-07-14 16:32:48 +00:00
wiz
51c0807f60
Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
2002-07-14 16:30:41 +00:00
wiz
279bdef494
Unifdef __STDC__. ANSIfy. Remove __P().
2002-07-14 15:34:58 +00:00
wiz
895dc72a69
Unifdef __STDC__. Remove __P(). ANSIfy.
2002-07-14 15:27:58 +00:00
wiz
fed48e80ae
Unifdef __STDC__.
2002-07-14 09:59:23 +00:00
wiz
e58b7d4682
ANSIfy. Remove ifndef __STDC__. Remove __P().
2002-07-14 01:01:10 +00:00
wiz
84dd8f31fd
ANSIfy. Remove ifndef __STDC__. Remove __P(). Remove register.
2002-07-14 00:58:30 +00:00
wiz
c807c0dfe6
Finish ANSIfication. Remove ifndef __STDC__.
2002-07-14 00:37:46 +00:00
wiz
aae9c2a083
De-register.
2002-07-14 00:30:02 +00:00
wiz
131109e49e
ANSIfy. Remove ifndef __STDC__.
2002-07-13 23:56:39 +00:00
toshii
5e1f92b4ef
If "-f" is given, don't set errc on dependency add failure.
...
This change makes "pkg_add -f" work as it used to be.
2002-07-13 16:38:00 +00:00
itojun
d97f14e190
use snprintf. inspired by openbsd change
2002-07-13 11:35:35 +00:00
scw
4036c57dcb
Work-around an internal compiler error on the SuperH sh5 toolchain.
2002-07-11 20:07:07 +00:00
scw
046bb1fbbc
Work-around an internal compiler error on the SuperH sh5 toolchain.
2002-07-11 19:47:17 +00:00
scw
05774dcd91
Define NLIST_ELF32 and Define NLIST_ELF64 for SH5.
2002-07-11 19:15:54 +00:00
wiz
4f156aff23
Fix a lint warning by removing some #ifdef lint (!?!).
2002-07-10 23:55:06 +00:00
wiz
790f1e25bd
Remove unneeded header file.
2002-07-10 23:49:18 +00:00
wiz
c3825c9257
Remove some unneeded typedefs and defines.
2002-07-10 23:47:01 +00:00
wiz
4b20971f01
Spell acquire with a 'c'.
2002-07-10 23:16:32 +00:00
wiz
babf9fcdb0
Make compile with -DHAVENIS. Also make compile with WARNS=2, and
...
set WARNS=2 in Makefile.
2002-07-10 22:44:22 +00:00
wiz
0b6819637f
Usge -> Usage in comment.
2002-07-10 21:31:30 +00:00
wiz
09e4390a6e
De-lint a bit.
2002-07-10 21:28:13 +00:00
itojun
9e876c9803
test malloc failure. From: Chad Loder <cloder@acm.org>. sync w/kame
2002-07-10 21:13:35 +00:00
itojun
5e4b1fc3b1
byebye __FUNCTIION__. sync w/kame
2002-07-10 21:11:43 +00:00
wiz
a330b47ad5
Cleanup, part 2:
...
Remove 'register'. ANSIfy. indent(1). Static -> static.
Change some ``#include <header.h>'' to ``#include "header.h"'' for
local headers.
Fix function declaration mistakes uncovered by ANSIfication.
2002-07-10 20:19:38 +00:00
wiz
6623130407
Remove unused ci.c.
2002-07-10 18:55:34 +00:00
wiz
77085dee52
Cleanup, part 1:
...
Remove sysent.h, unneeded.
Remove __P().
unifdef __STDC__
Remove some #if 0 parts.
Start ANSIfication.
2002-07-10 18:53:56 +00:00
fredb
d9aaf825ea
Unset connect-time timer on disconnect, as discussed briefly on
...
tech-userlevel. Without this, using "demand" and "max-connect NNN"
together subjects the user to rather arbitrary disconnects.
2002-07-10 15:00:35 +00:00
jdolecek
78703f950e
Put grfconfig(8) manpage to amiga subdir, since it's amiga-only tool.
...
Adresses part of bin/8733 by Danny Thomas.
2002-07-09 22:18:37 +00:00
wiz
7c42d2fdaf
Clean up last (no spaces before parentheses).
2002-07-09 14:13:18 +00:00
tron
4a3185f506
Get rid of __P() here. The rest of the sources doesn't use it, too.
2002-07-09 10:34:44 +00:00
tron
cb35c09756
Fix build problem probably caused by some toolchain change.
2002-07-09 10:34:16 +00:00
yamt
a8463800e2
don't pass null pointers to printf for "%s".
2002-07-09 04:35:30 +00:00
yamt
84954a6eb7
- use snprintf and strlcpy instead of strcpy, strcat and sprintf in some place.
...
- remove a unneeded strcpy.
2002-07-09 03:30:05 +00:00
hubertf
534ff5d5e9
This fixes various little problems in the lpd source.
...
lpd.c bogus 'c' option in getopt option string
printjob.c spelling "prstatic inter" -> "printer"
finish ANSIfication
recvjob.c finish ANSIfication
Patch contributed by Brian Ginsbach <ginsbach@cray.com> in PR 17520
2002-07-09 01:12:35 +00:00
agc
c24c69434f
Remove user from supplementary groups when deleting a user and not
...
preserving information.
Remove BUGS section from userdel(8) accordingly.
Make this utility compile with WARNS=3 - add const-poisoning and
shadow variable name resolution.
2002-07-08 22:17:47 +00:00
wiz
a234ffc74d
Document -w. Patch from Brian Ginsbach in bin/17518.
2002-07-08 14:05:37 +00:00
wiz
4eed7fe383
Fix typo reported in bin/17516.
2002-07-08 11:32:44 +00:00
drochner
12950c5082
fix error handling if open() fails
2002-07-07 15:13:55 +00:00
bjh21
525b050279
Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7),
...
IEEE 1003.1-2001 (where applicable) and other systems, by follwoing symlinks
on the command line and changing their targets' modes/ownership/flags, rather
than ignoring them.
This fixes PR standards/563 (at last).
2002-07-07 11:44:02 +00:00
wiz
0fb8fdab47
ANSIfy, remove __P().
2002-07-06 22:08:30 +00:00
wiz
557fe0a8de
ANSIfy and de-__P() a bit more.
2002-07-06 22:01:40 +00:00
wiz
8fb60bde2d
Remove unused files (cf. timed{,c}/timed{,c}-extern.h).
2002-07-06 21:59:26 +00:00
wiz
b73d58cd80
Remove __P().
2002-07-06 21:52:05 +00:00
wiz
56b7e3b326
Remove some unnecessary cruft.
2002-07-06 21:51:49 +00:00
wiz
f718edfc2a
unifdef __STDC__
2002-07-06 21:46:59 +00:00
wiz
7146bf3ca6
ANSIfy, remove __P(), unifdef __STDC__.
2002-07-06 21:44:40 +00:00
wiz
5c90fa6755
ANSIfy, remove __P().
2002-07-06 21:30:26 +00:00
itojun
93b1b1c2c9
avoid trigraph. From: Matt Fredette <fredette@theory.lcs.mit.edu>
2002-07-06 18:21:43 +00:00
wiz
3a0b8f6e80
de-__P(), ANSIfy.
2002-07-06 01:00:15 +00:00
wiz
559abfe369
de__P(), ANSIfy.
2002-07-06 00:56:32 +00:00
wiz
d532b687e7
de-__P(), ANSIfy.
2002-07-06 00:55:29 +00:00
wiz
cfa755ae92
de__P, ANSIfy.
2002-07-06 00:53:54 +00:00
wiz
5250421372
de-__P(), ANSIfy.
2002-07-06 00:47:55 +00:00
wiz
8891dbdc2d
ANSIfy, de-__P(), and remove unused SIG_PF define.
2002-07-06 00:46:12 +00:00
wiz
15badb287b
ANSIfy (overlooked some...)
2002-07-06 00:42:27 +00:00
wiz
1de018550a
Actually, SIG_PF isn't needed in this file at all -- remove it.
2002-07-06 00:31:07 +00:00
wiz
af4c38b82e
Use .Aq instead of \*[Lt]...\*[Gt] in two places. End sentence with a dot.
2002-07-06 00:21:14 +00:00
wiz
ce6c985b9d
De-__P(), ANSIfy the one function that wasn't, and unifdef __STDC__.
2002-07-06 00:18:48 +00:00
christos
5740d23c54
Fix selection code [and remove trailing spaces] from Julio Merino.
2002-07-04 20:50:29 +00:00
itojun
181c9736b9
correct udp-from-broadcast check. From: andre@ae-35.com
2002-07-04 12:35:19 +00:00
itojun
aafb24a06b
getstring() safer by passing buffer size. millert@openbsd
2002-07-04 06:43:19 +00:00
kleink
41b912792c
postive -> positive
2002-07-03 22:28:28 +00:00
wiz
3560ae7f37
Sort options in getopt string.
2002-07-03 22:19:25 +00:00
hubertf
1b7f271a58
* Add missing 'break'
...
* cosmetic update in getoipt string
Patch supplied by Brian Ginsbach <ginsbach@cray.com> in PR 17473.
2002-07-03 22:12:46 +00:00
wiz
84d465bb02
Improve last.
2002-07-03 22:12:38 +00:00
wiz
53e326dd05
Fix error output for negative argument to '-w'.
...
Also update usage to include -w.
Patches from Brian Ginsbach in bin/17471.
2002-07-03 22:10:28 +00:00
hubertf
e925e82dbe
Document missing -w option.
...
Patch submitted by Brian Ginsbach <ginsbach@cray.com> in PR 17472.
2002-07-03 22:07:33 +00:00