Re: [hackers] [sbase][PATCH] tar: fix problem with paths longer than 100 characters
Дана 24/12/17 11:21AM, Roberto E. Vargas Caballero написа:
> Did you sed all of them to the mailing list?
No. Also, I added other patches to address the needs of Galeb's package
manager, mkpk. They might, or might not be interesting for inclusion in
mainline sbase; I'll leave the decision up to you. Here's an annotated
list of all my patches:
(1) 0001-Add-T-filelist.patch
(2) 0001-Add-both-T-filelist-and-n-equivalent-of-no-recursion.patch
(3) 0001-Add-n-equivalent-of-no-recursion.patch
(4) 0001-Split-path-into-prefix-name-on-c.patch
(1) Adds the option `-T filelist`, which enables tar to receive the
list of newline-separated files from a file instead of argv.
filelist can be `-`, in which case stdin is used. Cons: filenames
containing newlines cannot be passed in this way.
(2) Combines (1) and (3).
(3) Adds the option `-n`, which behaves like GNU tar's
`--no-recursion`. This option instructs tar not to recurse into
subdirectories, as opposed to the default behavior.
(4) Splits pathname into prefix and name fields on `-c`, as opposed to
the current default, which is to use only name field. No further
checks are implemented.
Note: when I created the above patches, I used my old email address,
contact_AT_. I have since migrated to my current email, sr@.
Received on Wed Dec 18 2024 - 16:59:46 CET
This archive was generated by hypermail 2.3.0
: Wed Dec 18 2024 - 17:00:45 CET