Fix memory leak in th_get_pathname
[libtar.git] / ChangeLog
blob215f32fa19fe54dac3400e69253473fde8e81576
1 libtar 1.2.11 - 3/2/03
2 -------------
4 - updated autoconf macros, compat code, and listhash code
5 - fixed tar_extract_regfile() to pass mode argument to open()
6   (caused EPERM on Solaris NFS clients)
7 - updated README
9 ------------------------------------------------------------------------------
11 libtar 1.2.10 - 12/15/02
12 -------------
14 - updated README
15 - minor Makefile fixes
16 - fixed TH_ISREG() macro to not return true for hard links
18 ------------------------------------------------------------------------------
20 libtar 1.2.9 - 11/19/02
21 ------------
23 - fixed th_read() to return 1 on EOF
24   (thanks to Yves Crespin <Crespin.Quartz@WANADOO.FR> for the bug report)
25 - minor portability fixes
26   (thanks to Yves Crespin <Crespin.Quartz@WANADOO.FR> for the bug report)
27 - fixed segfault on extracting filenames with 8-bit ASCII characters
28   (thanks to Per Liden <per@FUKT.BTH.SE> for the patch)
29 - fixed TH_ISDIR() macro and th_get_mode() function to handle old
30   archives that don't set the typeflag field right for directories
31 - use 0777 instead of 0755 in mkdirhier()
32   (thanks to Yves Crespin <Crespin.Quartz@WANADOO.FR> for the bug report)
34 ------------------------------------------------------------------------------
36 libtar 1.2.8 - 9/13/02
37 ------------
39 - added "-I../listhash" to CPPFLAGS in libtar/Makefile.in
40   (thanks to Kris Warkentin <kewarken@QNX.COM> for the bug report)
41 - added .PHONY target to Makefile.in
42   (thanks to Steven Engelhardt <sengelha@YAHOO.COM> for the bug report)
44 ------------------------------------------------------------------------------
46 libtar 1.2.7 - 9/12/02
47 ------------
49 - fixed minor bugs in listhash code
50   (thanks to Jim Knoble <jmknoble@pobox.com> for the bug reports)
52 ------------------------------------------------------------------------------
54 libtar 1.2.6 - 9/10/02
55 ------------
57 - updated COPYRIGHT file
58 - do not check magic field by default
59   (replaced TAR_IGNORE_MAGIC option with TAR_CHECK_MAGIC to enable check)
60 - fixed th_get_mode() not to modify S_IFMT bits if they were already set
61 - fixed TH_IS*() macros to check the S_IFMT mode bits in addition to typeflag
62   (this allows us to handle old tar archives that set mode bits but not
63   typeflag field for directories and other special files)
64 - updated to autoconf-2.53
65 - restructured autoconf macros
66 - added "b" to gzoflags in gzopen_frontend() for win32 compatibility
67   (thanks to Kris Eric Warkentin <kewarken@QNX.COM> for reporting this)
68 - if O_BINARY is defined (as on win32), set that bit in oflags in tar_open()
69   (thanks to Kris Eric Warkentin <kewarken@QNX.COM> for reporting this)
70 - also use O_BINARY in when calling open() from tar_extract_regfile()
71   (based on patch from Graeme Peterson <gp@qnx.com>)
72 - added COMPAT_FUNC_MAKEDEV macro to handle 3-arg version of makedev()
73   (based on patch from Graeme Peterson <gp@qnx.com>)
75 ------------------------------------------------------------------------------
77 libtar 1.2.5 - 2/20/02
78 ------------
80 - updated to autoconf-2.52
81 - improved Makefile portability
82 - fixed memory leak in hard-link detection code
83   (thanks to Michael Kamp <kamp@HITT.NL> for the bug report)
84 - fixed memory leak in symlink handling code
85   (thanks to Michael Kamp <kamp@HITT.NL> for the bug report)
86 - fixed memory leak in GNU long filename code
88 ------------------------------------------------------------------------------
90 libtar 1.2.4 - 7/24/01
91 ------------
93 - code cleanups to make gcc -Wall happy
94   (thanks to Jim Knoble <jmknoble@POBOX.COM> for the patch)
95 - call utime() before chmod() in tar_set_file_perms() for cygwin
96   (thanks to Kris Eric Warkentin <kewarken@QNX.COM> for reporting this)
97 - added "-g" flag to trigger GNU extensions in libtar binary
98 - fixed buffer termination bugs in POSIX filename prefix encoding
99   (thanks to Joerg Schilling <schilling@fokus.gmd.de> for reporting this)
100 - fixed bug in th_crc_calc() for filenames with 8-bit ASCII characters
101   (thanks to Hamdouni El Bachir <bach@zehc.net> for reporting the bug
102    and Antoniu-George SAVU <santoniu@libertysurf.fr> for the patch)
103 - fixed backwards conditional expression in th_read()
104   (thanks to Antoniu-George SAVU <santoniu@LIBERTYSURF.FR> for the patch)
105 - added new tar_open() options to replace compile-time settings:
106   TAR_IGNORE_EOT, TAR_IGNORE_MAGIC, TAR_CHECK_VERSION, TAR_IGNORE_CRC
107   (based on feedback from Kris Eric Warkentin <kewarken@QNX.COM>)
109 ------------------------------------------------------------------------------
111 libtar 1.2.3 - 6/26/01
112 ------------
114 - misc portability fixes for OpenBSD
115 - fixed libtar.h to work with C++ programs
116 - fixed tar_extract_file() to properly check for pre-existing symlinks
117   (based on patch from Per Lid?n <per@fukt.hk-r.se>)
118 - fixed hash creation in tar_init()
119 - replaced mkdirhier() with non-recursive version
120 - updated autoconf macros, compat code, and listhash code
121 - reformatted code for readability
123 ------------------------------------------------------------------------------
125 libtar 1.2.2 - 1/12/01
126 ------------
128 - fixed th_print_long_ls() to not truncate user and group names
129 - code cleanups to make -Wall happy
131 ------------------------------------------------------------------------------
133 libtar 1.2.1 - 1/8/01
134 ------------
136 - updated WSG_ENCAP autoconf macro
137 - fixed autoconf macros to behave properly when a config.cache file
138   is present
139 - fixed doc/Makefile.in to create links during compilation, not
140   installation
141 - fixed listhash manpage .so link lists
143 ------------------------------------------------------------------------------
145 libtar 1.2 - 1/4/01
146 ----------
148 - minor code cleanups
150 ------------------------------------------------------------------------------
152 libtar 1.1.b8 - 1/2/01
153 -------------
155 - updated WSG_ENCAP autoconf macro
157 ------------------------------------------------------------------------------
159 libtar 1.1.b7 - 12/13/00
160 -------------
162 - fixed autoconf snprintf() test to make sure it NUL-terminates
164 ------------------------------------------------------------------------------
166 libtar 1.1.b6 - 11/30/00
167 -------------
169 - added $(DESTDIR) to Makefiles
170 - Makefile changes to support WSG_PKG and WSG_ENCAP autoconf macros
171 - changed lib/output.c to use strftime() where available
173 ------------------------------------------------------------------------------
175 libtar 1.1.b5 - 10/29/00
176 -------------
178 - Makefile fix
180 ------------------------------------------------------------------------------
182 libtar 1.1.b4 - 10/29/00
183 -------------
185 - more directory reorganization
186 - minor Makefile cleanups
187 - minor portability fixes
188 - added function typecasting to avoid compiler warnings
190 ------------------------------------------------------------------------------
192 libtar 1.1.b3 - 10/26/00
193 -------------
195 - updated aclocal.m4
196 - updated README
197 - updated manpages
198 - minor directory structure changes because of CVS setup
200 ------------------------------------------------------------------------------
202 libtar 1.1.b2 - 10/5/00
203 -------------
205 - added --without-zlib configure option
206 - minor portability fixes
208 ------------------------------------------------------------------------------
210 libtar 1.1.b1 - 8/21/00
211 -------------
213 - API changes:
214   - implemented tar_fdopen()
215   - implemented tar_fd()
216   - added TAR **t argument to tar_open() instead of returning dynamic memory
217   - if TAR_NOOVERWRITE is set in options and O_CREAT is set in oflags,
218     tar_open() automatically sets O_EXCL as well
220 ------------------------------------------------------------------------------
222 libtar 1.1.b0 - 7/10/00
223 -------------
225 - API changes:
226   - replaced internal table of tar file types with a tartype_t passed to
227     tar_open() by the caller
228     (allows file access methods to be defined dynamically)
229   - fixed tar_append_tree() to grok normal files as well as directories
230   - replaced mk_dirs_for_file() with mkdirhier() from epkg
231   - replaced strtok_r() with strsep()
232   - updated list/hash code to new interface
234 - autoconf changes:
235   - added aclocal.m4 to clean up configure.in
236   - minor portability fixes related to lib/fnmatch.c
238 - fixed a bug in tar_open() where the result of open() was being
239   checked for 0 instead of -1 to detect error
241 - updated libtar driver program to handle both .tar.gz and ordinary .tar
242   via the -z option