Current-Users archive

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

Re: gcc 7 warning



On Tue, Feb 12, 2019 at 06:13:00PM +0100, Joerg Sonnenberger wrote:
> snprintf *does* guarantee that. You are confusing this with strncpy.

As I said, I fail to parse the gcc warning. But using the return value
quells it. But of course you are right and it makes absolutely no sense at
all to me.

Martin


Home | Main Index | Thread Index | Old Index