Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for funcfiletrace used in configure is broken on zsh 5.3 #9

Closed
irl opened this issue Jan 15, 2017 · 1 comment
Closed

Test for funcfiletrace used in configure is broken on zsh 5.3 #9

irl opened this issue Jan 15, 2017 · 1 comment

Comments

@irl
Copy link
Contributor

irl commented Jan 15, 2017

https://bugs.debian.org/851501

Instead of parsing the output of declare -p, instead use if (( ${+funcfiletrace} )) as this is no longer listed in that output.

An explicit zmodload zsh/parameter also could not hurt.

@rocky
Copy link
Owner

rocky commented Jan 15, 2017

I guess you are referring to https://github.com/rocky/zshdb/blob/master/test/zsh/ok4zshdb.sh#L7 ?

Since you are there in the weeds already would you please make a patch and suggest that. I just looked and I'm currrently using zsh 5.1.1 (x86_64-ubuntu-linux-gnu).

Likewise with the suggestion to use zmodload zsh/parameter.

Thanks.

@rocky rocky closed this as completed in 94b389a Aug 30, 2017
rocky added a commit that referenced this issue Aug 30, 2017
Fix test for funcfiletrace on later zshdb in ok4zshdb.sh (Closes: #9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants