1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
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:
Ulrich Drepper
1998-12-15 00:02:24 +00:00
parent 181a8546c8
commit b61af6fc2e
3 changed files with 21 additions and 9 deletions

View File

@@ -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");