synth auxiliary path search fix
Andrew Lunn
andrew.lunn@ascom.ch
Wed Mar 26 08:44:00 GMT 2003
Hi Bart.
Please could you OK this patch. Trunk and maybe 2.0 branch?
Andrew
Index: hal/synth/arch/current//ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/synth/arch/current/ChangeLog,v
retrieving revision 1.13
diff -u -r1.13 ChangeLog
--- hal/synth/arch/current//ChangeLog 24 Feb 2003 14:23:04 -0000 1.13
+++ hal/synth/arch/current//ChangeLog 26 Mar 2003 08:39:26 -0000
@@ -1,3 +1,9 @@
+2003-03-26 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * src/synth_intr.c (synth_start_auxiliary): When an empty string
+ is found on the PATH, remember to move onto the next entry
+ otherwise we loop forever.
+
2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
* doc/overview.gif, doc/overview.fig: renamed to
Index: hal/synth/arch/current//src/synth_intr.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/synth/arch/current/src/synth_intr.c,v
retrieving revision 1.4
diff -u -r1.4 synth_intr.c
--- hal/synth/arch/current//src/synth_intr.c 15 Sep 2002 17:53:27 -0000 1.4
+++ hal/synth/arch/current//src/synth_intr.c 26 Mar 2003 08:39:27 -0000
@@ -771,6 +771,7 @@
// current directory.
if (':' == *path) {
filename[j++] = '.';
+ path++;
} else {
while ((j < BUFSIZE) && ('\0' != *path) && (':' != *path)) {
filename[j++] = *path++;
More information about the Ecos-patches
mailing list