freebsd-dev/sbin
Ed Schouten a7b5ad271c Make input parsing in Farhenheit actually work.
Don't clobber *p with '\0' when testing whether it has the value of 'F'.
Just use the semantics of strtof() properly. If it returns p, we know
that it parsed the string until it reached 'C' or 'F'.

The code has not changed since it has been imported (r161951, Sep 3,
2006).

Submitted by:	Alexandre Perrin <kaworu@kaworu.ch>
MFC after:	1 week
2009-10-21 18:31:54 +00:00
..
adjkerntz Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
atacontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
atm Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
badsect Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
bsdlabel Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
camcontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ccdconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
clri Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
comcontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
conscontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ddb Apply various fixes: 2008-12-24 11:12:21 +00:00
devd o Spell. Sort .Xrs. 2009-03-08 18:02:30 +00:00
devfs Support for filtering on major device number was removed in rev. 1.7 or 2008-06-27 09:09:50 +00:00
dhclient Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dmesg Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dump Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dumpfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dumpon Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
fdisk - Back out the previous change in order to maintain compatibility. 2009-06-17 06:41:10 +00:00
fdisk_pc98 Use the common PC98_SID_ACTIVE define instead of a local define. 2009-03-19 12:31:59 +00:00
ffsinfo Don't coredump when executed with -o. 2008-01-29 00:20:00 +00:00
fsck Add the '-C' "check clean" flag. If the FS is marked clean, skip file 2009-01-30 18:33:05 +00:00
fsck_ffs Correct comment. 2009-06-03 09:23:31 +00:00
fsck_msdosfs fsck_msdosfs: accept no-op -C option for compatibilty with fsck 2009-06-10 19:02:54 +00:00
fsdb Update after function renames. 2006-10-31 22:07:29 +00:00
fsirand
gbde Remove temporary files when there are no longer needed. 2007-04-06 11:16:11 +00:00
geom Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ggate Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
growfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
gvinum Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ifconfig Use printb() to display the "nd6 options=" line. 2009-10-12 21:11:50 +00:00
init Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ipf Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ipfw Fix setfib(1) section number. 2009-09-18 14:17:00 +00:00
iscontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
kldconfig Fix malloc size (visible on amd64, with "kldconfig -r"). 2005-11-07 19:22:20 +00:00
kldload Add a note about the implication of secure level setting against kldload, 2009-06-23 23:56:56 +00:00
kldstat Only show the pathname in verbose output as intended in the last commit (r172862). 2008-12-22 19:52:21 +00:00
kldunload Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ldconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mca Markup nit. 2006-09-30 11:12:36 +00:00
md5 Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mdconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mdmfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mknod In the previous changeset a cast of myminor to u_int were 2007-06-14 03:16:16 +00:00
mksnap_ffs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_autofs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_cd9660 Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_ext2fs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_hpfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_msdosfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_nfs Change the default transport protocol for use by the Mount protocol 2009-09-17 19:08:15 +00:00
mount_ntfs Tone down warning about the quality of the NTFS VFS module. It appears that 2009-01-20 02:08:21 +00:00
mount_nullfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_reiserfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_std Reduce the number of errors under WARNS=6 2006-09-13 04:50:44 +00:00
mount_udf style.Makefile(5): Remove -Wall from CFLAGS. 2006-07-17 20:53:25 +00:00
mount_unionfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
natd Check rule numbers against maximum value to avoid rules cleanup due 2008-09-06 17:26:52 +00:00
newfs Slightly improve gjournal documentation. 2009-04-29 10:02:50 +00:00
newfs_msdos Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
nfsiod Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
pflogd Let pflogd's Makefile just use WARNS instead of changing CFLAGS. 2009-04-23 09:11:37 +00:00
ping - improve readability 2009-01-11 22:36:45 +00:00
ping6 Implement -R support, similar to ping(8)'s -A. 2008-08-27 15:01:23 +00:00
quotacheck Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rcorder Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
reboot Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
recoverdisk Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
restore Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide 2009-05-22 15:56:43 +00:00
route remove stale references to RTF_CLONING and RTF_LLINFO 2009-09-04 18:52:26 +00:00
routed Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
rtsol Add eye candy while I'm here: a blank line between 2006-07-27 18:28:14 +00:00
savecore Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
setkey o Add missed dot. 2008-09-29 05:31:27 +00:00
shutdown Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
spppcontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sunlabel Fix grammar error caused by my previous edit. 2005-03-30 18:54:41 +00:00
swapon Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sysctl Make input parsing in Farhenheit actually work. 2009-10-21 18:31:54 +00:00
tunefs The tunefs utility does not work on active filesystems. 2009-10-21 10:15:26 +00:00
umount Be more precise how to get fsids - 'mount -v' doesn't show fsids unless is run 2009-08-17 07:38:47 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00
Makefile.inc Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00