Gentoo Archives: gentoo-commits

From: "vapier (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/binutils/2.18: 07_all_binutils-2.18-windres.patch
Date: Sun, 09 Sep 2007 03:00:00
Message-Id: E1IUCv2-0005Lz-7P@stork.gentoo.org
1 vapier 07/09/09 02:53:04
2
3 Added: 07_all_binutils-2.18-windres.patch
4 Log:
5 fix for windres segv
6
7 Revision Changes Path
8 1.1 src/patchsets/binutils/2.18/07_all_binutils-2.18-windres.patch
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.18/07_all_binutils-2.18-windres.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.18/07_all_binutils-2.18-windres.patch?rev=1.1&content-type=text/plain
12
13 Index: 07_all_binutils-2.18-windres.patch
14 ===================================================================
15 http://sourceware.org/bugzilla/show_bug.cgi?id=4987
16
17 --- binutils-2.18/binutils/resrc.c
18 +++ binutils-2.18/binutils/resrc.c
19 @@ -437,7 +437,7 @@ read_rc_file (const char *filename, cons
20 const char *fnquotes = (filename_need_quotes (filename) ? "\"" : "");
21
22 /* Setup the default resource import path taken from input file. */
23 - if (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL)
24 + if (filename != NULL && (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL))
25 {
26 char *e, *c;
27
28
29
30
31 --
32 gentoo-commits@g.o mailing list