[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (c8214a0ca40ed31ea31a98904c798dc8f7bfe322)
The branch, master has been updated
via c8214a0ca40ed31ea31a98904c798dc8f7bfe322 (commit)
from c9b8eaee755a5e192732814e275f6a0ce67386b3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/action.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit c8214a0ca40ed31ea31a98904c798dc8f7bfe322
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
[windows] use unix-style path separators when calling gnetlist
:100644 100644 1923cf9... 2edb9a9... M src/action.c
=========
Changes
=========
commit c8214a0ca40ed31ea31a98904c798dc8f7bfe322
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
[windows] use unix-style path separators when calling gnetlist
diff --git a/src/action.c b/src/action.c
index 1923cf9..2edb9a9 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;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs