Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
ba0fcf20
...
ba0fcf20fdeabe16ca56d02d4318ac4a68c2a521
authored
2001-05-22 00:48:39 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use strsignal
1 parent
1e700f5c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
12 deletions
ChangeLog
configure.in
imap4d/signal.c
pop3d/signal.c
ChangeLog
View file @
ba0fcf2
2001-05-21 Alain Magloire
GNU md5 is GPL, but we agreed that the libraries should
fall under LGPL.
* mailbox/message.c (message_get_uidl): Remove the dependency
from GNU md5.
* mailbox/md5-rsa.c: New File.
* mailbox/md5-rsa.h: New File.
* lib/signame.c: Replace in favor of the wellknown strsignal().
* lib/strsignal.c: New file, use the mu_signame() written by
Sergey.
* configure.in: autoconf-2.50 is having difficulty parsing
a long AC_CHECK_LIB, break it in two.
Check for strsignal()
2001-05-21 Alain Magloire
* configure.in, imap4d/signal.c, pop3d/signal.c:
sys_siglist is not defined on some systems (namely, Solaris).
* lib/signame.c: (added) Provide mu_signame() function to convert
...
...
configure.in
View file @
ba0fcf2
...
...
@@ -119,16 +119,23 @@ AC_SUBST(AUTHLIBS)
#When using thread support some platforms need -D_REENTRANT to get the
#right prototypes including errno.
dnl Check threading support
# We have to rearrange things a little, it appears that the new autoconf
# does not like long cascading AC_CHECK_LIB.
if test x"$usepthread" = x"yes"; then
AC_CHECK_LIB(pthread, pthread_cancel, [AC_CHECK_HEADERS(pthread.h,
AC_DEFINE(WITH_PTHREAD))
LIBS="$LIBS -lpthread"
AC_DEFINE(_REENTRANT)
AC_CHECK_FUNCS(pthread_rwlock_init)],
AC_CHECK_LIB(pthread, pthread_cancel, have_libpthread=yes
have_libpthread=no)
if test x"$have_libpthread" = x"yes"; then
AC_CHECK_HEADERS(pthread.h, AC_DEFINE(WITH_PTHREAD))
LIBS="$LIBS -lpthread"
AC_DEFINE(_REENTRANT)
AC_CHECK_FUNCS(pthread_rwlock_init)
else
AC_SEARCH_LIBS(pthread_cancel, pthread,
[AC_CHECK_FUNCS(pthread_rwlock_init)
AC_CHECK_HEADERS(pthread.h, AC_DEFINE(WITH_PTHREAD))
AC_DEFINE(_REENTRANT)]))
AC_CHECK_HEADERS(pthread.h,
AC_DEFINE(WITH_PTHREAD))
AC_DEFINE(_REENTRANT)])
fi
fi
dnl Do we need extra libs for networking?
...
...
imap4d/signal.c
View file @
ba0fcf2
...
...
@@ -39,9 +39,7 @@ imap4d_sigchld (int signo)
RETSIGTYPE
imap4d_signal
(
int
signo
)
{
extern
char
*
mu_signame
__P
((
int
signo
));
syslog
(
LOG_CRIT
,
"got signal %s"
,
mu_signame
(
signo
));
syslog
(
LOG_CRIT
,
"got signal %s"
,
strsignal
(
signo
));
/* Master process. */
if
(
!
ofile
)
{
...
...
pop3d/signal.c
View file @
ba0fcf2
...
...
@@ -38,8 +38,6 @@ pop3d_sigchld (int signo)
RETSIGTYPE
pop3d_signal
(
int
signo
)
{
/* extern char *mu_signame __P((int)); */
syslog
(
LOG_CRIT
,
"got signal %s"
,
strsignal
(
signo
));
/* Master process. */
if
(
!
ofile
)
...
...
Please
register
or
sign in
to post a comment