[dwm] fix for dmenu history patch

From: Christian Garbs <mitch_AT_cgarbs.de>
Date: Tue, 3 Apr 2007 21:05:28 +0200

Hi!

I stumbled across an array overflow in the dmenu history patch:
dmenu sometimes crashed when the history file had more than HIST_SIZE
entries. The attached patch fixes that.

The patch also removes the blank lines that got written to the history
file when a dmenu selection was aborted.

Regards,
Christian

-- 
....Christian.Garbs.....................................http://www.cgarbs.de
Gib Gates keine Chance!

Received on Tue Apr 03 2007 - 21:12:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:40:20 UTC