Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] [sympa-commits] sympa[10082] branches/sympa-6.1-branch/src: [dev] Reverting revision [ #10043] which broke the queue programs (no mails were put in spools anymore ).

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Hatuka*nezumi - IKEDA Soji <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] [sympa-commits] sympa[10082] branches/sympa-6.1-branch/src: [dev] Reverting revision [ #10043] which broke the queue programs (no mails were put in spools anymore ).
  • Date: Tue, 31 Dec 2013 23:42:19 +0900

David,

I cannot understand what happened by r10043. It seems working fine
on my side. Would you please explain?


Cheers,

-- Soji

On Tue, 31 Dec 2013 12:05:40 +0100 (CET)
address@concealed wrote:

> sympa[10082] branches/sympa-6.1-branch/src: [dev] Reverting revision
> [#10043] which broke the queue programs (no mails were put in spools
> anymore).
> Revision 10082 Author david.verdin Date 2013-12-31 12:05:40 +0100 (mar. 31
> déc. 2013)
> Log Message[dev] Reverting revision [#10043] which broke the queue programs
> (no mails were put in spools anymore).
> Modified Paths
> branches/sympa-6.1-branch/src/bouncequeue.c
> branches/sympa-6.1-branch/src/familyqueue.c
> branches/sympa-6.1-branch/src/queue.c
> Diff
> Modified: branches/sympa-6.1-branch/src/bouncequeue.c (10081 => 10082)
> --- branches/sympa-6.1-branch/src/bouncequeue.c 2013-12-30 16:07:17
> UTC (rev 10081)
> +++ branches/sympa-6.1-branch/src/bouncequeue.c 2013-12-31 11:05:40
> UTC (rev 10082)
> @@ -88,9 +88,10 @@
> int
> main(int argn, char **argv)
> {
> - char *bouncedir;
> - char *listname;
> - int firstline = 1;
> + char *bouncedir;
> + char *listname;
> + unsigned int priority;
> + int firstline = 1;
>
> /* Usage : bouncequeue list-name */
> if (argn != 2) {
> @@ -107,8 +108,7 @@
> exit(EX_NOPERM);
> }
> umask(027);
> - snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname,
> - (unsigned long int)time(NULL), getpid());
> + snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname, time(NULL),
> getpid());
> fd = open(qfile, O_CREAT|O_WRONLY, 0600);
> if (fd == -1)
> exit(EX_TEMPFAIL);
> @@ -130,3 +130,9 @@
> exit(0);
> }
>
> +
> +
> +
> +
> +
> +
> Modified: branches/sympa-6.1-branch/src/familyqueue.c (10081 => 10082)
> --- branches/sympa-6.1-branch/src/familyqueue.c 2013-12-30 16:07:17
> UTC (rev 10081)
> +++ branches/sympa-6.1-branch/src/familyqueue.c 2013-12-31 11:05:40
> UTC (rev 10082)
> @@ -30,6 +30,8 @@
> #include <unistd.h>
> #include <time.h>
>
> +static char rcsid[] = "(@)$Id$";
> +
> static char qfile[128];
> static char buf[16384];
> static int i, fd;
> @@ -88,9 +90,10 @@
> int
> main(int argn, char **argv)
> {
> - char *queuedir;
> - char *listname, *familyname;
> - int firstline = 1;
> + char *queuedir;
> + char *listname, *familyname;
> + unsigned int priority;
> + int firstline = 1;
>
> /* Usage : queue list-name family-name */
> if ((argn != 3)) {
> @@ -119,8 +122,7 @@
> exit(EX_NOPERM);
> }
> umask(027);
> - snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname,
> - (unsigned long int)time(NULL), getpid());
> + snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname, time(NULL),
> getpid());
> fd = open(qfile, O_CREAT|O_WRONLY, 0600);
> if (fd == -1){
> char* buffer=(char*)malloc(strlen(argv[0])+strlen(queuedir)+80);
> Modified: branches/sympa-6.1-branch/src/queue.c (10081 => 10082)
> --- branches/sympa-6.1-branch/src/queue.c 2013-12-30 16:07:17 UTC (rev
> 10081)
> +++ branches/sympa-6.1-branch/src/queue.c 2013-12-31 11:05:40 UTC (rev
> 10082)
> @@ -30,6 +30,8 @@
> #include <unistd.h>
> #include <time.h>
>
> +static char rcsid[] = "(@)$Id$";
> +
> static char qfile[128];
> static char buf[16384];
> static int i, fd;
> @@ -88,9 +90,10 @@
> int
> main(int argn, char **argv)
> {
> - char *queuedir;
> - char *listname;
> - int firstline = 1;
> + char *queuedir;
> + char *listname;
> + unsigned int priority;
> + int firstline = 1;
>
> /* Usage : queue list-name */
> if ((argn < 2) || (argn >3)) {
> @@ -124,8 +127,7 @@
> exit(EX_NOPERM);
> }
> umask(027);
> - snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname,
> - (unsigned long int)time(NULL), getpid());
> + snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname, time(NULL),
> getpid());
> fd = open(qfile, O_CREAT|O_WRONLY, 0600);
> if (fd == -1){
> char* buffer=(char*)malloc(strlen(argv[0])+strlen(queuedir)+80);
> @@ -151,3 +153,11 @@
> exit(0);
> }
>
> +
> +
> +
> +
> +
> +
> +
> +


--
--- nezumi


  • Re: [sympa-developpers] [sympa-commits] sympa[10082] branches/sympa-6.1-branch/src: [dev] Reverting revision [ #10043] which broke the queue programs (no mails were put in spools anymore )., Hatuka*nezumi - IKEDA Soji, 12/31/2013

Archive powered by MHonArc 2.6.19+.

Top of Page