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.

Add fallbacks for all STATX_ATTR_* constants

musl 1.2.5 includes a <sys/stat.h> that doesn't define any of these.

+5 -6
+5 -6
vendor/opam/uring/lib/uring/include/discover.ml
··· 116 116 "STATX_MNT_ID", Int, 0x00001000; 117 117 "STATX_DIOALIGN", Int, 0x00002000; 118 118 (* File Attributes *) 119 + "STATX_ATTR_COMPRESSED", Int, 0x00000004; 120 + "STATX_ATTR_IMMUTABLE", Int, 0x00000010; 121 + "STATX_ATTR_APPEND", Int, 0x00000020; 122 + "STATX_ATTR_NODUMP", Int, 0x00000040; 123 + "STATX_ATTR_ENCRYPTED", Int, 0x00000800; 119 124 "STATX_ATTR_VERITY", Int, 0x00100000; 120 125 "STATX_ATTR_DAX", Int, 0x00200000; 121 126 ] ··· 157 162 "STATX_BLOCKS", Int; 158 163 "STATX_BASIC_STATS", Int; 159 164 "STATX_BTIME", Int; 160 - 161 - "STATX_ATTR_COMPRESSED", Int; 162 - "STATX_ATTR_IMMUTABLE", Int; 163 - "STATX_ATTR_APPEND", Int; 164 - "STATX_ATTR_NODUMP", Int ; 165 - "STATX_ATTR_ENCRYPTED", Int; 166 165 ] @ List.map (fun (n, t, _) -> n, t) new_flags) 167 166 |> List.fold_left (fun (ats, stats, attrs) (v, k) -> match String.split_on_char '_' v, k with 168 167 | "AT" :: name, C.C_define.Value.Int v ->