|
|
@ -58,7 +58,8 @@ int main (int argc, char **argv){ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if(!out){ |
|
|
|
if(!out){ |
|
|
|
strlcpy(output,argv[0],strlen(argv[0])-4); |
|
|
|
strlcpy(output,argv[0],strlen(argv[0])-3); |
|
|
|
|
|
|
|
fprintf(stderr,"%s",output); |
|
|
|
if((joe = fopen(output,"w"))==NULL){ |
|
|
|
if((joe = fopen(output,"w"))==NULL){ |
|
|
|
fputs("Ummm, the output file doesn't work.\n",stderr); |
|
|
|
fputs("Ummm, the output file doesn't work.\n",stderr); |
|
|
|
return EXIT_FAILURE; |
|
|
|
return EXIT_FAILURE; |
|
|
|