GNU bug report logs - #22624
[bug-coreutils] coreutils-8.25: big success, but problem on GNU/Hurd

Previous Next

Package: coreutils;

Reported by: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>

Date: Wed, 10 Feb 2016 21:59:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>, "Nelson H. F. Beebe" <beebe <at> math.utah.edu>, 22624 <at> debbugs.gnu.org
Subject: bug#22624: [bug-coreutils] coreutils-8.25: big success, but problem on GNU/Hurd
Date: Thu, 11 Feb 2016 09:30:31 +0100
--- hurdtest.c-ORIG     2016-02-11 09:27:57.422023914 +0100
+++ hurdtest.c  2016-02-11 09:28:29.781433313 +0100
@@ -10,7 +10,7 @@
   struct stat st;
   off_t cur_offset;
   off_t end_offset;
-  int fd = open ("/dev/zero", O_RDONLY);
+  int fd = open (file, O_RDONLY);
   printf ("file=%s\n", file);
   if (fd < 0)
     return perror ("open"), 1;
@@ -58,7 +58,7 @@
 main (int argc, char **argv)
 {
   static char dev_zero[] = "/dev/zero";
-  static char dev_null[] = "/dev/zero";
+  static char dev_null[] = "/dev/null";
   static char *dev_zero_argv[] = { dev_zero, dev_null, 0 };
   char **av = argc == 1 ? dev_zero_argv : argv + 1;
   while (*av)




This bug report was last modified 6 years and 214 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.