This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[patch] sysdeps/generic/tempname.c
- From: Marcus Brinkmann <marcus dot brinkmann at ruhr-uni-bochum dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 03 Nov 2004 02:21:19 +0100
- Subject: [patch] sysdeps/generic/tempname.c
Hi,
I am currently in the process of starting a new glibc port, so I am
hitting a couple of issues in code that is not normally tested.
This bug is a simple out-of-sync stub definition.
2004-11-03 Marcus Brinkmann <marcus@gnu.org>
* sysdeps/generic/tempname.c (__path_search): Add missing argument
TRY_TMPDIR.
diff -rup /home/marcus/gnu/hurd/cvs/libc/sysdeps/generic/tempname.c ./sysdeps/generic/tempname.c
--- /home/marcus/gnu/hurd/cvs/libc/sysdeps/generic/tempname.c 2001-07-06 06:55:50.000000000 +0200
+++ ./sysdeps/generic/tempname.c 2004-11-03 00:49:31.000000000 +0100
@@ -25,11 +25,12 @@
template suitable for use in __gen_tempname into TMPL, bounded
by TMPL_LEN. */
int
-__path_search (tmpl, tmpl_len, dir, pfx)
+__path_search (tmpl, tmpl_len, dir, pfx, try_tmpdir)
char *tmpl;
size_t tmpl_len;
const char *dir;
const char *pfx;
+ int try_tmpdir;
{
__set_errno (ENOSYS);
return -1;