15 Commits

Author SHA1 Message Date
Stone Tickle
d286201f39
rename posix.h to compat.h
Currently all compat.h does is define the appropriate POSIX macro unless
you are on windows, as well as conditionally enabling
__attribute__(format...).
2023-03-10 09:35:04 -05:00
Stone Tickle
4298aa2011
make muon reuse compliant
https://reuse.software
2022-10-25 10:54:31 -04:00
Stone Tickle
b6afb1f3ec
transition path_join functions to use sbufs 2022-09-05 06:50:39 -05:00
Stone Tickle
f68d4b8fa1
support diff_files in wraps 2022-08-11 14:36:52 -05:00
Stone Tickle
0aec1d3447
add undocumented wrap key wrapdb_version 2022-07-07 11:39:54 -05:00
Stone Tickle
b247552e86
implement wrap [provides] section 2022-05-23 09:25:35 -05:00
Stone Tickle
8010460c81
finish support for wrap_mode 2022-03-05 17:14:05 -06:00
Stone Tickle
f12593b0bf
unconditionally define PATH_MAX
~lattis/muon#26: PATH_MAX is not always defined

> It seems that you unconditionally use PATH_MAX in muon, but POSIX does
> not require that macro to be defined, it says that it should only be
> defined if the OS has an hard limit on path length.
>
> From the Posix specification, in <limits.h>, under the section "Pathname
> Variable Values": "A definition of one of the symbolic constants in the
> following list shall be omitted from the <limits.h> header on specific
> implementations where the corresponding value is equal to or greater
> than the stated minimum, but where the value can vary depending on the
> file to which it is applied."
>
> For example, GNU Hurd does not define the macro.
>
> In their guidelines (under the section PATH_MAX, MAX_PATH, MAXPATHLEN,
> _POSIX_PATH_MAX) they give some advice about how to handle this
> situation, but I believe that setting PATH_MAX to the same size of MacOS
> or Linux (with something like #ifndef PATH_MAX ...) should be enough.
2022-01-04 19:01:28 -06:00
Stone Tickle
e363748894
handle lead_directory_missing 2021-10-18 16:57:09 -05:00
Stone Tickle
c67dcd079f
remove unused workspace argument 2021-10-18 16:51:22 -05:00
Stone Tickle
c285ea9216
handle directory and patch_directory wrap keys 2021-10-17 20:56:28 -05:00
Stone Tickle
e52cf2eb59
implement most of wrap file specification 2021-10-16 08:18:33 -05:00
Stone Tickle
e9cc135c3e
rename boson -> muon 2021-06-07 16:32:24 +09:00
Stone Tickle
24dec0fb31
cleanup project/subproject management 2021-05-30 06:05:55 +09:00
Stone Tickle
4dabd9e246
implement wrap file support 2021-05-27 20:27:45 +09:00