From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9926 invoked from network); 21 Apr 2007 07:47:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Apr 2007 07:47:19 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 98585 invoked from network); 21 Apr 2007 07:47:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Apr 2007 07:47:12 -0000 Received: (qmail 10434 invoked by alias); 21 Apr 2007 07:47:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23304 Received: (qmail 10424 invoked from network); 21 Apr 2007 07:47:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Apr 2007 07:47:10 -0000 Received: (qmail 98379 invoked from network); 21 Apr 2007 07:47:10 -0000 Received: from flock1.newmail.ru (82.204.219.207) by a.mx.sunsite.dk with SMTP; 21 Apr 2007 07:47:07 -0000 Received: (qmail 12209 invoked from network); 21 Apr 2007 07:47:06 -0000 Received: from unknown (HELO cooker.local) (arvidjaar@newmail.ru@85.141.125.169) by smtpd.newmail.ru with SMTP; 21 Apr 2007 07:47:06 -0000 From: Andrey Borzenkov To: zsh-workers@sunsite.dk Subject: "ignoring retur values" on Linux Date: Sat, 21 Apr 2007 11:47:04 +0400 User-Agent: KMail/1.9.6 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704211147.05290.arvidjaar@newmail.ru> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Building RPM for Madriva (glibc 2.4/gcc 4.1.2) there are tons of builtin.c: In function ‘bin_cd’: builtin.c:796: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result builtin.c:803: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result builtin.c: In function ‘bin_print’: builtin.c:3690: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result builtin.c:3701: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result builtin.c:3765: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result builtin.c: In function ‘bin_read’: builtin.c:4922: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result etc. I am not sure if sensible check of return values is possible in every case thoigh (i.e. - action if check fails). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGKcF5R6LMutpd94wRArjzAKCUnTZiRR6nRt27iZWBOrl5YB7PPgCfbrlw rDHHBPhzzeZo5bTVUt29T/4= =V4lv -----END PGP SIGNATURE-----