ref: 37ee82550c127b30ed48ef95cd2a072cfaaf80c3
parent: a361f085ba12a0c1b286b0763326a3c637ab8548
author: qwx <[email protected]>
date: Thu Jun 6 06:32:21 EDT 2024
jam: M: don't require a current file to operate (from 9front, thanks umbraticus)
--- a/sys/src/cmd/jam/xec.c
+++ b/sys/src/cmd/jam/xec.c
@@ -26,7 +26,7 @@
if(f && f->unread)
load(f);
if(f==0 && (cp->addr==0 || cp->addr->type!='"') &&
- !utfrune("bBnqUXY!^", cp->cmdc) &&
+ !utfrune("bBnqUXY!^M", cp->cmdc) &&
cp->cmdc!=('c'|0x100) && !(cp->cmdc=='D' && cp->ctext))
error(Enofile);
i = lookup(cp->cmdc);