Package: w9wm / 0.4.2-8

Metadata

Package Version Patches format
w9wm 0.4.2-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
10_compiler_warnings.diff | (download)

error.c | 1 1 + 0 - 0 !
manage.c | 1 1 + 0 - 0 !
menu.c | 10 5 + 5 - 0 !
3 files changed, 7 insertions(+), 5 deletions(-)

 prevent compiler warnings.
 Missing inclusions of stdlib.h and string.h, needed for
 undeclared prototypes of exit() and strcmp().
 .
 Incorrect sentinel marker for execlp().
20_menu_management.diff | (download)

9wm.c | 4 2 + 2 - 0 !
dat.h | 1 1 + 0 - 0 !
menu.c | 23 22 + 1 - 0 !
3 files changed, 25 insertions(+), 3 deletions(-)

 audit of menu subsystem.
 There was an off-by-one error in case
 the available menu allocation was exhausted
 at 16 entries.
 .
 A macro 9WM_MENU_ITEMS is introduced with
 value 32 for the number of possible entries.
 This is in accordance with the manual page, but
 raises the value actually encoded in source.
 .
 When attempting to execute a menu item, code
 is introduced to extract the name of the chosen
 executable and to separate arguments. Then the
 result is passed on to execvp(). Thus it is now
 possible to pass arguments in menu entries and
 to keep them easily visible.