From: Michael Wookey Date: Fri, 29 Jan 2010 09:03:37 GMT Subject: build warnings Message-ID: FYI, With current master (dace5dd1), the following build warnings appear on Ubuntu 9.10 (x86): run-command.c: In function ‘notify_parent’: run-command.c:70: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result run-command.c: In function ‘die_child’: run-command.c:80: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result run-command.c:81: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result run-command.c:82: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result These warnings were introduced by the following commits: 2b541bf8 ("start_command: detect execvp failures early") a5487ddf ("start_command: report child process setup errors to the parent's stderr") The GCC details are: ~$ gcc --version gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1