Source-Changes-D archive

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

Re: CVS commit: src/usr.bin/make



In article <20120831070037.6FB7A175D0%cvs.netbsd.org@localhost>,
Simon J. Gerraty <source-changes-d%NetBSD.org@localhost> wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  sjg
>Date:          Fri Aug 31 07:00:36 UTC 2012
>
>Modified Files:
>       src/usr.bin/make: main.c
>
>Log Message:
>Cast sizeof() to int, which is sufficent and consistent with other use
>within make.

snprintf() can return -1 so the second part is wrong.

christos



Home | Main Index | Thread Index | Old Index