severity 339565 important
retitle 339565 Fails to detect sbus devices
tags 339565 patch
thanks

Hi,

After some investigation I've found the problem: an fclose() placed inside the loop in which the the sbus device list is created by reading the information from the sbus.lst file. As a result, only the first entry made it to the list, so the devices (except the "Happy Meal" ethernet adapter, which is the first entry) were not detected. Attached patch fixes this. I'm bumping the severity because it breaks installs on sbus-based machines.

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC
diff -aur a/lib/lst.c b/lib/lst.c
--- a/lib/lst.c 2005-10-12 08:22:23.000000000 -0700
+++ b/lib/lst.c 2005-11-20 00:36:27.000000000 -0800
@@ -241,8 +241,8 @@
            memset(lst->next, 0, sizeof(*lst));
            prev = lst;
            lst = lst->next;
-           fclose(f);
          }
+         fclose(f);
        }
       }
     sbus_lst_list++;

Reply via email to