mob progs

lchataig@ensem.u-nancy.fr
Date: 06/18/94


	Hi,

I've done the patch with the mob progs, and I came across a problem with 
then in_file_prog trigger because of the ~ at the end of the line.
So I've changed the function fread_to_eol. Here is the modification:

void fread_to_eol( FILE *fp )
{
    char c;

    do {
        c = getc( fp );
    } while ( c != '\n' && c != '\r' && c != '~');

    do {
        c = getc( fp );
    } while ( c == '\n' || c == '\r' && c != '~');

    ungetc( c, fp );
    return;
}

Ludo @ Ensem Mud (didon.enserb.u-bordeaux.fr 4000)

--------------------------------------------------------------------------------
Ludovic CHATAIGNER               |   e-mail adress : lchataig@ensem.u-nancy.fr
                                 |
Ensem 3A (ISA Instrumentation 91)|       v                       v        \|/  
                                 |                     v                  -O- 
                                 |                                        /|\
2 rue de la foret de haye        |   /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\      
                                 |    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/      
54500 VANDOEUVRE LES NANCY       |   /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
--------------------------------------------------------------------------------



This archive was generated by hypermail 2b30 : 12/07/00 PST