diff options
-rw-r--r-- | CHANGELOG.txt | 4 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | dux-demo/main.cc | 2 | ||||
-rw-r--r-- | dux/include/dux/base.h | 2 | ||||
-rw-r--r-- | dux/include/dux/c/sig.h | 2 | ||||
-rw-r--r-- | dux/include/dux/cxx/sig.hh | 2 | ||||
-rw-r--r-- | dux/include/dux/sig.h | 2 |
7 files changed, 10 insertions, 6 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index bd3cbd2..a832cc7 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ +| 2↋ + +- Fix signal pipe being renamed to file; + | 2↊ - Update the homepage-URL in CMake and the homepage link in the readme; diff --git a/CMakeLists.txt b/CMakeLists.txt index 0013a2c..7730619 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ project( # Constants: set( DUX_VERSION - 34 + 35 ) # Subdirectories diff --git a/dux-demo/main.cc b/dux-demo/main.cc index 94768ba..5c22ec2 100644 --- a/dux-demo/main.cc +++ b/dux-demo/main.cc @@ -47,7 +47,7 @@ static_assert([] { static_assert(chk(::dux::sig::io, SIGIO)); static_assert(chk(::dux::sig::intr, SIGINT)); static_assert(chk(::dux::sig::kill, SIGKILL)); - static_assert(chk(::dux::sig::file, SIGPIPE)); + static_assert(chk(::dux::sig::pipe, SIGPIPE)); static_assert(chk(::dux::sig::prof, SIGPROF)); static_assert(chk(::dux::sig::quit, SIGQUIT)); static_assert(chk(::dux::sig::segv, SIGSEGV)); diff --git a/dux/include/dux/base.h b/dux/include/dux/base.h index 59e8f31..97cdef4 100644 --- a/dux/include/dux/base.h +++ b/dux/include/dux/base.h @@ -68,7 +68,7 @@ # endif # endif -# define dux_priv_ver 0x22 +# define dux_priv_ver 0x23 # if !defined(dux_dbg) # if defined(_DEBUG) || !defined(NDEBUG) diff --git a/dux/include/dux/c/sig.h b/dux/include/dux/c/sig.h index 3d21cb0..63e8b1a 100644 --- a/dux/include/dux/c/sig.h +++ b/dux/include/dux/c/sig.h @@ -30,7 +30,7 @@ enum dux_sig { dux_sig_iot = dux_priv_sig_iot, dux_sig_intr = dux_priv_sig_intr, dux_sig_kill = dux_priv_sig_kill, - dux_sig_file = dux_priv_sig_file, + dux_sig_pipe = dux_priv_sig_pipe, dux_sig_poll = dux_priv_sig_poll, dux_sig_prof = dux_priv_sig_prof, dux_sig_pwr = dux_priv_sig_pwr, diff --git a/dux/include/dux/cxx/sig.hh b/dux/include/dux/cxx/sig.hh index 652bda2..b295730 100644 --- a/dux/include/dux/cxx/sig.hh +++ b/dux/include/dux/cxx/sig.hh @@ -31,7 +31,7 @@ namespace dux { iot = static_cast<::dux::uint8>(dux_priv_sig_iot), intr = static_cast<::dux::uint8>(dux_priv_sig_intr), kill = static_cast<::dux::uint8>(dux_priv_sig_kill), - file = static_cast<::dux::uint8>(dux_priv_sig_file), + pipe = static_cast<::dux::uint8>(dux_priv_sig_pipe), poll = static_cast<::dux::uint8>(dux_priv_sig_poll), prof = static_cast<::dux::uint8>(dux_priv_sig_prof), pwr = static_cast<::dux::uint8>(dux_priv_sig_pwr), diff --git a/dux/include/dux/sig.h b/dux/include/dux/sig.h index c0ef68b..b01e279 100644 --- a/dux/include/dux/sig.h +++ b/dux/include/dux/sig.h @@ -61,7 +61,7 @@ enum dux_priv_sig { /* Refer to `man 7 signal` for values. */ dux_priv_sig_iot = 0x6, dux_priv_sig_intr = 0x2, dux_priv_sig_kill = 0x9, - dux_priv_sig_file = 0xD, + dux_priv_sig_pipe = 0xD, # if defined(dux_os_linux) dux_priv_sig_poll = 0x1D, # else |