This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
synth auxiliary path search fix
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: eCos Patches <ecos-patches at sources dot redhat dot com>
- Date: Wed, 26 Mar 2003 09:44:07 +0100
- Subject: synth auxiliary path search fix
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 dot lunn at ascom dot 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 at eCosCentric dot 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++;