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

fgets NULL problem?



Hi.  I'm getting a strange problem where my fopen() works properly (with mode
"r"), but my first fgets() returns NULL.  The modes on the file are:

-rw-r--r--

The ldd on the program are:

% ldd /usr/local/sbin/logrotate
        libc.so.6 => /lib/libc.so.6 (0x4000f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I'm using slink.

Has this bug ever been reported and do I need to do an upgrade?

Thanks.

-- 
Robert Brown                        |         Continuum Software, Inc.
email:robertb@continuumsi.com       | 800 West Cummings Park, Ste 4950
http://www.continuumsi.com/~robertb |            Woburn, MA 01801-6504
voice: 781-932-8400 x100            |                fax: 781-932-2558


Reply to: