1 Revision history for Perl distribution PathTools.
3 3.28_03 - Mon Oct 27 22:12:11 2008
5 - In Cwd.pm, pass the un-munged $VERSION to XSLoader/DynaLoader,
6 otherwise development releases fail tests on Win32.
8 3.28_02 - Mon Oct 27 20:13:11 2008
10 - Fixed some issues on QNX/NTO related to paths with double
11 slashes. [Matt Kraai & Nicholas Clark]
13 3.28_01 - Fri Jul 25 21:18:11 2008
15 - Fixed and clarified the behavior of splitpath() with a $no_file
16 argument on VMS. [Craig A. Berry, Peter Edwards]
18 - Removed some function prototypes and other Perl::Critic violations.
20 - canonpath() and catdir() and catfile() on Win32 now make an
21 explicit (and unnecessary) copy of their arguments right away,
22 because apparently if we don't, we sabotage all of Win32dom. [RT
25 - The Makefile.PL now has 'use 5.005;' to explicitly show what
26 minimum version of perl we support. [Spotted by Alexandr Ciornii]
28 3.2701 - Mon Feb 11 21:43:51 2008
30 - Fixed an edge case for Win32 catdir('C:', 'foo') and catfile('C:',
31 'foo.txt') (which the caller's not really supposed to do, that's
32 what catpath() is for) that changed between versions. Now we're
33 back to the old behavior, which was to return C:\foo and C:\foo.txt .
36 3.27 - Wed Jan 16 20:20:49 2008
38 - If strlcpy() and strlcat() aren't available on the user's system,
39 we now use ppport.h to provide them, so our C code works. [Steve
42 - Upgraded to a newer version of ppport.h [Steve Peters]
44 3.26 - Sun Jan 13 21:59:20 2008
46 - case_tolerant() on Cygwin will now avoid a painful death when
47 Cygwin::mount_flags() isn't defined, as is the case for perl <
48 5.10. It will now just return 1, which is what it always did
49 before it got so smart. [Spotted by Emanuele Zeppieri]
51 - abs_path() on Unix(ish) platforms has been upgraded to a much later
52 version of the underlying C code from BSD. [Michael Schwern]
54 3.2501 - Mon Dec 24 20:33:02 2007
56 - Reimplemented abs_path() on VMS to use
57 VMS::Filespec::vms_realpath() when it's available. [John E. Malmberg]
59 - tmpdir() on Cygwin now also looks in $ENV{TMP} and $ENV{TEMP}.
61 - case_tolerant() on Cygwin and Win32 now take an optional path
62 argument, defaulting to the C drive, to check for case tolerance,
63 because this fact can vary on different volumes.
65 - File::Spec on Unix now uses Cwd::getcwd() rather than Cwd::cwd() to
66 get the current directory because I guess someone on p5p thought it
69 - Added a large set of File::Spec tests for the Cygwin platform.
71 - abs_path() now behaves correctly with symbolic links on VMS.
73 - Someone fixed a couple of mysterious edge cases in VMS' canonpath()
76 3.25_01 - Sat Oct 13 21:13:57 2007
78 - Major fixes on Win32, including a rewrite of catdir(), catfile(),
79 and canonpath() in terms of a single body of code. [Heinrich Tegethoff]
81 - For Win32 and Cygwin, case-tolerance can vary depending on the
82 volume under scrutiny. When Win32API::File is available, it will
83 be employed to determine case-sensitivity of the given filesystem
84 (C: by default), otherwise we still return the default of 1. [Reini
87 - On Cygwin, we added $ENV{'TMP'} and $ENV{'TEMP'} to the list of
88 possible places to look for tmpdir() return values. [Reini Urban]
90 - Added lots more tests for Cygwin. [Reini Urban]
92 - canonpath() with no arguments and canonpath(undef) now consistently
93 return undef on all platforms. [Spotted by Peter John Edwards]
95 - Fixed splitdir('') and splitdir(undef) and splitdir() to return an
96 empty list on VMS and MacOS, like it does on other platforms.
99 - All .pm files now have the same $VERSION number, rather than a
100 hodgepodge of various numbers.
102 3.25 - Mon May 21 21:07:26 2007
104 - Added a workaround for auto-vivication-of-function-args Perl bug
105 (triggered by OS/2-specific code). [Ilya Zakharevich]
107 - Sync with a bleadperl change: miniperl can no longer use Win32::*
108 functions because it cannot load Win32.dll. [Jan Dubois]
110 - We only need to load ppport.h when building outside the core, so we
111 avoid using it when in the core.
113 3.24 - Sun Nov 19 22:52:49 2006
115 - Fixed a bug in the $ENV{PWD}-updating of Cwd::chdir() when a
116 dirhandle is passed in. [Steve Peters]
118 - Add perl 5.005 to the list of requirements in the
119 Build.PL/Makefile.PL/META.yml.
121 - Add ExtUtils::CBuilder to the list of build_requires in Build.PL.
123 - Improved performance of canonpath() on Unix-ish platforms - on my
124 OS X laptop it looks like it's about twice as fast. [Ruslan Zakirov]
126 3.23 - Wed Oct 11 12:11:25 2006
128 - Yet more Win32 fixes (sigh... seems like I'm fighting a neverending
129 waterbed...). This time, fixed file_name_is_absolute() to know
130 what it's doing when the path includes a volume but a relative
131 path, like C:foo.txt . This bug had impact in rel2abs() on Win32
134 3.22 - Mon Oct 9 21:50:52 2006
136 - Fixed the t/crossplatform.t test on Win32 (and possibly other
137 volume-aware platforms) now that rel2abs() always adds a drive
138 letter. [Reported by several parties]
140 3.21 - Wed Oct 4 21:16:43 2006
142 - Added a bunch of X<> tags to the File::Spec docs to help
143 podindex. [Gabor Szabo]
145 - On Win32, abs2rel('C:\one\two\t\foo', 't\bar') should return
146 '..\foo' when the cwd is 'C:\one\two', but it wasn't noticing that
147 the two relevant volumes were the same so it would return the full
148 path 'C:\one\two\t\foo'. This is fixed. [Spotted by Alexandr
151 - On Win32, rel2abs() now always adds a volume (drive letter) if the
152 given path doesn't have a volume (drive letter or UNC volume).
153 Previously it could return a value that didn't have a volume if the
154 input was a semi-absolute path like /foo/bar instead of a
155 fully-absolute path like C:/foo/bar .
157 3.19 Tue Jul 11 22:40:26 CDT 2006
159 - When abs2rel() is called with two relative paths
160 (e.g. abs2rel('foo/bar/baz', 'foo/bar')) the resolution algorithm
161 needlessly called cwd() (twice!) to turn both arguments into
162 absolute paths. Now it avoids the cwd() calls with a workaround,
163 making a big efficiency win when abs2rel() is called
164 repeatedly. [Brendan O'Dea]
166 - Added a build-time dependency on ExtUtils::Install version 1.39
167 when on Windows. This is necessary because version 1.39 knows how
168 to replace an in-use Cwd shared library, but previous versions
169 don't. [Suggested by Adam Kennedy]
171 - Fixed File::Spec::Win32->canonpath('foo/../bar'), which was
172 returning \bar, and now properly returns just bar. [Spotted by
175 3.18 Thu Apr 27 22:01:38 CDT 2006
177 - Fixed some problems on VMS in which a directory called "0" would be
178 treated as a second-class citizen. [Peter (Stig) Edwards]
180 - Added a couple of regression tests to make sure abs2rel('/foo/bar',
181 '/') works as expected. [Chia-liang Kao]
183 - Added a couple of regression tests to make sure catdir('/',
184 'foo/bar') works as expected. [Mark Grimes]
186 3.17 Fri Mar 3 16:52:30 CST 2006
188 - The Cygwin version of Cwd::cwd() will croak if given any arguments
189 (which can happen if, for example, it's called as Cwd->cwd). Since
190 that croaking is bad, we now wrap the original cwd() in a
191 subroutine that ignores its arguments. We could skip this wrapping
192 if a future version of perl changes cygwin.c's cwd() to not barf
193 when fed an argument. [Jerry D. Hedden]
195 3.16 Mon Jan 30 20:48:41 CST 2006
197 - Updated to version 3.06 of ppport.h, which provides backward
198 compatibility XS layers for older perl versions.
200 - Clarify in the docs for File::Spec's abs2rel() and rel2abs()
201 methods that the cwd() function it discusses is
202 Cwd::cwd(). [Spotted by Steven Lembark]
204 - Apparently the version of File::Path that ships with perl 5.8.5
205 (and perhaps others) calls Cwd::getcwd() with an argument (perhaps
206 as a method?), which causes it to die with a prototyping error.
207 We've eliminated the prototype by using the "(...)" arglist, since
208 "PROTOTYPE: DISABLE" for the function didn't seem to work. [Spotted
209 by Eamon Daly and others]
211 3.15 Tue Dec 27 14:17:39 CST 2005
213 - The Cwd::getcwd() function on *nix is now a direct pass-through to
214 the underlying getcwd() C library function when possible. This is
215 safer and faster than the previous implementation, which just did
216 abs_path('.'). The pure-perl version has been kept for cases in
217 which the XS version can't load, such as when running under
218 miniperl. [Suggested by Nick Ing-Simmons]
220 - When Cwd searches for a 'pwd' executable in the $PATH, we now stop
221 after we find the first one rather than continuing the search. We
222 also avoid the $PATH search altogether when a 'pwd' was already
223 found in a well-known and well-trusted location like /bin or
224 /usr/bin. [Suggested by Nick Ing-Simmons]
226 - On Win32 abs2rel($path, $base) was failing whenever $base is the
227 root of a volume (such as C:\ or \\share\dir). This has been
228 fixed. [Reported by Bryan Daimler]
230 - In abs2rel() on VMS, we've fixed handling of directory trees so
231 that the test $file = File::Spec::VMS->abs2rel('[t1.t2.t3]file',
232 '[t1.t2.t3]') returns 'file' instead of an empty string. [John
235 - In canonpath() on VMS, '[]' was totally optimized away instead of
236 just returning '[]'. Now it's fixed. [John E. Malmberg]
238 3.14 Thu Nov 17 18:08:44 CST 2005
240 - canonpath() has some logic in it that avoids collapsing a
241 //double/slash at the beginning of a pathname on platforms where
242 that means something special. It used to check the value of $^O
243 rather than the classname it was called as, which meant that
244 calling File::Spec::Cygwin->canonpath() didn't act like cygwin
245 unless you were actually *on* cygwin. Now it does.
247 - Fixed a major bug on Cygwin in which catdir() could sometimes
248 create things that look like //network/paths in cases when it
249 shouldn't (e.g. catdir("/", "foo", "bar")).
251 3.13 Tue Nov 15 23:50:37 CST 2005
253 - Calling tmpdir() on Win32 had the unintended side-effect of storing
254 some undef values in %INC for the TMPDIR, TEMP, and TMP entries if
255 they didn't exist already. This is probably a bug in perl itself
256 (submitted as #37441 on rt.perl.org), which we're now working
257 around. [Thomas L. Shinnick]
259 - Integrated a change from bleadperl - a certain #ifdef in Cwd.xs
260 needs to apply to WIN32 but not WinCE. [Vadim Konovalov]
262 - abs2rel() used to return the empty string when its two arguments
263 were identical, which made no sense. Now it returns
264 curdir(). [Spotted by David Golden]
266 - The Unix and Win32 implementations of abs2rel() have been unified.
268 3.12 Mon Oct 3 22:09:12 CDT 2005
270 - Fixed a testing error on OS/2 in which a drive letter for the root
271 directory was confusing things. [Ilya Zakharevich]
273 - Integrated a patch from bleadperl for fixing path() on
276 3.11 Sat Aug 27 20:12:55 CDT 2005
278 - Fixed a couple of typos in the documentation for
279 File::Spec::Mac. [Piotr Fusik]
281 3.10 Thu Aug 25 22:24:57 CDT 2005
283 - eliminate_macros() and fixpath() in File::Spec::VMS are now
284 deprecated, since they are MakeMaker-specific and now live inside
285 MakeMaker. [Michael Schwern]
287 - canonpath() on Win32 now collapses foo/.. (or foo\..) sections
288 correctly, rather than doing the "misguided" work it was previously
289 doing. Note that canonpath() on Unix still does NOT collapse these
290 sections, as doing so would be incorrect. [Michael Schwern]
292 3.09 Tue Jun 14 20:36:50 CDT 2005
294 - Added some block delimiters (brackets) in the Perl_getcwd_sv() XS
295 function, which were necessary to separate the variable
296 declarations from the statements when HAS_GETCWD is not
299 - Apparently the _NT_cwd() routine is never defined externally like I
300 thought it was, so I simplified the code around it.
302 - When cwd() is implemented using the _backtick_pwd() function, it
303 sometimes could create accidental undef entries in %ENV under perl
304 5.6, because local($hash{key}) is somewhat broken. This is now
305 fixed with an appropriate workaround. [Neil Watkiss]
307 3.08 Sat May 28 10:10:29 CDT 2005
309 - Fixed a test failure with fast_abs_path() on Windows - it was
310 sensitive to the rootdir() change from version 3.07. [Steve Hay]
312 3.07 Fri May 6 07:46:45 CDT 2005
314 - Fixed a bug in which the special perl variable $^O would become
315 tainted under certain versions of perl. [Michael Schwern]
317 - File::Spec->rootdir() was returning / on Win32. Now it returns \ .
320 - We now avoid modifying @_ in tmpdir() when it's not strictly
321 necessary, which reportedly provides a modest performance
322 boost. [Richard Soderberg]
324 - Made a couple of slight changes to the Win32 code so that it works
325 (or works better) on Symbian OS phones. [Jarkko Hietaniemi]
327 3.06 Wed Apr 13 20:47:26 CDT 2005
329 (No changes in functionality)
331 - Added a note to the canonpath() docs about why it doesn't collapse
334 - The internal-only function bsd_realpath() in the XS file now uses
335 normal arg syntax instead of K&R syntax. [Nicholas Clark]
337 3.05 Mon Feb 28 07:22:58 CST 2005
339 - Fixed a bug in fast_abs_path() on Win32 in which forward- and
340 backward-slashes were confusing things. [demerphq]
342 - Failure to load the XS code in Cwd is no longer a fatal error
343 (though failure to compile it is still a fatal error in the build
344 process). This lets Cwd work under miniperl in the core. [Rafael
347 - In the t/cwd.t test, don't enforce loading from blib/ if we're
348 testing in the perl core. [Rafael Garcia-Suarez]
350 3.04 Sun Feb 6 17:27:38 CST 2005
352 - For perls older than 5.006, the HAS_GETCWD symbol is not available,
353 because it wasn't checked for in older Configure scripts when perl
354 was built. We therefore just ask the user whether the getcwd() C
355 function is defined on their platform when their perl is old.
356 Maybe in the future we'll try to automate this. [Reported by
359 - Remove lib/ppport.h from the distribution, so that MakeMaker
360 doesn't accidentally pick it up and install it as a lib
363 - Fixed a testing error on VMS that occurred when a user had
364 read-access to the root of the current volume. [Craig A. Berry]
366 3.03 Fri Jan 21 21:44:05 CST 2005
368 - Fixed a testing error if the first file we find in the root
369 directory is a symlink. [Blair Zajac]
371 - Added a test to make sure Cwd.pm is loaded from blib/ during
372 testing, which seems to be an issue in some people's environments
373 and makes it awfully hard to debug things on my end.
375 - Skip the _perl_abs_path() tests on Cygwin - they don't usually
376 pass, and this function isn't used there anyway, so I decided not
377 to push it. Let 'em use `cwd`.
379 3.02 Sun Jan 9 19:29:52 CST 2005
381 - Fixed a bug in which Cwd::abs_path() called on a file in the root
382 directory returned strange results. [Bob Luckin]
384 - Straightened out the licensing details for the portion of the Cwd
385 module that comes from BSD sources. [Hugo van der Sanden]
387 - Removed the prototype from _perl_abs_path() and the XS version of
388 abs_path(), since all they seemed to be doing was causing people
389 grief, and since some platforms didn't have them anyway.
391 - Fixed a testing bug in which sometimes the wrong version of Cwd
392 (the version already installed on the user's machine) would get
393 loaded instead of the one we're building & installing.
395 - Sometimes getdcwd() returns a lower-case drive letter, so don't
396 require an upper-case letter in t/win32.t. [Jan Dubois]
398 - Fixed a memory leak in getdcwd() on win32. [Steve Hay]
400 - Added a copy of ppport.h to the distribution to aid compilation on
401 older versions of perl. [Suggested by Charlie Root]
403 - Don't bother looking for a 'pwd' executable on MSWin32 - there
404 won't be one, and looking for it can be extremely slow when lots of
405 disks are mounted. [Several people, including Andrew Burke]
407 - Eliminated a multi-argument form of open() that was causing a
408 syntax error on older versions of perl. [Fixed by Michael Schwern]
410 - The bug-fix changes for revision 0.90 of File::Spec somehow were
411 lost when I merged it into the PathTools distribution. They're
412 restored now. [Craig A. Berry]
414 - File::Spec->canonpath() will now reduce paths like '[d1.-]foo.dat'
415 down to '[000000]foo.dat' instead of '[]foo.dat' or 'foo.dat'.
416 This is in better accordance with the native filename syntax
417 parser. [Craig A. Berry]
419 - In order to remove a recursive dependency (PathTools -> Test-Simple
420 -> Test-Harness -> PathTools), we now include a copy of Test::More in
421 the distribution. It is only used for testing, it won't be installed
422 with the rest of the stuff.
424 - Removed some 5.6-isms from Cwd in order to get it to build with
425 older perls like 5.005.
427 - abs_path() on Windows was trampling on $ENV{PWD} - fixed. [Spotted
430 - Added licensing/copyright statements to the POD in each .pm
431 file. [Spotted by Radoslaw Zielinski]
433 3.01 Mon Sep 6 22:28:06 CDT 2004
435 - Removed an unnecessary and confusing dependency on File::Spec from
436 the Makefile.PL and the Build.PL.
438 - Added a 'NAME' entry to the Makefile.PL, because otherwise it won't
439 even begin to work. [Reported by many]
441 3.00 Thu Sep 2 22:15:07 CDT 2004
443 - Merged Cwd and File::Spec into a single PathTools distribution.
444 This was done because the two modules use each other fairly
445 extensively, and extracting the common stuff into another
446 distribution was deemed nigh-impossible. The code in revision 3.00
447 of PathTools should be equivalent to the code in Cwd 2.21 and
450 ==================================================================
451 Prior to revision 3.00, Cwd and File::Spec were maintained as two
452 separate distributions. The revision history for Cwd is shown here.
453 The revision history for File::Spec is further below.
454 ==================================================================
456 Cwd 2.21 Tue Aug 31 22:50:14 CDT 2004
458 - Removed "NO_META" from the Makefile.PL, since I'm not building the
459 distribution with MakeMaker anyway. [Rohan Carly]
461 - Only test _perl_abs_path() on platforms where it's expected to work
462 (platforms with '/' as the directory separator). [Craig A. Berry]
464 Cwd 2.20 Thu Jul 22 08:23:53 CDT 2004
466 - On some implementations of perl on Win32, a memory leak (or worse?)
467 occurred when calling getdcwd(). This has been fixed. [PodMaster]
469 - Added tests for getdcwd() on Win32.
471 - Fixed a problem in the pure-perl implementation _perl_abs_path()
472 that caused a fatal error when run on plain files. [Nicholas Clark]
473 To exercise the appropriate test code on platforms that wouldn't
474 otherwise use _perl_abs_path(), run the tests with $ENV{PERL_CORE}
475 or $ENV{TEST_PERL_CWD_CODE} set.
477 Cwd 2.19 Thu Jul 15 08:32:18 CDT 2004
479 - The abs_path($arg) fix from 2.18 didn't work for VMS, now it's
480 fixed there. [Craig Berry]
482 Cwd 2.18 Thu Jun 24 08:22:57 CDT 2004
484 - Fixed a problem in which abs_path($arg) on some platforms could
485 only be called on directories, and died when called on files. This
486 was a problem in the pure-perl implementation _perl_abs_path().
488 - Fixed fast_abs_path($arg) in the same way as abs_path($arg) above.
490 - On Win32, a function getdcwd($vol) has been added, which gets the
491 current working directory of the specified drive/volume.
494 - Fixed a problem on perl 5.6.2 when built with the MULTIPLICITY
495 compile-time flags. [Yitzchak Scott-Thoennes]
497 - When looking for a `pwd` system command, we no longer assume the
498 path separator is ':'.
500 - On platforms where cwd() is implemented internally (like Win32),
501 don't look for a `pwd` command externally. This can greatly speed
502 up load time. [Stefan Scherer]
504 - The pure-perl version of abs_path() now has the same prototype as
507 Cwd 2.17 Wed Mar 10 07:55:36 CST 2004
509 - The change in 2.16 created a testing failure when tested from
510 within a path that contains symlinks (for instance, /tmp ->
513 Cwd 2.16 Sat Mar 6 17:56:31 CST 2004
515 - For VMS compatibility (and to conform to Cwd's documented
516 interface), in the regression tests we now compare output results
517 to an absolute path. [Craig A. Berry]
519 Cwd 2.15 Fri Jan 16 08:09:44 CST 2004
521 - Fixed a problem on static perl builds - while creating
522 Makefile.aperl, it was loading a mismatched version of Cwd from
523 blib/ . [Reported by Blair Zajac]
525 Cwd 2.14 Thu Jan 8 18:51:08 CST 2004
527 - We now use File::Spec->canonpath() and properly-escaped regular
528 expressions when comparing paths in the regression tests. This
529 fixes some testing failures in 2.13 on non-Unix platforms. No
530 changes were made in the actual Cwd module code. [Steve Hay]
532 Cwd 2.13 Fri Jan 2 22:29:42 CST 2004
534 - Changed a '//' comment to a '/* */' comment in the XS code, so that
535 it'll compile properly under ANSI C rules. [Jarkko Hietaniemi]
537 - Fixed a 1-character buffer overrun problem in the C code. [The BSD
540 Cwd 2.12 Fri Dec 19 17:04:52 CST 2003
542 - Fixed a bug on Cygwin - the output of realpath() should have been
543 tainted, but wasn't. [Reported by Tom Wyant]
545 Cwd 2.10 Mon Dec 15 07:50:12 CST 2003
547 (Note that this release was mistakenly packaged as version 2.11, even
548 though it had an internal $VERSION variable of 2.10. Not sure how
551 - There was a dependency in the Makefile.PL on Module::Build, which
552 isn't necessary. I've removed it.
554 Cwd 2.09 Thu Dec 11 20:30:58 CST 2003
556 - The module should now build & install using version 5.6 of perl.
558 - We now note a build-time dependency on version 0.19 of
559 Module::Build, which is necessary because we don't use the standard
560 lib/-based file layout. No version of Module::Build is required if
561 you use the Makefile.PL, just if you use the Build.PL .
563 - Removed some gratuitous uses of 5.6-isms like our(), with the aim
564 of backporting this module to perl 5.005.
566 - Simplified all code that autoloads Carp.pm and calls
569 - Removed some redundant OS/2 code at the suggestion of Michael
570 Schwern and Ilya Zakharevich.
572 - Make sure the correct version of Cwd.pm is loaded in the regression
575 Cwd 2.08 Wed Oct 15 20:56 CDT 2003
577 - Code extracted from perl 5.8.1 and packaged as a separate CPAN
578 release by Ken Williams.
580 ==================================================================
581 Prior to revision 3.00, Cwd and File::Spec were maintained as two
582 separate distributions. The revision history for File::Spec is shown
583 here. The revision history for Cwd is above.
584 ==================================================================
586 File::Spec 0.90 Tue Aug 31 22:34:50 CDT 2004
588 - On VMS, directories use vmspath() and files use vmsify(), so
589 rel2abs() has to use some 'educated guessing' when dealing with
590 paths containing slashes. [Craig A. Berry]
592 File::Spec 0.89 Sun Aug 29 19:02:32 CDT 2004
594 - Fixed some pathological cases on VMS which broke canonpath() and
595 splitdir(). [Richard Levitte and Craig A. Berry]
597 - Fixed rel2abs() on VMS when passed a unix-style relative
598 path. [Craig A. Berry]
600 File::Spec 0.88 Thu Jul 22 23:14:32 CDT 2004
602 - rel2abs() on Win32 will now use the new Cwd::getdcwd() function, so
603 that things like rel2abs('D:foo.txt') work properly when the
604 current drive isn't 'D'. This requires Cwd version 2.18.
607 - Got rid of a redundant double-backslash in a character
608 class. [Alexander Farber]
610 - Added much markup to pod for enhanced readability. [Andy Lester]
612 File::Spec 0.87 Fri Dec 19 08:03:28 CST 2003
614 - With a one-line change in the tests, backported to perl 5.004.
615 [Issue reported by Barry Kemble]
617 File::Spec 0.86 Fri Sep 26 10:07:39 CDT 2003
619 - This is the version released with perl 5.8.1. It is identical to
620 the code in the File::Spec beta 0.85_03.
622 File::Spec 0.85_03 Mon Sep 15 09:35:53 CDT 2003
624 - On VMS, if catpath() receives volume specifiers in both its first
625 two arguments, it will now use the volume in the first argument
626 only. Previously it returned a non-syntactical result which
627 included both volumes. This change is the same in spirit to the
628 catpath() MacOS change from version 0.85_02.
630 - Fixed an abs2rel() bug on VMS - previously
631 abs2rel('[t1.t2.t3]file','[t1.t2]') returned '[t3]file', now it
632 properly returns '[.t3]file'.
634 File::Spec 0.85_02 Fri Sep 12 17:11:13 CDT 2003
636 - abs2rel() now behaves more consistently across platforms with the
637 notion of a volume. If the volumes of the first and second
638 argument (the second argument may be implicit) do not agree, we do
639 not attempt to reconcile the paths, and simply return the first
640 argument. Previously the volume of the second argument was
641 (usually) ignored, resulting in sometimes-garbage output.
643 - catpath() on MacOS now looks for a volume element (i.e. "Macintosh HD:")
644 in its first argument, and then its second argument. The first
645 volume found will be used, and if none is found, none will be used.
647 - Fixed a problem in abs2rel() on Win32 in which the volume of the
648 current working directory would get added to the second argument if
649 none was specified. This might have been somewhat helpful, but it
650 was contrary to the documented behavior. For example,
651 abs2rel('C:/foo/bar', '/foo') used to return 'bar', now it returns
652 'C:/foo/bar' because there's no guarantee /foo is actually C:/foo .
654 - catdir('/', '../') on OS2 previously erroneously returned '//..',
655 and now it returns '/'.
657 File::Spec 0.85_01 Thu Sep 11 16:18:54 CDT 2003
659 Working toward 0.86, the version that will be released with perl 5.8.1.
661 - The t/rel2abs2rel.t test now is a little friendlier about emitting
662 its diagnostic debugging output. [Jarkko Hietaniemi]
664 - We now only require() Cwd when it's needed, on demand. [Michael
667 - Fixed some POD errors and redundancies in OS2.pm and Cygwin.pm.
670 - The internal method cwd() has been renamed to _cwd(), since it was
671 never meant for public use. [Michael Schwern]
673 - Several methods in File::Spec::Unix that just return constant
674 strings have been sped up. catdir() has also been sped up there.
677 - Several canonpath() and catdir() bugs on Win32 have been fixed, and
678 tests added for them:
679 catdir('/', '../') -> '\\' (was '\..')
680 catdir('/', '..\\') -> '\\ (was '')
681 canonpath('\\../') -> '\\' (was '')
682 canonpath('\\..\\') -> '\\' (was '')
683 canonpath('/../') -> '\\' (was '\..')
684 canonpath('/..\\') -> '\\' (was '')
685 catdir('\\', 'foo') -> '\foo' (was '\\foo')
687 - catpath($volume, $dirs, $file) on Mac OS now ignores any volume
688 that might be part of $dirs, enabling catpath($volume,
689 catdir(rootdir(), 'foo'), '') to work portably across platforms.
691 File::Spec 0.85 Tue Jul 22 11:31 CDT 2003
693 A bug-fix release relative to 0.84. I've forked development into a
694 "stable" branch (this one) and a more aggressive branch (as yet
695 unreleased), with an eye toward getting the stable features in perl
698 - File::Spec::Mac->case_tolerant() returned 0 when it should have
701 - Many cases in File::Spec::Win32->abs2rel() were broken, because of
702 the way in which volumes were/weren't ignored. Unfortunately, part
703 of the regression tests were broken too. Now, if the $path
704 argument to abs2rel() is on a different volume than the $base
705 argument, the result will be an absolute path rather than the
706 broken relative path previous versions returned.
708 - Fixed a problem in File::Spec::Win32->canonpath, which was turning
709 \../foo into "foo" rather than \foo
711 - Greatly simplified the code in File::Spec::Unix->splitdir().
713 File::Spec 0.84_01 Fri Jul 11 16:14:29 CDT 2003
715 No actual code changes, just changes in other distribution files
717 - Dependencies are now listed explicitly in the Makefile.PL and
718 Build.PL scripts, as well as in the META.yml file.
720 - The t/abs2rel2abs.t test should now be more friendly about skipping
721 on platforms where it can't run properly.
723 File::Spec 0.84 Wed Jul 9 22:21:23 CDT 2003
725 I (Ken)'ve taken the changes from bleadperl and created a new CPAN release
726 from them, since they're pretty important changes. The highlights,
727 from what I can tell, are listed here.
729 - A huge number of changes to File::Spec::Mac in order to bring it in
730 line with the other platforms. This work was mostly/completely
731 done by Thomas Wegner.
733 - The Epoc and Cygwin platforms are now supported.
735 - Lots of generically-applicable documentation has been taken from
736 File::Spec::Unix and put in File::Spec.
738 - A Build.PL has been provided for people who wish to install via
741 - Some spurious warnings and errors in the tests have been
742 eliminated. [Michael Schwern]
744 - canonpath() on File::Spec::Unix now honors a //node-name at the
747 - Cwd.pm wasn't being loaded properly on MacOS. [Chris Nandor]
751 - Several testing patches for the Epoc and Cygwin platforms [Tels]
753 - When running under taint mode and perl >= 5.8, all the tmpdir()
754 implementations now avoid returning a tainted path.
756 - File::Spec::OS2 now implements canonpath(), splitpath(),
757 splitdir(), catpath(), abs2rel(), and rel2abs() directly rather
758 than inheriting them from File::Spec::Unix.
760 - Added 'SYS:/temp' and 'C:/temp' to the list of possible tmpdir()s
763 - catfile() on Win32 and VMS will now automatically call canonpath()
764 on its final argument.
766 - canonpath() on Win32 now does a much more extensive cleanup of the
769 - abs2rel() on Win32 now defaults to using cwd() as the base of
770 relativity when no base is given.
772 - abs2rel() on Win32 now explicitly ignores any volume component in
775 - canonpath() on VMS now does []foo ==> foo, and foo.000000] ==> foo].
776 It also fixes a bug in multiple [000000.foo ==> [foo translations.
778 - tmpdir() on VMS now uses 'sys$scratch:' instead of 'sys$scratch'.
780 - abs2rel() on VMS now uses '000000' in both the path and the base.
782 File::Spec 0.82 Wed Jun 28 11:24:05 EDT 2000
783 - Mac.pm: file_name_is_absolute( '' ) now returns TRUE on all platforms
784 - Spec.pm: unbreak C<$VERSION = '0.xx'> to be C<$VERSION = 0.xx>, so
785 underscores can be used when I want to update CPAN without anyone
786 needing to update the perl repository.
787 - abs2rel, rel2abs doc tweaks
788 - VMS.pm: get $path =~ /\s/ checks from perl repository.
789 - Makefile.PL: added INSTALLDIRS => 'perl', since these are std. modules.
790 - Remove vestigial context prototypes from &rel2abs until some future
791 arrives where method prototypes are honored.