bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rfc] Colorized output for GNU make?


From: Eli Zaretskii
Subject: Re: [rfc] Colorized output for GNU make?
Date: Sun, 12 Feb 2012 19:34:00 +0200

> Date: Sun, 12 Feb 2012 18:11:49 +0100
> From: Sebastian Pipping <address@hidden>
> CC: address@hidden, address@hidden
> 
> Since we would run into buffer overflows with sprintf/vsprintf, we
> rely on snprintf/vsnprintf for that task.  Quoting from my "man 3
> printf" output:
> 
>   snprintf(), vsnprintf():
>     _BSD_SOURCE || _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE \
>       || _POSIX_C_SOURCE >= 200112L;
>     or cc -std=c99
> 
> That's my understanding of the situation.

If all you need is vsnprintf, I think you can rely on it being
present, and if it isn't, disable argument reordering on that
platform.  Or we could import one from libiberty or from gnulib, I
guess.  Paul?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]