delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/30/12:18:54

X-Spam-Check-By: sourceware.org
Message-ID: <7ff9c2a10601300918h7a456f83s4b2f7e4d2416e393@mail.gmail.com>
Date: Mon, 30 Jan 2006 09:18:39 -0800
From: Svend Sorensen <ssorensen AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters
In-Reply-To: <Pine.GSO.4.63.0601300835190.7389@access1.cims.nyu.edu>
MIME-Version: 1.0
References: <7ff9c2a10601261111m49ab467enfa427a546e269132 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0601300835190 DOT 7389 AT access1 DOT cims DOT nyu DOT edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

------=_Part_15920_12245466.1138641519317
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

The NetBSD system I tested has pdksh-5.2.14nb1 installed.  There are
two patches in pkgsrc, one which removes a Makefile check for pdksh in
the /etc/shells file, and one which removes a declaration of errorno.=20
Other than that, it uses the vanilla pdksh-5.2.14.tar.gz sources.

I have attached the patches from pkgsrc.

On 1/30/06, Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> wrote:
> On Thu, 26 Jan 2006, Svend Sorensen wrote:
>
> > When I use pdksh to expand the name of a file with spaces or other
> > shell metachars in it, the filename is expanded without escaping the
> > metacharacters.
>
> Thanks for the report.  I've been able to reproduce this.  There's an
> upstream patch that fixes the issue, and I'm currently working on
> integrating that and other patches into the build to produce a new release
> (but no ETA yet).
>
> > The pdksh version strings are identical.
>
> This is unfortunate.  What is the patchlevel shown for the pdksh package
> on NetBSD?
>
> FWIW, I will include the full list of patches in the README for the new
> release.
>
> Igor Peshansky, volunteer PDKSH maintainer for Cygwin
> --
>                                 http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_            pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm=
.com
> ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name chang=
ed!)
>      |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends com=
pte."
> "But no -- you are no fool; you call yourself a fool, there's proof enoug=
h in
> that!" -- Rostand, "Cyrano de Bergerac"
>

------=_Part_15920_12245466.1138641519317
Content-Type: application/octet-stream; name=patch-aa
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch-aa"

$NetBSD: patch-aa,v 1.1.1.1 2002/11/28 07:12:09 schmonz Exp $

--- Makefile.in.orig	Tue Jul 13 13:06:53 1999
+++ Makefile.in
@@ -82,12 +82,6 @@ all: $(SHELL_PROG)$(exe_suffix) $(SHELL_
 install: installdirs all
 	$(INSTALL_PROGRAM) $(SHELL_PROG)$(exe_suffix) $(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix)
 	-$(INSTALL_DATA) $(SHELL_PROG).1 $(mandir)/`echo $(SHELL_PROG)|sed '$(transform)'`.$(manext)
-	-@prog=$(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix);\
-	    test -f /etc/shells \
-	    && (grep "^$$prog\$$" /etc/shells > /dev/null \
-		|| echo \
-"NOTE: /etc/shells does not contain $$prog \
-      you should add it if you want to set your shell to $(SHELL_PROG)")
 
 installdirs:
 	$(srcdir)/mkinstalldirs $(bindir) $(mandir)

------=_Part_15920_12245466.1138641519317
Content-Type: application/octet-stream; name=patch-ab
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch-ab"

$NetBSD: patch-ab,v 1.1 2005/11/10 22:21:56 joerg Exp $

--- sh.h.orig	2005-11-10 22:19:37.000000000 +0000
+++ sh.h
@@ -116,7 +116,6 @@ void *memmove ARGS((void *d, const void 
 #endif /* HAVE_PROTOTYPES */
 
 #include <errno.h>
-extern int errno;
 
 #ifdef HAVE_FCNTL_H
 # include <fcntl.h>


------=_Part_15920_12245466.1138641519317
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
------=_Part_15920_12245466.1138641519317--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019