30 Aug
2012
30 Aug
'12
3:53 p.m.
On Thu, Aug 30, Olaf Hering wrote:
-extern int e2prog (char *name); /* Massive hack for RHEL 5. */ +extern int e2prog (const char *name); /* Massive hack for RHEL 5. */
+++ b/daemon/ext2.c
-e2prog (char *name) +e2prog (const char *name) { char *p = strstr (name, "e2"); if (!p) return 0; p++; + return 0;
The whole patch was a mechanical change. e2prog certainly needs a better change, if any. Is RHEL still supposed to be handled that way, rewriting the command name? Olaf