summaryrefslogtreecommitdiff
path: root/config.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrights, authorsJune McEnroe2022-07-171-1/+1
|
* Allow interspersing flags and config filesC. McEnroe2021-01-111-12/+8
| | | | | | Don't wait for getopt_long to move all the arguments to the end. This allows overriding options set by config files by placing flags after them on the command line.
* Use configOpen in getopt_configC. McEnroe2020-08-241-5/+2
|
* Say "OpenSSL" in additional permission noticesC. McEnroe2020-08-061-2/+2
| | | | LibreSSL is "a modified version of that library".
* Add additional permission for linking with LibreSSLC. McEnroe2020-06-081-0/+11
| | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
* Revert "Test getopt_config"C. McEnroe2019-11-111-47/+0
| | | | | | This reverts commit c8a771828e1d5fc8c476bbd650fafcfb7ba390a8. It just feels gross... idk.
* Test getopt_configC. McEnroe2019-11-111-0/+47
|
* Avoid calling getopt_long again after it returns -1C. McEnroe2019-11-081-1/+4
| | | | | | On GNU, calling getopt_long again will reset optind back to the first non-option argument, which would cause an infinite loop of reading the same configurtion file forever.
* Change license to GPLv3C. McEnroe2019-11-061-4/+4
| | | | | | | | | | | | | | > Notwithstanding any other provision of this License, if you modify the > Program, your modified version must prominently offer all users > interacting with it remotely through a computer network (if your version > supports such interaction) an opportunity to receive the Corresponding > Source of your version by providing access to the Corresponding Source > from a network server at no charge, through some standard or customary > means of facilitating copying of software. This potentially means that every freenode user, for example, is interacting with this software, and offering the corresponding source to each of them is an unreasonable burden.
* Use explicit_bzero from LibreSSLC. McEnroe2019-11-061-2/+2
|
* Use explicit_bzero to clear passwordsCurtis McEnroe2019-10-311-0/+2
| | | | | GNU doesn't implement memset_s, but both FreeBSD and GNU implement explicit_bzero. Darwin doesn't, so #define it in terms of memset_s.
* Implement getopt_long-integrated configuration parsingCurtis McEnroe2019-10-291-0/+133