summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chown
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-10 15:27:05 +0000
committerpeter <peter@FreeBSD.org>1999-07-10 15:27:05 +0000
commit49a30aa645e3f361acf747fdefab3e56b508deec (patch)
tree241bf6adc1e5eee022c0e8b3667e5ae7abaae01b /usr.sbin/chown
parente6fc77dffd553aad0c4a874b9b44ead56c782867 (diff)
downloadFreeBSD-src-49a30aa645e3f361acf747fdefab3e56b508deec.zip
FreeBSD-src-49a30aa645e3f361acf747fdefab3e56b508deec.tar.gz
Fixes for a couple of problems in last commit:
1. Printing large quads in small bases overflowed the buffer if sizeof(u_quad_t) > sizeof(u_long). 2. The sharpflag checks had operator precedence bugs due to excessive parentheses in all the wrong places. 3. The explicit 0L was bogus in the quad_t comparison and useless in the long comparision. 4. There was some more bitrot in the comment about ksprintn(). Our ksprintn() handles bases up to 36 as well as down to 2. Bruce has other complaints about using %q in kernel and would rather we went towards using the C9X style %ll and/or %j. (I agree for that matter, as long as gcc/egcs know how to deal with that.) Submitted by: bde
Diffstat (limited to 'usr.sbin/chown')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud