Bug 115094 - [PATCH] shells/zsh: fix for using *env()
[PATCH] shells/zsh: fix for using *env()
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: sergei
Depends on:
  Show dependency treegraph
Reported: 2007-07-31 20:30 UTC by Sean Farley
Modified: 2007-10-05 09:30 UTC (History)
1 user (show)

See Also:

zsh-4.3.4_1.patch (7.06 KB, patch)
2007-07-31 20:30 UTC, Sean Farley
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Farley freebsd_committer 2007-07-31 20:30:01 UTC
This patch by Peter Stephenson adds (un)setenv() detection to zsh.  This
fixes the issue on 7-CURRENT where zsh was manipulating environ directly
in conflict with the new *env() functions.  6-STABLE continues to works

See "zsh oddities with recent -current" for the initial report:

Here is the thread about the patch:

- With the recent autoconf changes, I am not sure if the patches to both
  configure and configure.ac are needed.
- The patch to the test case is not really needed.
- The next version of zsh should have this fix in it.

Added file(s):
- files/patch-environ

Port maintainer (sergei@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer 2007-07-31 20:30:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

Over to maintainer
Comment 2 dfilter freebsd_committer 2007-10-05 09:22:51 UTC
sergei      2007-10-05 08:22:46 UTC

  FreeBSD ports repository

  Modified files:
    shells/zsh           Makefile 
  Added files:
    shells/zsh/files     patch-Completion-Unix-Command-_locate 
  - Add Peter Stephenson's patch from Zsh CVS repo that adds (un)setenv()
    detection. This fixes the issue on 7-CURRENT where Zsh was manipulating
    environment directly in conflict with the new *env() functions:
    6-STABLE continues to works correctly.
    More info about the patch:
  - Fix completions for locate(1), mount(8), umount(8) to avoid some linuxisms
    and do the right thing under FreeBSD
  PR:             ports/115094, ports/115702
  Submitted by:   Sean C. Farley (scf)
  Revision  Changes    Path
  1.88      +1 -1      ports/shells/zsh/Makefile
  1.1       +40 -0     ports/shells/zsh/files/patch-Completion-Unix-Command-_locate (new)
  1.1       +13 -0     ports/shells/zsh/files/patch-Completion-Unix-Command-_mount (new)
  1.1       +20 -0     ports/shells/zsh/files/patch-Completion-Unix-Type-_canonical_paths (new)
  1.1       +253 -0    ports/shells/zsh/files/patch-environ (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 sergei freebsd_committer 2007-10-05 09:23:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!