ALT Linux repos
S: | 0.32.2-alt1 |
D: | 0.25.4-alt1 |
5.0: | 0.28.3-alt2 |
4.1: | 0.24.7-alt3.1.M41.1 |
4.0: | 0.24.7-alt3.1 |
3.0: | 0.24.7-alt3 |
Group :: System/Libraries
RPM: libneon
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: neon-0.30.2-lockprintf.patch
Download
Download
Supress gcc warnings.
--- neon-0.30.2/test/lock.c.lockprintf
+++ neon-0.30.2/test/lock.c
@@ -73,11 +73,11 @@
const char *token_href)
{
static char buf[BUFSIZ];
- sprintf(buf,
- "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
- "<D:prop xmlns:D=\"DAV:\">"
- "<D:lockdiscovery>%s</D:lockdiscovery></D:prop>\n",
- activelock(scope, depth, owner, timeout, token_href));
+ ne_snprintf(buf, sizeof buf,
+ "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
+ "<D:prop xmlns:D=\"DAV:\">"
+ "<D:lockdiscovery>%s</D:lockdiscovery></D:prop>\n",
+ activelock(scope, depth, owner, timeout, token_href));
return buf;
}