[Top][All Lists]

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

[bug #21914] nsfilemanager has problems reporting filesizes on several p

From: Richard Frith-Macdonald
Subject: [bug #21914] nsfilemanager has problems reporting filesizes on several platforms
Date: Thu, 17 Jan 2008 08:36:42 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.10.6 (KHTML, like Gecko) Version/3.0.4 Safari/523.10.6

Follow-up Comment #10, bug #21914 (project gnustep):

I see I accidentally wrote '%lu' when I meant '%llu' ...
Sebastian wrote '%llu', so he obviously understood what I *meant* to say
rather than what I actually wrote.  Did you (Riccardo) actually test using the
correct format for an unsigned long long or did you test using the format for
an unsigned long?

Anyway, regardless of what's going on with formatting, the fact that you are
getting nil on FreeBSD is plainly wrong.
Ideally you would just step through the method in gdb and see exactly what
path of code is being executed to determine what the problem is.
However, the only way that a nil return is likely to happen assuming the
filesystem you tell it to check is exists (ie that the argument you pass in is
correct) is if the configure script used to build the base library failed to
detect the presence of the expected header files on that system.  The
configure script looks for sys/vfs.h sys/statfs.h or sys/mount.h ... if it
doesn't find any of these, can you see why?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]