aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/dwarf/line.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/dwarf/line.go b/src/debug/dwarf/line.go
index 1cd9dd98cf..7692f05552 100644
--- a/src/debug/dwarf/line.go
+++ b/src/debug/dwarf/line.go
@@ -806,7 +806,7 @@ func pathJoin(dirname, filename string) string {
// DOS-style path.
drive2, filename := splitDrive(filename)
if drive2 != "" {
- if strings.ToLower(drive) != strings.ToLower(drive2) {
+ if !strings.EqualFold(drive, drive2) {
// Different drives. There's not much we can
// do here, so just ignore the directory.
return drive2 + filename