Thread overview | |||||
---|---|---|---|---|---|
|
June 20, 2013 [Issue 10432] New: RDMD: --dry-run option tries to read non-existent file | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10432 Summary: RDMD: --dry-run option tries to read non-existent file Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: pull Severity: normal Priority: P2 Component: DMD AssignedTo: andrej.mitrovich@gmail.com ReportedBy: andrej.mitrovich@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-20 15:39:50 PDT --- $ rdmd --dry-run read C:\Users\ADMINI~1\AppData\Local\Temp\.rdmd\rdmd-rdmd_dry_run.d-CAF07156CF44F49E21D3ED1 AC377E211\rdmd.deps std.exception.ErrnoException@std\stdio.d(325): Cannot open file `C:\Users\ADMINI~1\AppData\ Local\Temp\.rdmd\rdmd-rdmd_dry_run.d-CAF07156CF44F49E21D3ED1AC377E211\rdmd.deps' in mode `r b' (No such file or directory) The reason why is this code: ----- immutable depsExitCode = run(depsGetter, depsFilename); if (depsExitCode) { stderr.writeln("Failed: ", escapeShellCommand(depsGetter)); collectException(std.file.remove(depsFilename)); exit(depsExitCode); } return readDepsFile(); ----- If --dry-run is set, the run() function will not call anything, and then readDepsFile will attempt to read a file that it expects was created by the run() call. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 20, 2013 [Issue 10432] RDMD: --dry-run option tries to read non-existent file | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=10432 --- Comment #1 from github-bugzilla@puremagic.com 2013-06-20 15:41:02 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/tools https://github.com/D-Programming-Language/tools/commit/dd878ab9c373bec6e4f7ad366d49c106b07d4114 Fixes Issue 10432 - --dry-run option attempts to read non-existent file. https://github.com/D-Programming-Language/tools/commit/bbb63cbd99a3dca50705daaee655215d569d7acc Merge pull request #69 from AndrejMitrovic/Fix10432 Issue 10432 - --dry-run option attempts to read non-existent file. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 20, 2013 [Issue 10432] RDMD: --dry-run option tries to read non-existent file | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=10432 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation