summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-12-10 16:51:57 +0100
committerSimon Josefsson <simon@josefsson.org>2008-12-10 16:51:57 +0100
commit40e571759b1c59294a92ad0b3c0983ad0c6e935f (patch)
treec55ff8b7616d195a932c3c895a80f192859c7c8b
parentd6d73781d4ea86a40044280d8b2450d67db05fe7 (diff)
downloadgnutls-40e571759b1c59294a92ad0b3c0983ad0c6e935f.tar.gz
Update gnulib files.
-rw-r--r--lib/gl/tests/test-lseek.c6
-rw-r--r--maint.mk4
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/gl/tests/test-lseek.c b/lib/gl/tests/test-lseek.c
index ebba02ec6d..5d9b5c044e 100644
--- a/lib/gl/tests/test-lseek.c
+++ b/lib/gl/tests/test-lseek.c
@@ -85,9 +85,9 @@ main (int argc, char **argv)
case '2': /* closed */
/* Explicitly close file descriptors 0 and 1. The <&- and >&- in the
- invoking shell are not enough on HP-UX. */
- close (0);
- close (1);
+ invoking shell are not enough on HP-UX.
+ close (0); calling close fails on mingw -- simon@josefsson.org
+ close (1); */
errno = 0;
ASSERT (lseek (0, (off_t)0, SEEK_CUR) == -1);
ASSERT (errno == EBADF);
diff --git a/maint.mk b/maint.mk
index 3756ee8710..d04530c209 100644
--- a/maint.mk
+++ b/maint.mk
@@ -18,6 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
ME := maint.mk
+MYSELF := $(srcdir)/$(ME)
# List of all C-like source code files that will be tested for
# stylistic "errors". You may want to define this to something
@@ -100,7 +101,8 @@ sc_changelog:
exit 1; } || :
# Collect the names of rules starting with `sc_'.
-syntax-check-rules := $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(ME))
+syntax-check-rules := \
+ $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(MYSELF))
.PHONY: $(syntax-check-rules)
syntax-check: $(syntax-check-rules)