[csw-devel] SF.net SVN: gar:[15584] csw/mgar/pkg/dovecot/trunk/files

wilbury at users.sourceforge.net wilbury at users.sourceforge.net
Thu Sep 8 22:33:36 CEST 2011


Revision: 15584
          http://gar.svn.sourceforge.net/gar/?rev=15584&view=rev
Author:   wilbury
Date:     2011-09-08 20:33:36 +0000 (Thu, 08 Sep 2011)
Log Message:
-----------
Remove obsolete/unneeded patches

Removed Paths:
-------------
    csw/mgar/pkg/dovecot/trunk/files/patch-authcrash.diff
    csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff
    csw/mgar/pkg/dovecot/trunk/files/patch-unsetenv.diff
    csw/mgar/pkg/dovecot/trunk/files/patch-utf8alloc.diff

Deleted: csw/mgar/pkg/dovecot/trunk/files/patch-authcrash.diff
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/patch-authcrash.diff	2011-09-08 20:28:30 UTC (rev 15583)
+++ csw/mgar/pkg/dovecot/trunk/files/patch-authcrash.diff	2011-09-08 20:33:36 UTC (rev 15584)
@@ -1,47 +0,0 @@
-# HG changeset patch
-# User Timo Sirainen <tss at iki.fi>
-# Date 1234226629 18000
-# Node ID bdc5391e52dfe4590e9e291eba2603ed87caef57
-# Parent 4ddf36b9ee8182f10d8d69af6577b677cda282a0
-master: Don't crash if auth process dies too early.
-
---- a/src/master/auth-process.c	Thu Feb 05 18:29:06 2009 -0500
-+++ b/src/master/auth-process.c	Mon Feb 09 19:43:49 2009 -0500
-@@ -353,7 +353,7 @@ static void auth_process_destroy(struct 
- 
- 	if (!p->initialized && io_loop_is_running(ioloop) && !p->external) {
- 		/* log the process exit and kill ourself */
--		child_processes_deinit();
-+		child_processes_flush();
- 		log_deinit();
- 		i_fatal("Auth process died too early - shutting down");
- 	}
---- a/src/master/child-process.c	Thu Feb 05 18:29:06 2009 -0500
-+++ b/src/master/child-process.c	Mon Feb 09 19:43:49 2009 -0500
-@@ -219,10 +219,15 @@ void child_processes_init(void)
- 	lib_signals_set_handler(SIGCHLD, TRUE, sigchld_handler, NULL);
- }
- 
--void child_processes_deinit(void)
-+void child_processes_flush(void)
- {
- 	/* make sure we log if child processes died unexpectedly */
- 	sigchld_handler(SIGCHLD, NULL);
-+}
-+
-+void child_processes_deinit(void)
-+{
-+	child_processes_flush();
- 	lib_signals_unset_handler(SIGCHLD, sigchld_handler, NULL);
- 	hash_destroy(&processes);
- }
---- a/src/master/child-process.h	Thu Feb 05 18:29:06 2009 -0500
-+++ b/src/master/child-process.h	Mon Feb 09 19:43:49 2009 -0500
-@@ -40,6 +40,7 @@ void child_process_set_destroy_callback(
- 					child_process_destroy_callback_t *cb);
- 
- void child_processes_init(void);
-+void child_processes_flush(void);
- void child_processes_deinit(void);
- 
- #endif

Deleted: csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff	2011-09-08 20:28:30 UTC (rev 15583)
+++ csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff	2011-09-08 20:33:36 UTC (rev 15584)
@@ -1,12 +0,0 @@
---- a/src/lib/mkdir-parents.c	Wed Mar 18 13:47:58 2009 -0400
-+++ b/src/lib/mkdir-parents.c	Wed Mar 18 14:10:08 2009 -0400
-@@ -18,7 +18,7 @@ int mkdir_parents(const char *path, mode
- 
- 		   ENOSYS check is for NFS mount points.
- 		*/
--		if (errno == EISDIR && errno == ENOSYS)
-+		if (errno == EISDIR || errno == ENOSYS)
- 			errno = EEXIST;
- 		return -1;
- 	} else {
-

Deleted: csw/mgar/pkg/dovecot/trunk/files/patch-unsetenv.diff
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/patch-unsetenv.diff	2011-09-08 20:28:30 UTC (rev 15583)
+++ csw/mgar/pkg/dovecot/trunk/files/patch-unsetenv.diff	2011-09-08 20:33:36 UTC (rev 15584)
@@ -1,46 +0,0 @@
-# HG changeset patch
-# User Timo Sirainen <tss at iki.fi>
-# Date 1231433510 18000
-# Node ID fec8412dc1c5487d10974c18104f9ec9cbd009f1
-# Parent 30207243a4f4c3e076bea43d1e92de8e7179c72a
-env_remove(): Implement a fallback method if unsetenv() doesn't exist.
-Fixes compiling at least with Solaris 8.
-
---- a/configure.in	Thu Jan 08 11:41:30 2009 -0500
-+++ b/configure.in	Thu Jan 08 11:51:50 2009 -0500
-@@ -459,7 +459,7 @@ AC_CHECK_FUNCS(fcntl flock lockf inet_at
- 	       setrlimit setproctitle seteuid setreuid setegid setresgid \
- 	       strtoull strtoll strtouq strtoq \
- 	       setpriority quotactl getmntent kqueue kevent backtrace_symbols \
--	       walkcontext dirfd clearenv malloc_usable_size)
-+	       walkcontext dirfd clearenv malloc_usable_size unsetenv)
- 
- dnl strtoimax and strtoumax are macros in HP-UX, so inttypes.h must be included
- AC_MSG_CHECKING([for strtoimax])
---- a/src/lib/env-util.c	Thu Jan 08 11:41:30 2009 -0500
-+++ b/src/lib/env-util.c	Thu Jan 08 11:51:50 2009 -0500
-@@ -19,7 +19,24 @@ void env_put(const char *env)
- 
- void env_remove(const char *name)
- {
-+#ifdef HAVE_UNSETENV
- 	unsetenv(name);
-+#else
-+	extern char **environ;
-+	unsigned int len;
-+	char **envp;
-+
-+	len = strlen(name);
-+	for (envp = environ; *envp != NULL; envp++) {
-+		if (strncmp(name, *envp, len) == 0 &&
-+		    (*envp)[len] == '=') {
-+			do {
-+				envp[0] = envp[1];
-+			} while (*++envp != NULL);
-+			break;
-+		}
-+	}
-+#endif
- }
- 
- void env_clean(void)

Deleted: csw/mgar/pkg/dovecot/trunk/files/patch-utf8alloc.diff
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/patch-utf8alloc.diff	2011-09-08 20:28:30 UTC (rev 15583)
+++ csw/mgar/pkg/dovecot/trunk/files/patch-utf8alloc.diff	2011-09-08 20:33:36 UTC (rev 15584)
@@ -1,44 +0,0 @@
-
-# HG changeset patch
-# User Timo Sirainen <tss at iki.fi>
-# Date 1238105829 14400
-# Node ID a2013dedbad0b6cda8d7bbef0179758456e885dd
-# Parent 3e5494da8e37bb3253ca23088291330a785253fc
-charset_to_utf8() may have tried to allocate a lot of memory in some conditions.
-
---- a/src/lib-charset/charset-iconv.c	Wed Mar 25 15:38:36 2009 -0400
-+++ b/src/lib-charset/charset-iconv.c	Thu Mar 26 18:17:09 2009 -0400
-@@ -129,8 +129,9 @@ charset_to_utf8(struct charset_translati
- charset_to_utf8(struct charset_translation *t,
- 		const unsigned char *src, size_t *src_size, buffer_t *dest)
- {
-+	bool dtcase = (t->flags & CHARSET_FLAG_DECOMP_TITLECASE) != 0;
- 	enum charset_result result;
--	size_t pos, used, size;
-+	size_t pos, used, size, prev_used = 0;
- 	bool ret;
- 
- 	for (pos = 0;;) {
-@@ -143,11 +144,16 @@ charset_to_utf8(struct charset_translati
- 			return result;
- 		}
- 
--		/* force buffer to grow */
--		used = dest->used;
--		size = buffer_get_size(dest) - used + 1;
--		(void)buffer_append_space_unsafe(dest, size);
--		buffer_set_used_size(dest, used);
-+		if (!dtcase) {
-+			/* force buffer to grow */
-+			used = dest->used;
-+			size = buffer_get_size(dest) - used + 1;
-+			(void)buffer_append_space_unsafe(dest, size);
-+			buffer_set_used_size(dest, used);
-+		} else {
-+			i_assert(dest->used != prev_used);
-+			prev_used = dest->used;
-+		}
- 	}
- }
- 
-

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list