Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Fri, 24 Feb 1995 19:47:17 +0000 (19:47 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 24 Feb 1995 19:47:17 +0000 (19:47 +0000)
* stdio/bug4.c: Put temporary files in /tmp.
* stdio/bug3.c: Likewise.
* stdio/bug5.c: Likewise.
* stdio/test-fseek.c: Likewise.
* stdio/test-popen.c: Likewise.

ChangeLog
stdio/bug3.c
stdio/bug4.c
stdio/bug5.c
stdio/test-fseek.c
stdio/test-popen.c
sysdeps/generic/signame.h

index d86f5a7..de130af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Fri Feb 24 14:40:48 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
+
+       * stdio/bug4.c: Put temporary files in /tmp.
+       * stdio/bug3.c: Likewise.
+       * stdio/bug5.c: Likewise.
+       * stdio/test-fseek.c: Likewise.
+       * stdio/test-popen.c: Likewise.
+
 Wed Feb 22 00:44:41 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
        * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
index 0f3c7f1..1684720 100644 (file)
@@ -8,7 +8,7 @@ DEFUN_VOID(main)
   FILE *f;
   int i;
 
-  f = fopen("bugtest", "w+");
+  f = fopen("/tmp/bugtest", "w+");
   for (i=0; i<9000; i++)
     putc ('x', f);
   fseek (f, 8180L, 0);
index 8e67f1d..00abf3c 100644 (file)
@@ -26,7 +26,7 @@ DEFUN(main, (argc, argv),
        break;
       }
 
-  f = fopen("bugtest", "w+");
+  f = fopen("/tmp/bugtest", "w+");
   for (i=0; i<9000; i++) {
     putc('x', f);
   }
index 218af31..18f069a 100644 (file)
@@ -15,8 +15,8 @@ DEFUN_VOID(main)
 {
   FILE *in;
   FILE *out;
-  static char inname[] = "infile";
-  static char outname[] = "outfile";
+  static char inname[] = "/tmp/bug5.in";
+  static char outname[] = "/tmp/bug5.out";
   int i;
 
   /* Create a test file.  */
index 398cac7..d56c669 100644 (file)
@@ -1,7 +1,7 @@
 #include <ansidecl.h>
 #include <stdio.h>
 
-#define TESTFILE "test.dat"
+#define TESTFILE "/tmp/test.dat"
 
 int
 main __P((void))
index df6138b..b452f3f 100644 (file)
@@ -37,7 +37,7 @@ DEFUN_VOID(main)
   FILE *output, *input;
   int wstatus, rstatus;
 
-  output = popen ("/bin/cat >tstpopen.tmp", "w");
+  output = popen ("/bin/cat >/tmp/tstpopen.tmp", "w");
   if (output == NULL)
     {
       perror ("popen");
@@ -47,10 +47,10 @@ DEFUN_VOID(main)
   write_data (output);
   wstatus = pclose (output);
   printf ("writing pclose returned %d\n", wstatus);
-  input = popen ("/bin/cat tstpopen.tmp", "r");
+  input = popen ("/bin/cat /tmp/tstpopen.tmp", "r");
   if (input == NULL)
     {
-      perror ("tstpopen.tmp");
+      perror ("/tmp/tstpopen.tmp");
       puts ("Test FAILED!");
       exit (1);
     }
index 3ff6d9a..18b83cb 100644 (file)
@@ -56,7 +56,7 @@ int sig_number ();
 void psignal ();
 #endif
 #ifndef HAVE_STRSIGNAL
-char *strsignal (int signal);
+char *strsignal ();
 #endif
 #if !defined (HAVE_SYS_SIGLIST)
 extern char *sys_siglist[];