zsh-users
 help / color / mirror / code / Atom feed
From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@sunsite.dk
Subject: zcompiled scripts
Date: Thu, 11 Mar 2004 03:13:28 +0100	[thread overview]
Message-ID: <vu7oz6xg6svy$.dlg@thorstenkampe.de> (raw)

Hi,

is it possible to test for a compiled script (.zwc) whether the script
or the complied version ist executed?

I made a script with "echo 111" inside and compiled it with "zcompile
test.zsh". After that I modified the  script to "echo 222" and
executed "touch test.zsh.zwc" to fool zsh in believing that the old
"test.zsh.zwc" is the newer one of both.

But unfortunately "./test.zsh" displayed "222" (the value of the
script) and not "111" (the value of the compiled script).

Anyone hints?

Thorsten


             reply	other threads:[~2004-03-11  2:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-11  2:13 Thorsten Kampe [this message]
2004-03-11  3:21 ` Bart Schaefer

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='vu7oz6xg6svy$.dlg@thorstenkampe.de' \
    --to=thorsten@thorstenkampe.de \
    --cc=zsh-users@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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