From: Gisle Aas Date: Mon, 10 Oct 2005 03:58:09 +0000 (-0700) Subject: Win32::GetShortPathName() does not always return a short name [DOC PATCH] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb6bfc3a256cb62844e9154104335915aca49aea;p=p5sagit%2Fp5-mst-13.2.git Win32::GetShortPathName() does not always return a short name [DOC PATCH] Message-ID: p4raw-id: //depot/perl@25728 --- diff --git a/win32/ext/Win32/Win32.pm b/win32/ext/Win32/Win32.pm index af3f2fe..689bd42 100644 --- a/win32/ext/Win32/Win32.pm +++ b/win32/ext/Win32/Win32.pm @@ -545,9 +545,11 @@ different major/minor version number than Windows XP. =item Win32::GetShortPathName(PATHNAME) -[CORE] Returns a representation of PATHNAME composed only of -short (8.3) path components. The result may not necessarily be -shorter than PATHNAME. Compare with Win32::GetFullPathName and +[CORE] Returns a representation of PATHNAME that is composed of short +(8.3) path components where available. For path components where the +file system has not generated the short form the returned path will +use the long form, so this function might still for instance return a +path containing spaces. Compare with Win32::GetFullPathName and Win32::GetLongPathName. =item Win32::GetProcAddress(INSTANCE, PROCNAME)