Hi Benno,

Paul Eggert writes:
> With that in mind I attempted to merge that patchset into 
> Gnulib by installing the attached.

This part of the patch:

@@ -190,11 +175,8 @@ convert_dirent (const struct dirent *source)
       struct readdir_result result = { NULL, };
       return result;
     }
-  else
-    {
-      struct readdir_result result = READDIR_RESULT_INITIALIZER (source);
-      return result;
-    }
+  struct readdir_result result = READDIR_RESULT_INITIALIZER (source);
+  return result;
 }
 
 #ifndef COMPILE_GLOB64
@@ -208,31 +190,11 @@ convert_dirent64 (const struct dirent64 *source)
       struct readdir_result result = { NULL, };
       return result;
     }
-  else
-    {
-      struct readdir_result result = READDIR_RESULT_INITIALIZER (source);
-      return result;
-    }
+  struct readdir_result result = READDIR_RESULT_INITIALIZER (source);
+  return result;
 }
 #endif
 

discards your change
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=e29357c8f445320cb3084352579fb2648cce4d0f

I haven't gotten any answer to my inquiries
https://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00009.html

Can you confirm that you can use a newer GCC on Haiku, and that therefore said
change was not actually needed?

Bruno


Reply via email to