simon-git: msvc-extract (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Tue Feb 23 18:31:09 GMT 2021
TL;DR:
6ca2911 Add a command-line option-parsing framework.
90e16dc Add '-i' option for case insensitivity.
Repository: https://git.tartarus.org/simon/msvc-extract.git
On the web: https://git.tartarus.org/?p=simon/msvc-extract.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-02-23 18:31:09
commit 6ca2911eedae9868e6eb79df4c1e4e6378e08c4f
web diff https://git.tartarus.org/?p=simon/msvc-extract.git;a=commitdiff;h=6ca2911eedae9868e6eb79df4c1e4e6378e08c4f;hp=e7527f32ccd16f8d37a80fc447429246c755dd4a
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Feb 23 18:03:40 2021 +0000
Add a command-line option-parsing framework.
No functional change to the usual use case, but this adds --help and
the standard "--" option terminator, and creates slots in the code
where I can drop in useful options after this commit.
msvc-extract.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 46 insertions(+), 7 deletions(-)
commit 90e16dc84376289bf157f914a76115270f113fd8
web diff https://git.tartarus.org/?p=simon/msvc-extract.git;a=commitdiff;h=90e16dc84376289bf157f914a76115270f113fd8;hp=6ca2911eedae9868e6eb79df4c1e4e6378e08c4f
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Feb 23 18:12:58 2021 +0000
Add '-i' option for case insensitivity.
If you're planning to unpack one of these tar files in an environment
which is _mostly_ Unixlike but its filesystem is case-insensitive,
then the case-compensating symlinks will be counterproductive: in fact
they can actually prevent the tar file from unpacking at all, because
the first time you make a symlink (say) FOO -> foo, any attempt to
write files into the 'foo' subdirectory will cause a symlink-
dereferencing loop.
An example of such an environment that I already knew about is MacOS.
I heard today that WSL is another.
msvc-extract.c | 9 +++++++++
1 file changed, 9 insertions(+)
More information about the tartarus-commits
mailing list