chrsmithdemos / codesearch

Automatically exported from code.google.com/p/codesearch
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Home path is missing the drive letter on Windows #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cindex any/path (without CSEARCHINDEX set)
2.
3.

What is the expected output? 
Using .csearchindex in home dir. 

What do you see instead?
Failing due to the home path missing the drive letter. In index/read.go, the 
line in File() getting the home dir should probably read 'home = 
os.Getenv("HOMEDRIVE") + os.Getenv("HOMEPATH")'

What version of the product are you using? On what operating system?
Windows 7, 64 bit

Please provide any additional information below.

Original issue reported on code.google.com by fuz...@gmail.com on 23 Jan 2012 at 10:39

GoogleCodeExporter commented 9 years ago
I am getting the following error on windows 7 64bit.

cindex.exe -list

2013/04/02 21:27:11 open \Users\dips/.csearchindex: The system cannot find the 
path specified.

Original comment by dip...@gmail.com on 2 Apr 2013 at 4:00

GoogleCodeExporter commented 9 years ago
I have got the same error as dips.

Original comment by ssh...@gmail.com on 16 Sep 2013 at 3:50