[Frugalware-darcs] pacman: pacman: fix ORE in log.c

VMiklos vmiklos at frugalware.org
Thu Mar 16 17:48:24 CET 2006


[pacman: fix ORE in log.c
VMiklos <vmiklos at frugalware.org>**20060201203109] {
hunk ./src/pacman/log.c 107
+	char str[LOG_STR_LEN];
+
hunk ./src/pacman/log.c 115
-		/* ORE
-		commented for now: it produces corruption
-		pm_fprintf(stdout, NL, fmt, args); */
-		vprintf(fmt, args);
+		vsnprintf(str, LOG_STR_LEN, fmt, args);
hunk ./src/pacman/log.c 117
+		pm_fprintf(stdout, NL, str);
}


More information about the Frugalware-darcs mailing list