[Bug 300361] [NEW] Fails to build in Ubuntu Jaunty: doesn't check return value of write()

Launchpad Bug Tracker 300361 at bugs.launchpad.net
Tue Feb 10 13:00:26 GMT 2009


You have been subscribed to a public bug by James Westby (james-w):

Hi,

At

  http://launchpadlibrarian.net/19657063/buildlog_ubuntu-
jaunty-i386.btnx_0.4.11-1_FAILEDTOBUILD.txt.gz

you can see that btnx failed to build in Ubuntu Jaunty. It has a stricter compiler
that warns about failing to check the return values of some functions. btnx
compiles with -Werror, so this fails the build.

write() returns the number of bytes written, or -1 on error, with errno
being set.

While it would be possible to avoid the compile failure by not building with -Werror
it would be great to fix this, particularly as it is a bug waiting to happen.

Thanks,

James

** Affects: btnx
     Importance: Undecided
         Status: New

** Affects: btnx (Ubuntu)
     Importance: High
         Status: Triaged

-- 
Fails to build in Ubuntu Jaunty: doesn't check return value of write()
https://bugs.edge.launchpad.net/bugs/300361
You received this bug notification because you are a member of Ubuntu Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list