NetBSD/usr.sbin
christos 36e8d2b792 PR/28744: Ed Ravin: crontab with fewer than 3 comment lines dumps core
in crontab -l.
The problem is that the skip_header code has a side effect of trying to
write to the new temporary cron tab if we run out of comments. Since we
don't have an output file in -l, we core-dump trying to fputc to NULL.
Simplify the logic so that we don't write in the skip_header function,
and we always return the first character after the comment lines to the
caller, skipping the '\n'.
2004-12-22 00:49:14 +00:00
..
ac Remove duplicate include, fixes PR bin/25017 from Jeff Ito. 2004-04-02 09:58:33 +00:00
accton Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
altq Add (unsigned char) cast to ctype function 2004-10-29 19:51:36 +00:00
amd "doc" SUBDIR needs config_local.h from "libamu", so reorder former after .WAIT. 2004-11-28 01:11:17 +00:00
apm add hpcsh 2004-07-03 12:55:47 +00:00
apmd add hpcsh 2004-07-04 15:55:35 +00:00
arp Put the rest of the -f description in the right place, while adjusting 2004-11-25 01:41:51 +00:00
bad144 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
bind For the sh5 target, reduce optimization level for two files so that 2004-11-11 00:34:05 +00:00
bootp usage: Add -f and -m. Use getprogname(). Print to strerr. 2004-11-17 13:28:31 +00:00
catman Add (unsigned char) cast to ctype functions 2004-10-29 20:33:06 +00:00
chown Allow a numeric ID to be preceeded by '#' to avoid the name lookup. 2003-09-25 10:30:10 +00:00
chroot Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
chrtbl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
cnwctl
config fix typo in comment 2004-11-05 18:07:27 +00:00
cron PR/28744: Ed Ravin: crontab with fewer than 3 comment lines dumps core 2004-12-22 00:49:14 +00:00
dev_mkdb Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
dhcp suppress printing the network settings so that dhclient -q is actually 2004-10-04 12:54:06 +00:00
diskpart Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
dumpfs when printing alternate superblocks, cast result of 2004-06-14 07:22:04 +00:00
dumplfs Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
edquota Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
eeprom More fallout from removing the (int) casts from ctype.h 2004-11-08 08:05:20 +00:00
envstat One r in the option string is enough; from Jeff Ito. 2004-06-03 16:48:53 +00:00
eshconfig realloc pedant 2003-09-19 06:22:03 +00:00
etcupdate s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
faithd Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
fssconfig Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
grfconfig Add casts to unsigned char for the arguments to ctype.h functions. 2004-11-13 14:32:14 +00:00
grfinfo
gspa Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
hilinfo
hprop split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
ifmcstat NI_WITHSCOPEID was not picked up by IETF standardization process. 2004-11-16 05:59:32 +00:00
ifwatchd Sort options in SYNOPSIS. 2004-11-25 16:05:11 +00:00
inetd Simplify code a bit, and whitespace. 2004-11-28 05:40:47 +00:00
installboot revert a part of the previous. (uint -> u_int) 2004-08-16 05:57:52 +00:00
iopctl
iostat Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
ipf Account for ipfilter move. 2004-10-01 15:26:35 +00:00
ipwctl Refer to the pkgsrc/sysutils/ipw-firmware package. 2004-08-27 06:01:28 +00:00
irdaattach
isdn Add (unsigned char) cast to ctype functions 2004-10-30 08:31:39 +00:00
iteconfig s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
kadmin
kdc libkrb depends on libdes, patch in private mail from 2003-08-23 23:03:42 +00:00
kgmon usage: Add -d. Use getprogname(). 2004-11-17 13:32:16 +00:00
kstash
ktutil
kvm_mkdb s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
lastlogin Use sockaddr_snprintf() 2004-11-19 21:43:40 +00:00
link
lpr NI_WITHSCOPEID was not picked up by IETF standardization 2004-11-16 06:00:37 +00:00
lptctl New sentence, new line. 2004-02-04 14:25:13 +00:00
mailwrapper More better description of current state of sendmail stuff in more 2004-07-22 03:44:12 +00:00
makefs Refactor the filesystem specific portions out of makefs.c/makefs.h completely. 2004-12-20 20:51:42 +00:00
map-mbone Add (unsigned char) cast to ctype functions 2004-10-30 08:46:12 +00:00
mdconfig
mdsetimage
memswitch Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
mld6query usage: Add -d and -r. Use getprogname(). 2004-11-17 13:35:32 +00:00
mlxctl Add (unsigned char) cast to ctype functions 2004-10-30 08:46:12 +00:00
mopd Use cloning bpf. 2004-12-01 23:15:08 +00:00
mountd NI_WITHSCOPEID was not picked up by IETF standardization process. 2004-11-16 05:59:32 +00:00
moused Add (unsigned char) cast to ctype functions 2004-10-30 08:54:51 +00:00
mrinfo Add (unsigned char) cast to ctype functions 2004-10-30 08:56:00 +00:00
mrouted Add (unsigned char) cast to ctype functions 2004-10-30 08:56:00 +00:00
mscdlabel -before adding a "partition", check for an ISO9660 filesystem, 2004-07-04 14:11:44 +00:00
mtrace Add (unsigned char) cast to ctype functions 2004-10-30 14:31:45 +00:00
mtree In replacenode(), don't strunvis() a NULL pointer. (Fixes bug in previous.) 2004-12-01 23:27:36 +00:00
ndbootd use cloning bpf. 2004-12-01 23:18:20 +00:00
ndp change description of -I to meet the current implementation. bump date 2004-10-26 06:42:14 +00:00
netgroup_mkdb
nfsd Increase userspace (/usr/sbin/nfsd) limit on nfsd count from 20 to 1024. 2003-12-06 03:01:16 +00:00
ntp Make this a shell script (invoking awk), rather than an awk script, to 2004-06-07 18:48:29 +00:00
pcictl Update for new pci_devinfo(3) signature. 2004-04-24 13:41:51 +00:00
pf don't use variable arg macro, which is not supported by gcc2. 2004-11-16 05:14:12 +00:00
pkg_install Attempt to improve the English in one sentence. 2004-12-15 17:20:25 +00:00
powerd Add comma in enumeration; use Aq instead of \*[Lt]\*[Gt]. 2004-05-03 14:23:12 +00:00
pppd Now that ppp is a cloning interface, detect if we have support for it in 2004-12-05 04:16:22 +00:00
pstat Use the array of dtype names instead of hand-rolling our own. 2004-12-18 08:43:35 +00:00
pvcsif
pvctxctl Add (unsigned char) cast to ctype functions 2004-10-30 15:04:45 +00:00
pwd_mkdb Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
quot Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
quotacheck PR/23971: Greg A. Woods: Fix quotacheck infinite loop with uid == UINT32_MAX. 2004-12-12 05:57:03 +00:00
quotaon Remove a superfluous word. From David Krinsky in PR bin/28358. 2004-11-19 21:19:24 +00:00
racoon Add -fno-strict-aliasing to CFLAGS to avoid gcc warning 2004-08-05 17:13:54 +00:00
rarpd remove backwards compatibility with non-cloning bpf. 2004-12-01 23:12:11 +00:00
rbootd Mention cloning device. 2004-12-01 23:16:02 +00:00
rdate Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
repquota Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rip6query Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rmt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
route6d Let it compile again on sparc/sparc64. 2003-10-31 10:09:55 +00:00
rpc.bootparamd Add (unsigned char) cast to ctype functions 2004-10-30 15:15:37 +00:00
rpc.lockd Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
rpc.pcnfsd Add (unsigned char) cast to ctype functions 2004-10-30 15:28:45 +00:00
rpc.statd init_file: copy status_info from static storage so that 2004-01-14 10:29:46 +00:00
rpc.yppasswdd Problem: rpc.yppasswdd didn't work if invoked with the "-noshell" option. 2004-05-12 08:25:53 +00:00
rpcbind Decrease log severity to debug if a protocol is not supported by the 2004-05-20 12:22:23 +00:00
rtadvd Add (unsigned char) cast to ctype functions 2004-10-30 15:28:45 +00:00
rtsold -a cannot be specified with an interface; remove it from that part 2004-06-25 14:52:36 +00:00
rwhod Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
sa Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
screenblank Consider framebuffers in text emulation mode as regular ttys. Should fix 2004-11-25 20:23:36 +00:00
sendmail
sesd s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
sliplogin Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
slstats Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
sntp "msntp"->"sntp, and adjust location of runtime data files 2003-12-09 11:15:18 +00:00
spray
sunlabel Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
sup check error return from malloc and bail. 2004-12-21 16:20:09 +00:00
sushi Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
syslogd Make syslogd automatically recover from full disks by noticing that the 2004-12-09 00:56:47 +00:00
tadpolectl use bounded string op 2003-07-13 12:08:28 +00:00
tcpdchk use bounded string op 2003-07-14 09:07:22 +00:00
tcpdmatch
tcpdump Compile with -DDHAVE_PCAP_LIB_VERSION so that tcpdump will print 2004-09-30 06:40:19 +00:00
timed Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
tpctl Replaced strncpy with strlcpy. Thanks to Peter Postma who 2004-09-07 13:20:39 +00:00
traceroute do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
traceroute6 do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
trpt no need for explicit '?'; openbsd 2003-09-19 08:24:07 +00:00
trsp Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
unlink
usbdevs Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
user Now that we have SHA1 passwords, modify useradd(8) so that it will accept 2004-07-02 12:01:00 +00:00
videomode use bounded string op 2003-07-13 12:08:28 +00:00
vipw Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
vnconfig Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
wiconfig Remove duplicate include. Noted by Jeff Ito. 2004-08-26 20:26:08 +00:00
wlanctl New sentence, new line; drop trailing whitespace; sort sections; use 2004-07-16 14:53:13 +00:00
wsconscfg Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
wsfontload Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
wsmoused though -> through. 2004-06-08 03:28:42 +00:00
wsmuxctl Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
ypbind Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
yppoll John Brezak (now jbrezak at windows dot microsoft dot com) kindly 2003-12-10 17:10:34 +00:00
ypserv Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
ypset Replaced strncpy with strlcpy. Thanks to Peter Postma who 2004-09-07 13:20:39 +00:00
zdump
zic
Makefile move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun. 2004-11-11 11:54:51 +00:00
Makefile.inc