public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/binutils/2.18: 07_all_binutils-2.18-windres.patch
@ 2007-09-09  2:53 vapier (vapier)
  0 siblings, 0 replies; only message in thread
From: vapier (vapier) @ 2007-09-09  2:53 UTC (permalink / raw
  To: gentoo-commits

vapier      07/09/09 02:53:04

  Added:                07_all_binutils-2.18-windres.patch
  Log:
  fix for windres segv

Revision  Changes    Path
1.1                  src/patchsets/binutils/2.18/07_all_binutils-2.18-windres.patch

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
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

Index: 07_all_binutils-2.18-windres.patch
===================================================================
http://sourceware.org/bugzilla/show_bug.cgi?id=4987

--- binutils-2.18/binutils/resrc.c
+++ binutils-2.18/binutils/resrc.c
@@ -437,7 +437,7 @@ read_rc_file (const char *filename, cons
   const char *fnquotes = (filename_need_quotes (filename) ? "\"" : "");
 
   /* Setup the default resource import path taken from input file.  */
-  if (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL)
+  if (filename != NULL && (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL))
     {
       char *e, *c;
 



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-09  3:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-09  2:53 [gentoo-commits] gentoo commit in src/patchsets/binutils/2.18: 07_all_binutils-2.18-windres.patch vapier (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox