John Marriott wrote:
> On 15-Feb-2016 7:09 AM, Bram Moolenaar wrote:
> > I wrote:
> >
> >> Patch 7.4.1318
> >> Problem: Channel with pipes doesn't work in GUI.
> >> Solution: Register input handlers for pipes.
> >> Files: src/structs.h, src/feature.h, src/channel.c, src/eval.c,
> >> src/os_unix.c, src/os_win32.c, src/gui_w48.c,
> >> src/proto/channel.pro
> > This has broken the tests in the GUI and on MS-Windows.
> > Need to figure out why...
> >
> This patch fails to build for me on unix (HP-UX) if the channel
> feature is disabled:
> ...
> cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/os_unix.o os_unix.c
> cc: "os_unix.c", line 5058: warning 527: Integral value implicitly
> converted to pointer in assignment.
> ...
> cc -L/usr/local/lib -o vim objects/buffer.o objects/blowfish.o
> objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o
> objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o
> objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o
> objects/ex_getln.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/mark.o objects/memline.o objects/menu.o
> objects/message.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/syntax.o objects/tag.o
> objects/term.o objects/ui.o objects/undo.o objects/version.o
> objects/window.o objects/json.o objects/main.o objects/memfile.o -lm
> -ltermlib -lelf
> /usr/ccs/bin/ld: Unsatisfied symbols:
> channel_free (first referenced in objects/os_unix.o) (code)
> add_channel (first referenced in objects/os_unix.o) (code)
> channel_set_pipes (first referenced in objects/os_unix.o) (code)
> channel_set_job (first referenced in objects/os_unix.o) (code)
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
Hmm, so this system doesn't support sockets? Or did you disable
channels manually?
I'll add a few #ifdefs. However, we should probably connect
stdin/stdout/stderr of a job without channels to something. /dev/null?
It's one of the options that's not implemented yet.
We should probably also support channels with pipes only, without socket
support. Need another feature for that...
--
God made the integers; all else is the work of Man.
-- Kronecker
/// 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.