From c8214a0ca40ed31ea31a98904c798dc8f7bfe322 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Sat, 17 Sep 2011 17:28:33 -0400 Subject: [PATCH] [windows] use unix-style path separators when calling gnetlist --- src/action.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/action.c b/src/action.c index 1923cf97..2edb9a93 100644 --- a/src/action.c +++ b/src/action.c @@ -7354,6 +7354,15 @@ tempfile_name_new (char * name) * in case someone decides to create multiple temp names. */ tmpfile = strdup (tmpnam (NULL)); +#ifdef __WIN32__ + { + /* Guile doesn't like \ separators */ + char *c; + for (c = tmpfile; *c; c++) + if (*c == '\\') + *c = '/'; + } +#endif #endif return tmpfile; -- 2.11.4.GIT