Patchwork [libgfortran] : Fix error about lable without following expression

login
register
mail settings
Submitter Kai Tietz
Date Jan. 26, 2011, 7:37 a.m.
Message ID <AANLkTik0KN0zL1-xpZs9DTRAAVjH8vCm-V3LTzjhQVrV@mail.gmail.com>
Download mbox | patch
Permalink /patch/80458/
State New
Headers show

Comments

Kai Tietz - Jan. 26, 2011, 7:37 a.m.
Hi,

For systems without GETPWUID_H defined, there is a regression in
intrinsics/getlog.c about a lable without following statment.

ChangeLog

2011-01-26  Kai Tietz

        * intrinsics/getlog.c (getlog): Fix label/statement issue.

Tested for x86_64-w64-mingw32 and i686-w64-mingw32. Ok for apply?

Regards,
Kai
Janne Blomqvist - Jan. 26, 2011, 8:16 a.m.
On Wed, Jan 26, 2011 at 09:37, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hi,
>
> For systems without GETPWUID_H defined, there is a regression in
> intrinsics/getlog.c about a lable without following statment.
>
> ChangeLog
>
> 2011-01-26  Kai Tietz
>
>        * intrinsics/getlog.c (getlog): Fix label/statement issue.
>
> Tested for x86_64-w64-mingw32 and i686-w64-mingw32. Ok for apply?

Ok, thanks.
Kai Tietz - Jan. 26, 2011, 9:15 a.m.
2011/1/26 Janne Blomqvist <blomqvist.janne@gmail.com>:
> On Wed, Jan 26, 2011 at 09:37, Kai Tietz <ktietz70@googlemail.com> wrote:
>> Hi,
>>
>> For systems without GETPWUID_H defined, there is a regression in
>> intrinsics/getlog.c about a lable without following statment.
>>
>> ChangeLog
>>
>> 2011-01-26  Kai Tietz
>>
>>        * intrinsics/getlog.c (getlog): Fix label/statement issue.
>>
>> Tested for x86_64-w64-mingw32 and i686-w64-mingw32. Ok for apply?
>
> Ok, thanks.
>
> --
> Janne Blomqvist
>


Now with ML CCed, too.

Committed at revision 169279.

Thanks,
Kai

Patch

Index: intrinsics/getlog.c
===================================================================
--- intrinsics/getlog.c (revision 169276)
+++ intrinsics/getlog.c (working copy)
@@ -115,5 +115,7 @@ 
  cleanup:
 #ifdef HAVE_GETPWUID_R
   free (buf);
+#else
+  ;
 #endif
 }