On Saturday 07 November 2009 15:33:15 Mikhail Gusarov wrote:
>               if (__path_search(buf, L_tmpnam, NULL, NULL, 0) != 0
> -              || __gen_tempname(buf, __GT_NOCREATE) != 0
> +              || __gen_tempname(buf, __GT_NOCREATE, 0) != 0
>               ) {
> ...
> -extern int __gen_tempname (char *__tmpl, int __kind) attribute_hidden;
> +extern int __gen_tempname (char *__tmpl, int __kind, mode_t mode)

can you do a file size comparison between this and a varags approach ?  if 
kind == __GT_NOCREATE, the mode will always be 0.  if it isnt, you can use 
varargs to rip it off the stack.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to