[Toybox] Patches for toybox-0.4.8

Felix Janda felix.janda at posteo.de
Tue Jun 24 10:11:38 PDT 2014


luckboy at vp.pl wrote:
[..]
> getty.c requires sys/ttydefaults.h. Error of my compilation:
> 
> toys/pending/getty.c:168:29: error: 'CERASE' undeclared (first use in 
> this function)
> 
> The CERASE macro and more similar macros just are defined at 
> sys/ttydefaults.h in
> musl libc. This header file isn't included any header file in musl libc. 
> I use musl-1.0.3.

For that one constant it might be simpler to replace its only
occurence by 0177 or 127 and leave a comment that that's CERASE.

Felix

 1403629898.0


More information about the Toybox mailing list