File: debpatch

package info (click to toggle)
libarr 0.1-49
  • links: PTS
  • area: main
  • in suites: woody
  • size: 376 kB
  • ctags: 400
  • sloc: ansic: 2,106; makefile: 140; sh: 13
file content (30 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- source/input.c.save Tue Jul  3 10:52:34 2001
+++ source/input.c      Tue Jul  3 10:55:04 2001
@@ -32,6 +32,7 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <ctype.h>
+#include <string.h>

 #if defined(__linux__)
 #include <sys/kd.h>
--- source/printf.c.save        Tue Jul  3 10:51:57 2001
+++ source/printf.c     Tue Jul  3 10:52:24 2001
@@ -57,7 +57,7 @@
                        /* We need to pop the character off the stack even
                         * though we don't do anything with it.           
                         */
-                       (void)va_arg(args, char);
+                       (void)va_arg(args, int);
                        continue;
                }

@@ -126,7 +126,7 @@
                        continue;
                }

-               if ((*str == 'c') && ((chr = va_arg(args, char)) != NUL)) {
+               if ((*str == 'c') && ((chr = va_arg(args, int)) != NUL)) {
                        *pointer++ = chr;                                 
                        continue;        
                }