ALT Linux repositórios
S: | 2.4.7-alt1 |
5.0: | 1.3.10-alt1 |
4.1: | 1.3.10-alt0.M41.4 |
+updates: | 1.3.9-alt1.M41.1 |
4.0: | 1.2.12-alt6.M40.9 |
+updates: | 1.2.12-alt6.M40.8 |
3.0: | 1.1.20-alt14.1 |
Group :: Sistema/Servidores
RPM: cups
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: cups-1.2.4-alt-izvrat2.patch
Download
Download
diff -Naur cups-1.2.4.orig/cups/usersys.c cups-1.2.4/cups/usersys.c
--- cups-1.2.4.orig/cups/usersys.c 2006-10-13 17:49:11 +0400
+++ cups-1.2.4/cups/usersys.c 2006-10-13 18:00:09 +0400
@@ -266,6 +266,9 @@
}
}
+/* don't mix set and get operations, otherwise we will have a problems in sequence like:
+ getCups, setuid, getCups */
+#if 0
/*
* Copy the server name over and set the port number, if any...
*/
@@ -287,6 +290,8 @@
strcpy(cg->servername, "localhost");
else
strlcpy(cg->servername, cg->server, sizeof(cg->servername));
+#endif
+ return server;
}
return (cg->server);