FreeBSD Bugzilla – Attachment 58416 Details for
Bug 88056
[patch] [request] cp(1) could really use Linux's -x option (stay on this file system)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cp.c.patch
cp.c.patch (text/plain; x-mac-type="0"; x-mac-creator="0"), 949 bytes, created by
leeg
on 2006-05-31 22:27:50 UTC
(
hide
)
Description:
cp.c.patch
Filename:
MIME Type:
Creator:
leeg
Created:
2006-05-31 22:27:50 UTC
Size:
949 bytes
patch
obsolete
>--- cp.c.orig 2006-05-31 22:15:03.000000000 +0100 >+++ cp.c 2006-05-31 22:17:55.000000000 +0100 >@@ -83,7 +83,7 @@ > > PATH_T to = { to.p_path, emptystring, "" }; > >-int fflag, iflag, nflag, pflag, vflag; >+int fflag, iflag, nflag, pflag, vflag, xflag; > static int Rflag, rflag; > volatile sig_atomic_t info; > >@@ -101,8 +101,8 @@ > int Hflag, Lflag, Pflag, ch, fts_options, r, have_trailing_slash; > char *target; > >- Hflag = Lflag = Pflag = 0; >- while ((ch = getopt(argc, argv, "HLPRfinprv")) != -1) >+ Hflag = Lflag = Pflag = xflag = 0; >+ while ((ch = getopt(argc, argv, "HLPRfinprvx")) != -1) > switch (ch) { > case 'H': > Hflag = 1; >@@ -140,6 +140,9 @@ > case 'v': > vflag = 1; > break; >+ case 'x': >+ xflag = 1; >+ break; > default: > usage(); > break; >@@ -151,6 +154,9 @@ > usage(); > > fts_options = FTS_NOCHDIR | FTS_PHYSICAL; >+ if (xflag) { >+ fts_options |= FTS_XDEV; >+ } > if (rflag) { > if (Rflag) > errx(1,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 88056
: 58416 |
58417