util.c error in last release

Ethan Blanton elb at pidgin.im
Thu Nov 8 17:40:28 EST 2007


Andrea Visinoni spake unto us the following wisdom:
> util.c: In function ‘purple_util_write_data_to_file_absolute’:
> util.c:2632: error: implicit declaration of function ‘fsync’
> util.c:2632: warning: nested extern declaration of ‘fsync’
> 
> even if in util.h i try to include <unistd.h>

If you're going to run from monotone and submit bug reports without
patches (which we strongly discourage), please at *least* tell us what
platform you're on, and whether or not it has fsync() at all.

Ethan

-- 
The laws that forbid the carrying of arms are laws [that have no remedy
for evils].  They disarm only those who are neither inclined nor
determined to commit crimes.
		-- Cesare Beccaria, "On Crimes and Punishments", 1764
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20071108/738d3b7a/attachment.sig>


More information about the Devel mailing list