Percent (%) characters in source code (in comments, for example), may cause FLIC to die with a segmentation violation or some other error. The following fix to the file MPP/FLIC/FLIC/reassemble.c will prevent this error:
*** reassemble.c.orig 2002-11-17 10:35:57.000000000 -0500
--- reassemble.c 2004-02-27 17:13:03.000000000 -0500
***************
*** 40,44 ****
else
{
fprintf(stdout,inline1) ;
}
}
--- 40,44 ----
else
{
fprintf(stdout,"%s",inline1) ;
}
}
***************
*** 53,57 ****
fprintf(stderr,"%s: Bad line |%s| in %s\n", argv[0],inline2,argv[1]) ; exit(2) ;
}
fprintf(stdout,inline2) ;
}
fclose(infd) ;
--- 53,57 ----
fprintf(stderr,"%s: Bad line |%s| in %s\n", argv[0],inline2,argv[1]) ; exit(2) ;
}
fprintf(stdout,"%s",inline2) ;
}
fclose(infd)
Note (on reading the above patch syntax), there are two places where
this needs to be fixed: line 42 and line 55. The fix involves putting
"%s",in the calls to fprintf. After making this change, "make uninstall" and "make mpp".
Thanks, and "%s" of the box office to Tod Hagan.
Rotang