I've got some code which I wrote about 6 or 8 years ago that
apparently doesn't get along right now with FreeBSD9.0. In the
problem code, there is a loop that uses fgets to read a line
from a file. It runs properly until the 2708TH iteration and
then it dumps core with a segmentation fault.
char
Never mind. I may be back with another question, but I figured
out that it is not the input loop. I simply removed all the code
in the loop except for a variable that counts the number of
iterations and just ran thatand it read the entire file so the
problem is introduced when assigning values to
Martin McCormick writes:
I've got some code which I wrote about 6 or 8 years ago that
apparently doesn't get along right now with FreeBSD9.0. In the
problem code, there is a loop that uses fgets to read a line
from a file. It runs properly until the 2708TH iteration and
then it dumps
On 3/21/2012 10:50 AM, Martin McCormick wrote:
I've got some code which I wrote about 6 or 8 years ago that
apparently doesn't get along right now with FreeBSD9.0. In the
problem code, there is a loop that uses fgets to read a line
from a file. It runs properly until the 2708TH iteration and
Hi,
On Wednesday 21 March 2012 21:50:25 Martin McCormick wrote:
I've got some code which I wrote about 6 or 8 years ago that
apparently doesn't get along right now with FreeBSD9.0. In the
problem code, there is a loop that uses fgets to read a line
from a file. It runs properly until the