cat and cp need to exit if a signal is recieved

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3323 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-02-27 18:28:49 +00:00
parent 2bd446832b
commit c615c62e94
6 changed files with 142 additions and 79 deletions
+3
View File
@@ -358,6 +358,9 @@ const char g_fmtcmdfailed[] = "nsh: %s: %s failed: %d\n";
#endif
const char g_fmtcmdoutofmemory[] = "nsh: %s: out of memory\n";
const char g_fmtinternalerror[] = "nsh: %s: Internal error\n";
#ifndef CONFIG_DISABLE_SIGNALS
const char g_fmtsignalrecvd[] = "nsh: %s: Signal received\n";
#endif
/****************************************************************************
* Private Functions