Archive for January, 2006

all shells suck !

Tuesday, January 24th, 2006

zsh:
bash-3.00$ zsh
blah% ulimit -v 0
blah% lSegmentation fault
bash-3.00$

bash:
bash-3.00$ ulimit -v 0
bash-3.00$ id
bash: xmalloc: variables.c:2462: cannot allocate 272 bytes (0 bytes allocated)
blah%

csh:
blah% csh
%ulizsh: segmentation fault csh
blah%

ksh:
blah% cat kshcrach.c
#include
int main () {
execve(”/bin/ksh”, NULL, NULL );
}
blah% ltrace ./kshcrach
__libc_start_main(0×8048384, 1, 0xbffff874, 0×80483b0, 0×8048410
execve(0×80484c4, 0, 0, 0×4013dff4, 0×40015cc0
__libc_start_main(0×804bd34, 0, 0xbfffff54, 0×80d7b40, 0×80d7b70
getpagesize() = 4096
mmap(0, 8192, 3, 34, -1) = 0×40017000
memset(0×40017028, ‘00′, 40) = 0×40017028
memset(0×40017058, ‘00′, 40) = 0×40017058
memset(0×40017088, ‘00′, 136) = 0×40017088
memset(0×40017118, ‘00′, 952) = 0×40017118
— SIGSEGV (Segmentation fault) —
+++ killed by SIGSEGV +++
blah%

procmail is such a load of shit

Wednesday, January 11th, 2006

Infact its so crappy that it even sefaults indent:

blah% indent *
indent: Artistic:132: Warning:Unterminated character constant
indent: Artistic:132: Error:Unexpected end of file
indent: COPYING:45: Error:Unmatched ‘else’
indent: COPYING:341: Error:Unexpected end of file
*** glibc detected *** malloc(): memory corruption (fast): 0×08059590 ***
zsh: abort indent *
blah%

dont ever use it :)