summaryrefslogtreecommitdiff
path: root/src/mkerrcodes2.awk
Commit message (Collapse)AuthorAgeFilesLines
* awk: Prepare for Gawk 5.0.NIIBE Yutaka2019-04-151-1/+1
| | | | | | | | | | | | | | | | * src/Makefile.am: Use pkg_namespace (instead of namespace). * src/mkerrnos.awk: Likewise. * lang/cl/mkerrcodes.awk: Don't escape # in regexp. * src/mkerrcodes.awk, src/mkerrcodes1.awk, src/mkerrcodes2.awk: Ditto. -- In Gawk 5.0, regexp routines are replaced by Gnulib implementation, which only allows escaping specific characters. GnuPG-bug-id: 4459 Reported-by: Marius Schamschula Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* 2003-07-31 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2003-07-311-5/+3
| | | | | | | | | | * README: Clarify copyright conditions. * src/mkstrtable.awk: Don't claim in the copyright information that this program is part of libgpg-error. * src/mkerrnos.awk: Likewise. * src/mkerrcodes1.awk: Likewise. * src/mkerrcodes2.awk: Likewise.
* 2003-06-01 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2003-06-011-0/+136
* src/mkerrcodes1.awk: New file. * src/mkerrcodes2.awk: New file. * src/mkerrnos.awk: New file. * src/errnos.in: New file. * src/code-from-errno.c: New file. * src/code-to-errno.c: New file. * src/Makefile.am (libgpg_error_la_SOURCES): Remove err-sources.h and err-codes.h. Add code-to-errno.c and code-from-errno.c. (code-to-errno.h): New target. (code-from-errno.h): Likewise. (EXTRA_DIST): Add mkerrnos.awk, errnos.in, and mkerrcodes1.awk. (BUILT_SOURCES): Add code-to-errno.h and code-from-errno.h. (CLEANFILES): Likewise. * src/strerror.c (gpg_strerror): Use strerror for system errors. * src/err-codes.h.in: Add 16382 (Unknown system error). * src/gpg-error.h (gpg_err_code_t): Add system errors. (GPG_ERR_CODE_DIM): Change to 32768. (GPG_ERR_SYSTEM_ERROR): New macro. (gpg_err_code_from_errno): New prototype. (gpg_err_code_to_errno): Likewise.