cp.c (113431) | cp.c (114433) |
---|---|
1/* 2 * Copyright (c) 1988, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * David Hitz of Auspex Systems Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 | 1/* 2 * Copyright (c) 1988, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * David Hitz of Auspex Systems Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 |
37#if 0 |
|
37#ifndef lint 38static char const copyright[] = 39"@(#) Copyright (c) 1988, 1993, 1994\n\ 40 The Regents of the University of California. All rights reserved.\n"; 41#endif /* not lint */ 42 43#ifndef lint | 38#ifndef lint 39static char const copyright[] = 40"@(#) Copyright (c) 1988, 1993, 1994\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif /* not lint */ 43 44#ifndef lint |
44#if 0 | |
45static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94"; | 45static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94"; |
46#endif | |
47#endif /* not lint */ | 46#endif /* not lint */ |
47#endif |
|
48#include <sys/cdefs.h> | 48#include <sys/cdefs.h> |
49__FBSDID("$FreeBSD: head/bin/cp/cp.c 113431 2003-04-13 08:47:30Z bde $"); | 49__FBSDID("$FreeBSD: head/bin/cp/cp.c 114433 2003-05-01 16:58:57Z obrien $"); |
50 51/* 52 * Cp copies source files to target files. 53 * 54 * The global PATH_T structure "to" always contains the path to the 55 * current target file. Since fts(3) does not change directories, 56 * this path can be either absolute or dot-relative. 57 * --- 457 unchanged lines hidden --- | 50 51/* 52 * Cp copies source files to target files. 53 * 54 * The global PATH_T structure "to" always contains the path to the 55 * current target file. Since fts(3) does not change directories, 56 * this path can be either absolute or dot-relative. 57 * --- 457 unchanged lines hidden --- |