]> git.pld-linux.org Git - packages/elfutils.git/blob - elfutils-strings_c.patch
- up to 0.157
[packages/elfutils.git] / elfutils-strings_c.patch
1 --- src/strings.c.orig  2010-06-06 13:44:24.944220549 +0200
2 +++ src/strings.c       2010-06-06 13:48:09.937738243 +0200
3 @@ -381,7 +381,8 @@
4                  assume the file data is encoded in UCS-2/UTF-16 or
5                  UCS-4/UTF-32 respectively we could covert the string.
6                  But there is no such guarantee.  */
7 -             fwrite_unlocked (start, 1, buf - start, stdout);
8 +             int ret;
9 +             ret = fwrite_unlocked (start, 1, buf - start, stdout);
10               putc_unlocked ('\n', stdout);
11             }
12  
13 @@ -441,7 +442,8 @@
14                   free (*unprinted);
15                   *unprinted = NULL;
16                 }
17 -             fwrite_unlocked (start, 1, buf - start, stdout);
18 +             int ret;
19 +             ret = fwrite_unlocked (start, 1, buf - start, stdout);
20               putc_unlocked ('\n', stdout);
21             }
22  
This page took 0.060342 seconds and 3 git commands to generate.