Skip to content

Commit

Permalink
seek does not break unbounded output, likely
Browse files Browse the repository at this point in the history
  • Loading branch information
aoh committed May 18, 2016
1 parent d5fb61d commit b340be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rad/main.scm
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Radamsa was written by Aki Helin at OUSPG.")
((os
(string->outputs
(getf dict 'output-pattern)
(+ (getf dict 'count) (get dict 'offset 0))
(getf dict 'count)
(pick-suffix paths))))
(if os
(start-radamsa (put dict 'output os) paths)
Expand Down Expand Up @@ -246,7 +246,7 @@ Radamsa was written by Aki Helin at OUSPG.")
(getf dict 'verbose)
fail))
(n (getf dict 'count))
(end (+ n (get dict 'offset 0)))
(end (if (number? n) (+ n (get dict 'offset 0)) n))
(mutas (getf dict 'mutations))
(rs muta (mutators->mutator rs mutas))
(sleeper
Expand Down

0 comments on commit b340be5

Please sign in to comment.