Closed eboasson closed 1 week ago
In some cases, the input file would point to a string constant (stdin name), in some cases to a command-line argument, and in some (probably most in reality) to malloc'd address. This changes the code to always assign it to a malloc'd string.
In some cases, the input file would point to a string constant (stdin name), in some cases to a command-line argument, and in some (probably most in reality) to malloc'd address. This changes the code to always assign it to a malloc'd string.