[Pkg-mailman-hackers] Pkg-mailman commit - rev 577 - trunk/debian/patches

Lionel Elie Mamane lmamane at alioth.debian.org
Wed Dec 10 21:43:55 UTC 2008


Author: lmamane
Date: 2008-12-10 21:43:55 +0000 (Wed, 10 Dec 2008)
New Revision: 577

Modified:
   trunk/debian/patches/10_wrapper_uid.patch
Log:
patches/10_wrapper_uid: stay closer to Mailman C coding style; no functional change

Modified: trunk/debian/patches/10_wrapper_uid.patch
===================================================================
--- trunk/debian/patches/10_wrapper_uid.patch	2008-12-10 21:35:07 UTC (rev 576)
+++ trunk/debian/patches/10_wrapper_uid.patch	2008-12-10 21:43:55 UTC (rev 577)
@@ -4,26 +4,28 @@
 Index: mailman-2.1.10/src/cgi-wrapper.c
 ===================================================================
 --- mailman-2.1.10.orig/src/cgi-wrapper.c	2008-04-21 20:28:22.000000000 +0200
-+++ mailman-2.1.10/src/cgi-wrapper.c	2008-06-15 18:49:41.000000000 +0200
-@@ -42,7 +42,7 @@
++++ mailman-2.1.10/src/cgi-wrapper.c	2008-12-10 22:39:41.989031204 +0100
+@@ -42,7 +42,8 @@
          char* fake_argv[3];
  
          running_as_cgi = 1;
 -        check_caller(logident, parentgroup);
-+        if (getgid() >= 100 && getgid() != 65534) check_caller(LOG_IDENT, LEGAL_PARENT_GROUP);
++        if (getgid() >= 100 && getgid() != 65534)
++                check_caller(logident, parentgroup);
  
          /* For these CGI programs, we can ignore argc and argv since they
           * don't contain anything useful.  `script' will always be the driver
 Index: mailman-2.1.10/src/mail-wrapper.c
 ===================================================================
 --- mailman-2.1.10.orig/src/mail-wrapper.c	2008-04-21 20:28:22.000000000 +0200
-+++ mailman-2.1.10/src/mail-wrapper.c	2008-06-15 18:49:41.000000000 +0200
-@@ -74,7 +74,7 @@
++++ mailman-2.1.10/src/mail-wrapper.c	2008-12-10 22:37:24.589031857 +0100
+@@ -74,7 +74,8 @@
                  fatal(logident, MAIL_ILLEGAL_COMMAND,
                        "Illegal command: %s", argv[1]);
  
 -        check_caller(logident, parentgroup);
-+       if (getgid() >= 100 && getgid() != 65534) check_caller(logident, LEGAL_PARENT_GROUP);
++        if (getgid() >= 100 && getgid() != 65534)
++                check_caller(logident, parentgroup);
  
          /* If we got here, everything must be OK */
          status = run_script(argv[1], argc, argv, env);




More information about the Pkg-mailman-hackers mailing list