[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-109
From: |
Andrew J. Schorr |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-109-g7e7f561 |
Date: |
Wed, 27 Nov 2013 21:58:16 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, gawk-4.1-stable has been updated
via 7e7f5610683ea455b6d40297b0c3cd11156006da (commit)
from 92d3554b0865ada14d1914842dbc5c7eaa3b01a8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=7e7f5610683ea455b6d40297b0c3cd11156006da
commit 7e7f5610683ea455b6d40297b0c3cd11156006da
Author: Andrew J. Schorr <address@hidden>
Date: Wed Nov 27 16:57:25 2013 -0500
Readdir test should work on filesystems lacking type info in the dirent.
diff --git a/test/ChangeLog b/test/ChangeLog
index 6ff3d8c..50f10ad 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,10 @@
2013-11-27 Andrew J. Schorr <address@hidden>
+ * readdir0.awk: Restore fix so that we do not fail on filesysystems
+ such as XFS where the dirent does not contain the file type.
+
+2013-11-27 Andrew J. Schorr <address@hidden>
+
* Makefile.am (ordchr2): Use --load instead of -l to make sure the
long option works properly. Note that the readfile test still uses
the short version.
diff --git a/test/readdir0.awk b/test/readdir0.awk
index f16f481..5aedbf7 100644
--- a/test/readdir0.awk
+++ b/test/readdir0.awk
@@ -41,5 +41,5 @@ BEGIN {
printf("mismatch: %d from `ls -afi' and %d from `ls -l'\n", i,
j) > "/dev/stderr"
for (i = 1; i in names; i++)
- printf("%s/%s/%s\n", ino[names[i]], names[i], type[names[i]])
+ printf("%s/%s/%s\n", ino[names[i]], names[i], (ftype_unknown ?
"u" : type[names[i]]))
}
-----------------------------------------------------------------------
Summary of changes:
test/ChangeLog | 5 +++++
test/readdir0.awk | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-109-g7e7f561,
Andrew J. Schorr <=