aboutsummaryrefslogtreecommitdiffstats
path: root/po/LINGUAS
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-01-06 13:56:14 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-01-06 13:56:14 +0000
commit2848810d4427c1b09e0c7c5c870444c9b50e5dac (patch)
tree796b6ead6db0f68e6d592ecf30db4e371a1183ab /po/LINGUAS
parent6289562c4c47bdbbafe1d93e8e4bde4961d7b08b (diff)
downloadfetchmail-2848810d4427c1b09e0c7c5c870444c9b50e5dac.tar.gz
fetchmail-2848810d4427c1b09e0c7c5c870444c9b50e5dac.tar.bz2
fetchmail-2848810d4427c1b09e0c7c5c870444c9b50e5dac.zip
Typo: --dumpconfig -> --configdump.
svn path=/branches/BRANCH_6-3/; revision=4610
Diffstat (limited to 'po/LINGUAS')
0 files changed, 0 insertions, 0 deletions
t .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#include "config.h"
#include "fetchmail.h"
#include "i18n.h"

#include <signal.h>
#include <errno.h>
#include <string.h>

/** This is a getaddrinfo() replacement that blocks SIGALRM,
 * to avoid issues with non-reentrant getaddrinfo() implementations
 * after SIGALRM timeouts, for instance on MacOS X or NetBSD. */
int fm_getaddrinfo(const char *node, const char *serv, const struct addrinfo *hints, struct addrinfo **res)
{
    int rc;

#ifndef GETADDRINFO_ASYNCSAFE
    sigset_t ss, os;

    sigemptyset(&ss);
    sigaddset(&ss, SIGALRM);

    if (sigprocmask(SIG_BLOCK, &ss, &os))
	report(stderr, GT_("Cannot modify signal mask: %s"), strerror(errno));
#endif

    rc = getaddrinfo(node, serv, hints, res);

#ifndef GETADDRINFO_ASYNCSAFE
    if (sigprocmask(SIG_SETMASK, &os, NULL))
	report(stderr, GT_("Cannot modify signal mask: %s"), strerror(errno));
#endif

    return rc;
}

/** this is a debugging freeaddrinfo() wrapper. */
void fm_freeaddrinfo(struct addrinfo *ai)
{
    freeaddrinfo(ai);
}