From: Brendan Cully Date: Mon, 16 Jul 2007 17:46:49 +0000 (-0700) Subject: Make is_shell_char static. Closes #2907. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c0c604dea1f4bf9377bf2333ada36c76064cbce;p=neomutt Make is_shell_char static. Closes #2907. --- diff --git a/ChangeLog b/ChangeLog index e53034c84..6daccb34c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,17 @@ +2007-07-16 09:44 -0700 Brendan Cully (1d6b9fb4a927) + + * init.c: Check that spam expression has enough matches for its + template. Closes #2927. + +2007-07-14 17:26 -0700 Brendan Cully (f4b2c6eba5fd) + + * crypt-gpgme.c: GPGME: do not attempt to extract signatures + unless gpgme_op_verify returned success. + 2007-07-09 11:32 -0400 Aron Griffis (4e8e3db418ea) * send.c: Allow send-hooks to effectively change $from and $use_from -2007-07-09 09:45 -0400 Aron Griffis (82354e0d2399) - * mx.c: Clean up mx.c: init stat structs to zero prev_sb.st_size was initialized to zero if USE_FCNTL but not if diff --git a/enter.c b/enter.c index 0a1470ca2..7eef008a3 100644 --- a/enter.c +++ b/enter.c @@ -189,7 +189,7 @@ static void replace_part (ENTER_STATE *state, size_t from, char *buf) /* * Return 1 if the character is not typically part of a pathname */ -inline int is_shell_char(wchar_t ch) +static inline int is_shell_char(wchar_t ch) { static wchar_t shell_chars[] = L"<>&()$?*;{}| "; /* ! not included because it can be part of a pathname in Mutt */ return wcschr(shell_chars, ch) != NULL;