[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-fortran
Subject: Re: Patch libfortran/27784 Comparison of strings with char(0)
From: Steve Kargl <sgk () troutmask ! apl ! washington ! edu>
Date: 2006-05-28 19:13:10
Message-ID: 20060528191310.GA18627 () troutmask ! apl ! washington ! edu
[Download RAW message or body]
On Sun, May 28, 2006 at 02:07:45PM +0200, Thomas Koenig wrote:
> Hello world,
>
> here's a fix for PR 27784, regression-tested on i686-pc-linux-gnu. OK?
>
> Thomas
>
> 2006-05-28 Thomas Koenig <Thomas.Koenig@online.de>
>
> * intrinsics/string_intrinsics.c (compare_string):
> Use memcmp instead of strncmp to avoid tripping over
> CHAR(0) in a string.
>
> 2006-05-28 Thomas Koenig <Thomas.Koenig@online.de>
>
> * gfortran.dg/string_null_compare_1.f: New test case.
OK.
--
Steve
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic