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