From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Tanaka Akira <akr@jaist.ac.jp>,
zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: zsh-3.1.6-dev-20
Date: Sat, 25 Mar 2000 16:46:07 +0000 [thread overview]
Message-ID: <1000325164607.ZM25889@candle.brasslantern.com> (raw)
In-Reply-To: <rsq7ler96h0.fsf@crane.jaist.ac.jp>
On Mar 25, 10:35am, Tanaka Akira wrote:
} Subject: Re: zsh-3.1.6-dev-20
}
} In article <E12Yc4C-0002qM-00.2000-03-24-21-56-29@cmailg3.svr.pol.co.uk>,
} Peter Stephenson <pws@pwstephenson.fsnet.co.uk> writes:
}
} > I have uploaded
} > ftp://ftp.zsh.org/zsh/development/zsh-3.1.6-dev-20.tar.gz
}
} * 10233 is not applied.
That's because 10230 and 10231 are not applied either. Will 10233 work
without those others?
} * Src/text.c is different to my version. Where is the change come from?
They came (or rather, did NOT come) from 10179, which was not applied.
} * 9988 is applied (by hand because it's encoded by quoted-printable?)
} but it has a problem.
Below is what I have (diffed against -dev-20). There's an extra hunk in
there that converts leading spaces to tabs in some of the indentation;
I don't know if that's a mailing artifact or an emacs-editing artifact
on my part.
It also appears that 9897 and 10089 were not properly merged into _groups.
Index: Completion/User/_groups
===================================================================
@@ -6,7 +6,8 @@
if ! zstyle -a ":completion:${curcontext}:" groups groups; then
(( $+_cache_groups )) ||
- if (( ${+commands[ypcat]} )) && tmp=$(ypcat group.byname); then
+ if (( ${+commands[ypcat]} )) &&
+ tmp=$(_call groups ypcat group.byname); then
: ${(A)_cache_groups:=${${(f)tmp}%%:*}} # If you use YP
else
: ${(A)_cache_groups:=${${(s: :)$(</etc/group)}%%:*}}
Index: Src/Modules/zpty.c
===================================================================
@@ -165,7 +165,7 @@
#else /* ! __osf__ */
-#if __SVR4
+#if defined(__SVR4) || defined(sinix)
#include <sys/stropts.h>
@@ -174,11 +174,12 @@
{
int mfd, sfd;
char *name;
+ int ret;
if ((mfd = open("/dev/ptmx", O_RDWR)) < 0)
return 1;
- if (!(name = ptsname(mfd)) || grantpt(mfd) || unlockpt(mfd)) {
+ if (grantpt(mfd) || unlockpt(mfd) || !(name = ptsname(mfd))) {
close(mfd);
return 1;
}
@@ -186,31 +187,31 @@
close(mfd);
return 1;
}
- if ((ret = ioctl(sfd, I_FIND, "ptem")) != 1)
- if (ret == -1 || ioctl(sfd, I_PUSH, "ptem") == -1) {
- close(mfd);
- close(sfd);
- return 1;
- }
- if ((ret = ioctl(sfd, I_FIND, "ldterm")) != 1)
- if (ret == -1 || ioctl(sfd, I_PUSH, "ldterm") == -1) {
- close(mfd);
- close(sfd);
- return 1;
- }
- if ((ret = ioctl(sfd, I_FIND, "ttcompat")) != 1)
- if (ret == -1 || ioctl(sfd, I_PUSH, "ttcompat") == -1) {
- close(mfd);
- close(sfd);
- return 1;
- }
+ if ((ret = ioctl(sfd, I_FIND, "ptem")) != 1)
+ if (ret == -1 || ioctl(sfd, I_PUSH, "ptem") == -1) {
+ close(mfd);
+ close(sfd);
+ return 1;
+ }
+ if ((ret = ioctl(sfd, I_FIND, "ldterm")) != 1)
+ if (ret == -1 || ioctl(sfd, I_PUSH, "ldterm") == -1) {
+ close(mfd);
+ close(sfd);
+ return 1;
+ }
+ if ((ret = ioctl(sfd, I_FIND, "ttcompat")) != 1)
+ if (ret == -1 || ioctl(sfd, I_PUSH, "ttcompat") == -1) {
+ close(mfd);
+ close(sfd);
+ return 1;
+ }
*master = mfd;
*slave = sfd;
return 0;
}
-#else /* ! (defined(__SVR4) || defined(sinix)) */
+#else /* ! (defined(__SVR4) || defind(sinix)) */
static int
get_pty(int *master, int *slave)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~2000-03-25 16:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-23 21:56 zsh-3.1.6-dev-20 Peter Stephenson
2000-03-25 1:35 ` zsh-3.1.6-dev-20 Tanaka Akira
2000-03-24 20:22 ` zsh-3.1.6-dev-20 Peter Stephenson
2000-03-25 7:51 ` Bart's cleareod patch users/2973 (Was: zsh-3.1.6-dev-20) Geoff Wing
2000-03-25 16:46 ` Bart Schaefer [this message]
2000-03-25 17:17 ` zsh-3.1.6-dev-20 Bart Schaefer
2000-03-25 7:53 ` zsh-3.1.6-dev-20 Chmouel Boudjnah
2000-03-25 21:26 ` zsh-3.1.6-dev-20 Bart Schaefer
2000-03-25 17:26 ` zsh-3.1.6-dev-20 Bart Schaefer
2000-03-24 20:22 ` zsh-3.1.6-dev-20 Peter Stephenson
2000-03-27 8:22 zsh-3.1.6-dev-20 Sven Wischnowsky
2000-03-27 11:05 zsh-3.1.6-dev-20 Sven Wischnowsky
2000-03-27 12:14 zsh-3.1.6-dev-20 Sven Wischnowsky
2000-03-27 13:12 zsh-3.1.6-dev-20 Sven Wischnowsky
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=1000325164607.ZM25889@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=akr@jaist.ac.jp \
--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).