Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Output on FreeBSD, with the patch:
% sh make-core.sh main.c + file=main.c + [ -z main.c ] + [ FreeBSD '=' Linux ] + ulimit -c 1000 + ulimit -c + real_limit=1000 + [ 1000 -lt 100 ] + cc -nostdlib -static -g main.c -o a.out + cat Executable file is in a.out. Core file will be saved according to pattern %N.core. + ulimit -s 8 + exec ./a.out zsh: segmentation fault (core dumped) sh make-core.sh main.c