https://bugzilla.novell.com/show_bug.cgi?id=432592
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=432592#c1
Stefan Assmann
Suggest replace with
fd = cursor_open(file); if (fd == 0) return NULL;
This is not entirely correct. cursor_open can be expanded to either open() or gzopen() depending on the presence of zlib. open() returns -1 on failure while gzopen returns Z_NULL. I don't see this warning, could you provide the whole gcc call with compiler flags? I guess you compiled with "-pedantic". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.