zsh-workers
 help / color / mirror / code / Atom feed
* 3.1.6-dev-15
@ 2000-01-13 18:36 Peter Stephenson
  2000-01-13 19:02 ` dl.h/dlfnc.h clash in module.c 3.1.6-dev-15 Andrej Borsenkow
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Peter Stephenson @ 2000-01-13 18:36 UTC (permalink / raw)
  To: Zsh hackers list

I have uploaded
  ftp://ftp.zsh.org/pub/zsh/development/zsh-3.1.6-dev-15.tar.gz
with the following changes.  I shall add the site-functions directory when
I've decided how to.

2000-01-12  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>

	* pws: Config/version.mk: 3.1.6-dev-15.

	* pws: configure.in: use quoted '${VERSION}' in function directory
	to be determined at compile time, avoids having to re-make
	config.status.

	* Sven: 9298: Completion/Core/_description,
	Completion/Core/_main_complete, Completion/Core/_path_files,
	Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Src/Zle/compcore.c:
	ignored-suffixes becomes ignored-patterns for more general
	ignorance.

	* Sven: 9297: Completion/Core/_alternative: typo.

	* Sven: 9296: Src/Zle/compmatch.c: matcher ignores backslashes by
	default.

2000-01-11  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>

	* pws: 9295: Doc/Zsh/grammar.yo, Src/loop.c,
	Src/Modules/parameter.c: problem with aliased options with
	negative number when retrieving $options; bad test for use of
	terminal with `select'; defective description of tests for
	alternative forms using if ... { ... } etc.

	* Sven: 9291: Completion/Core/_main_complete: insufficient care
	with ksharrays affected _cd completion.

	* Sven: 9287: Src/exec.c: unbalanced use of heaps.

2000-01-10  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>

	* Sven: 9283: Src/mem.c: hrealloc() problem with mmap().

	* Tanaka Akira: 9281, 9282: Completion/Builtins/_popd: too eager
	to insert slash suffix.

2000-01-09  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>

	* pws: 9280: Src/subst.c: failed to copy parameter properly using
	${(P)...} flag.

	* pws: 9279: Src/mem.c: use munmap() instead of zfree() for
	one more heap reference.

	* pws: 9278: Completion/Core/_path_files: overenthusiastic use of
	$fignore on explicitly globbed files.

	* Tanaka Akira: 9274: Completion/X/_xutils: completing options of
	X commands didn't work.

	* Tanaka Akira: 9273: Completion/User/_cvs: various tweaks.

	* Bart: 9272: Src/Aliases/alias.mdd.in: file missed in 9253.

	* Bart: 9270: Doc/Zsh/.cvsignore, Doc/Zsh/.distfiles,
	Doc/Makefile.in: Doc/Zsh/manmodmenu.yo is a generated file.

2000-01-08  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>

	* Tanaka Akira: 9269: Completion/User/_pack: bogus space in _pack.

2000-01-07  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>

	* pws: 9267: Src/signals.c, Test/08traps.ztst, Test/50cd.ztst,
	Test/ztst.zsh:	fix remaining(?) trap issues by simplifying
	save/restore code; add tests for traps (with unpleasantness
	testing trap triggering).

	* pws: 9266: configure.in, INSTALL: move $ZSH_VERSION to before
	functions, to allow other zsh versioned stuff to be collected.

	* Sven: 9264 (minus `make clean' hunk): ./Doc/Makefile.in,
	Doc/Zsh/manual.yo:  remove yodl comments to avoid makeinfo
	problems.

	* Sven: 9263: Completion/Builtins/_zmodload,
	Completion/Core/_files, Completion/Core/_path_files: _path_files
	handles (:r) modifier; _files handles -/g; _zmodload handles
	hierarchical modules.

	* Sven: 9262: Completion/Builtins/_hash, Completion/Linux/_rpm,
	Completion/User/_dd, Completion/User/_gs, Completion/User/_make:
	9260 add-on for various uses of compset.

	* Sven: 9261: Completion/User/_a2ps: missing backslash.

	* Sven: 9260: Completion/Core/_main_complete: completion after `='.

2000-01-06  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>

	* pws: 9256: configure.in, INSTALL: add $ZSH_VERSION to default
	function install path.

	* Oliver: 9253: Src/Aliases/cap.mdd, Src/Aliases/clone.mdd,
	Src/Aliases/compctl.mdd, Src/Aliases/complete.mdd,
	Src/Aliases/complist.mdd, Src/Aliases/computil.mdd,
	Src/Aliases/deltochar.mdd, Src/Aliases/example.mdd,
	Src/Aliases/files.mdd, Src/Aliases/mapfile.mdd,
	Src/Aliases/mathfunc.mdd, Src/Aliases/parameter.mdd,
	Src/Aliases/rlimits.mdd, Src/Aliases/sched.mdd,
	Src/Aliases/stat.mdd, Src/Aliases/zftp.mdd, Src/Aliases/zle.mdd,
	Src/Aliases/zleparameter.mdd, Src/Aliases/zutil.mdd,
	Src/linklist.c, Src/mkmakemod.sh, Src/params.c, Src/utils.c: more
	fixes for dynamical linking on AIX.

	* Tanaka Akira: 9252: Completion/User/_lp: typo in 9242.

	* Sven: 9250: Src/Zle/complete.c: extend 9237 for compset.

	* Sven: 9248: Completion/Core/_tags, Doc/Zsh/compsys.yo: simplify
	undoability of 9245 and suchlike by making `!tag' valid in
	tag-order style.

	* Sven: 9245: Completion/Base/_command_names,
	Completion/Base/_parameter: complete parameters in command
	position (now undoable using styles).

	* Sven: 9244: Completion/Builtins/_zstyle: partial word completion
	for style names.

	* Sven: 9242: Completion/User/_lp: better completion of printer
	names.

	* Alexandre: 9240: Completion/User/_urls: handle URLs from
	bookmarks with spaces by quoting.

	* Sven: 9237: Doc/Zsh/compwid.yo, Src/Zle/compcore.c: fix literal
	handling of completion prefix/suffix.

	* Sven: 9236: Src/Zle/compresult.c, Src/Zle/zle_misc.c:
	listmatches called with bogus list, plus extra paranoia.

	* Tanaka Akira: 9235: Test/07cond.ztst: chgrp to workaround
	inherited groups.

	* Tanaka Akira: 9228: Completion/Builtins/_popd: probllem listing
	directories.

	* Tanaka Akira: 9227: Test/04redirect.ztst: problem with .nfs*
	files remaining when deleting directory.

	* Tanaka Akira: 9226: Completion/User/_lp: explanation typo.

	* Tanaka Akira: 9225: Completion/Core/_path_files,
	Doc/Zsh/compsys.yo: file completion in root directory.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* dl.h/dlfnc.h clash in module.c RE: 3.1.6-dev-15
  2000-01-13 18:36 3.1.6-dev-15 Peter Stephenson
@ 2000-01-13 19:02 ` Andrej Borsenkow
  2000-01-14 19:09   ` Peter Stephenson
  2000-01-14 19:33   ` Gene Cohler
  2000-01-13 19:14 ` 3.1.6-dev-15 Tanaka Akira
  2000-01-14  7:06 ` 3.1.6-dev-15 Andrej Borsenkow
  2 siblings, 2 replies; 9+ messages in thread
From: Andrej Borsenkow @ 2000-01-13 19:02 UTC (permalink / raw)
  To: Peter Stephenson, Zsh hackers list

O.K., looks, like my mail was lost.

I complained about inability to load complete.so (that depends on zle.so) in
dev-14. It turned out to be patch from 9200, that changed

#ifdef HAVE_DLFNC_H
#include <dlfnc.h>

into

#ifdef HAVE_DLFNC_H
#ifdef HAVE_DL_H
#include <dl.h>
#else
#include <dlfnc.h>
#endif


Our system has dl.h that has nothing to do with dynamic locading (it is most
probably from Double Linked lists). It results in RTLD_GLOBAL being undefined
(defined to dummy value in module.c) - with obvious consequencies ...

The wording in 9200 was "HPUX 11.0 does not have dlfnc.h ..." - I fail to see
how above patch fixes that.

/andrej


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.1.6-dev-15
  2000-01-13 18:36 3.1.6-dev-15 Peter Stephenson
  2000-01-13 19:02 ` dl.h/dlfnc.h clash in module.c 3.1.6-dev-15 Andrej Borsenkow
@ 2000-01-13 19:14 ` Tanaka Akira
  2000-01-15 19:21   ` 3.1.6-dev-15 Clint Adams
  2000-01-14  7:06 ` 3.1.6-dev-15 Andrej Borsenkow
  2 siblings, 1 reply; 9+ messages in thread
From: Tanaka Akira @ 2000-01-13 19:14 UTC (permalink / raw)
  To: Zsh hackers list

In article <E128p4T-0008Ql-00.2000-01-13-18-34-10@cmailg1.svr.pol.co.uk>,
  Peter Stephenson <pws@pwstephenson.fsnet.co.uk> writes:

> I have uploaded
>   ftp://ftp.zsh.org/pub/zsh/development/zsh-3.1.6-dev-15.tar.gz

I compared dev-15 with my patched dev-14.

* _zmodload has an unused variable `d'.
* Non-patch suggestion in 9264/9265 is ignored.
* 08traps.ztst is forgotten.

Index: zsh/Completion/Builtins/_zmodload
diff -u zsh/Completion/Builtins/_zmodload:1.1.1.14 zsh/Completion/Builtins/_zmodload:1.1.1.13
--- zsh/Completion/Builtins/_zmodload:1.1.1.14	Thu Jan 13 18:50:16 2000
+++ zsh/Completion/Builtins/_zmodload	Fri Jan  7 14:40:09 2000
@@ -1,6 +1,6 @@
 #compdef zmodload
 
-local fl="$words[2]" expl d
+local fl="$words[2]" expl
 
 if [[ "$fl" = -*(a*u|u*a)* || "$fl" = -*a* && CURRENT -ge 4 ]]; then
   _wanted builtins expl 'builtin command' &&
diff -u zsh/Doc/Makefile.in:1.1.1.53 zsh/Doc/Makefile.in:1.1.1.52
--- zsh/Doc/Makefile.in:1.1.1.53	Thu Jan 13 18:50:23 2000
+++ zsh/Doc/Makefile.in	Sat Jan  8 22:12:38 2000
@@ -286,7 +286,6 @@
 	rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log
 	rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
 	rm -rf infodir
-	rm -f *.1 Zsh/modlist.yo Zsh/modmenu.yo Zsh/manmodmenu.yo
 .PHONY: clean-here
 
 distclean-here: clean-here
Index: Test/.distfiles
===================================================================
RCS file: /projects/zsh/zsh/Test/.distfiles,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 .distfiles
--- Test/.distfiles	1999/12/23 22:09:51	1.1.1.4
+++ Test/.distfiles	2000/01/13 19:10:20
@@ -2,5 +2,5 @@
     .cvsignore .distfiles Makefile.in
     ztst.zsh
     01grammar.ztst 02alias.ztst 03quoting.ztst 04redirect.ztst
-    05command.ztst 06arith.ztst 07cond.ztst 50cd.ztst
+    05command.ztst 06arith.ztst 07cond.ztst 08traps.ztst 50cd.ztst
 '
-- 
Tanaka Akira


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: 3.1.6-dev-15
  2000-01-13 18:36 3.1.6-dev-15 Peter Stephenson
  2000-01-13 19:02 ` dl.h/dlfnc.h clash in module.c 3.1.6-dev-15 Andrej Borsenkow
  2000-01-13 19:14 ` 3.1.6-dev-15 Tanaka Akira
@ 2000-01-14  7:06 ` Andrej Borsenkow
  2000-01-14 19:10   ` 3.1.6-dev-15 Peter Stephenson
  2 siblings, 1 reply; 9+ messages in thread
From: Andrej Borsenkow @ 2000-01-14  7:06 UTC (permalink / raw)
  To: Peter Stephenson, Zsh hackers list

bor@itsrm2% sudo gmake install.info
gmake[1]: Entering directory `/tools/src/zsh-3.1.6-dev-15/Doc'
../mkinstalldirs /tools/info
rm -rf infodir
mkdir infodir
if ( \
    sed '/^@setfilename/s|zsh|zsh|' \
        < ./zsh.texi > infodir/tzsh.texi && \
    (cd infodir && makeinfo tzsh.texi) && \
    for file in infodir/zsh.info*; do \
        .././install-sh -c -m 644 $file /tools/info || exit 1; \
    done \
); then \
    rm -rf infodir; \
    exit 0; \
else \
    rm -rf infodir; \
    exit 1; \
fi
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/cap Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/clone Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/compctl
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/complete
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/complist
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/computil
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/deltochar
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/example
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/files Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/mapfile
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/mathfunc
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/parameter
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/sched Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/stat Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/zftp Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/zle Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/zleparameter
Module' despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/zutil Module'
despite being its Up target.
./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/zprof Module'
despite being its Up target.
makeinfo: Removing output file
`/tools/src/zsh-3.1.6-dev-15/Doc/infodir/zsh.info' due to errors; use --force to
preserve.
gmake[1]: *** [install.info] Error 1
gmake[1]: Leaving directory `/tools/src/zsh-3.1.6-dev-15/Doc'
gmake: *** [install.info] Error 2
bor@itsrm2%


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dl.h/dlfnc.h clash in module.c RE: 3.1.6-dev-15
  2000-01-13 19:02 ` dl.h/dlfnc.h clash in module.c 3.1.6-dev-15 Andrej Borsenkow
@ 2000-01-14 19:09   ` Peter Stephenson
  2000-01-14 19:33   ` Gene Cohler
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Stephenson @ 2000-01-14 19:09 UTC (permalink / raw)
  To: Zsh hackers list; +Cc: Gene Cohler

"Andrej Borsenkow" wrote:
> O.K., looks, like my mail was lost.
> 
> I complained about inability to load complete.so (that depends on zle.so) in
> dev-14. It turned out to be patch from 9200, that changed
> 
> #ifdef HAVE_DLFNC_H
> #include <dlfnc.h>
> 
> into
> 
> #ifdef HAVE_DLFNC_H
> #ifdef HAVE_DL_H
> #include <dl.h>
> #else
> #include <dlfnc.h>
> #endif
> 
> Our system has dl.h that has nothing to do with dynamic locading (it is most
> probably from Double Linked lists). It results in RTLD_GLOBAL being undefined
> (defined to dummy value in module.c) - with obvious consequencies ...
> 
> The wording in 9200 was "HPUX 11.0 does not have dlfnc.h ..." - I fail to see
> how above patch fixes that.

The patch came from Gene Cohler <gene@bear.com> in 9211, and he'll have to
answer this, since most of us don't have access to HPUX 11.  I think the
point is it needs to prefer dl.h to dlfcn.h in that case, if both exist.
(Although I agree that if the problem *really* is that dlfnc.h *doesn't*
exist, HAVE_DLFNC_H oughtn't to be defined in the first place and something
screwy is happening.)  The solution may be to test something HP-specific.
Would changing the second line to

#if defined(HAVE_DL_H) && defined(__hpux)

suit everybody?

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.1.6-dev-15
  2000-01-14  7:06 ` 3.1.6-dev-15 Andrej Borsenkow
@ 2000-01-14 19:10   ` Peter Stephenson
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Stephenson @ 2000-01-14 19:10 UTC (permalink / raw)
  To: Zsh hackers list

"Andrej Borsenkow" wrote:
> ./tzsh.texi:11165: Node `Zsh Modules' lacks menu item for `The zsh/cap
>  Module'
> despite being its Up target.
> ...
> etc.

I can't get this to fail with the current code, even starting from a
distribution and using a separate build directory.  It looks to me like
Doc/Zsh/manmodmenu.yo isn't there.  Have you applied Tanaka Akira's patch
in 9311, in particular the fix for `make clean'?  You will then need to
make sure Doc/Zsh/modlist.yo, Doc/Zsh/modmenu.yo, Doc/Zsh/manmodmenu.yo are
recreated in the source tree (not the build tree, which doesn't have a Zsh
subdirectory).  After the patch, they won't be removed unless you do a
`make realclean' to rebuild the code which comes with the distribution.
Before the patch, they would have been, which probably caused the problem.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dl.h/dlfnc.h clash in module.c RE: 3.1.6-dev-15
  2000-01-13 19:02 ` dl.h/dlfnc.h clash in module.c 3.1.6-dev-15 Andrej Borsenkow
  2000-01-14 19:09   ` Peter Stephenson
@ 2000-01-14 19:33   ` Gene Cohler
  1 sibling, 0 replies; 9+ messages in thread
From: Gene Cohler @ 2000-01-14 19:33 UTC (permalink / raw)
  To: Andrej Borsenkow; +Cc: Peter Stephenson, Zsh hackers list

This is my fault here. I had (incorrectly assumed that this dlfcn.h business
was hp-spcific. So presumably protecting it with something like #ifdef hpux 
ought to contain it.


On Thu, Jan 13, 2000 at 10:02:20PM +0300, Andrej Borsenkow wrote:
> O.K., looks, like my mail was lost.
> 
> I complained about inability to load complete.so (that depends on zle.so) in
> dev-14. It turned out to be patch from 9200, that changed
> 
> #ifdef HAVE_DLFNC_H
> #include <dlfnc.h>
> 
> into
> 
> #ifdef HAVE_DLFNC_H
> #ifdef HAVE_DL_H
> #include <dl.h>
> #else
> #include <dlfnc.h>
> #endif
> 
> 
> Our system has dl.h that has nothing to do with dynamic locading (it is most
> probably from Double Linked lists). It results in RTLD_GLOBAL being undefined
> (defined to dummy value in module.c) - with obvious consequencies ...
> 
> The wording in 9200 was "HPUX 11.0 does not have dlfnc.h ..." - I fail to see
> how above patch fixes that.
> 
> /andrej
> 

-- 
  Gene Cohler
  Bear Stearns & Co.


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.1.6-dev-15
  2000-01-13 19:14 ` 3.1.6-dev-15 Tanaka Akira
@ 2000-01-15 19:21   ` Clint Adams
  0 siblings, 0 replies; 9+ messages in thread
From: Clint Adams @ 2000-01-15 19:21 UTC (permalink / raw)
  To: zsh-workers

Err.. scratch that.  Rebuilding the .yo files solved it.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.1.6-dev-15
@ 2000-01-15 19:11 Clint Adams
  0 siblings, 0 replies; 9+ messages in thread
From: Clint Adams @ 2000-01-15 19:11 UTC (permalink / raw)
  To: zsh-workers

> I can't get this to fail with the current code, even starting from a
> distribution and using a separate build directory.  It looks to me like
> Doc/Zsh/manmodmenu.yo isn't there.  Have you applied Tanaka Akira's patch
> in 9311, in particular the fix for `make clean'?  You will then need to
> make sure Doc/Zsh/modlist.yo, Doc/Zsh/modmenu.yo, Doc/Zsh/manmodmenu.yo are
> recreated in the source tree (not the build tree, which doesn't have a Zsh
> subdirectory).  After the patch, they won't be removed unless you do a
> `make realclean' to rebuild the code which comes with the distribution.
> Before the patch, they would have been, which probably caused the problem.

I have the same problem with 9311 applied and
Doc/Zsh/mod{list,menu}.yo and Doc/Zsh/manmodmenu.yo present.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-01-15 19:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-13 18:36 3.1.6-dev-15 Peter Stephenson
2000-01-13 19:02 ` dl.h/dlfnc.h clash in module.c 3.1.6-dev-15 Andrej Borsenkow
2000-01-14 19:09   ` Peter Stephenson
2000-01-14 19:33   ` Gene Cohler
2000-01-13 19:14 ` 3.1.6-dev-15 Tanaka Akira
2000-01-15 19:21   ` 3.1.6-dev-15 Clint Adams
2000-01-14  7:06 ` 3.1.6-dev-15 Andrej Borsenkow
2000-01-14 19:10   ` 3.1.6-dev-15 Peter Stephenson
2000-01-15 19:11 3.1.6-dev-15 Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).