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