This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix PathTools taint handling for Perl 5.6
[perl5.git] / dist / PathTools / Changes
CommitLineData
55c2e597
RS
1Revision history for Perl distribution PathTools.
2
2ba334c7
Z
33.68
4- avoid warning from pre-5.8 code for detecting tainted values
5- make taint.t detect that a pre-5.8 Perl supports tainting
6
daa60504
DG
73.67 - Mon Feb 27 09:33:04 EST 2017
8- Add security usage note to File::Spec::no_upwards
9
7ebb7b4a
KW
103.66 - Sat Nov 19 10:30:19 MST 2016
11- white space change so can compile under C++11
12
133.65 - Mon, 25 Jul 2016 23:15:33 -0700
14- (perl #127384)(CVE-2016-1238)
15
b9f119be
KW
163.64 - Tue May 24 10:00:19 MST 2016
17- just minor pod changes to silence Pod::Checker
18
55c2e597
RS
193.62 - Mon Jan 11 08:39:19 EST 2016
20- ensure File::Spec::canonpath() preserves taint (CVE-2015-8607)
21
223.61 - Sun Dec 20 12:00:00 EST 2015 (bleadperl only release)
23- improve performance of cwd on Win32 miniperl
24
253.60 - Wed Nov 18 21:28:01 EST 2015
26- add File::Spec::AmigaOS -- and actually ship it, this time
27
283.59 - Fri Nov 13 18:38:01 EST 2015
29- no changes since 5.58_01
30
313.58_01 - Mon Nov 9 17:35:28 EST 2015 - TRIAL RELEASE
32- add File::Spec::AmigaOS
33- fix INSTALLDIRS on post-5.10 perls
34
353.56_02 - Thu Jul 16 11:28:57 EDT 2015 - TRIAL RELEASE
36- fix $VERSION in loaded modules
37
383.56_01 - Sat Jul 11 18:07:28 EDT 2015 - TRIAL RELEASE
39- CPAN release of the PathTools included in perl v5.22.0
40- support for z/OS sysplexed systems
41- long-deprecated "fixpath" and "eliminate_macros" VMS functions removed
42- avoid turning leading // into / on cygwin
43- Force barename base to be a directory in File::Spec::VMS:abs2rel
44- Revise Unix syntax detection File::Spec::VMS::abs2rel
45- compiles on Android now
46- fewer compiler warnings
47- eliminate some runtime perl warnings, too
48
493.47 - Fri May 23 18:52:00 2014
50- Improved Android support.
51- File::Spec::Unix->tmpdir: Always return an absolute path
52- File::Spec now has an XS version for performance.
53- QNX and VMS portability
54- tmpdir is updated when the environment changes.
55
563.40 - Wed Jan 16 07:30:00 2013
57- Stop inadvertently skipping Spec.t on VMS. (Craig Berry)
58- Rethink EFS in File::Spec::VMS. (Craig Berry)
59- File::Spec::UNIX->abs2rel() gets it wrong with ".." components
60 [perl #111510] (Volker Schatz)
61- Add C define to remove taint support from perl (Steffen Mueller)
62- Remove "register" declarations as they are no longer
63 useful (Karl Williamson)
64- Add test for fast_abs_path in LF dir
65 [perl #115962] (Father Chrysostomos)
66- Cwd::fast_abs_path's untaint should allow for multiline
67 directories (Joel Berger)
68
693.39_01 - Tue Dec 20 08:30:00 2011
70- [perl #51562] Problem & "solution" for building 5.10.0 with
71 win32+mingw+dmake (kmx)
72- Fix various compiler warnings from XS code (Zefram)
73- Fix typos (spelling errors) (Peter J. Acklam)
74- Remove Mac OS classic only tests from Cwd's Spec.t
75 and special case code from Cwd's cwd.t (Nicholas Clark)
76- Convert File::Spec's remaining tests to Test::More from Test
77 (Nicholas Clark)
78- dist/Cwd/lib/File/Spec/Win32.pm: Fix broken link (Karl Williamson)
79- In Cwd::_win32_cwd() avoid a string eval when checking if we're
80 miniperl (Nicholas Clark)
81- Add PERL_NO_GET_CONTEXT to Cwd (Nicholas Clark)
82- In Cwd.xs on VMS, don't compile bsd_realpath() at all (Nicholas Clark)
83- Merge the implementation of Cwd::{fastcwd,getcwd} using
84 ALIAS (Nicholas Clark)
85- In Cwd.xs, swap to defaulting to disabled prototypes (Nicholas Clark)
86- Remove duplicate $VERSION handling code, made redundant
87 in 3.28_01 (Nicholas Clark)
88- In Cwd.xs, tidy the conditional code related to symlinks
89 (Nicholas Clark)
90- Keep verbatim pod within 80 cols (Father Chrysostomos)
91- [RT #36079] Convert ` to ' in docs (Jim Keenan)
92- [rt.cpan.org #45885] File::Spec: Don’t use tainted tmpdir
93 in 5.6 (Father Chrysostomos)
94
953.33 - Mon Sep 20 18:00:00 2010
96- No functional changes since the previous release.
97- Fixes POD links
98 (part of core change2a6dc37471bea77f0c24fd1fe90c598a270c9968,
99 Florian Ragwitz)
100
1013.32 - Sun Sep 19 18:00:00 2010
102
103- Promote to stable release.
104
1053.31_03 - Fri Sep 17 20:00:00 2010
106
107- Colon delimiter and escaped delimiters for File::Spec::VMS
108 This is core change 61196b433b2b (Craig A. Berry)
109
1103.31_02 - Fri Jul 23 20:00:00 2010
111
112- Add TODO test for File::Spec->rel2abs() when under a symlink.
113- Make catpath return an empty directory rather than the current
114 directory if the directory name is empty. This allows catpath
115 to play nice with non-rooted logical names, as in
116 catpath('sys$login:', '', 'login.com');
117 (Craig A. Berry)
118- Fix abs2rel bug in handling a Unix-style input.
119 (Craig A. Berry)
120- Assorted clarification and simplification of the documentation.
121 (Craig A. Berry)
122
1233.31 - Sun Nov 1 15:15:00 2009
124
125- Do not pack a Build.PL to avoid a circular dependency involving
126 ExtUtils::CBuilder (PathTools RT #50749)
127
1283.30_02 - Tue Sep 29 08:17:00 2009
129
130- Remove more special logic required for core perl.
131
1323.30_01 - Mon Sep 21 14:39:00 2009
133
134- Merge changes from core perl.
135 (Mostly changes regarding the lib->ext migration)
136
1373.30 - Sun May 10 10:55:00 2009
138
139- Promote to stable release.
140
1413.29_01 - Thu May 7 20:22:00 2009
142
143- Minor fixes for QNX6. [Sean Boudreau]
144
145- Update to support VMS in Unix compatible mode and/or file names using
146 extended character sets. (RT #42154) [John Malmberg]
147
148- VMS support for Unix and extended file specifications in File::Spec
149 (RT #42153) [John Malmberg]
150
1513.29 - Wed Oct 29 20:48:11 2008
152
153- Promote to stable release.
154
1553.28_03 - Mon Oct 27 22:12:11 2008
156
157- In Cwd.pm, pass the un-munged $VERSION to XSLoader/DynaLoader,
158 otherwise development releases fail tests on Win32.
159
1603.28_02 - Mon Oct 27 20:13:11 2008
161
162 - Fixed some issues on QNX/NTO related to paths with double
163 slashes. [Matt Kraai & Nicholas Clark]
164
1653.28_01 - Fri Jul 25 21:18:11 2008
166
167 - Fixed and clarified the behavior of splitpath() with a $no_file
168 argument on VMS. [Craig A. Berry, Peter Edwards]
169
170 - Removed some function prototypes and other Perl::Critic violations.
171
172 - canonpath() and catdir() and catfile() on Win32 now make an
173 explicit (and unnecessary) copy of their arguments right away,
174 because apparently if we don't, we sabotage all of Win32dom. [RT
175 #33675]
176
177 - The Makefile.PL now has 'use 5.005;' to explicitly show what
178 minimum version of perl we support. [Spotted by Alexandr Ciornii]
179
1803.2701 - Mon Feb 11 21:43:51 2008
181
182 - Fixed an edge case for Win32 catdir('C:', 'foo') and catfile('C:',
183 'foo.txt') (which the caller's not really supposed to do, that's
184 what catpath() is for) that changed between versions. Now we're
185 back to the old behavior, which was to return C:\foo and C:\foo.txt .
186 [Audrey Tang]
187
1883.27 - Wed Jan 16 20:20:49 2008
189
190 - If strlcpy() and strlcat() aren't available on the user's system,
191 we now use ppport.h to provide them, so our C code works. [Steve
192 Peters]
193
194 - Upgraded to a newer version of ppport.h [Steve Peters]
195
1963.26 - Sun Jan 13 21:59:20 2008
197
198 - case_tolerant() on Cygwin will now avoid a painful death when
199 Cygwin::mount_flags() isn't defined, as is the case for perl <
200 5.10. It will now just return 1, which is what it always did
201 before it got so smart. [Spotted by Emanuele Zeppieri]
202
203 - abs_path() on Unix(ish) platforms has been upgraded to a much later
204 version of the underlying C code from BSD. [Michael Schwern]
205
2063.2501 - Mon Dec 24 20:33:02 2007
207
208 - Reimplemented abs_path() on VMS to use
209 VMS::Filespec::vms_realpath() when it's available. [John E. Malmberg]
210
211 - tmpdir() on Cygwin now also looks in $ENV{TMP} and $ENV{TEMP}.
212
213 - case_tolerant() on Cygwin and Win32 now take an optional path
214 argument, defaulting to the C drive, to check for case tolerance,
215 because this fact can vary on different volumes.
216
217 - File::Spec on Unix now uses Cwd::getcwd() rather than Cwd::cwd() to
218 get the current directory because I guess someone on p5p thought it
219 was more appropriate.
220
221 - Added a large set of File::Spec tests for the Cygwin platform.
222
223 - abs_path() now behaves correctly with symbolic links on VMS.
224
225 - Someone fixed a couple of mysterious edge cases in VMS' canonpath()
226 and splitdir().
227
2283.25_01 - Sat Oct 13 21:13:57 2007
229
230 - Major fixes on Win32, including a rewrite of catdir(), catfile(),
231 and canonpath() in terms of a single body of code. [Heinrich Tegethoff]
232
233 - For Win32 and Cygwin, case-tolerance can vary depending on the
234 volume under scrutiny. When Win32API::File is available, it will
235 be employed to determine case-sensitivity of the given filesystem
236 (C: by default), otherwise we still return the default of 1. [Reini
237 Urban]
238
239 - On Cygwin, we added $ENV{'TMP'} and $ENV{'TEMP'} to the list of
240 possible places to look for tmpdir() return values. [Reini Urban]
241
242 - Added lots more tests for Cygwin. [Reini Urban]
243
244 - canonpath() with no arguments and canonpath(undef) now consistently
245 return undef on all platforms. [Spotted by Peter John Edwards]
246
247 - Fixed splitdir('') and splitdir(undef) and splitdir() to return an
248 empty list on VMS and MacOS, like it does on other platforms.
249 [Craig A. Berry]
250
251 - All .pm files now have the same $VERSION number, rather than a
252 hodgepodge of various numbers.
253
2543.25 - Mon May 21 21:07:26 2007
255
256 - Added a workaround for auto-vivication-of-function-args Perl bug
257 (triggered by OS/2-specific code). [Ilya Zakharevich]
258
259 - Sync with a bleadperl change: miniperl can no longer use Win32::*
260 functions because it cannot load Win32.dll. [Jan Dubois]
261
262 - We only need to load ppport.h when building outside the core, so we
263 avoid using it when in the core.
264
2653.24 - Sun Nov 19 22:52:49 2006
266
267 - Fixed a bug in the $ENV{PWD}-updating of Cwd::chdir() when a
268 dirhandle is passed in. [Steve Peters]
269
270 - Add perl 5.005 to the list of requirements in the
271 Build.PL/Makefile.PL/META.yml.
272
273 - Add ExtUtils::CBuilder to the list of build_requires in Build.PL.
274
275 - Improved performance of canonpath() on Unix-ish platforms - on my
276 OS X laptop it looks like it's about twice as fast. [Ruslan Zakirov]
277
2783.23 - Wed Oct 11 12:11:25 2006
279
280 - Yet more Win32 fixes (sigh... seems like I'm fighting a neverending
281 waterbed...). This time, fixed file_name_is_absolute() to know
282 what it's doing when the path includes a volume but a relative
283 path, like C:foo.txt . This bug had impact in rel2abs() on Win32
284 too.
285
2863.22 - Mon Oct 9 21:50:52 2006
287
288 - Fixed the t/crossplatform.t test on Win32 (and possibly other
289 volume-aware platforms) now that rel2abs() always adds a drive
290 letter. [Reported by several parties]
291
2923.21 - Wed Oct 4 21:16:43 2006
293
294 - Added a bunch of X<> tags to the File::Spec docs to help
295 podindex. [Gabor Szabo]
296
297 - On Win32, abs2rel('C:\one\two\t\foo', 't\bar') should return
298 '..\foo' when the cwd is 'C:\one\two', but it wasn't noticing that
299 the two relevant volumes were the same so it would return the full
300 path 'C:\one\two\t\foo'. This is fixed. [Spotted by Alexandr
301 Ciornii]
302
303 - On Win32, rel2abs() now always adds a volume (drive letter) if the
304 given path doesn't have a volume (drive letter or UNC volume).
305 Previously it could return a value that didn't have a volume if the
306 input was a semi-absolute path like /foo/bar instead of a
307 fully-absolute path like C:/foo/bar .
308
3093.19 Tue Jul 11 22:40:26 CDT 2006
310
311 - When abs2rel() is called with two relative paths
312 (e.g. abs2rel('foo/bar/baz', 'foo/bar')) the resolution algorithm
313 needlessly called cwd() (twice!) to turn both arguments into
314 absolute paths. Now it avoids the cwd() calls with a workaround,
315 making a big efficiency win when abs2rel() is called
316 repeatedly. [Brendan O'Dea]
317
318 - Added a build-time dependency on ExtUtils::Install version 1.39
319 when on Windows. This is necessary because version 1.39 knows how
320 to replace an in-use Cwd shared library, but previous versions
321 don't. [Suggested by Adam Kennedy]
322
323 - Fixed File::Spec::Win32->canonpath('foo/../bar'), which was
324 returning \bar, and now properly returns just bar. [Spotted by
325 Heinrich Tegethoff]
326
3273.18 Thu Apr 27 22:01:38 CDT 2006
328
329 - Fixed some problems on VMS in which a directory called "0" would be
330 treated as a second-class citizen. [Peter (Stig) Edwards]
331
332 - Added a couple of regression tests to make sure abs2rel('/foo/bar',
333 '/') works as expected. [Chia-liang Kao]
334
335 - Added a couple of regression tests to make sure catdir('/',
336 'foo/bar') works as expected. [Mark Grimes]
337
3383.17 Fri Mar 3 16:52:30 CST 2006
339
340 - The Cygwin version of Cwd::cwd() will croak if given any arguments
341 (which can happen if, for example, it's called as Cwd->cwd). Since
342 that croaking is bad, we now wrap the original cwd() in a
343 subroutine that ignores its arguments. We could skip this wrapping
344 if a future version of perl changes cygwin.c's cwd() to not barf
345 when fed an argument. [Jerry D. Hedden]
346
3473.16 Mon Jan 30 20:48:41 CST 2006
348
349 - Updated to version 3.06 of ppport.h, which provides backward
350 compatibility XS layers for older perl versions.
351
352 - Clarify in the docs for File::Spec's abs2rel() and rel2abs()
353 methods that the cwd() function it discusses is
354 Cwd::cwd(). [Spotted by Steven Lembark]
355
356 - Apparently the version of File::Path that ships with perl 5.8.5
357 (and perhaps others) calls Cwd::getcwd() with an argument (perhaps
358 as a method?), which causes it to die with a prototyping error.
359 We've eliminated the prototype by using the "(...)" arglist, since
360 "PROTOTYPE: DISABLE" for the function didn't seem to work. [Spotted
361 by Eamon Daly and others]
362
3633.15 Tue Dec 27 14:17:39 CST 2005
364
365 - The Cwd::getcwd() function on *nix is now a direct pass-through to
366 the underlying getcwd() C library function when possible. This is
367 safer and faster than the previous implementation, which just did
368 abs_path('.'). The pure-perl version has been kept for cases in
369 which the XS version can't load, such as when running under
370 miniperl. [Suggested by Nick Ing-Simmons]
371
372 - When Cwd searches for a 'pwd' executable in the $PATH, we now stop
373 after we find the first one rather than continuing the search. We
374 also avoid the $PATH search altogether when a 'pwd' was already
375 found in a well-known and well-trusted location like /bin or
376 /usr/bin. [Suggested by Nick Ing-Simmons]
377
378 - On Win32 abs2rel($path, $base) was failing whenever $base is the
379 root of a volume (such as C:\ or \\share\dir). This has been
380 fixed. [Reported by Bryan Daimler]
381
382 - In abs2rel() on VMS, we've fixed handling of directory trees so
383 that the test $file = File::Spec::VMS->abs2rel('[t1.t2.t3]file',
384 '[t1.t2.t3]') returns 'file' instead of an empty string. [John
385 E. Malmberg]
386
387 - In canonpath() on VMS, '[]' was totally optimized away instead of
388 just returning '[]'. Now it's fixed. [John E. Malmberg]
389
3903.14 Thu Nov 17 18:08:44 CST 2005
391
392 - canonpath() has some logic in it that avoids collapsing a
393 //double/slash at the beginning of a pathname on platforms where
394 that means something special. It used to check the value of $^O
395 rather than the classname it was called as, which meant that
396 calling File::Spec::Cygwin->canonpath() didn't act like cygwin
397 unless you were actually *on* cygwin. Now it does.
398
399 - Fixed a major bug on Cygwin in which catdir() could sometimes
400 create things that look like //network/paths in cases when it
401 shouldn't (e.g. catdir("/", "foo", "bar")).
402
4033.13 Tue Nov 15 23:50:37 CST 2005
404
405 - Calling tmpdir() on Win32 had the unintended side-effect of storing
406 some undef values in %INC for the TMPDIR, TEMP, and TMP entries if
407 they didn't exist already. This is probably a bug in perl itself
408 (submitted as #37441 on rt.perl.org), which we're now working
409 around. [Thomas L. Shinnick]
410
411 - Integrated a change from bleadperl - a certain #ifdef in Cwd.xs
412 needs to apply to WIN32 but not WinCE. [Vadim Konovalov]
413
414 - abs2rel() used to return the empty string when its two arguments
415 were identical, which made no sense. Now it returns
416 curdir(). [Spotted by David Golden]
417
418 - The Unix and Win32 implementations of abs2rel() have been unified.
419
4203.12 Mon Oct 3 22:09:12 CDT 2005
421
422 - Fixed a testing error on OS/2 in which a drive letter for the root
423 directory was confusing things. [Ilya Zakharevich]
424
425 - Integrated a patch from bleadperl for fixing path() on
426 Win32. [Gisle Aas]
427
4283.11 Sat Aug 27 20:12:55 CDT 2005
429
430 - Fixed a couple of typos in the documentation for
431 File::Spec::Mac. [Piotr Fusik]
432
4333.10 Thu Aug 25 22:24:57 CDT 2005
434
435 - eliminate_macros() and fixpath() in File::Spec::VMS are now
436 deprecated, since they are MakeMaker-specific and now live inside
437 MakeMaker. [Michael Schwern]
438
439 - canonpath() on Win32 now collapses foo/.. (or foo\..) sections
440 correctly, rather than doing the "misguided" work it was previously
441 doing. Note that canonpath() on Unix still does NOT collapse these
442 sections, as doing so would be incorrect. [Michael Schwern]
443
4443.09 Tue Jun 14 20:36:50 CDT 2005
445
446 - Added some block delimiters (brackets) in the Perl_getcwd_sv() XS
447 function, which were necessary to separate the variable
448 declarations from the statements when HAS_GETCWD is not
449 defined. [Yves]
450
451 - Apparently the _NT_cwd() routine is never defined externally like I
452 thought it was, so I simplified the code around it.
453
454 - When cwd() is implemented using the _backtick_pwd() function, it
455 sometimes could create accidental undef entries in %ENV under perl
456 5.6, because local($hash{key}) is somewhat broken. This is now
457 fixed with an appropriate workaround. [Neil Watkiss]
458
4593.08 Sat May 28 10:10:29 CDT 2005
460
461 - Fixed a test failure with fast_abs_path() on Windows - it was
462 sensitive to the rootdir() change from version 3.07. [Steve Hay]
463
4643.07 Fri May 6 07:46:45 CDT 2005
465
466 - Fixed a bug in which the special perl variable $^O would become
467 tainted under certain versions of perl. [Michael Schwern]
468
469 - File::Spec->rootdir() was returning / on Win32. Now it returns \ .
470 [Michael Schwern]
471
472 - We now avoid modifying @_ in tmpdir() when it's not strictly
473 necessary, which reportedly provides a modest performance
474 boost. [Richard Soderberg]
475
476 - Made a couple of slight changes to the Win32 code so that it works
477 (or works better) on Symbian OS phones. [Jarkko Hietaniemi]
478
4793.06 Wed Apr 13 20:47:26 CDT 2005
480
481 (No changes in functionality)
482
483 - Added a note to the canonpath() docs about why it doesn't collapse
484 foo/../bar sections.
485
486 - The internal-only function bsd_realpath() in the XS file now uses
487 normal arg syntax instead of K&R syntax. [Nicholas Clark]
488
4893.05 Mon Feb 28 07:22:58 CST 2005
490
491 - Fixed a bug in fast_abs_path() on Win32 in which forward- and
492 backward-slashes were confusing things. [demerphq]
493
494 - Failure to load the XS code in Cwd is no longer a fatal error
495 (though failure to compile it is still a fatal error in the build
496 process). This lets Cwd work under miniperl in the core. [Rafael
497 Garcia-Suarez]
498
499 - In the t/cwd.t test, don't enforce loading from blib/ if we're
500 testing in the perl core. [Rafael Garcia-Suarez]
501
5023.04 Sun Feb 6 17:27:38 CST 2005
503
504 - For perls older than 5.006, the HAS_GETCWD symbol is not available,
505 because it wasn't checked for in older Configure scripts when perl
506 was built. We therefore just ask the user whether the getcwd() C
507 function is defined on their platform when their perl is old.
508 Maybe in the future we'll try to automate this. [Reported by
509 several parties]
510
511 - Remove lib/ppport.h from the distribution, so that MakeMaker
512 doesn't accidentally pick it up and install it as a lib
513 file. [Jerry Hedden]
514
515 - Fixed a testing error on VMS that occurred when a user had
516 read-access to the root of the current volume. [Craig A. Berry]
517
5183.03 Fri Jan 21 21:44:05 CST 2005
519
520 - Fixed a testing error if the first file we find in the root
521 directory is a symlink. [Blair Zajac]
522
523 - Added a test to make sure Cwd.pm is loaded from blib/ during
524 testing, which seems to be an issue in some people's environments
525 and makes it awfully hard to debug things on my end.
526
527 - Skip the _perl_abs_path() tests on Cygwin - they don't usually
528 pass, and this function isn't used there anyway, so I decided not
529 to push it. Let 'em use `cwd`.
530
5313.02 Sun Jan 9 19:29:52 CST 2005
532
533 - Fixed a bug in which Cwd::abs_path() called on a file in the root
534 directory returned strange results. [Bob Luckin]
535
536 - Straightened out the licensing details for the portion of the Cwd
537 module that comes from BSD sources. [Hugo van der Sanden]
538
539 - Removed the prototype from _perl_abs_path() and the XS version of
540 abs_path(), since all they seemed to be doing was causing people
541 grief, and since some platforms didn't have them anyway.
542
543 - Fixed a testing bug in which sometimes the wrong version of Cwd
544 (the version already installed on the user's machine) would get
545 loaded instead of the one we're building & installing.
546
547 - Sometimes getdcwd() returns a lower-case drive letter, so don't
548 require an upper-case letter in t/win32.t. [Jan Dubois]
549
550 - Fixed a memory leak in getdcwd() on win32. [Steve Hay]
551
552 - Added a copy of ppport.h to the distribution to aid compilation on
553 older versions of perl. [Suggested by Charlie Root]
554
555 - Don't bother looking for a 'pwd' executable on MSWin32 - there
556 won't be one, and looking for it can be extremely slow when lots of
557 disks are mounted. [Several people, including Andrew Burke]
558
559 - Eliminated a multi-argument form of open() that was causing a
560 syntax error on older versions of perl. [Fixed by Michael Schwern]
561
562 - The bug-fix changes for revision 0.90 of File::Spec somehow were
563 lost when I merged it into the PathTools distribution. They're
564 restored now. [Craig A. Berry]
565
566 - File::Spec->canonpath() will now reduce paths like '[d1.-]foo.dat'
567 down to '[000000]foo.dat' instead of '[]foo.dat' or 'foo.dat'.
568 This is in better accordance with the native filename syntax
569 parser. [Craig A. Berry]
570
571 - In order to remove a recursive dependency (PathTools -> Test-Simple
572 -> Test-Harness -> PathTools), we now include a copy of Test::More in
573 the distribution. It is only used for testing, it won't be installed
574 with the rest of the stuff.
575
576 - Removed some 5.6-isms from Cwd in order to get it to build with
577 older perls like 5.005.
578
579 - abs_path() on Windows was trampling on $ENV{PWD} - fixed. [Spotted
580 by Neil MacMullen]
581
582 - Added licensing/copyright statements to the POD in each .pm
583 file. [Spotted by Radoslaw Zielinski]
584
5853.01 Mon Sep 6 22:28:06 CDT 2004
586
587 - Removed an unnecessary and confusing dependency on File::Spec from
588 the Makefile.PL and the Build.PL.
589
590 - Added a 'NAME' entry to the Makefile.PL, because otherwise it won't
591 even begin to work. [Reported by many]
592
5933.00 Thu Sep 2 22:15:07 CDT 2004
594
595 - Merged Cwd and File::Spec into a single PathTools distribution.
596 This was done because the two modules use each other fairly
597 extensively, and extracting the common stuff into another
598 distribution was deemed nigh-impossible. The code in revision 3.00
599 of PathTools should be equivalent to the code in Cwd 2.21 and
600 File::Spec 0.90.
601
602==================================================================
603Prior to revision 3.00, Cwd and File::Spec were maintained as two
604separate distributions. The revision history for Cwd is shown here.
605The revision history for File::Spec is further below.
606==================================================================
607
608Cwd 2.21 Tue Aug 31 22:50:14 CDT 2004
609
610 - Removed "NO_META" from the Makefile.PL, since I'm not building the
611 distribution with MakeMaker anyway. [Rohan Carly]
612
613 - Only test _perl_abs_path() on platforms where it's expected to work
614 (platforms with '/' as the directory separator). [Craig A. Berry]
615
616Cwd 2.20 Thu Jul 22 08:23:53 CDT 2004
617
618 - On some implementations of perl on Win32, a memory leak (or worse?)
619 occurred when calling getdcwd(). This has been fixed. [PodMaster]
620
621 - Added tests for getdcwd() on Win32.
622
623 - Fixed a problem in the pure-perl implementation _perl_abs_path()
624 that caused a fatal error when run on plain files. [Nicholas Clark]
625 To exercise the appropriate test code on platforms that wouldn't
626 otherwise use _perl_abs_path(), run the tests with $ENV{PERL_CORE}
627 or $ENV{TEST_PERL_CWD_CODE} set.
628
629Cwd 2.19 Thu Jul 15 08:32:18 CDT 2004
630
631 - The abs_path($arg) fix from 2.18 didn't work for VMS, now it's
632 fixed there. [Craig Berry]
633
634Cwd 2.18 Thu Jun 24 08:22:57 CDT 2004
635
636 - Fixed a problem in which abs_path($arg) on some platforms could
637 only be called on directories, and died when called on files. This
638 was a problem in the pure-perl implementation _perl_abs_path().
639
640 - Fixed fast_abs_path($arg) in the same way as abs_path($arg) above.
641
642 - On Win32, a function getdcwd($vol) has been added, which gets the
643 current working directory of the specified drive/volume.
644 [Steve Hay]
645
646 - Fixed a problem on perl 5.6.2 when built with the MULTIPLICITY
647 compile-time flags. [Yitzchak Scott-Thoennes]
648
649 - When looking for a `pwd` system command, we no longer assume the
650 path separator is ':'.
651
652 - On platforms where cwd() is implemented internally (like Win32),
653 don't look for a `pwd` command externally. This can greatly speed
654 up load time. [Stefan Scherer]
655
656 - The pure-perl version of abs_path() now has the same prototype as
657 the XS version (;$).
658
659Cwd 2.17 Wed Mar 10 07:55:36 CST 2004
660
661 - The change in 2.16 created a testing failure when tested from
662 within a path that contains symlinks (for instance, /tmp ->
663 /private/tmp).
664
665Cwd 2.16 Sat Mar 6 17:56:31 CST 2004
666
667 - For VMS compatibility (and to conform to Cwd's documented
668 interface), in the regression tests we now compare output results
669 to an absolute path. [Craig A. Berry]
670
671Cwd 2.15 Fri Jan 16 08:09:44 CST 2004
672
673 - Fixed a problem on static perl builds - while creating
674 Makefile.aperl, it was loading a mismatched version of Cwd from
675 blib/ . [Reported by Blair Zajac]
676
677Cwd 2.14 Thu Jan 8 18:51:08 CST 2004
678
679 - We now use File::Spec->canonpath() and properly-escaped regular
680 expressions when comparing paths in the regression tests. This
681 fixes some testing failures in 2.13 on non-Unix platforms. No
682 changes were made in the actual Cwd module code. [Steve Hay]
683
684Cwd 2.13 Fri Jan 2 22:29:42 CST 2004
685
686 - Changed a '//' comment to a '/* */' comment in the XS code, so that
687 it'll compile properly under ANSI C rules. [Jarkko Hietaniemi]
688
689 - Fixed a 1-character buffer overrun problem in the C code. [The BSD
690 people]
691
692Cwd 2.12 Fri Dec 19 17:04:52 CST 2003
693
694 - Fixed a bug on Cygwin - the output of realpath() should have been
695 tainted, but wasn't. [Reported by Tom Wyant]
696
697Cwd 2.10 Mon Dec 15 07:50:12 CST 2003
698
699 (Note that this release was mistakenly packaged as version 2.11, even
700 though it had an internal $VERSION variable of 2.10. Not sure how
701 THAT happened...)
702
703 - There was a dependency in the Makefile.PL on Module::Build, which
704 isn't necessary. I've removed it.
705
706Cwd 2.09 Thu Dec 11 20:30:58 CST 2003
707
708 - The module should now build & install using version 5.6 of perl.
709
710 - We now note a build-time dependency on version 0.19 of
711 Module::Build, which is necessary because we don't use the standard
712 lib/-based file layout. No version of Module::Build is required if
713 you use the Makefile.PL, just if you use the Build.PL .
714
715 - Removed some gratuitous uses of 5.6-isms like our(), with the aim
716 of backporting this module to perl 5.005.
717
718 - Simplified all code that autoloads Carp.pm and calls
719 carp()/croak().
720
721 - Removed some redundant OS/2 code at the suggestion of Michael
722 Schwern and Ilya Zakharevich.
723
724 - Make sure the correct version of Cwd.pm is loaded in the regression
725 tests. [Sam Vilain]
726
727Cwd 2.08 Wed Oct 15 20:56 CDT 2003
728
729 - Code extracted from perl 5.8.1 and packaged as a separate CPAN
730 release by Ken Williams.
731
732==================================================================
733Prior to revision 3.00, Cwd and File::Spec were maintained as two
734separate distributions. The revision history for File::Spec is shown
735here. The revision history for Cwd is above.
736==================================================================
737
738File::Spec 0.90 Tue Aug 31 22:34:50 CDT 2004
739
740 - On VMS, directories use vmspath() and files use vmsify(), so
741 rel2abs() has to use some 'educated guessing' when dealing with
742 paths containing slashes. [Craig A. Berry]
743
744File::Spec 0.89 Sun Aug 29 19:02:32 CDT 2004
745
746 - Fixed some pathological cases on VMS which broke canonpath() and
747 splitdir(). [Richard Levitte and Craig A. Berry]
748
749 - Fixed rel2abs() on VMS when passed a unix-style relative
750 path. [Craig A. Berry]
751
752File::Spec 0.88 Thu Jul 22 23:14:32 CDT 2004
753
754 - rel2abs() on Win32 will now use the new Cwd::getdcwd() function, so
755 that things like rel2abs('D:foo.txt') work properly when the
756 current drive isn't 'D'. This requires Cwd version 2.18.
757 [Steve Hay]
758
759 - Got rid of a redundant double-backslash in a character
760 class. [Alexander Farber]
761
762 - Added much markup to pod for enhanced readability. [Andy Lester]
763
764File::Spec 0.87 Fri Dec 19 08:03:28 CST 2003
765
766 - With a one-line change in the tests, backported to perl 5.004.
767 [Issue reported by Barry Kemble]
768
769File::Spec 0.86 Fri Sep 26 10:07:39 CDT 2003
770
771 - This is the version released with perl 5.8.1. It is identical to
772 the code in the File::Spec beta 0.85_03.
773
774File::Spec 0.85_03 Mon Sep 15 09:35:53 CDT 2003
775
776 - On VMS, if catpath() receives volume specifiers in both its first
777 two arguments, it will now use the volume in the first argument
778 only. Previously it returned a non-syntactical result which
779 included both volumes. This change is the same in spirit to the
780 catpath() MacOS change from version 0.85_02.
781
782 - Fixed an abs2rel() bug on VMS - previously
783 abs2rel('[t1.t2.t3]file','[t1.t2]') returned '[t3]file', now it
784 properly returns '[.t3]file'.
785
786File::Spec 0.85_02 Fri Sep 12 17:11:13 CDT 2003
787
788 - abs2rel() now behaves more consistently across platforms with the
789 notion of a volume. If the volumes of the first and second
790 argument (the second argument may be implicit) do not agree, we do
791 not attempt to reconcile the paths, and simply return the first
792 argument. Previously the volume of the second argument was
793 (usually) ignored, resulting in sometimes-garbage output.
794
795 - catpath() on MacOS now looks for a volume element (i.e. "Macintosh HD:")
796 in its first argument, and then its second argument. The first
797 volume found will be used, and if none is found, none will be used.
798
799 - Fixed a problem in abs2rel() on Win32 in which the volume of the
800 current working directory would get added to the second argument if
801 none was specified. This might have been somewhat helpful, but it
802 was contrary to the documented behavior. For example,
803 abs2rel('C:/foo/bar', '/foo') used to return 'bar', now it returns
804 'C:/foo/bar' because there's no guarantee /foo is actually C:/foo .
805
806 - catdir('/', '../') on OS2 previously erroneously returned '//..',
807 and now it returns '/'.
808
809File::Spec 0.85_01 Thu Sep 11 16:18:54 CDT 2003
810
811 Working toward 0.86, the version that will be released with perl 5.8.1.
812
813 - The t/rel2abs2rel.t test now is a little friendlier about emitting
814 its diagnostic debugging output. [Jarkko Hietaniemi]
815
816 - We now only require() Cwd when it's needed, on demand. [Michael
817 Schwern, Tels]
818
819 - Fixed some POD errors and redundancies in OS2.pm and Cygwin.pm.
820 [Michael Schwern]
821
822 - The internal method cwd() has been renamed to _cwd(), since it was
823 never meant for public use. [Michael Schwern]
824
825 - Several methods in File::Spec::Unix that just return constant
826 strings have been sped up. catdir() has also been sped up there.
827 [Tels]
828
829 - Several canonpath() and catdir() bugs on Win32 have been fixed, and
830 tests added for them:
831 catdir('/', '../') -> '\\' (was '\..')
832 catdir('/', '..\\') -> '\\ (was '')
833 canonpath('\\../') -> '\\' (was '')
834 canonpath('\\..\\') -> '\\' (was '')
835 canonpath('/../') -> '\\' (was '\..')
836 canonpath('/..\\') -> '\\' (was '')
837 catdir('\\', 'foo') -> '\foo' (was '\\foo')
838
839 - catpath($volume, $dirs, $file) on Mac OS now ignores any volume
840 that might be part of $dirs, enabling catpath($volume,
841 catdir(rootdir(), 'foo'), '') to work portably across platforms.
842
843File::Spec 0.85 Tue Jul 22 11:31 CDT 2003
844
845 A bug-fix release relative to 0.84. I've forked development into a
846 "stable" branch (this one) and a more aggressive branch (as yet
847 unreleased), with an eye toward getting the stable features in perl
848 5.8.1.
849
850 - File::Spec::Mac->case_tolerant() returned 0 when it should have
851 returned 1.
852
853 - Many cases in File::Spec::Win32->abs2rel() were broken, because of
854 the way in which volumes were/weren't ignored. Unfortunately, part
855 of the regression tests were broken too. Now, if the $path
856 argument to abs2rel() is on a different volume than the $base
857 argument, the result will be an absolute path rather than the
858 broken relative path previous versions returned.
859
860 - Fixed a problem in File::Spec::Win32->canonpath, which was turning
861 \../foo into "foo" rather than \foo
862
863 - Greatly simplified the code in File::Spec::Unix->splitdir().
864
865File::Spec 0.84_01 Fri Jul 11 16:14:29 CDT 2003
866
867 No actual code changes, just changes in other distribution files
868
869 - Dependencies are now listed explicitly in the Makefile.PL and
870 Build.PL scripts, as well as in the META.yml file.
871
872 - The t/abs2rel2abs.t test should now be more friendly about skipping
873 on platforms where it can't run properly.
874
875File::Spec 0.84 Wed Jul 9 22:21:23 CDT 2003
876
877 I (Ken)'ve taken the changes from bleadperl and created a new CPAN release
878 from them, since they're pretty important changes. The highlights,
879 from what I can tell, are listed here.
880
881 - A huge number of changes to File::Spec::Mac in order to bring it in
882 line with the other platforms. This work was mostly/completely
883 done by Thomas Wegner.
884
885 - The Epoc and Cygwin platforms are now supported.
886
887 - Lots of generically-applicable documentation has been taken from
888 File::Spec::Unix and put in File::Spec.
889
890 - A Build.PL has been provided for people who wish to install via
891 Module::Build.
892
893 - Some spurious warnings and errors in the tests have been
894 eliminated. [Michael Schwern]
895
896 - canonpath() on File::Spec::Unix now honors a //node-name at the
897 beginning of a path.
898
899 - Cwd.pm wasn't being loaded properly on MacOS. [Chris Nandor]
900
901 - Various POD fixups
902
903 - Several testing patches for the Epoc and Cygwin platforms [Tels]
904
905 - When running under taint mode and perl >= 5.8, all the tmpdir()
906 implementations now avoid returning a tainted path.
907
908 - File::Spec::OS2 now implements canonpath(), splitpath(),
909 splitdir(), catpath(), abs2rel(), and rel2abs() directly rather
910 than inheriting them from File::Spec::Unix.
911
912 - Added 'SYS:/temp' and 'C:/temp' to the list of possible tmpdir()s
913 on Win32.
914
915 - catfile() on Win32 and VMS will now automatically call canonpath()
916 on its final argument.
917
918 - canonpath() on Win32 now does a much more extensive cleanup of the
919 path.
920
921 - abs2rel() on Win32 now defaults to using cwd() as the base of
922 relativity when no base is given.
923
924 - abs2rel() on Win32 now explicitly ignores any volume component in
925 the $path argument.
926
927 - canonpath() on VMS now does []foo ==> foo, and foo.000000] ==> foo].
928 It also fixes a bug in multiple [000000.foo ==> [foo translations.
929
930 - tmpdir() on VMS now uses 'sys$scratch:' instead of 'sys$scratch'.
931
932 - abs2rel() on VMS now uses '000000' in both the path and the base.
933
934File::Spec 0.82 Wed Jun 28 11:24:05 EDT 2000
935 - Mac.pm: file_name_is_absolute( '' ) now returns TRUE on all platforms
936 - Spec.pm: unbreak C<$VERSION = '0.xx'> to be C<$VERSION = 0.xx>, so
937 underscores can be used when I want to update CPAN without anyone
938 needing to update the perl repository.
939 - abs2rel, rel2abs doc tweaks
940 - VMS.pm: get $path =~ /\s/ checks from perl repository.
941 - Makefile.PL: added INSTALLDIRS => 'perl', since these are std. modules.
942 - Remove vestigial context prototypes from &rel2abs until some future
943 arrives where method prototypes are honored.