openbsd-ports/misc/tkcron/patches/patch-tkcron_tcl
2007-10-26 22:00:31 +00:00

12 lines
426 B
Plaintext

$OpenBSD: patch-tkcron_tcl,v 1.1 2007/10/26 22:00:31 ajacoutot Exp $
--- tkcron.tcl.orig Fri Oct 26 23:55:57 2007
+++ tkcron.tcl Fri Oct 26 23:55:58 2007
@@ -281,6 +281,7 @@ proc getEntryFromGadgets {} {
# Return the crontab string as a list
proc parseCrontabFile {str} {
+ set result ""
set crontablist [split $str \n]
set listlength [llength $crontablist]
for {set i 0} {$i < $listlength} {incr i 1} {