dockapps/libdockapp/src
Jeremy Sowden 5b50ebaefb libdockapp: removed assertion that short-form options have length 2.
The mixed-option parsing code includes an assertion that short-form
options have a length of two.  However, there is no other validation of
this requirement and some dock-apps do not comply with it, which means
that if one exec's them with an unrecognized option or a mix of short
options, the assertion fails and the app aborts.

For example:

  $ /usr/bin/wmail --help | grep '\<display\>'
    -display <string>            display to use
  $ /usr/bin/wmail --blah
  wmail: daargs.c:126: contains: Assertion `strlen(needle) == 2' failed.
  Aborted

Since there is no explicit statement of this requirement, let's replace
the assertion with a conditional.
2019-06-13 22:35:56 +01:00
..
daargs.c libdockapp: removed assertion that short-form options have length 2. 2019-06-13 22:35:56 +01:00
daargs.h libdockapp: Make DAParseArguments() optional. 2017-08-30 09:49:11 +02:00
dacallback.c libdockapp: Use consistent code formatting. 2014-11-28 16:39:20 +00:00
dacolor.c libdockapp: Use consistent code formatting. 2014-11-28 16:39:20 +00:00
daevent.c libdockapp: Use consistent code formatting. 2014-11-28 16:39:20 +00:00
damain.c libdockapp: Fix for missing windowname and one more. 2019-01-04 18:09:46 +00:00
dapixmap.c libdockapp: Add DAMakeShapeFromData() and DAMakeShapeFromFile() functions. 2017-08-31 08:32:04 +02:00
darect.c libdockapp: Use consistent code formatting. 2014-11-28 16:39:20 +00:00
dashaped.c libdockapp: Use consistent code formatting. 2014-11-28 16:39:20 +00:00
dautil.c libdockapp: Use consistent code formatting. 2014-11-28 16:39:20 +00:00
dautil.h libdockapp: Remove CVS cruft. 2014-11-28 16:39:20 +00:00
dockapp.h libdockapp: Add DAMakeShapeFromData() and DAMakeShapeFromFile() functions. 2017-08-31 08:32:04 +02:00
list.c Include libwmgeneral in libdockapp 2015-08-15 09:52:19 +01:00
list.h Include libwmgeneral in libdockapp 2015-08-15 09:52:19 +01:00
Makefile.am libdockapp: Remove AC_PATH_XTRA macro from configure.ac 2015-10-21 09:07:01 -04:00
misc.c Include libwmgeneral in libdockapp 2015-08-15 09:52:19 +01:00
misc.h Include libwmgeneral in libdockapp 2015-08-15 09:52:19 +01:00
wmgeneral.c libdockapp: Do not include pathnames in Window Name and Class Properties 2017-04-26 23:27:19 +01:00
wmgeneral.h Include libwmgeneral in libdockapp 2015-08-15 09:52:19 +01:00