diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-04-01 23:47:59 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-04-01 23:47:59 +0300 |
commit | c5416aa2097f666cfc7701210872000871f65abb (patch) | |
tree | 63d86b6ea0ce908271a195bcdbe04e51e50e7ee6 /lib | |
parent | 26ff8a3fed46bd8d11647a70fffc3c62fc7c84e7 (diff) | |
download | anubis-c5416aa2097f666cfc7701210872000871f65abb.tar.gz anubis-c5416aa2097f666cfc7701210872000871f65abb.tar.bz2 |
Prepare for Guile 2.0: fix obsolete and deprecated calls in Guile code.
* am/guile.m4: Import from Mailutils.
* configure.ac: Use AC_DEFINE_UNQUOTED to define
a replacement for socklen_t.
* src/guile.c (guile_debug): Protect calls to
SCM_DEVAL_P &c. by #ifdef GUILE_DEBUG_MACROS
(guile_process_proc_handler): Use scm_apply_3
to avoid unwanted evaluation of parameters.
(guile_load_path_append_handler)
(guile_to_anubis, guile_process_proc): Remove the uses of
deprecated Guile functions.
* src/logport.c [!HAVE_SCM_T_OFF](scm_t_off): New typedef.
(scm_tc16_anubis_error_port)
(scm_tc16_anubis_info_port): Change type to scm_t_bits.
(_make_anubis_log_port): Use scm_new_port_table_entry instead
of the deprecated scm_add_to_port_table.
(_anubis_error_port_seek): Fix signature and return type.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/.gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/.gitignore b/lib/.gitignore index 46e9e49..691e3e1 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -24,6 +24,8 @@ getpass.h gettext.h gnulib.mk intprops.h +langinfo.h +langinfo.in.h localcharset.c localcharset.h lseek.c @@ -33,6 +35,7 @@ malloca.h malloca.valgrind mbrtowc.c mbsinit.c +nl_langinfo.c obstack.c obstack.h realloc.c |