summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-19 20:24:45 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-19 20:24:45 +0000
commit5dfe677810a3550bc2cff4d4046261c7572fbae0 (patch)
treeb4e1e39f06f2f5c8e48d55eef6b24e6441001d92 /stdio-common
parent9a3a9dd8d9e03875f865a22de5296274cc18c10e (diff)
downloadglibc-5dfe677810a3550bc2cff4d4046261c7572fbae0.tar.gz
glibc-5dfe677810a3550bc2cff4d4046261c7572fbae0.tar.xz
glibc-5dfe677810a3550bc2cff4d4046261c7572fbae0.zip
Update.
	* stdio-common/test-vfprintf.c (main): Don't write temporary file
	into source directory.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/test-vfprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdio-common/test-vfprintf.c b/stdio-common/test-vfprintf.c
index 50e8b5038a..a683eac779 100644
--- a/stdio-common/test-vfprintf.c
+++ b/stdio-common/test-vfprintf.c
@@ -1,5 +1,5 @@
 /* Tests of *printf for very large strings.
-   Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2000.
 
@@ -40,14 +40,14 @@ char large[50000];
 int
 main (void)
 {
-  char buf[20];
+  char buf[25];
   size_t i;
   int res = 0;
   int fd;
 
   mtrace ();
 
-  strcpy (buf, "test-vfprintfXXXXXX");
+  strcpy (buf, "/tmp/test-vfprintfXXXXXX");
   fd = mkstemp (buf);
   if (fd == -1)
     {