delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/30/15:35:46

Message-ID: <39848361.1A3AF7C5@softhome.net>
Date: Sun, 30 Jul 2000 21:34:57 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: DJGPP Workers <djgpp-workers AT delorie DOT com>
Subject: Small fix for testsuite
Reply-To: djgpp-workers AT delorie DOT com

I've commited the following as an obvious fix.

Laurynas

Index: stat1.c
===================================================================
RCS file: /cvs/djgpp/djgpp/tests/libc/posix/sys/stat/stat1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stat1.c	1995/04/18 08:35:20	1.1
+++ stat1.c	2000/07/30 19:34:37	1.2
@@ -22,7 +22,7 @@
       char name[256];
       int fd;
 
-      sprintf (name, "/tmp/foo%d", i);
+      sprintf (name, "/dev/env/DJDIR/tmp/foo%d", i);
       if ((fd = open (name, O_CREAT, 0777)) < 0)
 	{
 	  fprintf (stderr, "open number %d failed, last fd = %d.\n", i,

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019