diff options
author | Jan Dubois <jand@activestate.com> | 2006-12-28 10:59:40 -0800 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2007-01-03 17:56:16 +0000 |
commit | aa2b96eccca93a6fe7c95af71c0b4a027561512b (patch) | |
tree | ff5fb2fd50f7445230b65a61d28265c94d919226 /win32/win32iop.h | |
parent | 23175d88b839c4a83ec070928df0fae32557300b (diff) | |
download | perl-aa2b96eccca93a6fe7c95af71c0b4a027561512b.tar.gz |
[PATCH] Use short pathnames in $^X and @INC if the long form cannot be represented in the current codepage
Date: Thu, 28 Dec 2006 18:59:40 -0800
Message-ID: <vq09p2p09k6rcu6c9t0mab3vnc335ghg9m@4ax.com>
Subject: Re: [PATCH] Use short pathnames in $^X and @INC if the long form cannot be represented in the current codepage
From: Jan Dubois <jand@ActiveState.com>
Date: Wed, 03 Jan 2007 08:12:35 -0800
Message-ID: <orknp2pj17265modfosjkp2qtt4bdgtgjp@4ax.com>
p4raw-id: //depot/perl@29675
Diffstat (limited to 'win32/win32iop.h')
-rw-r--r-- | win32/win32iop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32iop.h b/win32/win32iop.h index fd0f95890f..b03e9a753c 100644 --- a/win32/win32iop.h +++ b/win32/win32iop.h @@ -132,6 +132,7 @@ DllExport int win32_times(struct tms *timebuf); DllExport unsigned win32_alarm(unsigned int sec); DllExport int win32_stat(const char *path, Stat_t *buf); DllExport char* win32_longpath(char *path); +DllExport char* win32_ansipath(const WCHAR *path); DllExport int win32_ioctl(int i, unsigned int u, char *data); DllExport int win32_link(const char *oldname, const char *newname); DllExport int win32_unlink(const char *f); @@ -239,6 +240,7 @@ END_EXTERN_C #define fstat(fd,bufptr) win32_fstat(fd,bufptr) #define stat(pth,bufptr) win32_stat(pth,bufptr) #define longpath(pth) win32_longpath(pth) +#define ansipath(pth) win32_ansipath(pth) #define rename(old,new) win32_rename(old,new) #define setmode(fd,mode) win32_setmode(fd,mode) #define chsize(fd,sz) win32_chsize(fd,sz) |