# HG changeset patch # User John "Elwin" Edwards # Date 1342411416 25200 # Node ID 18a81cc0084b108baaed3a5713e6914f9e356abd # Parent 67b393f10c2b524a0969bc15dbc4a7b9dad55e39 RLG-Web: fix lockfile mixup. Put the terminal dimensions into the lockfile in the proper order. diff -r 67b393f10c2b -r 18a81cc0084b rlgwebd.js --- a/rlgwebd.js Sun Jul 15 20:30:33 2012 -0700 +++ b/rlgwebd.js Sun Jul 15 21:03:36 2012 -0700 @@ -124,7 +124,7 @@ var ts = timestamp(); var progressdir = "/dgldir/inprogress-" + this.game.uname; this.lock = path.join(progressdir, this.pname + ":node:" + ts + ".ttyrec"); - var lmsg = this.term.pid.toString() + '\n' + this.w + '\n' + this.h + '\n'; + var lmsg = this.term.pid.toString() + '\n' + this.h + '\n' + this.w + '\n'; fs.writeFile(this.lock, lmsg, "utf8"); var ttyrec = path.join("/dgldir/ttyrec", this.pname, this.game.uname, ts + ".ttyrec");