Skip to content

cmd/pprof: unexpectedly creates c:\pprof directory #9180

@alexbrainman

Description

@alexbrainman
C:\go\root\src\archive\zip>hg id
ffe33f1f1f17

C:\go\root\src\archive\zip>dir c:\pprof
 Volume in drive C has no label.
 Volume Serial Number is F483-CD2E

 Directory of c:\

File Not Found

C:\go\root\src\archive\zip>go test -c && zip.test.exe -test.v -test.run=none
-test.bench=.*  -test.cpuprofile test.prof && go tool pprof zip.test.exe
test.prof
PASS
BenchmarkCompressedZipGarbage         20          53905905 ns/op          107272 B/op   
    153 allocs/op
BenchmarkZip64Test             3         401039100 ns/op
Entering interactive mode (type "help" for commands)
(pprof) quit

C:\go\root\src\archive\zip>dir c:\pprof
 Volume in drive C has no label.
 Volume Serial Number is F483-CD2E

 Directory of c:\pprof

28/11/2014  09:41 AM    <DIR>          .
28/11/2014  09:41 AM    <DIR>          ..
               0 File(s)              0 bytes
               2 Dir(s)  113,372,999,680 bytes free

C:\go\root\src\archive\zip>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions