mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
Update.
1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid warnings about unused args. Fix comment. 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/posix/tempname.c (__path_search): Correct last patch.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include <string.h>
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
main (void)
|
||||
{
|
||||
const char *name;
|
||||
int retval = 0;
|
||||
@@ -33,7 +33,7 @@ main (int argc, char *argv[])
|
||||
|
||||
printf ("name = %s\n", name);
|
||||
|
||||
/* Make sure the name is based on the value in TMPDIR. */
|
||||
/* Make sure the name is not based on the value in TMPDIR. */
|
||||
if (strncmp (name, "/usr", 4) == 0)
|
||||
{
|
||||
puts ("error: `tmpnam' used TMPDIR value");
|
||||
|
||||
Reference in New Issue
Block a user