commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. rel-2_1-73-g5157bbc


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. rel-2_1-73-g5157bbc
Date: Sun, 18 Apr 2010 18:12:13 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=5157bbc99fc7cd3c0ea904f70ab2ee1f595ac8fe

The branch, master has been updated
       via  5157bbc99fc7cd3c0ea904f70ab2ee1f595ac8fe (commit)
      from  76c508f88d9026915072af5ebb4055dc121154d5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5157bbc99fc7cd3c0ea904f70ab2ee1f595ac8fe
Author: Sergey Poznyakoff <address@hidden>
Date:   Sun Apr 18 21:10:10 2010 +0300

    Bugfix.
    
    * mailbox/cfg_lexer.l (mu_cfg_parse_file): Parse only
    regular files.

-----------------------------------------------------------------------

Summary of changes:
 mailbox/cfg_lexer.l |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/mailbox/cfg_lexer.l b/mailbox/cfg_lexer.l
index f530ca2..998d84d 100644
--- a/mailbox/cfg_lexer.l
+++ b/mailbox/cfg_lexer.l
@@ -333,6 +333,14 @@ mu_cfg_parse_file (mu_cfg_tree_t **return_tree, const char 
*file, int flags)
       free (full_name);
       return ENOENT;
     }
+  else if (!S_ISREG (st.st_mode))
+    {
+      if (flags & MU_PARSE_CONFIG_VERBOSE)
+       mu_diag_output (MU_DIAG_INFO, _("%s: not a regular file"), full_name);
+      free (full_name);
+      return ENOENT;
+    } 
+      
   fp = fopen (full_name, "r");
   if (!fp)
     {


hooks/post-receive
-- 
GNU Mailutils




reply via email to

[Prev in Thread] Current Thread [Next in Thread]