Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37559452
en ru br
ALT Linux repositórios
S:2.3.21-alt1
D:1.1-alt0.hg20070530
5.0: 1.1.6-alt2
4.1: 1.0.13-alt1
4.0: 1.0.3.hg20070801-alt1
+updates:1.0.3.hg20070801-alt1
3.0: 0.99.14-alt2

Outros repositórios
Upstream:1.0.13

Group :: Sistema/Servidores
RPM: dovecot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: dovecot-2.1.4-postreleasefix.patch
Download


# HG changeset patch
# User Timo Sirainen <tss@iki.fi>
# Date 1334041779 -10800
# Node ID 20e1aa322b1e3b7d47c7cb1b6ff68a8d07fe6c9d
# Parent  0b59dbb1a288153d2eb26d47cd9f7a953335c66f
lib-storage: mail_user_try_home_expand() now looks up home only when needed.
Before a recent code cleanup the lookup was always done, but if the home
didn't exist it still just happened to return success. The cleanup changed
it to return failure, which broke the original behavior.
diff -r 0b59dbb1a288 -r 20e1aa322b1e src/lib-storage/mail-user.c
--- a/src/lib-storage/mail-user.c	Tue Apr 10 09:52:35 2012 +0300
+++ b/src/lib-storage/mail-user.c	Tue Apr 10 10:09:39 2012 +0300
@@ -343,6 +343,11 @@
 {
 	const char *home, *path = *pathp;
 
+	if (strncmp(path, "~/", 2) != 0) {
+		/* no need to expand home */
+		return 0;
+	}
+
 	if (mail_user_get_home(user, &home) <= 0)
 		return -1;
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009