bug && bugfix again...

Mathieu Arnold arn_mat@club-internet.fr
Tue, 10 Apr 2001 00:43:05 +0200


I really like my developers who use files with spaces in them...

Index: lib/CVSLib/File.php
===================================================================
RCS file: /home/cvs/cvs/dup/horde/chora/lib/CVSLib/File.php,v
retrieving revision 1.13
diff -u -r1.13 File.php
--- lib/CVSLib/File.php 2001/03/07 05:07:44     1.13
+++ lib/CVSLib/File.php 2001/04/09 22:33:51
@@ -147,7 +147,7 @@
 
         /* Call the RCS rlog command to retrieve the file information
*/
         $flag = ($this->flags == CVSLIB_LOG_QUICK) ? ' -r ' : ' ';
-        $cmd = $this->rep->conf['paths']['rlog'] . $flag .
escapeShellCmd($this->queryFullPath());
+        $cmd = $this->rep->conf['paths']['rlog'] . $flag . '"'.
escapeShellCmd($this->queryFullPath()) . '"';
 
         if (!($pstream = popen($cmd, 'r'))) {

there is still another problem when the filename has a non "urlizable"
character in it like é, "...
maybe sometime later tonight...

-- 
Mathieu Arnold