crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

musl-fix.patch (1156B)


      1 diff -Naur xdgmime-e861d3eb3d522a9c22c5a870526728e2a3d9fc04-orig/fuzzing/setup.h xdgmime-e861d3eb3d522a9c22c5a870526728e2a3d9fc04/fuzzing/setup.h
      2 --- xdgmime-e861d3eb3d522a9c22c5a870526728e2a3d9fc04-orig/fuzzing/setup.h	2024-04-15 23:38:47.000000000 +0800
      3 +++ xdgmime-e861d3eb3d522a9c22c5a870526728e2a3d9fc04/fuzzing/setup.h	2024-07-15 08:01:15.999994705 +0800
      4 @@ -6,6 +6,17 @@
      5  
      6  #include <stddef.h>
      7  
      8 +#ifndef TEMP_FAILURE_RETRY
      9 +#define TEMP_FAILURE_RETRY(expression)                                         \
     10 +  (__extension__({                                                             \
     11 +    long int __result;                                                         \
     12 +    do                                                                         \
     13 +      __result = (long int)(expression);                                       \
     14 +    while (__result == -1L && errno == EINTR);                                 \
     15 +    __result;                                                                  \
     16 +  }))
     17 +#endif
     18 +
     19  void fuzz_teardown (int working_dir_fd);
     20  int fuzz_setup (const unsigned char *data,
     21                  size_t               data_len,