Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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 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
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