changeset 876:66392c0bb656

* 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.
author asl
date Thu, 27 Mar 2003 09:07:50 +0000
parents b17faf385ee0
children a9d5a0fc1ce8
files packages/hal/synth/arch/current/ChangeLog packages/hal/synth/arch/current/src/synth_intr.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/synth/arch/current/ChangeLog
+++ b/packages/hal/synth/arch/current/ChangeLog
@@ -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
--- a/packages/hal/synth/arch/current/src/synth_intr.c
+++ b/packages/hal/synth/arch/current/src/synth_intr.c
@@ -771,6 +771,7 @@ synth_start_auxiliary(void)
         // current directory.
         if (':' == *path) {
             filename[j++] = '.';
+            path++;
         } else {
             while ((j < BUFSIZE) && ('\0' != *path) && (':' != *path)) {
                 filename[j++] = *path++;