48
CST 2018 root@abeing:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
Here is the script
https://gist.github.com/iblis17/6a1d899462ba8ba1a475eebad83e993d
--
Iblis Lin
林峻頤
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/li
On Mon, Feb 27, 2017 at 10:27:17PM -0800, Simon J. Gerraty wrote:
> Iblis Lin wrote:
> > Accutally, I made it core dump via a julia script.
> > Please checkout this code
>
> I'm not familiar with juila, in most scripting languages
> cmd = `/usr/bin/make -f - -V MAKE_
On Mon, Feb 27, 2017 at 11:06:43AM -0800, Simon J. Gerraty wrote:
> Hi Iblis
>
> > I encounted core dump with `make -f - ...`
>
> can you share the content of stdin? or a relevant snippet?
>
> Also what version of bmake? (make -r -f /dev/null -V MAKE_VERSION)
>
>
lf->len > 0) {
@@ -579,6 +579,9 @@
lf->buf = bmake_realloc(lf->buf, lf->len);
}
+ /* read() do not add the null byte character */
+ *(lf->buf + lf->len - 1) = '\0';
+
#ifdef HAVE_MMAP
done:
#endif
--
Iblis Lin
林峻頤
_
lock_flags = VOP_ISLOCKED(vp);
> diff --git a/sys/sys/file.h b/sys/sys/file.h
> index 353c92f365a..c51f26a41d2 100644
> --- a/sys/sys/file.h
> +++ b/sys/sys/file.h
> @@ -53,6 +53,7 @@ struct vnode;
>
> #endif /* _KERNEL */
>
> +#def
I just found i miss-typed the revision number in subject.
It's r313495.
(https://svnweb.freebsd.org/base/head/sys/kern/vfs_vnops.c?r1=313495&r2=313494&pathrev=313495)
On Fri, Feb 10, 2017 at 09:09:52PM +0800, Iblis Lin wrote:
> Hi,
>
> as not a perl programmer myself.
On Fri, Feb 10, 2017 at 02:37:05PM +0100, Mark Martinec wrote:
> 2017-02-10 14:09, Iblis Lin wrote:
> > as not a perl programmer myself. I have no idea what is going on.
> > I found this issue while compiling math/openblas.
> >
> > [iblis@ns]% uname -a
> > Fre
Hi,
as not a perl programmer myself. I have no idea what is going on.
I found this issue while compiling math/openblas.
[iblis@ns]% uname -a
FreeBSD ns 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r313500: Fri Feb 10 16:39:21
CST 2017 root@ns:/usr/obj/usr/src/sys/GENERIC amd64
[iblis@ns]% cat
Tnx a lot!
The new `basename` works fine now.
---
Iblis Lin
Conrad Meyer 於 2016-12-02 01:30 寫到:
Hello Iblis,
Please try reinstalling libcapsicum after r309366, rebuilding
basename, and then removing the stdout kludge from your shell script.
Let me know if there's still a problem!
T
Hi Conrad,
Thanks for your reply.
I revert the basename.c and `< /dev/null` do the trick!
I'm also curious that will `caph_limit_stdio` break lots of program
work with some shell scripts?
--
Iblis Lin
On 11/28/2016 12:55, Conrad Meyer wrote:
Hi Iblis,
I see no such problem
Hi,
Here is a minimal config of zsh prompt invoking `basename`:
```
└─[iblis@abeing]% cat /home/ib-test/.zshenv
function set_prompt {
prompt="$(basename $HOME) >"
}
function zle-line-init zle-keymap-select {
set_prompt
zle reset-prompt
}
zle -N zle-line-in
11 matches
Mail list logo