Menu

#1 bug caused by directory with spaces

open
nobody
None
5
2005-03-08
2005-03-08
No

Please note - I am not a perl developer

However, on WinXP SP2, squealer.pl has problems with
directories that have spaces in them. For example:-

c:\mydir\this is a dir\subdir

This is a common windows problem that can be worked
around by placing the directory spec in quotes. Thus
the following works as a directory spec:-

"c:\mydir\this is a dir\subdir"

In loadMethodList, I had to patch the code to work on
my machine from this:-

my $cmd = qq($originalpath{HOME}/ctags -L $stdfile
{FILELIST} ) .
qq(-f $stdfile{METHODLIST});

to this:-

my $cmd = qq($originalpath{HOME}/ctags -L "$stdfile
{FILELIST}" ) .
qq(-f "$stdfile{METHODLIST}");

I am sure there are other places this problem occurs.

Any chance for a patch on this, and input from a pair of
eyes that are more perl aware than mine?

Regards

Mike

Discussion


Log in to post a comment.

MongoDB Logo MongoDB