[Toybox] [PATCH] Stop lying to the compiler in modprobe's read_line.

enh enh at google.com
Wed Dec 28 18:29:15 PST 2016


sizeof(int) != sizeof(size_t) for LP64, leading to hilarity^Wcrashes.
---
 toys/pending/modprobe.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Stop-lying-to-the-compiler-in-modprobe-s-read_line.patch
Type: text/x-patch
Size: 1364 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20161228/242044ec/attachment.bin>


More information about the Toybox mailing list