summaryrefslogtreecommitdiff
path: root/src/code-from-errno.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement symbol visibility.Werner Koch2014-08-251-5/+5
| | | | | | | | | | | | | * configure.ac: New option --enable-ld-version-script. (GPGRT_USE_VISIBILITY): New ac_define. (HAVE_LD_VERSION_SCRIPT): New am_conditional. * src/gpg-error.vers: New. * src/gpgrt-int.h: New. * src/visibility.c, src/visibility.h: New. Lot of changes to symbold names. -- This is only doe for the old API. The estream API needs to be added.
* 2009-07-17 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2009-07-171-40/+2
| | | | | | | | | | * src/mkerrcodes1.awk: Output code to cause WSA Errors to be transparently translated. * src/code-from-errno.c [HAVE_W32_SYSTEM]: Don't include winsock2.h. (w32_special_errnos) [HAVE_W32_SYSTEM]: Removed. (gpg_err_code_from_errno) [HAVE_W32_SYSTEM]: Remove special case. * README: Document problem with printing some WSA Errors.
* Minor W32 enhancementsWerner Koch2007-06-271-2/+40
|
* Ready for a new releaselibgpg-error-1.4Werner Koch2006-09-141-1/+26
|
* 2003-08-06 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2003-08-061-1/+1
| | | | | | | * code-from-errno.c, code-to-errno.c, err-codes.h.in, err-sources.h.in, errnos.in, gpg-error.h, strerror.c, strsource.c: Fix typo in copyright notice.
* 2003-06-04 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2003-06-031-0/+3
| | | | | | | | | * src/gpg-error.h (gpg_make_error_from_errno): New inline function. (gpg_error_from_errno): Likewise. * src/code-from-errno.c (gpg_err_code_from_errno): Handle the case of no error at all.
* 2003-06-01 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2003-06-011-0/+41
* 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.