Commit Graph

1 Commits

Author SHA1 Message Date
Johannes Schindelin
2cc5235c8c Do not hard-code DOS paths in libintl-8.dll
The `libintl-8.dll` file from mingw-w64-x86_64-gettext 0.19.5.1-1 has
the path `D:/develop/msys64/mingw64/share/locale` hard-coded. As a
consequence, programs that link to libintl-8.dll may try to open said
directory. In many setups, `D:\` actually refers to a CD/DVD drive which
means that the user may see this nasty error message:

	There is no disk in the drive. Please insert a disk into drive D:

Let's not do that, but instead hard-code the *POSIX* path into that
`.dll` file, i.e. `/mingw64/share/locale`.

This fixes https://github.com/git-for-windows/git/issues/329

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-09-10 15:05:02 +02:00