Bug in Win32::GetShortPathName
authorGurusamy Sarathy <gsar@engin.umich.edu>
Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)
commite8bab1813b356a0528cd91b657634bace649cd18
tree6fe35d2710be25a1024502ba6db20c0aeeff9779
parentc578f5e04970af2516f26d023e8797da5451c90c
Bug in Win32::GetShortPathName

On Thu, 09 Oct 1997 08:30:55 PDT, "Greg Chapman" wrote:
>I'm using Perl 5.004_02 under WIndows 95 (the latest binary distribution
>available on CPAN).  The Win32::GetShortPathName function does not properly
>truncate the returned string when the short file name is shorter than the
>long name.  Specifically, the returned string looks like:
><ShortFileName><NULL char><characters from the end of the long name (the
>original buffer)>.

Thanks for that report, and here's a patch.

p5p-msgid: 199710092229.SAA21556@aatma.engin.umich.edu
win32/win32.c