From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: PATCH: 3.1.6-pws-5: zmodload -e in statically linked shell
Date: Mon, 20 Sep 1999 14:40:20 +0200 [thread overview]
Message-ID: <9909201240.AA24461@ibmth.df.unipi.it> (raw)
I tried --enable-zsh-mem --disable-lfs on a 32-bit machine and there didn't
seem to be any obvious alignment problems.
Meanwhile I found that `zmodload -e module' isn't working properly in
shells without dynamic loading.
--- Src/module.c.zme Mon Aug 30 13:38:48 1999
+++ Src/module.c Mon Sep 20 14:35:45 1999
@@ -1181,13 +1181,13 @@
nicezputs((char *) getdata(node), stdout);
putchar('\n');
}
+ return 0;
} else {
for (; *args; args++)
for (node = firstnode(bltinmodules); node; incnode(node))
- if (strcmp(*args, (char *) getdata(node)))
- return 1;
+ if (!strcmp(*args, (char *) getdata(node)))
+ return 0;
}
- return 0;
}
/* Otherwise we return 1 -- different from the dynamic version. */
return 1;
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
reply other threads:[~1999-09-20 13:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=9909201240.AA24461@ibmth.df.unipi.it \
--to=pws@ibmth.df.unipi.it \
--cc=zsh-workers@sunsite.auc.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).