From: Vince Darley Date: Fri, 7 Dec 2001 18:44:01 +0000 (+0000) Subject: various small test, make fixes X-Git-Tag: vfs-1-2~74 X-Git-Url: http://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=b61e81f2153b3a775a428423ff4b40deca98562a;p=tclvfs various small test, make fixes --- diff --git a/Makefile.in b/Makefile.in index b7d14cd..f85f5bd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -228,12 +228,6 @@ install-binaries: binaries install-lib-binaries install-bin-binaries #======================================================================== install-libraries: libraries - $(mkinstalldirs) $(includedir) - @echo "Installing header files in $(includedir)" - @for i in $(GENERIC_HDRS) ; do \ - echo "Installing $$i" ; \ - $(INSTALL_DATA) $$i $(includedir) ; \ - done; #======================================================================== # Install documentation. Unix manpages should go in the $(mandir) @@ -245,7 +239,7 @@ install-doc: doc $(mkinstalldirs) $(mandir)/man3 $(mkinstalldirs) $(mandir)/mann @echo "Installing documentation in $(mandir)" - @for i in $(srcdir)/*.n; \ + @for i in $(srcdir)/doc/*.n; \ do \ echo "Installing $$i"; \ rm -f $(mandir)/mann/$$i; \ diff --git a/generic/vfs.c b/generic/vfs.c index ecc69d8..af6736a 100644 --- a/generic/vfs.c +++ b/generic/vfs.c @@ -822,7 +822,7 @@ VfsPathInFilesystem(Tcl_Obj *pathPtr, ClientData *clientDataPtr) { * We need this test here both for an empty string being * passed in above, and so that if we are testing a unix * absolute path /foo/bar we will come around the loop - * with splitPosition at 0 for the last test, and we + * with splitPosition at 0 for the last iteration, and we * must return then. */ if (splitPosition == 0) { diff --git a/tests/vfs.test b/tests/vfs.test index 20e93c1..8b65227 100644 --- a/tests/vfs.test +++ b/tests/vfs.test @@ -18,7 +18,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} { package require vfs proc filelistrelative {filelist} { - set dir [file normalize [file dirname [info script]]] + set dir [file normalize [file dirname [file dirname [info script]]]] set len [string length $dir] incr len set res {}