Home path is missing the drive letter on Windows
- Vorherrschende Sprache
- Go
- Sterne
- 4k
- Forks
- 403
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
```
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
Beitragsleitfaden
Rechercherichtung
Beginne in index/read.go, insbesondere beim File()-Code, der das Home-Verzeichnis abruft, und reproduziere das Problem unter Windows 7, indem du cindex any/path ohne gesetztes CSEARCHINDEX ausführst. Überprüfe, dass der Befehl .csearchindex im Home-Verzeichnis anhand des vollständigen Windows-Home-Pfads findet, und bestätige, dass der gemeldete Fehler behoben ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 35/100