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