]> git.donarmstrong.com Git - lilypond.git/commit
PATCH: Fix unset PATH crash release/2.19.17-1
authorMasamichi Hosoda <trueroad@sea.plala.or.jp>
Sat, 7 Mar 2015 02:51:22 +0000 (19:51 -0700)
committercolincampbell <colinpkcampbell@gmail.com>
Thu, 12 Mar 2015 22:52:12 +0000 (16:52 -0600)
commit2728f57934651f8de7ae99064305b72d27990932
treeb6669422a4833beb7e68fae93612ee3ad303dce6
parentf5fe565be2b3662bc5fedb1f40a337c3ad0d08f4
PATCH: Fix unset PATH crash

Per Masamichi Hosada:
On Windows, lilypond crashes when the environment variable PATH is not set.

```
C:\tmp\lilypond-2.19.16-0.mingw\$_OUTDIR\usr\bin>set PATH=

C:\tmp\lilypond-2.19.16-0.mingw\$_OUTDIR\usr\bin>lilypond
GNU LilyPond 2.19.16
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\tmp\lilypond-2.19.16-0.mingw\$_OUTDIR\usr\bin>
```

Even in the case of linux, this issue is a possible crash.
lily/relocate.cc