mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
@ -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>
|
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.
|
* posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
|
||||||
|
@ -8,7 +8,7 @@ DEFUN_VOID(main)
|
|||||||
FILE *f;
|
FILE *f;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
f = fopen("bugtest", "w+");
|
f = fopen("/tmp/bugtest", "w+");
|
||||||
for (i=0; i<9000; i++)
|
for (i=0; i<9000; i++)
|
||||||
putc ('x', f);
|
putc ('x', f);
|
||||||
fseek (f, 8180L, 0);
|
fseek (f, 8180L, 0);
|
||||||
|
@ -26,7 +26,7 @@ DEFUN(main, (argc, argv),
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
f = fopen("bugtest", "w+");
|
f = fopen("/tmp/bugtest", "w+");
|
||||||
for (i=0; i<9000; i++) {
|
for (i=0; i<9000; i++) {
|
||||||
putc('x', f);
|
putc('x', f);
|
||||||
}
|
}
|
||||||
|
@ -15,8 +15,8 @@ DEFUN_VOID(main)
|
|||||||
{
|
{
|
||||||
FILE *in;
|
FILE *in;
|
||||||
FILE *out;
|
FILE *out;
|
||||||
static char inname[] = "infile";
|
static char inname[] = "/tmp/bug5.in";
|
||||||
static char outname[] = "outfile";
|
static char outname[] = "/tmp/bug5.out";
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Create a test file. */
|
/* Create a test file. */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <ansidecl.h>
|
#include <ansidecl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#define TESTFILE "test.dat"
|
#define TESTFILE "/tmp/test.dat"
|
||||||
|
|
||||||
int
|
int
|
||||||
main __P((void))
|
main __P((void))
|
||||||
|
@ -37,7 +37,7 @@ DEFUN_VOID(main)
|
|||||||
FILE *output, *input;
|
FILE *output, *input;
|
||||||
int wstatus, rstatus;
|
int wstatus, rstatus;
|
||||||
|
|
||||||
output = popen ("/bin/cat >tstpopen.tmp", "w");
|
output = popen ("/bin/cat >/tmp/tstpopen.tmp", "w");
|
||||||
if (output == NULL)
|
if (output == NULL)
|
||||||
{
|
{
|
||||||
perror ("popen");
|
perror ("popen");
|
||||||
@ -47,10 +47,10 @@ DEFUN_VOID(main)
|
|||||||
write_data (output);
|
write_data (output);
|
||||||
wstatus = pclose (output);
|
wstatus = pclose (output);
|
||||||
printf ("writing pclose returned %d\n", wstatus);
|
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)
|
if (input == NULL)
|
||||||
{
|
{
|
||||||
perror ("tstpopen.tmp");
|
perror ("/tmp/tstpopen.tmp");
|
||||||
puts ("Test FAILED!");
|
puts ("Test FAILED!");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ int sig_number ();
|
|||||||
void psignal ();
|
void psignal ();
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_STRSIGNAL
|
#ifndef HAVE_STRSIGNAL
|
||||||
char *strsignal (int signal);
|
char *strsignal ();
|
||||||
#endif
|
#endif
|
||||||
#if !defined (HAVE_SYS_SIGLIST)
|
#if !defined (HAVE_SYS_SIGLIST)
|
||||||
extern char *sys_siglist[];
|
extern char *sys_siglist[];
|
||||||
|
Reference in New Issue
Block a user