gadi reinhorn veyjhbyfbuaeanjperlorg new ticket created gadi reinhorn please include string perl 47117 subject line future correspondence issue bug report perl zkhunvplhmathworkscom generated help perlbug 135 running perl v588 calling rmtree path contains sjis character trailing 0x5c ive debugged issue believe root cause call oldpwd getcwd line 287 perlwin32libfilepathpm way reproduce issue 1 log japanese windows machine 2 cd temporary directory 3 put following code batch file mkdir end cd end mkdir žm cd 4 run batch file 5 run following perl directory sjis characters use filepath use cwd tempdir envtemp mkdirtempdirgadi dirtoremove tempdirgadidummy mkdirdirtoremove resultfromcwd getcwd print resultfromcwd n pwd rmtreedirtoremove get message like following ctempgadiendžmsakernelmatlabsysperlwin32binperlexe swork perlbugbuginrmtreepl ctempgadieendežm ctempgadiendžm cant return ctempgadieendežm ctempgadidummy file directory sworkperlbugbuginrmtreepl line 9 note difference ctempgadieendežm ctempgadiendžm think proves issue call getcwd flags categorylibrary severitymedium perlbug built using perl v588 tue jan 23 155726 2007 executed perl v588 thu jun 7 185255 2007 site configuration information perl v588 configured batserve thu jun 7 185255 2007 summary perl5 revision 5 version 8 subversion 8 configuration platform osnamemswin32 osvers51 archnamemswin32x86multithread uname config_argsundef hintrecommended useposixtrue d_sigactionundef usethreadsdefine use5005threadsundef useithreadsdefine usemultiplicitydefine useperliodefine d_sfioundef uselargefilesdefine usesocksundef use64bitintundef use64bitallundef uselongdoubleundef usemymallocn bincompat5005undef compiler cccl ccflags nologo gf w3 md zi dndebug o1 dwin32 d_console dno_strict dhave_des_fcrypt dperl_implicit_context dperl_implicit_sys duse_perlio dperl_msvcrt_readfix optimizemd zi dndebug o1 cppflagsdwin32 ccversion13103077 gccversion gccosandvers intsize4 longsize4 ptrsize4 doublesize8 byteorder1234 d_longlongundef longlongsize8 d_longdbldefine longdblsize10 ivtypelong ivsize4 nvtypedouble nvsize8 off_t__int64 lseeksize8 alignbytes8 prototypedefine linker libraries ldlink ldflags nologo nodefaultlib debug optreficf libpathmathworkshubshareappsbuildtoolswin32perlperl588tmw022libcore machinex86 libpthcprogram filesmicrosoft visual studio net 2003vc7lib libs oldnameslib kernel32lib user32lib gdi32lib winspoollib comdlg32lib advapi32lib shell32lib ole32lib oleaut32lib netapi32lib uuidlib ws2_32lib mprlib winmmlib versionlib odbc32lib odbccp32lib msvcrtlib perllibs oldnameslib kernel32lib user32lib gdi32lib winspoollib comdlg32lib advapi32lib shell32lib ole32lib oleaut32lib netapi32lib uuidlib ws2_32lib mprlib winmmlib versionlib odbc32lib odbccp32lib msvcrtlib libcmsvcrtlib sodll useshrplibyes libperlperl58lib gnulibc_version dynamic linking dlsrcdl_win32xs dlextdll d_dlsymunundef ccdlflags cccdlflags lddlflagsdll nologo nodefaultlib debug optreficf libpathmathworkshubshareappsbuildtoolswin32perlperl588tmw022libcore machinex86 locally applied patches activeperl_local_patches_entry iin_load_module moved compatibility build 806 avoid signal flag sa_restart older versions hpux perlex support cgicarp less verbose extutilsinstall podfind patch can20050448 debian modifications rearrange inc site searched perl partly reverted 24733 preserve binary compatibility 29930 win32c typo define multiplicity 29868 win32_async_check still loop indefinitely 2969029732 ansify path environment variable windows 29689 add error handling win32_ansipath 29675 use short pathnames x inc 2960729676 allow blibpm used testing win32 module 29605 implement killpg mswin32 29598 cwd return short pathname 29597 let readdir return alternate filename 29590 dont destroy unicode system environment perl startup 29528 get extwin32win32xs compile cygwin 295092951029511 move win32 functions win32 module 29483 move win32 win32extwin32 extwin32 29481 makefilepl changes compile win32xs using cygwin 28671 define perl_no_dev_random windows 28376 add error checks execing pl_cshname pl_sh_path 28305 podhtml convert foo foo 27833 change anchor generation podhtml item item 2 2783227847 fix podhtmldepod multiline strings 27736 make perl_fini run sun workshop compiler 27719 document functions htmlify anchorify podhtml 27619 bug termreadkey triggered bug termreadline 27549 move dynaloadero libperlso 27528 win32_pclose error exit doesnt unlock mutex 27527 win32_async_check loop indefinitely 27515 ignore directories searching inc 27359 fix dfoobar syntax 27210 fix quote typo c2ph 27203 allow compiling swigged c code 27200 make stat windows handle trailing slashes correctly 27194 get perl_fini running hpux 27133 initialise lastparen regexp structure 27061 l podhtml 27034 avoid prototype mismatch warnings autouse 26970 make passive mode default netftp 26921 avoid getprotobynamenumber calls iosocketinet 2689726903 make common ipproto_ constants always available 26670 make shebang line parse foobar switches 26637 make borland mingw happy change 26379 26536 installscript versus installdirs 26379 fix alarm windows 2003 26087 storable 01 compatibility 25861 iofile performace issue 25084 long groups entry could cause memory exhaustion 24699 icmp_unreachable handling netping inc perl v588 dshareappsbuildtoolswin32perlperl588tmw022lib dshareappsbuildtoolswin32perlperl588tmw022sitelib environment perl v588 home unset lang unset language unset ld_library_path unset logdir unset pathdshareappsbuildtoolsmkstk_90p2mksntdshareappsbuildtools12win32bindshareappsbuildtoolswin32perlperl588tmw022bindwin32appsgnat315pbinsakernelmatlabbinsakernelmatlabbinwin32dshareappsbatbat2881win32dshareappsbatbat2881sharecwinntsystem32cwinntcwinntsystem32wbemcperlbincapplicationsexecutive softwarediskeeperworkstationcapplicationsreskitcprogram filesmicrosoft visual studio net 2003common7toolscapplicationsmicrosoft visual studiovc98bincapplicationsmicrosoft visual studiocommonmsdev98binmathworkshubbatwin2000binmathworkshubbatntbincapplicationscasharedcomponentsscanenginecapplicationscasharedcomponentscaupdatecapplicationscasharedcomponentsthirdpartycapplicationscasharedcomponentssubscriptionlicensecapplicationscaetrustitm perlcperlbinperlexe perl_badlang unset shell unset thu 07 aug 2008 033600 0700 perl 47117 rmtree called directory sjis character trailing 0x5c path