Re: [go-nuts] Import a submodule from its parent package?

2020-12-28 Thread Aidan
Hello Ian, I dont see why the program would need any more than to block the signal with sigprocmask before calling tcsetpgrp. I am currently testing a patch to do exactly that. So far ive added the sigset_t data type to syscall/types_linux and regenerated ztypes_linux_amd64, and added calls t

Re: [go-nuts] Import a submodule from its parent package?

2020-12-27 Thread Ian Lance Taylor
On Sun, Dec 27, 2020 at 6:42 PM Aidan Hahn wrote: > > I am writing a modification to the os package in which I would like to take > advantage of code from the os/signal package. Ive written the patch (modified > os/exec_posix.go) and as I expected none of the symbols from os/signal are > define

[go-nuts] Import a submodule from its parent package?

2020-12-27 Thread Aidan Hahn
Hello, I am writing a modification to the os package in which I would like to take advantage of code from the os/signal package. Ive written the patch (modified os/exec_posix.go) and as I expected none of the symbols from os/signal are defined in the os package. My question is how I can import