[Toybox] Login: gcc drops condition

Jonathan Clairembault jonathan at clairembault.fr
Tue Nov 27 02:19:59 PST 2012


Hi,

Here is a patch to avoid gcc to drop end of file condition in
login.c:read_user. This happened because comparaison was made between
int and char.

--
wrb, Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: login-avoid-gcc-drop-cond.patch
Type: application/octet-stream
Size: 760 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20121127/ad2dfef2/attachment-0006.obj>


More information about the Toybox mailing list