From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] file name from sam !
Date: Thu, 22 Sep 2016 10:50:31 +0200 [thread overview]
Message-ID: <b423a9dfa429af1d82d0e133d12ec7a4@felloff.net> (raw)
In-Reply-To: <alpine.LNX.2.00.1609221007590.6016@phi>
diff -r 9319c4c3a2f1 sys/src/cmd/sam/shell.c
--- a/sys/src/cmd/sam/shell.c Wed Sep 21 21:57:08 2016 +0200
+++ b/sys/src/cmd/sam/shell.c Thu Sep 22 10:48:46 2016 +0200
@@ -93,6 +93,7 @@
close(0); /* so it won't read from terminal */
open("/dev/null", 0);
}
+ putenv("f", Strtoc(&f->name));
execl(SHPATH, SH, "-c", Strtoc(&plan9cmd), nil);
exits("exec");
}
--
cinap
next prev parent reply other threads:[~2016-09-22 8:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-22 8:09 Julius Schmidt
2016-09-22 8:50 ` cinap_lenrek [this message]
2016-09-22 9:03 ` [9front] " cinap_lenrek
2016-09-22 9:04 ` Siarhei Zirukin
2016-09-22 9:05 ` cinap_lenrek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b423a9dfa429af1d82d0e133d12ec7a4@felloff.net \
--to=cinap_lenrek@felloff.net \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).