[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: clang's Undefined Sanitizer
From: |
Bruno Haible |
Subject: |
Re: clang's Undefined Sanitizer |
Date: |
Thu, 24 Aug 2017 11:34:42 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-91-generic; KDE/5.18.0; x86_64; ; ) |
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
- Valgrind is complaining unitialized values in freea (malloca.c:135), Marc Nieper-Wißkirchen, 2017/08/22
- Re: Valgrind is complaining unitialized values in freea (malloca.c:135), Tim Rühsen, 2017/08/22
- Re: Valgrind is complaining unitialized values in freea (malloca.c:135), Marc Nieper-Wißkirchen, 2017/08/22
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/22
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/22
- Re: clang's Undefined Sanitizer, Adhemerval Zanella, 2017/08/22
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/22
- Re: clang's Undefined Sanitizer, Adhemerval Zanella, 2017/08/22
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/23
- Re: clang's Undefined Sanitizer,
Bruno Haible <=
- Re: clang's Undefined Sanitizer, Benno Schulenberg, 2017/08/24
- Re: clang's Undefined Sanitizer, Benno Schulenberg, 2017/08/27
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/27
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/24
- Re: c99 and IRIX, Bruno Haible, 2017/08/24
- Re: c99 and IRIX, Paul Eggert, 2017/08/24
- Re: c99 and IRIX, Tom G. Christensen, 2017/08/29
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/24
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/25
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/27