From: De Y. L. <liu...@cn...> - 2007-08-01 02:38:17
|
Hi, The latest ltp's mmap1 testcase can not be terminated by Ctrl-C, Here is a patch make Ctrl-C works. diff -u mmap1.org.c mmap1.c --- mmap1.org.c 2007-07-31 19:26:38.195775056 -0700 +++ mmap1.c 2007-07-31 19:27:06.270370784 -0700 @@ -180,6 +180,7 @@ longjmp(jmpbuf, 1); } + default: fprintf(stderr, "caught unexpected signal - %d --- exiting\n", signal); exit(-1); Regards Liu Deyan - China Systems & Technology Lab,China Development Labs Beijing Tel: 86-10-82782244 Ext. 3538 Email: liu...@cn... |