1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
gnupg/jnlib
Werner Koch 8ea49cf513 jnlib: Add meta option ignore-invalid-option.
* jnlib/argparse.c (iio_item_def_s, IIO_ITEM_DEF): New.
(initialize): Init field IIO_LIST.
(ignore_invalid_option_p): New.
(ignore_invalid_option_add): New.
(ignore_invalid_option_clear): New.
(optfile_parse): Implement meta option.
--

This option is currently of no use.  However, as soon as it has been
deployed in all stable versions of GnuPG, it will allow the use of the
same configuration file with an old and a new version of GnuPG.  For
example: If a new version implements the option "foobar", and a user
uses it in gpg.conf, an old version of gpg would bail out with the
error "invalid option".  To avoid that the following line can be put
above that option in gpg.conf

  ignore-invalid-option foobar

This meta option may be given several times or several option names
may be given as arguments (space delimited).  Note that this option is
not available on the command line.

(cherry-picked from commit 41d564333d)
2012-12-18 18:31:54 +01:00
..
argparse.c jnlib: Add meta option ignore-invalid-option. 2012-12-18 18:31:54 +01:00
argparse.h jnlib: Add meta option ignore-invalid-option. 2012-12-18 18:31:54 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 19:28:02 +01:00
dotlock.c Minor bug fixes. 2009-07-07 16:51:33 +00:00
dotlock.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
dynload.h Use more warning options with modern GCCs. 2008-10-17 19:18:46 +00:00
libjnlib-config.h Remove hacks which are not anymore needed since we now require Libgcrypt 1.4 2008-09-29 15:02:55 +00:00
logging.c Minor bug fixes. 2009-07-07 16:51:33 +00:00
logging.h Fixed a nasty bug in scdaemon which led to a card reset if the card was 2009-02-25 10:58:56 +00:00
Makefile.am Generate the ChangeLog from commit logs. 2011-12-02 19:28:02 +01:00
mischelp.c tryu harder to ignore duplicate specified keyrings and -boxes. 2007-08-24 09:34:39 +00:00
mischelp.h Define SUN_LEN also for W32. 2009-06-04 14:19:21 +00:00
README Fix for bug 537 2006-10-02 11:54:35 +00:00
stringhelp.c Refactor new code. 2009-08-26 09:24:04 +00:00
stringhelp.h Implement tilde expansion in the same was as 1.4. 2009-08-26 08:55:57 +00:00
strlist.c Minor bug fixes. 2009-07-07 16:51:33 +00:00
strlist.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
t-stringhelp.c Implement tilde expansion in the same was as 1.4. 2009-08-26 08:55:57 +00:00
t-support.c Implement tilde expansion in the same was as 1.4. 2009-08-26 08:55:57 +00:00
t-support.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
types.h New fucntions strconcat and xstrconcat. 2009-08-25 20:19:37 +00:00
utf8conv.c Minor bug fixes. 2009-07-07 16:51:33 +00:00
utf8conv.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
w32-afunix.c Marked all unused args on non-W32 platforms. 2008-10-20 13:53:23 +00:00
w32-afunix.h Use Assuan socket wrapper calls. 2007-10-01 14:48:39 +00:00
w32-gettext.c Reorder libs in kbx. 2008-11-11 11:45:17 +00:00
w32-reg.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
w32help.h Revamped the W32 gettext implementation. 2008-11-04 19:54:02 +00:00
xmalloc.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
xmalloc.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00

JNLIB - This is a collection of utility function which are too small
to put into a library.  The code here is licensed under the LGPL.

libjnlib-config.h should be be modified for each project to make these
functions fit into the software. Mainly these are memory functions in
case you need another allocator.