9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front] avoid infinite loop in upas/common mkfile
@ 2017-06-07  5:58 cinap_lenrek
  0 siblings, 0 replies; 3+ messages in thread
From: cinap_lenrek @ 2017-06-07  5:58 UTC (permalink / raw)
  To: 9front

pushed. thanks.

--
cinap


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] avoid infinite loop in upas/common mkfile
  2017-06-06 23:34 raiz
@ 2017-06-06 23:39 ` raiz
  0 siblings, 0 replies; 3+ messages in thread
From: raiz @ 2017-06-06 23:39 UTC (permalink / raw)
  To: 9front

On 2017-06-06 23:34, raiz@firemail.cc wrote:
> Running 'mk' from subdirectories of /sys/src/cmd/upas causes infinite
> loop because upas/common reruns mkupas which ends up in infinite loop.
> 
> I attached a diff to fix it, correct me if I'm wrong.
> 
> from postmaster@ur:
> The following attachment had content that we can't
> prove to be harmless.  To avoid possible automatic
> execution, we changed the content headers.
> The original header was:
> 
> 	Content-Transfer-Encoding: base64
> 	Content-Type: text/x-diff;
>  name=upas_common_mkfile_fix.diff
> 	Content-Disposition: attachment;
>  filename=upas_common_mkfile_fix.diff;
>  size=266

sorry about that.

diff -r 9b0969c59d42 sys/src/cmd/upas/common/mkfile
--- a/sys/src/cmd/upas/common/mkfile	Mon Jun 05 17:21:42 2017 +0200
+++ b/sys/src/cmd/upas/common/mkfile	Wed Jun 07 02:30:49 2017 +0300
@@ -1,5 +1,4 @@
  </$objtype/mkfile
-<../mkupas

  LIB=libcommon.a$O
  OFILES=\


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9front] avoid infinite loop in upas/common mkfile
@ 2017-06-06 23:34 raiz
  2017-06-06 23:39 ` raiz
  0 siblings, 1 reply; 3+ messages in thread
From: raiz @ 2017-06-06 23:34 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

Running 'mk' from subdirectories of /sys/src/cmd/upas causes infinite
loop because upas/common reruns mkupas which ends up in infinite loop.

I attached a diff to fix it, correct me if I'm wrong.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: upas_common_mkfile_fix.diff --]
[-- Type: text/x-diff; name=upas_common_mkfile_fix.diff, Size: 266 bytes --]

diff -r 9b0969c59d42 sys/src/cmd/upas/common/mkfile
--- a/sys/src/cmd/upas/common/mkfile	Mon Jun 05 17:21:42 2017 +0200
+++ b/sys/src/cmd/upas/common/mkfile	Wed Jun 07 02:30:49 2017 +0300
@@ -1,5 +1,4 @@
 </$objtype/mkfile
-<../mkupas
 
 LIB=libcommon.a$O
 OFILES=\

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-07  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07  5:58 [9front] avoid infinite loop in upas/common mkfile cinap_lenrek
  -- strict thread matches above, loose matches on Subject: below --
2017-06-06 23:34 raiz
2017-06-06 23:39 ` raiz

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).