Vanilla List Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VANILLA-LIST:2048] Vanilla-2.9pl2 Released
Mikael, your second message today isn't right. There was nothing wrong
with the bypassfile variable value. errno value not relevant. Good try
though, keep at it. Going back to your first message.
Mikael Sandstr|m wrote:
> #0 0xef5e5de8 in fgets ()
> #1 0x2471c in CheckBypass (login=0x6cb1c "d1tim",
> host=0xefffee3a "leemor.dtek.chalmers.se",
> file=0x6e420 "/users/dtek/and/netrek/INL_Robotpl2/bin/.bypass")
> at main.c:606
Right.
The code is in fgets(), and triggers a segmentation violation. Look at
the arguments to fgets. There may be nothing wrong with them. Although
the 160 should in theory be 159, since the char array is allocated 160.
Is there a line in your .bypass file that is greater than 160
characters? Probably not. Is there anything in the .bypass file?
You might fix this by removing .bypass file.
The fopen will return NULL.
--
James Cameron (cameron@stl.dec.com)
OpenVMS, Linux, Firewalls, Software Engineering, CGI, HTTP, X, C, FORTH,
COBOL, BASIC, DCL, csh, bash, ksh, sh, Electronics, Microcontrollers,
Disability Engineering, Netrek, Bicycles, Pedant, Farming, Home Control,
Remote Area Power, Greek Scholar, Tenor Vocalist, Church Sound, Husband.
"Specialisation is for insects." -- Robert Heinlein.