John Marriott wrote:

> On 14-May-2018 00:00, Bram Moolenaar wrote:
> > Patch 8.0.1832
> > Problem:    Cannot use :unlet for an environment variable.
> > Solution:   Make it work.  Use unsetenv() if available. (Ken Takata,
> >              closes #2855)
> > Files:      runtime/doc/eval.txt, src/config.h.in, src/configure.ac,
> >              src/auto/configure, src/eval.c, src/misc1.c, 
> > src/proto/misc1.pro,
> >              src/testdir/test_unlet.vim
> >
> >
> >
> After this patch, HP-UX throws this linker error:
> <snip>
> ...
>    cc   -L/usr/local/lib     -o vim objects/arabic.o objects/beval.o  
> objects/buffer.o  objects/blowfish.o objects/crypt.o  
> objects/crypt_zip.o  objects/dict.o objects/diff.o  objects/digraph.o  
> objects/edit.o  objects/eval.o objects/evalfunc.o  objects/ex_cmds.o  
> objects/ex_cmds2.o objects/ex_docmd.o  objects/ex_eval.o  
> objects/ex_getln.o objects/farsi.o  objects/fileio.o  objects/fold.o 
> objects/getchar.o  objects/hardcopy.o  objects/hashtab.o 
> objects/if_cscope.o  objects/if_xcmdsrv.o  objects/list.o 
> objects/mark.o  objects/memline.o  objects/menu.o  objects/misc1.o 
> objects/misc2.o  objects/move.o  objects/mbyte.o  objects/normal.o 
> objects/ops.o  objects/option.o  objects/os_unix.o objects/pathdef.o  
> objects/popupmnu.o  objects/pty.o objects/quickfix.o  objects/regexp.o  
> objects/screen.o objects/search.o  objects/sha256.o  objects/spell.o 
> objects/spellfile.o  objects/syntax.o  objects/tag.o objects/term.o  
> objects/terminal.o  objects/ui.o  objects/undo.o objects/userfunc.o  
> objects/version.o objects/window.o                             
> objects/charset.o objects/json.o  objects/main.o  objects/memfile.o 
> objects/message.o               -lm -ltermlib -lelf
> /usr/ccs/bin/ld: Unsatisfied symbols:
>     setenv (first referenced in objects/misc1.o) (code)
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> </snip>
> 
> It seems that HP-UX does not have setenv(). Please check the attached patch.

Thanks.  I should have known, the function is just below the new code.

-- 
Kisses may last for as much as, but no more than, five minutes.
                [real standing law in Iowa, United States of America]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui