bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: htags barfs on pathnames with spaces


From: Shigio Yamaguchi
Subject: Re: htags barfs on pathnames with spaces
Date: Tue, 10 Apr 2001 22:39:50 +0900

Hi,
I have fixed the bug on CVS version of GLOBAL.
Thank you!

> --SF9Hf0gOFmdEPhOc
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> OS: Windows 2000 + CygWin 1.1.8
> 
> bash$ cd "/d/Work/Dimensions/Dim 3.0"
> bash$ gtags
> bash$ htags
> btreeop: cannot open '/d/Work/Dimensions/Dim'.
> htags: 'btreeop -L2 -k './' /d/Work/Dimensions/Dim 3.0/GPATH' failed.
> 
> The attached patch fixed it for me.
> 
> Marius Gedminas
> -- 
> question = 0xFF;      // optimized Hamlet
> 
> --SF9Hf0gOFmdEPhOc
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="htags.diff"
> 
> --- /usr/local/bin/htags.orig Tue Apr 10 14:53:41 2001
> +++ /usr/local/bin/htags      Tue Apr 10 14:59:58 2001
> @@ -585,7 +585,7 @@
>  #
>  # (#) load GPATH
>  #
> -local($command) = "btreeop -L2 -k './' $dbpath/GPATH";
> +local($command) = "btreeop -L2 -k './' \"$dbpath/GPATH\"";
>  open(GPATH, "$command |") || &'error("cannot fork.");
>  $nextkey = 0;
>  while (<GPATH>) {
--
Shigio Yamaguchi - Tama Communications Corporation
Mail: address@hidden, (Spare mail: address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]