The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use /dev/null instead of /dev/zero testing diff

GNU diffutils identifies /dev/zero as identical to /dev/zero by
special-casing, but Apple's diff, for example, does not. Use
/dev/null instead.

+5 -5
+1 -1
Changes
··· 491 491 492 492 ### Build system: 493 493 494 - - #13705: Cache test results of custom Autoconf tests from aclocal.m4. 494 + - #13705, #14444: Cache test results of custom Autoconf tests from aclocal.m4. 495 495 (Antonin Décimo, review by David Allsopp and Miod Vallat) 496 496 497 497 - #13810: Support build of cross compilers to native freestanding targets
+2 -2
configure
··· 23961 23961 else $as_nop 23962 23962 flags="" 23963 23963 for flag in ${flags_to_test}; do 23964 - "$DIFF" $flag /dev/zero /dev/zero >/dev/null 2>&1 && \ 23964 + "$DIFF" $flag /dev/null /dev/null >/dev/null 2>&1 && \ 23965 23965 flags="${flags:+$flags }$flag" 23966 23966 done 23967 23967 ocaml_cv_prog_diff_flags="$flags" ··· 23974 23974 then : 23975 23975 printf %s "(cached) " >&6 23976 23976 else $as_nop 23977 - if $DIFF --color=auto $0 $0 > /dev/null 2>&1 23977 + if $DIFF --color=auto /dev/null /dev/null > /dev/null 2>&1 23978 23978 then : 23979 23979 ocaml_cv_prog_diff_supports_color=true 23980 23980 fi
+2 -2
configure.ac
··· 2854 2854 [ocaml_cv_prog_diff_flags], 2855 2855 [flags="" 2856 2856 for flag in ${flags_to_test}; do 2857 - "$DIFF" $flag /dev/zero /dev/zero >/dev/null 2>&1 && \ 2857 + "$DIFF" $flag /dev/null /dev/null >/dev/null 2>&1 && \ 2858 2858 flags="${flags:+$flags }$flag" 2859 2859 done 2860 2860 ocaml_cv_prog_diff_flags="$flags"]) 2861 2861 AC_CACHE_CHECK([whether $DIFF supports --color={auto,always,never}], 2862 2862 [ocaml_cv_prog_diff_supports_color], 2863 - [AS_IF([$DIFF --color=auto $0 $0 > /dev/null 2>&1], 2863 + [AS_IF([$DIFF --color=auto /dev/null /dev/null > /dev/null 2>&1], 2864 2864 [ocaml_cv_prog_diff_supports_color=true])])]) 2865 2865 AC_SUBST([DIFF_FLAGS], [$ocaml_cv_prog_diff_flags]) 2866 2866 # Always assign a valid default OCaml value