This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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++;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]