Fixed gcc compiler built-in warnings
[libtar.git] / ChangeLog
blob299e5aeb11783b45a231b93a2d3697aed86483ec
1         NOTE:
2         All releases below marked (Chris Frey) are maintenance releases
3         done by Chris Frey, temporarily stepping in for Mark Roth.
4         These releases are git-based only and can be found at:
5                 http://repo.or.cz/w/libtar.git
7         Both git downloads and tarball downloads are possible at this site.
10 libtar 1.2.18 - 2012/08/02 (Chris Frey)
11 -------------
12       Added more forgiving CRC checking logic when reading tar files
14       Note: If your application uses the macro th_crc_ok(), then to gain full
15       advantage of the changes in this version, you will need to recompile
16       your application against the new headers.  Otherwise, the library is
17       drop-in replaceable, as usual.
20 libtar 1.2.17 - 2012/07/24 (Chris Frey)
21 -------------
22       Applied Tim Band's checksum patch from mailing list (thanks!)
25 libtar 1.2.16 - 2012/05/17 (Chris Frey)
26 -------------
27       Fixed build system to allow for out-of-source tree builds
30 libtar 1.2.15 - 2012/05/10 (Chris Frey)
31 -------------
32 Chris Frey (1):
33       Fixed harmless buffer overflow which is caught by FORTIFY on some systems
36 libtar 1.2.14 - 2011/12/22 (Chris Frey)
37 -------------
38 Chris Frey (1):
39       Fixed truncation check, so 100 char names get GNU extension support when enabled
42 libtar 1.2.13 - 2011/06/13 (Chris Frey)
43 -------------
44 Chris Frey (10):
45       Fixed incorrect URL in readme
46       Added autoconf/ as macro dir
47       Added autogen.sh script to build a fresh configure
48       Renamed autoconf/aclocal.m4 to psg.m4 so aclocal isn't so confused
49       Removed m4 includes, and straightened out [] m4 quoting for modern autoconfs
50       Removed auto-generated files
51       Added datarootdir to Makefile.in's
52       Fixed header warnings
53       Applied Marcin Gibula's patch fixing tar_extract_glob()
54       Changed root Makefile.in to Makefile.am, which make autoreconf workable
56 Glenn McGrath (1):
57       Use libtool to build dynamic library
59 James Morrison (1):
60       Document stupidity of tartype_t in libtar.c.
62 Magnus Holmgren (1):
63       Escape hyphens that should be minus signs in man pages.
65 Per Lidén (2):
66       Fix memory leak in th_get_pathname
67       Reduce memory used by libtar when extracting files.
69 ------------------------------------------------------------------------------
71 libtar 1.2.11 - 3/2/03
72 -------------
74 - updated autoconf macros, compat code, and listhash code
75 - fixed tar_extract_regfile() to pass mode argument to open()
76   (caused EPERM on Solaris NFS clients)
77 - updated README
79 ------------------------------------------------------------------------------
81 libtar 1.2.10 - 12/15/02
82 -------------
84 - updated README
85 - minor Makefile fixes
86 - fixed TH_ISREG() macro to not return true for hard links
88 ------------------------------------------------------------------------------
90 libtar 1.2.9 - 11/19/02
91 ------------
93 - fixed th_read() to return 1 on EOF
94   (thanks to Yves Crespin <Crespin.Quartz@WANADOO.FR> for the bug report)
95 - minor portability fixes
96   (thanks to Yves Crespin <Crespin.Quartz@WANADOO.FR> for the bug report)
97 - fixed segfault on extracting filenames with 8-bit ASCII characters
98   (thanks to Per Liden <per@FUKT.BTH.SE> for the patch)
99 - fixed TH_ISDIR() macro and th_get_mode() function to handle old
100   archives that don't set the typeflag field right for directories
101 - use 0777 instead of 0755 in mkdirhier()
102   (thanks to Yves Crespin <Crespin.Quartz@WANADOO.FR> for the bug report)
104 ------------------------------------------------------------------------------
106 libtar 1.2.8 - 9/13/02
107 ------------
109 - added "-I../listhash" to CPPFLAGS in libtar/Makefile.in
110   (thanks to Kris Warkentin <kewarken@QNX.COM> for the bug report)
111 - added .PHONY target to Makefile.in
112   (thanks to Steven Engelhardt <sengelha@YAHOO.COM> for the bug report)
114 ------------------------------------------------------------------------------
116 libtar 1.2.7 - 9/12/02
117 ------------
119 - fixed minor bugs in listhash code
120   (thanks to Jim Knoble <jmknoble@pobox.com> for the bug reports)
122 ------------------------------------------------------------------------------
124 libtar 1.2.6 - 9/10/02
125 ------------
127 - updated COPYRIGHT file
128 - do not check magic field by default
129   (replaced TAR_IGNORE_MAGIC option with TAR_CHECK_MAGIC to enable check)
130 - fixed th_get_mode() not to modify S_IFMT bits if they were already set
131 - fixed TH_IS*() macros to check the S_IFMT mode bits in addition to typeflag
132   (this allows us to handle old tar archives that set mode bits but not
133   typeflag field for directories and other special files)
134 - updated to autoconf-2.53
135 - restructured autoconf macros
136 - added "b" to gzoflags in gzopen_frontend() for win32 compatibility
137   (thanks to Kris Eric Warkentin <kewarken@QNX.COM> for reporting this)
138 - if O_BINARY is defined (as on win32), set that bit in oflags in tar_open()
139   (thanks to Kris Eric Warkentin <kewarken@QNX.COM> for reporting this)
140 - also use O_BINARY in when calling open() from tar_extract_regfile()
141   (based on patch from Graeme Peterson <gp@qnx.com>)
142 - added COMPAT_FUNC_MAKEDEV macro to handle 3-arg version of makedev()
143   (based on patch from Graeme Peterson <gp@qnx.com>)
145 ------------------------------------------------------------------------------
147 libtar 1.2.5 - 2/20/02
148 ------------
150 - updated to autoconf-2.52
151 - improved Makefile portability
152 - fixed memory leak in hard-link detection code
153   (thanks to Michael Kamp <kamp@HITT.NL> for the bug report)
154 - fixed memory leak in symlink handling code
155   (thanks to Michael Kamp <kamp@HITT.NL> for the bug report)
156 - fixed memory leak in GNU long filename code
158 ------------------------------------------------------------------------------
160 libtar 1.2.4 - 7/24/01
161 ------------
163 - code cleanups to make gcc -Wall happy
164   (thanks to Jim Knoble <jmknoble@POBOX.COM> for the patch)
165 - call utime() before chmod() in tar_set_file_perms() for cygwin
166   (thanks to Kris Eric Warkentin <kewarken@QNX.COM> for reporting this)
167 - added "-g" flag to trigger GNU extensions in libtar binary
168 - fixed buffer termination bugs in POSIX filename prefix encoding
169   (thanks to Joerg Schilling <schilling@fokus.gmd.de> for reporting this)
170 - fixed bug in th_crc_calc() for filenames with 8-bit ASCII characters
171   (thanks to Hamdouni El Bachir <bach@zehc.net> for reporting the bug
172    and Antoniu-George SAVU <santoniu@libertysurf.fr> for the patch)
173 - fixed backwards conditional expression in th_read()
174   (thanks to Antoniu-George SAVU <santoniu@LIBERTYSURF.FR> for the patch)
175 - added new tar_open() options to replace compile-time settings:
176   TAR_IGNORE_EOT, TAR_IGNORE_MAGIC, TAR_CHECK_VERSION, TAR_IGNORE_CRC
177   (based on feedback from Kris Eric Warkentin <kewarken@QNX.COM>)
179 ------------------------------------------------------------------------------
181 libtar 1.2.3 - 6/26/01
182 ------------
184 - misc portability fixes for OpenBSD
185 - fixed libtar.h to work with C++ programs
186 - fixed tar_extract_file() to properly check for pre-existing symlinks
187   (based on patch from Per Lid?n <per@fukt.hk-r.se>)
188 - fixed hash creation in tar_init()
189 - replaced mkdirhier() with non-recursive version
190 - updated autoconf macros, compat code, and listhash code
191 - reformatted code for readability
193 ------------------------------------------------------------------------------
195 libtar 1.2.2 - 1/12/01
196 ------------
198 - fixed th_print_long_ls() to not truncate user and group names
199 - code cleanups to make -Wall happy
201 ------------------------------------------------------------------------------
203 libtar 1.2.1 - 1/8/01
204 ------------
206 - updated WSG_ENCAP autoconf macro
207 - fixed autoconf macros to behave properly when a config.cache file
208   is present
209 - fixed doc/Makefile.in to create links during compilation, not
210   installation
211 - fixed listhash manpage .so link lists
213 ------------------------------------------------------------------------------
215 libtar 1.2 - 1/4/01
216 ----------
218 - minor code cleanups
220 ------------------------------------------------------------------------------
222 libtar 1.1.b8 - 1/2/01
223 -------------
225 - updated WSG_ENCAP autoconf macro
227 ------------------------------------------------------------------------------
229 libtar 1.1.b7 - 12/13/00
230 -------------
232 - fixed autoconf snprintf() test to make sure it NUL-terminates
234 ------------------------------------------------------------------------------
236 libtar 1.1.b6 - 11/30/00
237 -------------
239 - added $(DESTDIR) to Makefiles
240 - Makefile changes to support WSG_PKG and WSG_ENCAP autoconf macros
241 - changed lib/output.c to use strftime() where available
243 ------------------------------------------------------------------------------
245 libtar 1.1.b5 - 10/29/00
246 -------------
248 - Makefile fix
250 ------------------------------------------------------------------------------
252 libtar 1.1.b4 - 10/29/00
253 -------------
255 - more directory reorganization
256 - minor Makefile cleanups
257 - minor portability fixes
258 - added function typecasting to avoid compiler warnings
260 ------------------------------------------------------------------------------
262 libtar 1.1.b3 - 10/26/00
263 -------------
265 - updated aclocal.m4
266 - updated README
267 - updated manpages
268 - minor directory structure changes because of CVS setup
270 ------------------------------------------------------------------------------
272 libtar 1.1.b2 - 10/5/00
273 -------------
275 - added --without-zlib configure option
276 - minor portability fixes
278 ------------------------------------------------------------------------------
280 libtar 1.1.b1 - 8/21/00
281 -------------
283 - API changes:
284   - implemented tar_fdopen()
285   - implemented tar_fd()
286   - added TAR **t argument to tar_open() instead of returning dynamic memory
287   - if TAR_NOOVERWRITE is set in options and O_CREAT is set in oflags,
288     tar_open() automatically sets O_EXCL as well
290 ------------------------------------------------------------------------------
292 libtar 1.1.b0 - 7/10/00
293 -------------
295 - API changes:
296   - replaced internal table of tar file types with a tartype_t passed to
297     tar_open() by the caller
298     (allows file access methods to be defined dynamically)
299   - fixed tar_append_tree() to grok normal files as well as directories
300   - replaced mk_dirs_for_file() with mkdirhier() from epkg
301   - replaced strtok_r() with strsep()
302   - updated list/hash code to new interface
304 - autoconf changes:
305   - added aclocal.m4 to clean up configure.in
306   - minor portability fixes related to lib/fnmatch.c
308 - fixed a bug in tar_open() where the result of open() was being
309   checked for 0 instead of -1 to detect error
311 - updated libtar driver program to handle both .tar.gz and ordinary .tar
312   via the -z option