bug-global
[Top][All Lists]
Advanced

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

Re: GLOBAL 5.2 DOS/Win patch


From: Shigio YAMAGUCHI
Subject: Re: GLOBAL 5.2 DOS/Win patch
Date: Thu, 17 Aug 2006 10:05:57 +0900

Hello Jason,

Thank you for your patch. I'll apply it to the master repository.

BTW, I have a question.

> * strlimcpy.h: add prototype for snprintf (still misses a couple, though).
... 
> --- global-5.2.orig/libutil/strlimcpy.h       2006-08-08 23:39:56 +1000
> +++ global-5.2/libutil/strlimcpy.h    2006-08-10 11:53:20 +1000
> @@ -23,4 +23,9 @@
>  
>  void strlimcpy(char *, const char *, const int);
>  
> +#ifndef HAVE_SNPRINTF
> +#include <stdlib.h>
> +int snprintf(char*, size_t, const char*, ...);
> +#endif
> +
>  #endif /* ! _STRLIMCPY_H_ */

For what is this necessary? What happens if this is not?
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

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