- typo
[packages/avfs.git] / avfs-unrar.c.patch
CommitLineData
3baa3f4d 1diff -ur avfs-1.0.0.old/avfscoda/dispatch.c avfs-1.0.0/avfscoda/dispatch.c
2--- avfs-1.0.0.old/avfscoda/dispatch.c 2012-03-22 18:29:17.000000000 +0000
3+++ avfs-1.0.0/avfscoda/dispatch.c 2012-03-22 18:31:09.000000000 +0000
4@@ -147,7 +147,7 @@
5 va_end(ap);
6
7 buf[LOGMSG_SIZE] = '\0';
8- syslog(LOG_INFO, buf);
9+ syslog(LOG_INFO, "%s", buf);
10 log(buf);
11 }
12
13Only in avfs-1.0.0/avfscoda: dispatch.c~
14diff -ur avfs-1.0.0.old/modules/urar.c avfs-1.0.0/modules/urar.c
15--- avfs-1.0.0.old/modules/urar.c 2012-03-22 18:29:17.000000000 +0000
16+++ avfs-1.0.0/modules/urar.c 2012-03-22 18:30:33.000000000 +0000
17@@ -587,7 +587,7 @@
18 if(res < 0)
19 return res;
20
21- fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC);
22+ fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC,0644);
23 if(fd == -1) {
24 res = -errno;
25 av_log(AVLOG_ERROR, "RAR: Could not open %s: %s", tmpfile,
26Only in avfs-1.0.0/modules: urar.c~
27diff -ur avfs-1.0.0.old/src/sysdeps.c avfs-1.0.0/src/sysdeps.c
28--- avfs-1.0.0.old/src/sysdeps.c 2012-03-22 18:29:17.000000000 +0000
29+++ avfs-1.0.0/src/sysdeps.c 2012-03-22 18:31:34.000000000 +0000
30@@ -209,7 +209,7 @@
31 va_end(ap);
32
33 if(logfile == NULL)
34- syslog(LOG_INFO, buf);
35+ syslog(LOG_INFO, "%s", buf);
36 else
37 filelog(buf);
38 AV_UNLOCK(loglock);
39Only in avfs-1.0.0/src: sysdeps.c~
e2d599b2 40--- avfs-1.0.0/libneon/hip_xml.c.old 2012-03-23 15:36:04.000000000 +0000
41+++ avfs-1.0.0/libneon/hip_xml.c 2012-03-23 15:36:20.000000000 +0000
42@@ -40,7 +40,7 @@
43
44 /******** Expat ***********/
45
46-# include "xmlparse.h"
47+# include "expat.h"
48 typedef XML_Char hip_xml_char;
49
50 #else /* not HAVE_EXPAT */
This page took 0.052331 seconds and 4 git commands to generate.