summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fmtree
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314659,r314676:ngie2017-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | r314659: usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output r314676: Fix build after r314656 Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated. Reminder: thou shalt separate out separate functional changes before committing them. (YUGE) Pointyhat to: ngie In collaboration with: bdrewery
* MFC r311522:kib2017-01-133-4/+6
| | | | Use type-independent formats for printing nlink_t and ino_t.
* Use NULL instead of 0 for pointers.araujo2016-04-151-3/+3
| | | | | | fopen(3) returns NULL in case it can't open the STREAM. fgetln(3) returns NULL if it can't get a line from a STREAM. malloc returns NULL if it can't allocate memory.
* Rename usr.sbin/mtree to usr.sbin/fmtree since it is not what /usr/sbin/mtreebdrewery2015-11-0919-0/+2957
actually is (which is usr.sbin/nmtree). This has tricked me numerous times.
OpenPOWER on IntegriCloud