# HG changeset patch # User mmj # Date 1114510405 -36000 # Node ID 2a86af037236e35c87a48bbf5a920c4894388685 # Parent 43103b33f96d930aa832c3dc562ec4c113ac796c Add a couple of missing newlines diff -r 43103b33f96d -r 2a86af037236 listtexts/da/listsubs --- a/listtexts/da/listsubs Tue Apr 26 20:04:36 2005 +1000 +++ b/listtexts/da/listsubs Tue Apr 26 20:13:25 2005 +1000 @@ -4,4 +4,5 @@ $listaddr$ -Følgende er listen af abonnenter på: +Følgende er listen af abonnenter: + diff -r 43103b33f96d -r 2a86af037236 listtexts/de/listsubs --- a/listtexts/de/listsubs Tue Apr 26 20:04:36 2005 +1000 +++ b/listtexts/de/listsubs Tue Apr 26 20:13:25 2005 +1000 @@ -8,3 +8,4 @@ verwaltet. Folgendes ist die Liste der Abonnenten: + diff -r 43103b33f96d -r 2a86af037236 listtexts/listsubs --- a/listtexts/listsubs Tue Apr 26 20:04:36 2005 +1000 +++ b/listtexts/listsubs Tue Apr 26 20:13:25 2005 +1000 @@ -5,3 +5,4 @@ $listaddr$ Following is the list of subscribers: + diff -r 43103b33f96d -r 2a86af037236 src/send_list.c --- a/src/send_list.c Tue Apr 26 20:04:36 2005 +1000 +++ b/src/send_list.c Tue Apr 26 20:13:25 2005 +1000 @@ -70,6 +70,11 @@ exit(EXIT_FAILURE); } + if(lseek(fd, 0, SEEK_END) < 0) { + log_error(LOG_ARGS, "Could not seek to send of file"); + exit(EXIT_FAILURE); + } + dirp = opendir(subdir); if(dirp == NULL) { fprintf(stderr, "Could not opendir(%s);\n", subdir); @@ -96,6 +101,8 @@ myfree(fileiter); } + writen(fd, "\n-- \n end of list mail\n", 23); + close(fd); closedir(dirp);