* msgbase.c: when a summary mode message list is requested, and the room
authorArt Cancro <ajc@citadel.org>
Tue, 25 Oct 2005 21:31:08 +0000 (21:31 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 25 Oct 2005 21:31:08 +0000 (21:31 +0000)
  contains a pointer to a message which does not exist (this normally should
  not happen), return an empty message summary line instead of crashing.
* removed the remaining vestiges of the libtool stuff in .c and .y files

20 files changed:
citadel/ChangeLog
citadel/config.c
citadel/control.c
citadel/database_sleepycat.c
citadel/file_ops.c
citadel/genstamp.c
citadel/getutline.c
citadel/housekeeping.c
citadel/html.c
citadel/internet_addressing.c
citadel/msgbase.c
citadel/parsedate.y
citadel/policy.c
citadel/room_ops.c
citadel/serv_autocompletion.c
citadel/snprintf.c
citadel/support.c
citadel/sysdep.c
citadel/tools.c
citadel/user_ops.c

index 00d2ba4f36b9b3cfa5b4f3e1bcc6d3d518a03893..e71800221a3cb2b86bda43179da6de5ba49072c5 100644 (file)
@@ -1,5 +1,11 @@
 $Id$
 
+Tue Oct 25 17:29:12 EDT 2005 ajc
+* msgbase.c: when a summary mode message list is requested, and the room
+  contains a pointer to a message which does not exist (this normally should
+  not happen), return an empty message summary line instead of crashing.
+* removed the remaining vestiges of the libtool stuff in .c and .y files
+
 Mon Oct 24 22:52:33 EDT 2005 ajc
 * Every user gets a Trash folder.  Clients can also use _TRASH_
 
index 996118816cbe14086861d8365a051465fc4ae085..f5d4750e5f9744d56e0424f73885e45f4f70ad72 100644 (file)
@@ -6,10 +6,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <sys/stat.h>
index bbf3bf6ef8310b8f23b0d27b031c9765bbe34b16..83a6c576daafe474b62fac4a7320dfbe1f4e8135 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index 088ce54122f8447889385d322184da4c6e5a3589..30e1e0b778af94600933f9a6a9d8f61fdae06f97 100644 (file)
 
 /*****************************************************************************/
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index 1ee6ef3b29695d4fd3c7afff23782c4c68c760df..97aa235b4e5f80fd4d57d89eaf2b20059a91eecc 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index e97fb97963fac9084ed1650310851009e73a5757..cbf89d4488c0364ab792a98cbb00d2dd1e5f9449 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdio.h>
 #include <stdlib.h>
index f64559abce30d9383fc99f2a8ed6753c610479ff..5eae2a76003cbd5e01a890ad319dbd88a0e0d72a 100644 (file)
@@ -6,10 +6,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #ifdef HAVE_UTMP_H
 #include <stdio.h>
index 9bb4624bb379271d056e8da9321dfcb7e42f4e8d..7eee008ae05911837a9d1f092f69392e5172d498 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index c820d1c96b90775e0f450056ffe15c542a5c29a2..8ff0bbc936d058a80093c20a7f15565a370da0b4 100644 (file)
@@ -2,14 +2,10 @@
  * $Id$
  *
  * Functions which handle translation between HTML and plain text
- * Copyright (c) 2000-2001 by Art Cancro and others.   This program is
+ * Copyright (c) 2000-2005 by Art Cancro and others.   This program is
  * released under the terms of the GNU General Public License.
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index 0ec59ce34825674cd6a18a34407c7572b3604e75..a8487d38a0042b1a3457ff14aff504fc232ac332 100644 (file)
@@ -5,10 +5,6 @@
  * to users on the Citadel system.
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index 09d057f0f228c0c5bc4906c57500c264fa147fb3..f09afc41dafe3bbda73771499a29d74964109faa 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
@@ -281,7 +277,7 @@ void headers_listing(long msgnum, void *userdata)
        struct CtdlMessage *msg;
 
        msg = CtdlFetchMessage(msgnum, 0);
-       if (msg < 0L) {
+       if (msg == NULL) {
                cprintf("%ld|0|||||\n", msgnum);
                return;
        }
index bf69da311a2a1524dd1d27d7e30fe0d34fbddb22..cf87f0e277d594b0667825fbe5bc93bbece333ee 100644 (file)
 /* SUPPRESS 593 on yynewstate *//* Label was not used */
 /* SUPPRESS 595 on yypvt *//* Automatic variable may be used before set */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 
 #include <stdio.h>
index b2c489e5180ad034235aece4722c711b8c613288..079c3cda088ba90c381150201671e8d896512fff 100644 (file)
@@ -4,10 +4,6 @@
  * Functions which manage policy for rooms (such as message expiry)
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index 3d90b405c23564edbd64dd9112d3ba070516f0a9..9d0f82b06cadf43b082279a819715067b3a116c8 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index cb1aed5c54bdfad3342d1ca1c0740b7a1eee0caf..71aa0a0358f5b422e4d4f6988c360e1b8ff95b5f 100644 (file)
@@ -4,10 +4,6 @@
  * Autocompletion of email recipients, etc.
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index ab014de696300c6750456338ab6c4fb327e8f637..dcc9cd81cc8879c94d5d2ca810c993c9c8376cf8 100644 (file)
  * Written July 1997 by Sten Gunterberg (gunterberg@ergon.ch)
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
index 970a215fd8ccb7dbb02708a7b19a15f64c53f83b..bb27760cf43acd4bbe83997edf65a2ca1e6463ad 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <sys/types.h>
index f9c4e1653bedbb8203c66687b6b833738f651a95..5eac30ef3c1c4beb268710503eabf8716e92d9af 100644 (file)
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index b1c4955327383216185e18a446e41f5ea049b810..982d1ae1bee027edbbe5a3fa9d6fd08e2b16c08f 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
index 1fb0936e629a818857b1cfc6cfdd58a5e9a0c7eb..2d64dab9a6c5267fe3464bb0ecf80764c9447cfb 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <errno.h>
 #include <stdlib.h>