Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 84110 Details for
Bug 51817
app-arch/par2cmdline v0.4: wildcard expansion fix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
shell expanded wildcard patch for par2cmdline
par2cmdline.shellexpandedwildcard.patch (text/plain), 888 bytes, created by
Michael Evans
on 2006-04-07 00:28:41 UTC
(
hide
)
Description:
shell expanded wildcard patch for par2cmdline
Filename:
MIME Type:
Creator:
Michael Evans
Created:
2006-04-07 00:28:41 UTC
Size:
888 bytes
patch
obsolete
>--- commandline.cpp.orig 2006-04-06 21:41:27.000000000 -0700 >+++ commandline.cpp 2006-04-07 00:12:29.000000000 -0700 >@@ -550,6 +550,20 @@ > } > else > { >+ //start of shell expanded * patch. -- Michael Evans >+ //The shell might expaned * so, if we have our name and we're creating, then filter for files... >+ if ((parfilename.length() != 0) && (operation == opCreate)) >+ { >+ struct stat st; >+ if (!(stat(argv[0], &st) == 0 && S_ISREG(st.st_mode))) >+ { >+ cerr << "Skipping non-regular file: " << argv[0] << endl; >+ argc--; >+ argv++; >+ options = false; >+ continue; >+ } >+ }//end of shell expanded * patch. -- Michael Evans > filenames = new list<string>; > filenames->push_back(argv[0]); > }
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 51817
:
31883
|
31884
|
31931
| 84110 |
354700