Hi I have build vim-8.0 on z/OS.
(06:09) RS12 : PDKUZM | ~/ussport/vim/vim-git :> git log -1 commit ec68a99464055029c01082762517e97245ddae0c Author: Bram Moolenaar <b...@vim.org> Date: Mon Oct 3 21:37:41 2016 +0200 patch 8.0.0022 Problem: If a channel in NL mode is missing the NL at the end the remaining characters are dropped. Solution: When the channel is closed use the remaining text. (Ozaki Kiichi) But I have an error when compiling and linking 07:03) RS12 : PDKUZM | ~/ussport/vim/vim-git :> make Starting make in the src directory. If there are problems, cd to the src directory and run make there cd src && make first CC="c99 -Iproto -DHAVE_CONFIG_H -D_ALL_SOURCE -D_EXT -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE -D_SHARE_EXT_VARS -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 " srcdir=. sh ./osdef.sh ... c99 -c -I. -Iproto -DHAVE_CONFIG_H -D_ALL_SOURCE -D_EXT -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE -D_SHARE_EXT_VARS -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 -O -qlanglvl=extended:extc89:extc99 -qxplink -qdll -qfloat=ieee -qlongname -qenum=int -qhaltonmsg=3296:4108 -D_ALL_SOURCE -D_EXT -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE -D_SHARE_EXT_VARS -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 -o objects/eval.o eval.c WARNING CCN3162 ./eval.c:10167 No definition was found for function sortFunctions. Storage class changed to extern ... c99 -c -I. -Iproto -DHAVE_CONFIG_H -D_ALL_SOURCE -D_EXT -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE -D_SHARE_EXT_VARS -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 -O -qlanglvl=extended:extc89:extc99 -qxplink -qdll -qfloat=ieee -qlongname -qenum=int -qhaltonmsg=3296:4108 -D_ALL_SOURCE -D_EXT -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE -D_SHARE_EXT_VARS -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 -o objects/os_unix.o os_unix.c WARNING CCN3236 ./os_unixx.h:118 Macro name __SUSV3 has been redefined. ... c99 -O -qxplink -qdllCPP=cpp -o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/charset.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/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/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/netbeans.o objects/channel.o objects/json.o objects/main.o objects/memfile.o objects/message.o -lm -lcurses IEW2456E 9207 SYMBOL sortFunctions UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. FSUM3065 The LINKEDIT step ended with return code 8. Makefile:1867: recipe for target 'vim' failed make: *** [vim] Error 3 Makefile:26: recipe for target 'first' failed make: *** [first] Error 2 And this patch resolves the problem diff --git a/src/eval.c b/src/eval.c index 3b5abe9..33b5023 100644 --- a/src/eval.c +++ b/src/eval.c @@ -243,8 +243,8 @@ static void list_one_var_a(char_u *prefix, char_u *name, int type, char_u *strin static char_u *find_option_end(char_u **arg, int *opt_flags); #ifdef EBCDIC -static int compare_func_name(const void *s1, const void *s2); -static void sortFunctions(); +int compare_func_name(const void *s1, const void *s2); +void sortFunctions(); #endif /* for VIM_VERSION_ defines */ diff --git a/src/evalfunc.c b/src/evalfunc.c index 84eaa8c..32306f6 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -925,7 +925,7 @@ get_expr_name(expand_T *xp, int idx) /* * Compare struct fst by function name. */ - static int + int compare_func_name(const void *s1, const void *s2) { struct fst *p1 = (struct fst *)s1; @@ -939,7 +939,7 @@ compare_func_name(const void *s1, const void *s2) * The sorting of the table above is ASCII dependant. * On machines using EBCDIC we have to sort it. */ - static void + void sortFunctions(void) { int funcCnt = (int)(sizeof(functions) / sizeof(struct fst)) - 1; -- Regards, Yaroslav Kuzmin Developer C/C++ ,z/OS , Linux 3 Zhukovskiy Street · Miass, Chelyabinsk region 456318 · Russia Tel: +7.922.2.38.33.38 Email: ykuz...@rocketsoftware.com Web: www.rocketsoftware.com ================================ Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ +1 877.328.2932 ■ +1 781.577.4321 Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.