From: Clint Adams <clint@zsh.org>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: Or on ReliantUNIX ... RE: Make Failure on SunOS-4.1 (correction)
Date: Thu, 26 Apr 2001 11:52:39 -0400 [thread overview]
Message-ID: <20010426115239.B4344@dman.com> (raw)
In-Reply-To: <1010426153244.ZM13520@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Thu, Apr 26, 2001 at 03:32:44PM +0000
> Either it should be tested in getterm{info,cap}, or removed entirely.
Hmm, good point.
Index: Src/Modules/termcap.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/termcap.c,v
retrieving revision 1.11
diff -u -r1.11 termcap.c
--- Src/Modules/termcap.c 2001/04/26 15:48:17 1.11
+++ Src/Modules/termcap.c 2001/04/26 15:51:02
@@ -147,10 +147,6 @@
BUILTIN("echotc", 0, bin_echotc, 1, -1, 0, NULL, NULL),
};
-/* This says if we are cleaning up when the module is unloaded. */
-
-static int incleanup;
-
/**/
#ifdef HAVE_TGETENT
@@ -363,8 +359,6 @@
int
setup_(Module m)
{
- incleanup = 0;
-
return 0;
}
@@ -391,11 +385,7 @@
{
#ifdef HAVE_TGETENT
Param pm;
-#endif
-
- incleanup = 1;
-#ifdef HAVE_TGETENT
if ((pm = (Param) paramtab->getnode(paramtab, termcap_nam)) &&
pm == termcap_pm) {
pm->flags &= ~PM_READONLY;
Index: Src/Modules/terminfo.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/terminfo.c,v
retrieving revision 1.16
diff -u -r1.16 terminfo.c
--- Src/Modules/terminfo.c 2001/04/24 06:48:54 1.16
+++ Src/Modules/terminfo.c 2001/04/26 15:51:02
@@ -109,10 +109,6 @@
BUILTIN("echoti", 0, bin_echoti, 1, -1, 0, NULL, NULL),
};
-/* This says if we are cleaning up when the module is unloaded. */
-
-static int incleanup;
-
/**/
#ifdef HAVE_TIGETSTR
@@ -337,8 +333,6 @@
int
setup_(Module m)
{
- incleanup = 0;
-
return 0;
}
@@ -365,11 +359,7 @@
{
#ifdef HAVE_TIGETSTR
Param pm;
-#endif
-
- incleanup = 1;
-#ifdef HAVE_TIGETSTR
if ((pm = (Param) paramtab->getnode(paramtab, terminfo_nam)) &&
pm == terminfo_pm) {
pm->flags &= ~PM_READONLY;
prev parent reply other threads:[~2001-04-26 15:52 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-24 19:43 Make Failure on SunOS-4.1 Vin Shelton
2001-04-25 4:13 ` Bart Schaefer
2001-04-25 9:55 ` Peter Stephenson
2001-04-25 14:41 ` Bart Schaefer
2001-04-25 14:57 ` Clint Adams
2001-04-25 14:29 ` Vin Shelton
2001-04-25 14:58 ` Bart Schaefer
2001-04-25 18:03 ` Vin Shelton
2001-04-26 4:27 ` Bart Schaefer
2001-04-26 4:35 ` Make Failure on SunOS-4.1 (correction) Bart Schaefer
2001-04-26 12:50 ` Vin Shelton
2001-04-26 13:06 ` Or on ReliantUNIX ... " Andrej Borsenkow
2001-04-26 13:15 ` Clint Adams
2001-04-26 13:25 ` Andrej Borsenkow
2001-04-26 13:30 ` Clint Adams
2001-04-26 14:02 ` Andrej Borsenkow
2001-04-26 14:20 ` Clint Adams
2001-04-26 14:35 ` Bart Schaefer
2001-04-26 14:52 ` Andrej Borsenkow
2001-04-26 14:58 ` Clint Adams
2001-04-26 15:32 ` Bart Schaefer
2001-04-26 15:52 ` Clint Adams [this message]
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=20010426115239.B4344@dman.com \
--to=clint@zsh.org \
--cc=schaefer@candle.brasslantern.com \
--cc=zsh-workers@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).