1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00
freebsd/sbin
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
..
adjkerntz
atacontrol Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel 2011-10-09 21:42:02 +00:00
atm In sbin/atm/atmconfig/diag.c, fix a few warnings about format strings 2011-12-17 00:26:45 +00:00
badsect Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
bsdlabel Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
camcontrol In sbin/camcontrol/camcontrol.c, fix a few warnings about format strings 2011-12-16 22:35:19 +00:00
ccdconfig Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
clri
comcontrol
conscontrol
ddb Correct subcommand name 'unset' -> 'unscript'. 2011-06-18 22:32:55 +00:00
devd o Sort .Xrs. 2011-12-19 05:09:08 +00:00
devfs Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
dhclient Set svn:executable on dhclient-script 2011-12-30 14:46:53 +00:00
dmesg Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
dump Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
dumpfs Add missing -l flag to usage(). 2011-12-26 16:47:45 +00:00
dumpon
fdisk Fix multi-line comment formatting. 2011-11-07 07:50:35 +00:00
fdisk_pc98 Add reference to gpart(8). 2011-11-06 20:39:35 +00:00
ffsinfo Remove trailing whitespace. 2011-11-09 21:01:50 +00:00
fsck Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
fsck_ffs Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
fsck_msdosfs Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
fsdb Revert r228603, and add the workaround to sbin/fsdb/Makefile instead. 2011-12-18 17:42:26 +00:00
fsirand Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
gbde Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the 2011-12-17 00:14:40 +00:00
geom Correct and expand BSD partitioning scheme description. 2011-11-21 18:04:37 +00:00
ggate
growfs Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
gvinum - fix duplicate "a a" in some comments 2011-11-13 17:06:33 +00:00
hastctl Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignment 2011-12-19 15:46:15 +00:00
hastd Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignment 2011-12-19 15:46:15 +00:00
ifconfig Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum 2011-12-17 15:44:34 +00:00
init Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
ipf Use both NO_WFORMAT and NO_WARRAY_BOUNDS for sbin/ipf, it would be too 2011-12-17 00:54:09 +00:00
ipfw Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
iscontrol
kldconfig
kldload
kldstat
kldunload
ldconfig
mca
md5 - new sentence should start on new line. 2011-11-13 17:07:43 +00:00
mdconfig
mdmfs Do not try to change the mode or ownership of the root of the mountpoint 2011-09-13 20:16:11 +00:00
mknod
mksnap_ffs
mount Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
mount_cd9660 Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
mount_ext2fs
mount_hpfs
mount_msdosfs
mount_nfs Finish making 'wcommitsize' an NFS client mount option. 2011-11-14 18:52:07 +00:00
mount_ntfs
mount_nullfs Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
mount_reiserfs Re-encode files from ISO-8859-1 to UTF-8 2011-05-22 14:03:30 +00:00
mount_std
mount_udf Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
mount_unionfs
natd Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
newfs Reduce NFPI by half to keep the default number of inodes the same with 2011-12-21 22:49:16 +00:00
newfs_msdos Many style fixes. 2011-12-20 15:50:54 +00:00
nfsiod
nos-tun
pfctl
pflogd Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
ping
ping6
quotacheck
rcorder Add more static keywords to rcorder(8). 2011-12-11 20:48:40 +00:00
reboot Let reboot(8) use getprogname() to compare the program name. 2011-12-11 11:42:44 +00:00
recoverdisk Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
resolvconf
restore
route
routed Use NO_WARRAY_BOUNDS for sbin/routed/rtquery. 2011-12-16 23:43:58 +00:00
rtsol Add dump.c to the rtsol build. It is needed now that sec2str is non-static 2011-06-08 21:59:07 +00:00
savecore Remove duplicated header files 2011-06-24 07:29:04 +00:00
sconfig
setkey mdoc: fix markup 2011-06-02 09:56:42 +00:00
shutdown Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
spppcontrol
sunlabel
swapon Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
sysctl If the -d flag is specified, ignore any new values specified and only 2011-12-01 15:01:23 +00:00
tunefs Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
umount Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.pc98
Makefile.sparc64