This is longer than the de facto standard limit of 2000 characters.
PTHREAD_CREATE_JOINABLE is already the default for newly created threads.
AUR 2.0 makes these all proper integer values, yay!
Parse an already downloaded PKGBUILD for depends and makedepends and reuse them as targets.
Reading targets from stdin allows cower to be used with other programs more easily. The ability to read from stdin was previously removed in: f37c6e2 Signed-off-by: Andrew Gregory <email@example.com>
Since even TUs can't be bothered to use makepkg to create tarballs for upload, abandon all hope for sane tarballs. Use the subdirectory of the PKGBUILD, since that's what we're interested in.
Add a missing possible value of 'WHEN' for --color, add highlighting where applicable, and fix a few grammatical aberrations.
In the unlikely case that XDG_CONFIG_HOME and HOME aren't defined, fallback on the passwd database to derive the current user's home directory. This also changes the path itself to be stack allocated, to avoid a potential memory leak on fopen failure.
This isn't safe to do, since we haven't called strings_init yet. cwr_printf remains safe but ONLY if we call it with level LOG_DEBUG. https://bbs.archlinux.org/viewtopic.php?pid=1158784#p1158784
Avoid using our own heuristics, since entries might not be wellformed and have a trailing slash. Fixes GHI#38.
There's sadly a large number of packages in the AUR which fail at life and can't manage to use a subdirectory matching the name of the package. Rely on the fact that the AUR does some level of sanity checking on uploads to make sure that one and only subdir exists and return this as an outval from our archive extraction function. People who do this need to go play in traffic.