#6 Invalid C in misc.c, patch included

closed
nobody
common (2)
5
2008-04-27
2008-04-27
No

misc.c has a lot of stuff like
for (i=0; scan_str[i].str != ""; i++)
in it. This is NOT valid C.
I have submitted a patch to change these lines to look like
for (i=0; scan_str[i].str[0] != '\0'; i++)

Discussion

  • Jeff Laughlin

    Jeff Laughlin - 2008-04-27

    patch src/misc.c to fix bad C

     
  • Stéphane Fillod

    Logged In: YES
    user_id=379899
    Originator: NO

    Commited, thanks!

     
  • Stéphane Fillod

    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks