[Top][All Lists]
[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?
- Re: [rfc] Colorized output for GNU make?, Sebastian Pipping, 2012/02/11
- Re: [rfc] Colorized output for GNU make?, Eli Zaretskii, 2012/02/11
- Re: [rfc] Colorized output for GNU make?, Sebastian Pipping, 2012/02/11
- Re: [rfc] Colorized output for GNU make?, Eli Zaretskii, 2012/02/12
- Re: [rfc] Colorized output for GNU make?, Sebastian Pipping, 2012/02/12
- Re: [rfc] Colorized output for GNU make?,
Eli Zaretskii <=
- Re: [rfc] Colorized output for GNU make?, Paul Smith, 2012/02/13
- Re: [rfc] Colorized output for GNU make?, Sebastian Pipping, 2012/02/13
- Re: [rfc] Colorized output for GNU make?, Sebastian Pipping, 2012/02/27
- Re: [rfc] Colorized output for GNU make?, Paul Smith, 2012/02/28
- Re: [rfc] Colorized output for GNU make?, Sebastian Pipping, 2012/02/28