Re: Any clues to this!

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Sat, 7 Feb 1998 01:44:16 +0100


> [suman@linux]Fri Feb 6 14:21:33 [~]:~$gcc -o cd cd.c
> [suman@linux]Fri Feb 6 14:21:39 [~]:~$cd
> [suman@linux]Fri Feb 6 14:21:41 [~]:~$gcc cd.c
> [suman@linux]Fri Feb 6 14:21:46 [~]:~$a.out
> Segmentation fault (core dumped)
[...]
> Why does this happen ? Core dump in one case due to bus error and no
> error in one ??

I'm not sure ... maybe your shell is treating 'cd' in a special way? :-)

Martin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu