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