• permit interrupts during a write(2) loop in the cat builtin, too,
  not just in the read(2) loop – fixes inability to kill a clogged
  output cat

• kill the cat when smores finish

TODO: revisit this ⓐ in more depth, ⓑ for other functions, such as
      “hd”, and ⓒ test on AOSP as well
This commit is contained in:
tg
2014-07-28 21:45:45 +00:00
parent 6c31e7e631
commit 097ed42c83
4 changed files with 28 additions and 23 deletions

4
sh.h
View File

@@ -169,9 +169,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.692 2014/07/13 11:34:29 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.693 2014/07/28 21:45:45 tg Exp $");
#endif
#define MKSH_VERSION "R50 2014/07/13"
#define MKSH_VERSION "R50 2014/07/28"
/* arithmetic types: C implementation */
#if !HAVE_CAN_INTTYPES