--- id-utils-3.2/src/mkid.c Mon Jul 8 21:19:09 1996 +++ id-utils-3.2-patched/src/mkid.c Fri Feb 22 16:08:05 2002 @@ -258,9 +258,12 @@ argc -= optind; argv += optind; if (argc == 0) { - static char *dot = (char *) "."; + /* if no filename given, assume current directory */ + /* the string must be dynamically allocated because + it will be passed to strtok(), a function which sucks */ + char *dot = strdup("."); argc = 1; argv = ˙ }