commit-mailutils
[Top][All Lists]
Advanced

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

[SCM] GNU Mailutils branch, master, updated. mu-1-2-90-separate-argp-cfg


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. mu-1-2-90-separate-argp-cfg-322-gf2eb56b
Date: Thu, 13 Aug 2009 19:17:17 +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=f2eb56bb7632e4044173a344964d6739a7ef4b7f

The branch, master has been updated
       via  f2eb56bb7632e4044173a344964d6739a7ef4b7f (commit)
      from  f84bcd99f10ab957af4c84601f9aaaeb43de98b7 (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 f2eb56bb7632e4044173a344964d6739a7ef4b7f
Author: Sergey Poznyakoff <address@hidden>
Date:   Thu Aug 13 22:17:02 2009 +0300

    Minor fixes.
    
    * comsat/comsat.h: Include confpaths.h, not paths.h.
    * lib/utmp.c: Likewise.
    * libmu_scm/mu_scm.h: Likewise.
    * libproto/mailer/sendmail.c: Likewise.
    * mail/mail.h: Likewise.
    * mailbox/mbx_default.c: Likewise.
    * mailbox/version.c: Likewise.
    * lib/daemon.c: Likewise.
    
    * include/mailutils/mailer.h (struct timeval): forward decl.

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

Summary of changes:
 comsat/comsat.h            |    4 +---
 include/mailutils/mailer.h |    3 +++
 lib/daemon.c               |   10 ++++------
 lib/utmp.c                 |    1 +
 libmu_scm/mu_scm.h         |    1 +
 libproto/mailer/sendmail.c |    2 ++
 mail/mail.h                |    5 ++---
 mailbox/mbx_default.c      |    4 +---
 mailbox/version.c          |    2 ++
 9 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/comsat/comsat.h b/comsat/comsat.h
index 5d6d320..59937a9 100644
--- a/comsat/comsat.h
+++ b/comsat/comsat.h
@@ -38,9 +38,7 @@
 #include <string.h>
 #include <pwd.h>
 
-#ifdef HAVE_PATHS_H
-# include <paths.h>
-#endif
+#include <confpaths.h>
 
 #ifdef HAVE_STRINGS_H
 # include <strings.h>
diff --git a/include/mailutils/mailer.h b/include/mailutils/mailer.h
index 4fb4277..7f41c3e 100644
--- a/include/mailutils/mailer.h
+++ b/include/mailutils/mailer.h
@@ -38,6 +38,9 @@ extern int mu_mailer_open           (mu_mailer_t, int flags);
 extern int mu_mailer_close          (mu_mailer_t);
 extern int mu_mailer_send_message   (mu_mailer_t, mu_message_t,
                                     mu_address_t from, mu_address_t to);
+
+struct timeval;
+
 extern int mu_mailer_send_fragments (mu_mailer_t mailer, mu_message_t msg,
                                     size_t fragsize, struct timeval *delay,
                                     mu_address_t from, mu_address_t to);
diff --git a/lib/daemon.c b/lib/daemon.c
index 5bb2ae0..3709f4d 100644
--- a/lib/daemon.c
+++ b/lib/daemon.c
@@ -38,12 +38,10 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 
-#ifdef HAVE_PATHS_H
-# include <paths.h>
-#endif
+#include <confpaths.h>
 
-#ifndef _PATH_DEVNULL
-# define _PATH_DEVNULL   "/dev/null"
+#ifndef PATH_DEVNULL
+# define PATH_DEVNULL   "/dev/null"
 #endif
 
 /*
@@ -180,7 +178,7 @@ waitdaemon (int nochdir, int noclose, int maxwait)
       for (i = 0; i < fdlimit; i++)
        close (i);
 
-      fd = open (_PATH_DEVNULL, O_RDWR, 0);
+      fd = open (PATH_DEVNULL, O_RDWR, 0);
       if (fd != -1)
        {
          dup2 (fd, STDIN_FILENO);
diff --git a/lib/utmp.c b/lib/utmp.c
index f19f50b..5e76ea7 100644
--- a/lib/utmp.c
+++ b/lib/utmp.c
@@ -27,6 +27,7 @@ MA 02110-1301 USA. */
 #include <unistd.h>
 #include <string.h>
 #include <stdio.h>
+#include <confpaths.h>
 
 static char *utmp_name = PATH_UTMP;
 static int fd = -1;
diff --git a/libmu_scm/mu_scm.h b/libmu_scm/mu_scm.h
index 39e1e2e..a7e5caf 100644
--- a/libmu_scm/mu_scm.h
+++ b/libmu_scm/mu_scm.h
@@ -27,6 +27,7 @@
 #include <errno.h>
 #include <sys/time.h>
 #include <string.h>
+#include <confpaths.h>
 
 #include <mailutils/mailbox.h>
 #include <mailutils/message.h>
diff --git a/libproto/mailer/sendmail.c b/libproto/mailer/sendmail.c
index 40fff12..beaf24d 100644
--- a/libproto/mailer/sendmail.c
+++ b/libproto/mailer/sendmail.c
@@ -30,6 +30,8 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <confpaths.h>
+
 #include <mailutils/address.h>
 #include <mailutils/debug.h>
 #include <mailutils/observer.h>
diff --git a/mail/mail.h b/mail/mail.h
index 54e4ce1..a600d46 100644
--- a/mail/mail.h
+++ b/mail/mail.h
@@ -51,9 +51,8 @@
 # include <varargs.h>
 #endif
 #include <signal.h>
-#ifdef HAVE_PATHS_H
-# include <paths.h>
-#endif
+
+#include <confpaths.h>
 
 #include <xalloc.h>
 
diff --git a/mailbox/mbx_default.c b/mailbox/mbx_default.c
index e83435a..50588f5 100644
--- a/mailbox/mbx_default.c
+++ b/mailbox/mbx_default.c
@@ -28,9 +28,7 @@
 #include <pwd.h>
 #include <unistd.h>
 
-#ifdef HAVE_PATHS_H
-# include <paths.h>
-#endif
+#include <confpaths.h>
 
 #include <mailutils/mailbox.h>
 #include <mailutils/mutil.h>
diff --git a/mailbox/version.c b/mailbox/version.c
index 92bd0d7..374a269 100644
--- a/mailbox/version.c
+++ b/mailbox/version.c
@@ -26,6 +26,8 @@
 #include <stdio.h>
 #include <string.h>
 
+#include <confpaths.h>
+
 char *mu_license_text =
  N_("   GNU Mailutils is free software; you can redistribute it and/or 
modify\n"
     "   it under the terms of the GNU General Public License as published by\n"


hooks/post-receive
-- 
GNU Mailutils




reply via email to

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