[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fileutils-4.0.41-POSIX199309.patch for dd.c on RH71beta
From: |
J Kinsley |
Subject: |
fileutils-4.0.41-POSIX199309.patch for dd.c on RH71beta |
Date: |
Mon, 19 Mar 2001 14:13:48 -0500 (EST) |
diff -uNr fileutils-4.0.41-orig/src/dd.c fileutils-4.0.41/src/dd.c
--- fileutils-4.0.41-orig/src/dd.c Mon Mar 19 13:04:30 2001
+++ fileutils-4.0.41/src/dd.c Mon Mar 19 13:02:27 2001
@@ -1173,7 +1168,11 @@
if (ftruncate (STDOUT_FILENO, o) != 0
&& (S_ISREG (stdout_stat.st_mode)
|| S_ISDIR (stdout_stat.st_mode)
+#ifdef __USE_POSIX199309
+ || S_TYPEISSHM (&stdout_stat)))
+#else
|| S_TYPEISSHM (stdout_stat.st_mode)))
+#endif
{
char buf[LONGEST_HUMAN_READABLE + 1];
error (1, errno, _("advancing past %s bytes in output file %s"),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fileutils-4.0.41-POSIX199309.patch for dd.c on RH71beta,
J Kinsley <=