You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/10/26 03:35:51 UTC
[incubator-nuttx] branch master updated (d8bee67 -> 6a2bd9a)
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.
from d8bee67 esp32_flash.ld: Avoid having too many sections
new ad5c168 signalh.h: Use the right config for SIGPIPE
new 6a2bd9a Change the default value of SIGPIPE
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
include/signal.h | 6 +++---
sched/Kconfig | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
[incubator-nuttx] 02/02: Change the default value of SIGPIPE
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 6a2bd9a75bdedba123bf6590ad0a8410aecccf6a
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Oct 26 11:27:41 2020 +0900
Change the default value of SIGPIPE
To avoid the conflicting default with SIGQUIT.
---
include/signal.h | 2 +-
sched/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/signal.h b/include/signal.h
index 6d85c04..719f853 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -180,7 +180,7 @@
#endif
#ifndef CONFIG_SIG_PIPE
-# define SIGPIPE 11
+# define SIGPIPE 13
#else
# define SIGPIPE CONFIG_SIG_PIPE
#endif
diff --git a/sched/Kconfig b/sched/Kconfig
index 850e4f1..86a1199 100644
--- a/sched/Kconfig
+++ b/sched/Kconfig
@@ -1505,7 +1505,7 @@ endif # SIG_DEFAULT
config SIG_PIPE
int "SIGPIPE"
- default 11
+ default 13
---help---
The SIGPIPE signal is sent to a task termination event.
This signal is generated when write on a pipe with no one to read it.
[incubator-nuttx] 01/02: signalh.h: Use the right config for SIGPIPE
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit ad5c168b30fc54715c81ca82171e8835901e341c
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Oct 26 11:25:21 2020 +0900
signalh.h: Use the right config for SIGPIPE
---
include/signal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/signal.h b/include/signal.h
index 1846df2..6d85c04 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -179,10 +179,10 @@
# define SIGTERM CONFIG_SIG_TERM
#endif
-#ifndef CONFIG_SIG_SIGPIPE
+#ifndef CONFIG_SIG_PIPE
# define SIGPIPE 11
#else
-# define SIGPIPE CONFIG_SIG_SIGPIPE
+# define SIGPIPE CONFIG_SIG_PIPE
#endif
/* The following are non-standard signal definitions */