Hi,
Changing the source code for Windows environment is OK.
But I am anxious why the directory name is not included
in the variable 'root'. Should not we fix the cause?

> Hi,
> 
> i compiled global on win32 and tried it with a source tree which starts
> directly at the drive level (root='D:'). In this case the chdir which
> takes care that the search in 'global -u' starts at the root of the src
> tree does not work on windows if there's no '/' at the end of the path.
> If you change root='D:' to root='D:/' its working. So i changed
> chdir(root) to chdir(get_root_with_slash()) in order to fix this. I
> don't think this will cause problems for unix systems.
> 
> Could you consider adding the attached patch to the global sources?

Regards,
Shigio
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


_______________________________________________
Help-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-global

Reply via email to