aboutsummaryrefslogtreecommitdiffstats
path: root/src/strerror.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-25Implement symbol visibility.Werner Koch1-4/+4
* 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.
2006-09-14Ready for a new releaselibgpg-error-1.4Werner Koch1-3/+3
2003-10-25Fixed last fix:Werner Koch1-0/+1
Include stdio.h for snprintf prototype. Suggested by [email protected], fixes #gnupg/214.
2003-09-302003-09-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-145/+59
* src/gpg-error.h: Include <stddef.h>. (gpg_strerror_r): Change prototype to match POSIX. Rewritten for that prototype. * src/strerror.c: Include <errno.h>. (gpg_strerror_r, system_strerror_r): Change prototype to match POSIX. Rewritten for that prototype. Rewritten for that prototype.
2003-09-132003-09-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+207
* configure.ac: Invoke AC_FUNC_STRERROR_R. * src/gpg-error.h (gpg_strerror_r): New prototype. * src/strerror.c (system_strerror_r): New function. (gpg_strerror_r): New function.
2003-08-062003-08-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-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-07-312003-07-31 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* src/strerror.c (gpg_strerror): Use CODE, not ERR to map error code to errno. * configure.ac (AC_INIT): Bump version to 0.3.
2003-06-012003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+2
* src/strerror.c: Include <string.h>.
2003-06-012003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+9
* 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.
2003-06-012003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* src/Makefile.am (nobase_include_HEADERS): Rename target to ... (include_HEADERS): ... this. Change file to gpg-error.h (libgpg_error_la_SOURCES): Change gpg/error.h to gpg-error.h. * src/gpg/error.h: Move to ... * src/gpg-error.h: ... here. New file. * src/strerror.c: Include <gpg-error.h>, not <gpg/error.h>. * src/strsource.c: Likewise.
2003-05-152003-05-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-8/+9
* src/mkstrtable.awk: Add exception clause to license about the output of the script. * configure.ac: Change license to LGPL 2.1 or later. * Makefile.am: Likewise. * src/Makefile.am: Likewise. * src/err-codes.h.in: Likewise. * src/err-sources.h.in: Likewise. * src/strsource.c: Likewise. * src/strerror.c: Likewise. * src/gpg/error.h: Likewise. * tests/Makefile.am: Likewise. * src/mkstrtable.awk: New variable HEADER. Copy input until first line with an actual code and description occurs. * src/err-codes.h.in: Uncomment license, so it is copied into the output. * src/err-sources.h.in: Likewise.
2003-05-152003-05-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+36
* Initial check-in.