Changeset 2318
- Timestamp:
- 06/29/07 15:26:30
- Files:
-
- trunk/libtinymail-camel/camel-lite/camel/camel-folder-summary.c (modified) (2 diffs)
- trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.c (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-mime-part.c (modified) (1 diff)
- trunk/libtinymailui-mozembed/tny-moz-embed-stream.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libtinymail-camel/camel-lite/camel/camel-folder-summary.c
r2214 r2318 1930 1930 1931 1931 #ifndef _GNU_SOURCE 1932 static char *strcasestr(const char *haystack, const char *needle) 1932 /* Non static so other users can link with it too */ 1933 char *strcasestr(const char *haystack, const char *needle) 1933 1934 { 1934 1935 const gchar *p = haystack; … … 1964 1965 char *strcasestr(const char *haystack, const char *needle); 1965 1966 #endif 1967 1966 1968 /** 1967 1969 * trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
r2287 r2318 39 39 #include <config.h> 40 40 41 #ifndef _GNU_SOURCE42 #define _GNU_SOURCE43 #endif44 45 41 #include <ctype.h> 46 42 #include <errno.h> 47 43 #include <fcntl.h> 48 44 #include <stdlib.h> 45 46 #ifndef _GNU_SOURCE 47 #define _GNU_SOURCE 48 #endif 49 49 #include <string.h> 50 50 51 #include <unistd.h> 51 52 #include <sys/stat.h> trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.c
r2288 r2318 23 23 */ 24 24 25 /* Define this so that we have strcasestr(). */ 25 26 #include <config.h> 27 28 #include <ctype.h> 29 #include <errno.h> 30 26 31 #ifndef _GNU_SOURCE 27 32 #define _GNU_SOURCE 28 33 #endif 29 30 #include <config.h>31 32 #include <ctype.h>33 #include <errno.h>34 34 #include <string.h> 35 35 36 #include <sys/types.h> 36 37 trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c
r2268 r2318 34 34 #endif 35 35 36 37 #include <glib/gstdio.h> 38 39 #include <errno.h> 40 #include <stdlib.h> 41 36 42 #ifndef _GNU_SOURCE 37 43 #define _GNU_SOURCE 38 44 #endif 39 40 #include <glib/gstdio.h>41 42 #include <errno.h>43 #include <stdlib.h>44 45 #include <string.h> 45 46 trunk/libtinymail-camel/tny-camel-mime-part.c
r2287 r2318 22 22 #include <glib/gi18n-lib.h> 23 23 24 #include <string.h>25 24 #ifndef _GNU_SOURCE 26 25 #define _GNU_SOURCE 27 #endif /* GNU_SOURCE*/ 26 #endif 27 28 28 #include <string.h> 29 29 trunk/libtinymailui-mozembed/tny-moz-embed-stream.c
r1192 r2318 20 20 #include <config.h> 21 21 #include <glib/gi18n-lib.h> 22 23 #ifndef _GNU_SOURCE 24 #define _GNU_SOURCE 25 #endif 26 22 27 #include <string.h> 23 28 … … 105 110 while (p) 106 111 { 107 p = (char*)strcasestr (p, (const char*) ttag);112 p = strcasestr (p, (const char*) ttag); 108 113 if (p) { occ++; p++; } 109 114 else break;
