mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
w32: Fix for make check.
* common/Makefile.am (module_tests): Exclude t-exechelp and t-exectool. * common/t-stringhelp.c (mygetcwd): Convert '\' to '/'. * tests/cms/Makefile.am: Add $(EXEEXT). * tests/gpgme/Makefile.am: Likewise. * tests/migrations/Makefile.am: Likewise. * tests/openpgp/Makefile.am: Likewise. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
48ee11722d
commit
39d478f5ba
6 changed files with 15 additions and 8 deletions
|
@ -88,7 +88,15 @@ mygetcwd (void)
|
|||
return buffer;
|
||||
#else
|
||||
if (getcwd (buffer, size) == buffer)
|
||||
return buffer;
|
||||
{
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
char *p;
|
||||
for (p = buffer; *p; p++)
|
||||
if (*p == '\\')
|
||||
*p = '/';
|
||||
#endif
|
||||
return buffer;
|
||||
}
|
||||
xfree (buffer);
|
||||
if (errno != ERANGE)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue