The Lambda Lab
/
projects
/
qwikboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a226ed2
)
Remove md5 files after use.
author
plugd
<plugd@thelambdalab.xyz>
Wed, 21 Aug 2024 21:10:40 +0000
(23:10 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Wed, 21 Aug 2024 21:10:40 +0000
(23:10 +0200)
qwikboard
patch
|
blob
|
history
diff --git
a/qwikboard
b/qwikboard
index
b297b64
..
59563f5
100755
(executable)
--- a/
qwikboard
+++ b/
qwikboard
@@
-124,6
+124,7
@@
function fs.getmd5(filename)
local md5fh = assert(io.open(md5_file_name), "r")
local md5f_str = md5fh:read("*all")
md5fh:close()
+ fs.rmfile(md5_file_name)
return string.match(md5f_str, "^(%w+)%s")
end
@@
-275,7
+276,7
@@
function qwk.write_message (target_dir, first_unseen_msgs)
if first_unseen_msgs[cnum]
and msg.number<first_unseen_msgs[cnum] then
- msg.read = true
+ msg.read = true
-- hacky way to notify writer
rf:write("\x01")
else
rf:write("\x00")