tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: swscanf() causing Memory Fault

On Sun, 16 Nov 2008, David Holland wrote:
Does this fix PR 39347?

The first test program works now, but the second one still prints garbage for the string:

        % env LD_LIBRARY_PATH=/usr/cvs/src-5/obj.i386/destdir/lib ./pr-39347-2
        Enter an integer, a real number, a character and a string :
        17 17.42 f bar
        integer = 17
        real number = 0.000000
        character = b
        string = ¿¿UG¿»Ô÷±»P

I'll put a note into the PR.

 - Hubert

Home | Main Index | Thread Index | Old Index