genini - one more...

Charles Wilson cygwin@cwilson.fastmail.fm
Sun Mar 14 17:35:00 GMT 2010


requires: is a required field in setup.hint files.  I imagine this is to
force package maintainers to actively think about requirements; if they
want to specify 'none' then they have to actively assert it with an
'empty' requires:

requires:

However, setup.exe does NOT like empty requires: lines in the setup.ini
file.  So, upset (and genini until revision 1.9, 2010/03/02) check that
requires is *present* in every setup.hint, but if the contents are
*empty*, then they did not put a matching empty requires spec into the
setup.ini file.

The following patch restores the previous behavior: setup.ini should
never contain

keyword: <nothing>

because setup.exe's parser will reject constructs like that.

2010-03-14  Charles Wilson  <...>

	* genini: Don't add keywords with no value to setup.ini

--
Chuck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-empty-keywords.patch
Type: application/x-patch
Size: 535 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20100314/a37f6c94/attachment.bin>


More information about the Cygwin-apps mailing list