Displaying 1 result from an estimated 1 matches for "onlinecancel".
2012 Jul 03
2
[Patch] upssched broken in version 2.6.4 with command with two arguments
...upssched.c (Merge Coverity branch, r3555) broke
upssched with commands that have a second argument.
If a command with a second argument is used, "enc" in line 697 is not an
empty buffer and snprintfcat() just appends some stuff, i.e. the
following command
CANCEL onbatt online
becomes
onlineCANCEL "onbatt" "online"
and is then sent to the pipe-fd.
The attached patch replaces snprintfcat() with snprintf() and fixes the
problem.
Best,
Oliver
--
Oliver Schonefeld
Institut f?r Deutsche Sprache, Zentrale Forschung
R5, 6-13, D-68161 Mannheim
+49-(0)621-1581-451 | http://ww...