Ignore:
Timestamp:
Feb 11, 2007, 3:08:34 PM (13 years ago)
Author:
bruno
Message:

mr_getline should test for feof as getline returns also -1 in that case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-fork.c

    r1119 r1138  
    192192
    193193    /*@ pointers *************************************************** */
    194     FILE *fin;
    195     char *p;
     194    FILE *fin = NULL;
     195    char *p = NULL;
    196196
    197197    /*@ end vars *************************************************** */
     
    280280        }
    281281    }
    282 //  else
    283 //    { mr_msg (0, "-------------------------------ran w/ res=%d------------------------------", res); }
    284282    return (res);
    285283}
Note: See TracChangeset for help on using the changeset viewer.