aboutsummaryrefslogtreecommitdiffstats
path: root/tests/asschk.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-05-31indent: Fix spellingDaniel Kahn Gillmor1-2/+2
-- These are non-substantive corrections for minor spelling mistakes within the GnuPG codebase. With something like this applied to the codebase, and a judiciously tuned spellchecker integrated as part of a standard test suite, it should be possible to keep a uniform orthography within the project. GnuPG-bug-id: 7116
2024-04-22tests: Avoid new C23 keyword true.Werner Koch1-4/+4
* tests/asschk.c (eval_boolean): s/true/tru/ -- GnuPG-bug-is: 7093
2024-04-22tests: Avoid new C23 keyword true.Werner Koch1-4/+4
* tests/asschk.c (eval_boolean): s/true/tru/ -- GnuPG-bug-is: 7093
2018-10-24all: fix spelling and typosDaniel Kahn Gillmor1-5/+5
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
2018-01-29tests: Fix for NetBSD with __func__.NIIBE Yutaka1-1/+1
* tests/asschk.c: Don't define __func__ if available. -- NetBSD 7.0 has __func__ defined. Signed-off-by: NIIBE Yutaka <[email protected]>
2016-11-05Change all http://www.gnu.org in license notices to https://Werner Koch1-1/+1
--
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-13/+13
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2011-09-20tests: avoid use of freed pointerJim Meyering1-1/+4
[spotted by coverity] This is only in tests/, but easy to fix, so... I've included extra context so you can see how var->value would be used in the following atoi call. >From cf9ae83fd2da8d7a289b048ef0feed4096f6d263 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Tue, 20 Sep 2011 16:32:59 +0200 Subject: [PATCH] avoid use of free'd pointer * asschk.c (set_type_var): Set var->value to NULL after freeing it, to avoid subsequent use of freed pointer.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-20/+19
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2009-10-13Replace C99 style vararg macro which was anyway not correct.Werner Koch1-29/+32
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-0/+14
2008-01-26Typo fixes.Werner Koch1-1/+1
Portability fix for asschk.c
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-11-05Collected fixes.Werner Koch1-9/+14
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-06-082006-06-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+13
* asschk.c (__func__) [__STDC_VERSION__ < 199901L && __GNUC__ >= 2]: Define macro to __FUNCTION__. (die): Use __func__ instead of __FUNCTION__.
2005-02-24* gpg-agent.c (handle_connections): Need to check for events ifWerner Koch1-2/+2
select returns with -1. * tools.texi (gpg-connect-agent): New. * app-openpgp.c (get_one_do): Never try to get a non cacheable object from the cache. (get_one_do): Add new arg to return an error code. Changed all callers. (do_getattr): Let it return a proper error code. * app.c (select_application): Return an error code and the application context in an new arg. * command.c (open_card): Adjusted for that. Don't use the fallback if no card is present. Return an error if the card has been removed without a reset. (do_reset, cmd_serialno): Clear that error flag. (TEST_CARD_REMOVAL): New. Use it with all command handlers. * scdaemon.c (ticker_thread): Termintate if a shutdown is pending. * apdu.c: Added some PCSC error codes. (pcsc_error_to_sw): New. (reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu) (open_pcsc_reader): Do proper error code mapping. * gpg-connect-agent.c: New. * Makefile.am: Add it.
2003-01-09This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+1059
'GNUPG-1-9-BRANCH'.
2003-01-09Updated from latest NewPG projectWerner Koch1-1/+14
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-1046/+0
'GNUPG-1-9-BRANCH'.
2002-09-042002-09-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-5/+4
* asschk.c (start_server): Close the parent's file descriptors in the child. (read_assuan): Variable NREAD removed. Cut off the received line currectly if more than one line was read.
2002-08-09Tweaked the build system so that make distcheck finanly said WellWerner Koch1-3/+19
Done.
2002-08-08* asschk.c: Added some new features.Werner Koch1-29/+147
* runtest, inittests: New. * text-1.txt, text-2.txt, text-3.txt: New. * text-1.osig.pem, text-1.dsig.pem, text-1.osig-bad.pem: New. * text-2.osig.pem, text-2.osig-bad.pem: New. * samplekeys : New directory * sm-verify, sm-sign+verify: The first test scripts.
2002-08-07First test script. Still missing the environment setup.Werner Koch1-43/+267
2002-08-07New Assuan testing tool.Werner Koch1-0/+689