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