int dirtyEnv = 0;
/*
- * For some reason, OSF turns off the prototype for this if we're _POSIX_SOURCE.
- * Seems to me that this ought to be an ANSI-ism rather than a POSIX-ism,
- * but no matter.
+ * For some reason, OSF turns off the prototype for this if we're
+ * _POSIX_SOURCE. Seems to me that this ought to be an ANSI-ism
+ * rather than a POSIX-ism, but no matter. (JSM(?))
*/
char *
-strdup(const char *src)
+strdup(char *src) /* should be "const char *" but then some
+ bozo OS (e.g., AIX) will come along and disagree.
+ The alt is to rename this routine (WDP 96/01) */
{
int len = strlen(src) + 1;
char *dst;