LCDproc development and user support list

Text archives Help


[Lcdproc] [PATCH] Fix client_add_key for minus


Chronological Thread 
  • From: spdawson at gmail.com (Simon Dawson)
  • Subject: [Lcdproc] [PATCH] Fix client_add_key for minus
  • Date: Fri, 5 Oct 2012 08:12:57 +0100

Calling client_add_key as follows

client_add_key -

will fail. However using an explicit -shared option, like this:

client_add_key -shared -

will succeed. This is caused by a failure to parse the - key token, which is
mistaken for the first character of an option argument.

The client_add_key command also returns a spurious "success" message when a
malformed option is supplied.

The attached patch fixes both issues.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcdproc-fix-client_add_key-for-minus.patch
Type: application/octet-stream
Size: 1132 bytes
Desc: not available
URL:
<http://lists.omnipotent.net/pipermail/lcdproc/attachments/20121005/675d50bb/attachment.obj>




Archive powered by MHonArc 2.6.18.

Top of page