mkdir cleanups: Let umask do its thing at the syscall level, have mode be a global...
authorRob Landley <rob@landley.net>
Tue, 6 Mar 2012 05:15:50 +0000 (23:15 -0600)
committerRob Landley <rob@landley.net>
Tue, 6 Mar 2012 05:15:50 +0000 (23:15 -0600)
commit688c74534227e3241a83e41b1f14a3f6b700f475
treef2fc23a24f83d1226076d5188b8b824f1cd08a91
parent057aa04da8b39a72e38eedddb9ed27e61b25ed68
mkdir cleanups: Let umask do its thing at the syscall level, have mode be a global to prepare for -m, use do_blah name loopfiles() usually calls, one less redundant mkdir() call, go ahead and modify writeable args instead of strdup(), return before restoring / so error message is better, use perror_msg().
toys/mkdir.c