Commit Graph

27 Commits

Author SHA1 Message Date
ginsbach 6066c254d7 PR/48182: Fix rmdir -p handling of top-level (root) directory.
XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-08-10 22:52:13 +00:00
joerg 074c0c6e91 static + __dead 2011-08-29 14:47:47 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
christos 9655f5c24c PR/38755: murray armfield: /bin posix programs missing setprogname and/or
setlocale
2008-05-26 14:21:08 +00:00
dsl 13fd6f5a25 Fix rmdir -p x/y/z//
Remove redundant code.
2003-09-29 21:11:15 +00:00
jschauma 6a75fbb636 Following private discussion with kleink@ and hubertf@ and public discussion
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
christos e84c1029c6 Comment out unneeded code now that the kernel has been fixed to ignore
trailing slashes.
2003-09-11 17:38:12 +00:00
itojun e1e0321817 use bounded string op 2003-08-13 02:51:20 +00:00
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
jschauma 458ed23412 As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.

While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
2003-08-04 22:31:21 +00:00
wiz 244247f8ff ANSIfy, KNF, [gs]etprogname. By Petri Koistinen. 2001-09-16 21:21:14 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
cgd bad15fd37f lint 1997-11-05 21:17:14 +00:00
christos 25b23032f5 Fix compiler warnings.
Add WARNS=1
1997-07-20 20:51:08 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft 667b5ea158 Merge 4.4-Lite version. 1994-09-22 09:24:46 +00:00
jtc f667148224 Skip trailing slashes, so "rmdir foo/" works even on systems without
a POSIX.1 compliant rmdir(2) syscall.
1994-04-28 00:03:18 +00:00
jtc 94024ca50d localization. 1993-12-31 19:29:02 +00:00
jtc ed74d5578f Fixed bug caused by premature checkin. 1993-09-10 19:29:13 +00:00
jtc f70a26bc0d Simplified (by removing unn 1993-09-10 19:07:05 +00:00
jtc a1c1508c9b Note that rmdir(1) is POSIX.2 compliant.
Include appropriate header files to bring prototypes into scope.
Use new error/warning display functions.
1993-09-10 18:57:43 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
jtc 07f439a7a5 Restore RCS Header. 1993-07-22 16:24:11 +00:00
jtc ce9521b022 Make POSIX 1003.2 (D11.2) compliant.
Update manpage to use new -mandoc macros.
1993-07-22 16:21:14 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00