The NetBSD Project

CVS log for src/usr.bin/unzip/unzip.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / unzip

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Sep 10 21:52:18 2021 UTC (3 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
usr.bin: remove unnecessary lint comment CONSTCOND

Since 2021-01-31, lint no longer warns about 'do ... while (0)'.

No functional change.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Feb 18 18:06:02 2021 UTC (3 years, 9 months ago) by christos
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -4 lines
Remove the "original line"
Fix lint comment

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Feb 18 17:58:51 2021 UTC (3 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +68 -19 lines
Add support for password protected zip files (Alex Kozlov)
Also some KNF

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Feb 18 17:05:51 2021 UTC (3 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +13 -3 lines
Build with linux/glibc (Alex Kozlov)

Revision 1.23.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:25 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +9 -2 lines
Sync with HEAD

Revision 1.23.10.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:14 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +9 -2 lines
Sync with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jul 19 18:04:25 2018 UTC (6 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -2 lines
Ignore malformed directory entries as created by Dropbox ("/").

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:35 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -4 lines
Sync with HEAD

Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:15 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -4 lines
Sync with HEAD

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Apr 20 13:11:35 2017 UTC (7 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -4 lines
Use libarchive 3.x interface and not obsolete 2.x versions.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Dec 21 17:17:02 2015 UTC (8 years, 11 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +99 -157 lines
From FreeBSD:
- Whitespace cleanup
- Pass a filename rather than fd to libarchive (should work with 2.8+)
- Accept zipfiles from stdin
- Extract common code from extract()/extract_stdout() to extract2fd() (pending)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Dec 3 20:01:19 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -10 lines
simplify.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Dec 3 20:00:12 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +32 -6 lines
PR/50496: Alex Kozlov: teach unzip to extract symlinks

Our libarchive does not handle symliks yet, but later versions do.
Set mode and times for symlinks. Finally handle hardlinks for
completion although they are not handled yet by librarchive.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Sep 6 18:43:41 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
error_count is unsigned, so use %ju

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Sep 6 18:42:13 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +10 -11 lines
Use __dead and __printflike. Fix one format string and one error()
argument as hinted by the new format string checking.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Aug 18 11:29:27 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +26 -16 lines
revert 4 digit year printing and add -y option to print 4 digit years.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Aug 17 13:37:39 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -11 lines
kill 2 digit year format.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jul 14 06:35:30 2011 UTC (13 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Fix a logic error: when renaming a file, strip trailing \n from file name.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 10 15:45:22 2010 UTC (14 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -5 lines
Kill a left-over break from the for-loop that vanished in 1.13.
Issue noticed by tnn.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Apr 29 06:32:19 2010 UTC (14 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +35 -9 lines
Switch to the less restrictive binary detection algorithm from zip 3.0e.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Feb 18 15:51:57 2010 UTC (14 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Only print the "Archive: xxx" header if not in extract-to-stdout mode.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 9 09:27:42 2010 UTC (14 years, 11 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
When restoring files, use the mode, not the filetype, for the mode.
From FreeBSD (r201630)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 25 20:14:50 2009 UTC (15 years, 1 month ago) by wiz
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Match directory extraction output with Infozip.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 30 10:04:54 2009 UTC (15 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -3 lines
Don't print "Archive:" line if quiet flag is set.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Sep 18 13:05:19 2009 UTC (15 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +64 -18 lines
Implement rename query.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Sep 6 20:19:59 2009 UTC (15 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +32 -18 lines
Add -C support. Document it.
Ok joerg

Improve -t output a bit (still different from Infozip unzip, but better).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Sep 4 14:23:24 2009 UTC (15 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -11 lines
Make output for -v/-l match Infozip unzip more closely.
Mention archive name, like Infozip unzip.
Add missing options to usage.
Ok joerg@

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 4 13:02:52 2009 UTC (15 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Fix output spacing for summary in -v.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 23 15:50:35 2009 UTC (15 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Fix typos.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 22 17:19:11 2009 UTC (15 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +50 -21 lines
Add support for -c, make the output of -l/-v more similar to infozip.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 22 02:19:42 2009 UTC (15 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +146 -7 lines
Add -p and -q support.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jun 25 20:27:05 2009 UTC (15 years, 5 months ago) by joerg
Branches: MAIN
Add work-in-progress unzip(1) frontend for libarchive.
Derived from FreeBSD's unzip.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>