[Toybox] [PATCH] chvt: remove old workarounds.

enh enh at google.com
Fri Sep 24 17:10:33 PDT 2021


We don't need the fd=fd hack for GCC 3.4 in 2021, and <linux/vt.h> has
given names to the two magic numbers since at least Linux 2.4.0...
---
 toys/other/chvt.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210924/83e2c4db/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-chvt-remove-old-workarounds.patch
Type: text/x-patch
Size: 1281 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210924/83e2c4db/attachment-0002.bin>


More information about the Toybox mailing list