#1901 closed defect (fixed)
less-394 is not detecting sigset_t
Reported by: | Owned by: | Matthew Burgess | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
We are getting a warning from Less: os.c:109: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:184)
This is caused because 'sigprocmask' replaces 'sigsetmask', and 'sigprocmask' depends on 'sigset_t', and 'sigset_t' is not being detected properly by configure.
So anyway, I committed the "less-394-signal_fix-1.patch" to fix it.
robert
Change History (7)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
I did report it upstream... The problem is this:
checking for sigset_t... no
Then in less.h:
#if HAVE_SIGPROCMASK #if HAVE_SIGSET_T #else #undef HAVE_SIGPROCMASK #endif
So when make(1) gets to building os.c the:
#if HAVE_SIGPROCMASK
gets skipped over and:
#if HAVE_SIGSETMASK
is the next match.
comment:3 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 18 years ago
I received an email today from greenwoodsoftware (the Less maintainers) saying that the "less-394-signal_fix-1.patch" was accepted and will be in the next Less release.
comment:5 by , 18 years ago
Milestone: | → 6.3 |
---|
comment:6 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Can you define what you mean by "'sigset_t' is not being detected properly by configure" please? I get:
in my logs. So, both the newer sigprocmask and the deprecated sigsetmask functions are detected If you still think there's a bug there, could you submit the patch upstream please? (see http://www.greenwoodsoftware.com/less/#bugs).