<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/mingetty/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/mingetty/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 24 Jun 2009 10:12:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mingetty/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>warn_unused_result warnings</title><link>https://sourceforge.net/p/mingetty/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;To avoid warn_unused_result warnings you'd better use an 'int rc = ' construct&lt;br /&gt;
to store the return value of write(), chroot(), chdir() and nice().&lt;/p&gt;
&lt;p&gt;gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)&lt;/p&gt;
&lt;p&gt;---------&lt;br /&gt;
gcc -O2 -Wall -W -pipe -D_GNU_SOURCE   -c -o mingetty.o mingetty.c&lt;br /&gt;
mingetty.c: In function âopen_ttyâ:&lt;br /&gt;
mingetty.c:195: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result&lt;br /&gt;
mingetty.c: In function âmainâ:&lt;br /&gt;
mingetty.c:426: warning: ignoring return value of âchrootâ, declared with attribute warn_unused_result&lt;br /&gt;
mingetty.c:428: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result&lt;br /&gt;
mingetty.c:430: warning: ignoring return value of âniceâ, declared with attribute warn_unused_result&lt;br /&gt;
gcc   mingetty.o   -o mingetty&lt;br /&gt;
---------&lt;/p&gt;
&lt;p&gt;Peter&lt;br /&gt;
peter.thoemmes@gmx.de&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 24 Jun 2009 10:12:58 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net2ebe9e341e119ed350c0206eb96e05578e07f7a4</guid></item></channel></rss>