Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove clause 3 from the UCB licenses. | markm | 2004-04-06 | 2 | -8/+0 |
| | | | | OK'ed by: imp, core | ||||
* | When symbolic link is pointed onto a mount point, it can't be moved | pjd | 2004-03-21 | 1 | -6/+17 |
| | | | | | | | | | to a different file system. Patch in PR was incorrect. PR: bin/64430 Submitted by: Samuel Tardieu MFC after: 3 days | ||||
* | Centralize _PATH_* definitions. | obrien | 2003-05-05 | 2 | -39/+0 |
| | | | | Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me) | ||||
* | Quiet warnings about copyright[]. | obrien | 2003-05-01 | 1 | -2/+2 |
| | |||||
* | Grammar fix. | keramida | 2002-08-26 | 1 | -1/+1 |
| | | | | | | PR: docs/42021 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 3 days | ||||
* | s/filesystem/file system/ as discussed on -developers | trhodes | 2002-08-21 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: tidy up, bump document date on behalf of the -n option. | ru | 2002-08-09 | 1 | -9/+9 |
| | |||||
* | Update usage for the addition of -n in rev 1.35 of mv.c. | johan | 2002-07-09 | 2 | -3/+3 |
| | | | | Approved by: obrien, sheldonh (mentor). | ||||
* | When trying to emulate a cross-device move operation with cp and rm, add | tjr | 2002-06-16 | 1 | -2/+2 |
| | | | | | | | | | a "--" argument after the options so filenames with leading dashes are handled correctly. PR: 39318 Submitted by: Serge van den Boom <svdb@stack.nl> MFC after: 1 week | ||||
* | Remove local definition of _PATH_CP, and use <paths.h>, _PATH_CP is in the | jmallett | 2002-05-17 | 2 | -1/+1 |
| | | | | CURRENT <paths.h>. | ||||
* | Consistancy check s/file system/filesystem/ | trhodes | 2002-05-16 | 1 | -1/+1 |
| | | | | Reviewed by: brian | ||||
* | Update SCM ID. | obrien | 2002-03-22 | 1 | -2/+2 |
| | |||||
* | Note that -n is non-standard. | obrien | 2002-03-22 | 1 | -1/+3 |
| | |||||
* | Add the -n option, which automatically answers "no" to the overwrite question. | obrien | 2002-03-22 | 2 | -6/+27 |
| | |||||
* | Warnings fixes. | markm | 2002-02-22 | 1 | -1/+2 |
| | |||||
* | Move user_from_uid to pwd.h | imp | 2002-02-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files. NetBSD has these defined in those files, and others too that I've not done. Approved by: terminal room kabal Reviewed by: jhb, phk | ||||
* | missed a few registers | imp | 2002-02-02 | 1 | -3/+3 |
| | |||||
* | o __P has been reoved | imp | 2002-02-02 | 1 | -16/+9 |
| | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. | ||||
* | Default to WARNS=2. Binary builds that cannot handle this must explicitly | obrien | 2001-12-04 | 1 | -1/+0 |
| | | | | | | set WARNS=0. Reviewed by: mike | ||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -3/+1 |
| | |||||
* | Set WARNS=2 on programs which compile cleanly. | dd | 2001-07-15 | 1 | -0/+1 |
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -1/+1 |
| | |||||
* | Fix the type of the NULL arg to execl() | brian | 2001-07-09 | 1 | -2/+3 |
| | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> | ||||
* | Use PATH_MAX in preference to MAXPATHLEN. | imp | 2001-05-29 | 1 | -3/+4 |
| | |||||
* | Silence WARNS=2 and BDECFLAGS on alpha and i386, except for mode_t | kris | 2001-05-20 | 1 | -7/+8 |
| | | | | | | warnings. MFC after: 1 week | ||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -2/+2 |
| | |||||
* | Don't emit a warning message if fchflags() returns EOPNOTSUPP | sada | 2000-07-20 | 1 | -1/+10 |
| | | | | | Requested by: FUJISHIMA Satsuki <k5@cheerful.com> Obtained from: OpenBSD | ||||
* | To make inherit file flags when mv(1) moves file between directories | sada | 2000-07-15 | 1 | -0/+2 |
| | | | | | | | | | on different file systems. PR: bin/12375 Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp> No response by: steve No problem with: building 5-current world | ||||
* | Use lstat(2) instead of stat(2) when deciding if we should fastcopy | dwmalone | 2000-07-11 | 1 | -1/+1 |
| | | | | | | | a file. This fixes moving symlinks across partitions. PR: 17847 Reviewed by: bde | ||||
* | Removed bogus dependancy on libutil. | joe | 2000-01-01 | 1 | -3/+0 |
| | | | | Noticed by: bde | ||||
* | mention that -v is non-standard | mharo | 1999-09-04 | 1 | -0/+4 |
| | | | | Reviewed-by: obrien | ||||
* | add verbose flag | mharo | 1999-08-29 | 2 | -7/+23 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-27 | 4 | -4/+4 |
| | |||||
* | Various spelling/formatting changes. | kris | 1999-05-08 | 1 | -2/+2 |
| | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> | ||||
* | Calls one or more of malloc(), warn(), err(), syslog(), execlp() or | des | 1998-10-13 | 1 | -2/+2 |
| | | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde | ||||
* | Fixed printf format errors. | bde | 1998-06-28 | 1 | -3/+3 |
| | |||||
* | Make sure we don't overflow the path buffer. Exit if we do. | imp | 1998-06-09 | 1 | -2/+4 |
| | | | | Obtained from or inspired by: A similar change in OpenBSD by theo | ||||
* | Don't append a '/' to the destination directory if there | steve | 1998-05-25 | 1 | -3/+5 |
| | | | | | | is already one there. PR: 3025 | ||||
* | Correct use of .Nm. Add rcsid. | charnier | 1998-05-15 | 2 | -13/+14 |
| | |||||
* | Merge from OpenBSD: | eivind | 1997-12-10 | 1 | -2/+16 |
| | | | | | | | | | > Error out if someone tries to mv a mount point. Old behavior was to > move all files contained in the mounted filesystem to the dest. dir > which could be quite nasty. Personally, I think rename(2) should > return EPERM or EINVAL instead of EXDEV. Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller <millert@openbsd.org> | ||||
* | Synchronize usage() and man page. | helbig | 1997-10-26 | 2 | -5/+5 |
| | | | | Pointed out by bde. | ||||
* | mv(1) is too silent if used with the option -i. It should | wosch | 1997-10-04 | 1 | -6/+9 |
| | | | | | print which input mv(1) expect (y/n) and print a warning if the file was not overwritten. | ||||
* | Endless loop. | wosch | 1997-09-28 | 1 | -5/+6 |
| | | | | | | | $ touch from to $ echo -n loop | mv -i from to overwrite to? ^C | ||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-28 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Make mv more robust. A race has been fixed, as well as an extra warning | guido | 1997-03-08 | 1 | -10/+28 |
| | | | | | added when sbits are cleared. Fixes PR 1351 and 1377 (I hope). | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 4 | -4/+4 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 4 | -4/+4 |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | ||||
* | -Wall cleaning. | steve | 1996-12-14 | 1 | -3/+3 |
| | |||||
* | [HISTORY] command appeared in Version 1 AT&T UNIX | wosch | 1996-08-29 | 1 | -1/+6 |
| | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 | ||||
* | delete unused label endarg | wosch | 1996-03-01 | 1 | -9/+8 |
| | | | | | correct indent of last new code fix usage string, option -f before option -i (alphabetic order) |