Commit Graph

34 Commits

Author SHA1 Message Date
enami d0fa1bac38 Use .Nm "" instead of .Nm cp in SYNOPSIS. 1997-10-11 02:14:42 +00:00
lukem 76e13a0128 all but the first .Nm in SYNOPSIS need to be spelt out. [bin/4256] 1997-10-10 16:12:45 +00:00
lukem df49b6cc7f * getopt returns -1 not EOF
* cleanup use of .Nm in manpage
1997-09-14 07:15:25 +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
thorpej 1a9f01767d Build with WARNS. 1997-07-20 05:13:57 +00:00
thorpej efc20a3095 - Use __COPYRIGHT() and __RCSID()
- Fix compiler warnings.
1997-07-20 05:13:36 +00:00
kleink 8385a5edde Fix one remaining botch when copying directory trees using -R. 1997-05-21 09:48:33 +00:00
kleink bdad0c3627 Fix thinko in last commit, causing "cp file /" to succeed but
"cp file1 file2 /" to fail badly; fixes PR/3646 from Paul Kranenburg.
1997-05-19 01:07:33 +00:00
mikel 72f823dad3 add missing close-brackets; from Greg Oster in PR bin/3613. 1997-05-15 05:27:14 +00:00
kleink 3a978953a9 Fix lossage with new namei() when the destination given is "/";
reported by Bernd Ernesti.
1997-04-09 12:06:13 +00:00
cgd 4f2bfe8b13 Patch from BSDI (via Keith Bostic):
>NFS doesn't support chflags; ignore errors unless there's reason
>to believe we're losing bits.  (Note, this still won't be right
>if the server supports flags and we were trying to *remove* flags
>on a file that we copied, i.e., that we didn't create.)
1997-02-26 14:40:51 +00:00
tls 4c7b22f594 kill use of register 1997-01-09 16:07:09 +00:00
jtc 5fc5415e25 Sync with 4.4lite2 1995-09-07 06:12:53 +00:00
jtc bdf0a24b3d Don't remove the destination file if there is a write error. This is
very bad if it is actually a device or fifo.  POSIX.2 requires that a
diagnostic message be written, the file descriptor be closed, and for
cp to continue on with the rest of the files.
1995-08-02 07:17:02 +00:00
jtc 23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
jtc 1c13dcfdd8 s/HISTORY/STANDARDS/; noted by Masanobu Saitoh in PR#1269 1995-07-25 18:34:15 +00:00
mycroft 50130476f4 Fix typo in S_FIFO case when copying recursively. 1995-04-02 01:45:25 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft 89fb48a178 Fix core dump reported by Wolfram Schneider. 1995-01-26 06:01:36 +00:00
mycroft b36149f49a Clean up deleted files. 1994-09-22 09:24:44 +00:00
mycroft 051219a643 Merge 4.4-Lite version. 1994-09-22 09:24:35 +00:00
mycroft e40b06360c Import original 4.4-Lite version. 1994-09-22 03:04:15 +00:00
cgd 95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
jtc 869cbd8c23 POSIX.2 (and common sense) says that you can't overwrite a directory with
a non-directory.
1994-02-25 00:43:25 +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
mycroft d3fbe8985a From Lennart Augustsson:
If we mmap() the file, make sure we munmap() when we're done.
1993-10-30 13:06:46 +00:00
mycroft ac8f46eed7 Clean up deleted files. 1993-08-07 03:15:03 +00:00
mycroft 204663a326 New version from uunet. Uses mmap(). 1993-08-07 03:14:51 +00:00
mycroft a579b792ce Add RCS identifiers. 1993-08-01 18:59:54 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft 1b9ce7ae24 Add RCS identifiers. 1993-08-01 05:47:31 +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