No description
Find a file
Érico Rolim e5fe9ad9e8 Check for libintl header and add dgettext wrapper.
The dgettext_safe wrapper is used in the few situations where it wasn't
possible to immediatelly tell that the msgid parameter wasn't NULL.
We can probably add some debug printing code here at some point to try
and bring bugs upstream, if it makes sense.

Some inspiration from https://github.com/xhebox/libuargp
2021-02-16 01:47:29 -03:00
testsuite Remove autogoo files. 2021-02-10 18:54:02 -03:00
.gitignore Add .gitignore. 2021-02-10 18:54:02 -03:00
acconfig.h Import argp-standalone 1.0. 2021-02-10 16:16:04 -03:00
acinclude.m4 Fix acinclude.m4 for clang. 2021-02-10 19:17:14 -03:00
argp-ba.c Import trivial changes from glibc 2.33. 2021-02-10 17:41:05 -03:00
argp-eexst.c Import trivial changes from glibc 2.33. 2021-02-10 17:41:05 -03:00
argp-fmtstream.c Import argp-fmtstream.{c,h} from glibc 2.33. 2021-02-10 18:08:19 -03:00
argp-fmtstream.h Remove extern statics. 2021-02-10 18:54:02 -03:00
argp-help.c Check for libintl header and add dgettext wrapper. 2021-02-16 01:47:29 -03:00
argp-namefrob.h Import argp-namefrob.h from glibc 2.33. 2021-02-10 18:08:19 -03:00
argp-parse.c Import argp-parse.c from glibc 2.33. 2021-02-10 18:08:19 -03:00
argp-pv.c Import trivial changes from glibc 2.33. 2021-02-10 17:41:05 -03:00
argp-pvh.c Import trivial changes from glibc 2.33. 2021-02-10 17:41:05 -03:00
argp-test.c Import argp-test.c from glibc 2.33. 2021-02-10 17:41:05 -03:00
argp.h Remove extern statics. 2021-02-10 18:54:02 -03:00
ChangeLog Release 1.4.0. 2021-02-10 19:25:53 -03:00
configure.ac Check for libintl header and add dgettext wrapper. 2021-02-16 01:47:29 -03:00
Makefile.am Import argp-standalone 1.3. 2021-02-10 17:41:05 -03:00
mempcpy.c Import argp-standalone 1.0. 2021-02-10 16:16:04 -03:00
README.md Add licensing information to README. 2021-02-16 01:17:41 -03:00
stamp-h.in Import argp-standalone 1.0. 2021-02-10 16:16:04 -03:00
strchrnul.c Import argp-standalone 1.0. 2021-02-10 16:16:04 -03:00
strndup.c Import argp-standalone 1.0. 2021-02-10 16:16:04 -03:00
Versions Import argp-standalone 1.0. 2021-02-10 16:16:04 -03:00

argp-standalone

This is a continuation of Niels Möller's
work on an argp library for systems which don't provide one themselves (most
non-GNU ones).

After noticing issues with executables built against argp-standalone 1.3, I
decided to fork it and continue the effort.

This repository is the result of making a timeline with releases 1.0 to 1.3
(obtained from here) of the original
argp-standalone, copying files from glibc 2.33 and fixing them up for
compatibility, and finally some general clean up. I commited many trivial
changes from the glibc version in order to make updating easier.

It is my expectation that this library will be useful to others. Feel free to
open an issue or make a PR.

License

Since this repository is based on GNU C Library source code and changes from
Niels and collaborators, it is licensed primarily under the GNU Lesser General
Public License, version 2.1 or later (SPDX: LGPL-2.1-or-later).