Commit Graph

36 Commits

Author SHA1 Message Date
wiz 3f9984fc90 `existent', not `existant' 2001-06-19 13:42:07 +00:00
kleink 2caf6aacdd For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf 1cb54f68ac Add 'RETURN VALUE' section header. 2000-08-28 02:11:04 +00:00
darrenr 79a28eb80d don't emit a warning message if fchflags() returns EOPNOTSUPP 2000-07-16 04:49:55 +00:00
darrenr e6cda25dbf From FreeBSD:
To make inherit file flags when mv(1) moves file between directories
on different file systems.
2000-07-15 15:11:04 +00:00
jdolecek 73db9c4db7 fix typo 1999-12-14 17:30:11 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
christos 6db3689f29 make this compile on non bsd-4.4 systems 1999-08-16 07:49:45 +00:00
sommerfeld bba687e947 Fix PR8073:
bogons in mv(1) man page.
	don't bother prompting for mv -i if source doesn't exist
1999-08-02 01:42:08 +00:00
christos 4a08c86b03 use utimes, if we don't have futimes. 1998-11-04 18:56:53 +00:00
mycroft ee9e50eacb Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft 29bf463dcb Delint. 1998-07-28 04:01:03 +00:00
ross e86e483504 s/cp -pr/cp -PRp/ in the discussion of the cross-device cp(1) operation. 1998-04-20 05:43:30 +00:00
enami c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
mycroft 9db82206c3 If we fail to set ownership, turn off SUID and SGID bits (like cp(1)).
Use futimes(2), and actually fill in the microsecond field.
1997-10-19 12:55:07 +00:00
mikel 3b834bbe6e use lstat() instead of stat() when determining type of 'from' file;
from John F. Woods in PR bin/4288.
Also fixed a similar check of the 'to' file, so we don't try to
  rmdir() symlinks to directories; and fixed typo in a comment.
1997-10-19 02:17:37 +00:00
kleink 87e2501dd8 * Initialize native locale on startup.
* When using the form "mv src ... dir", strip off trailing slashes from
  `src' arguments to provide 1003.2 semantics.
1997-10-08 11:26:04 +00:00
hubertf fa8f97975b Be silend if owner can't be set on cross-device-moved.
Fixes PR bin/1223 by John F. Woods <jfw@jfwhome.funhouse.com>.
1997-10-07 02:06:37 +00:00
kleink 1067b3ea11 Suppress stray space character; from maximum entropy in PR bin/4049. 1997-08-27 17:27:13 +00:00
christos 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos d91f759e44 include <pwd.h> and <grp.h> to bring prototypes into scope. 1997-07-20 19:20:01 +00:00
christos 3c953c7e32 Fix compiler warnings.
Add WARNS=1
1997-07-20 19:07:49 +00:00
tls 3e254367af kill use of register 1997-01-09 16:44:06 +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 e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
jtc 509eb263b9 Check user's response against both 'Y' and 'y' --- this is really supposed
to be a locale specific regular expression.  This change hard codes POSIX
locale behavior, and will be replaced by a locale independant equivalent
as soon as locales are fully implemented.
1993-11-09 18:57:54 +00:00
jtc c4f90bdd40 Bring even closer to POSIX.2 compliance. Add comments documenting
the steps outlined in the standards.  Steps 1-5 look good, there
may be some work outstanding in the final Step 6.
1993-09-22 21:39:19 +00:00
jtc b141a3ac17 Bring closer to POSIX.2 compliance. The latter of any -i or -f options
is the one that is actually effective.
1993-09-22 00:34:25 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +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