zsh-workers
 help / color / mirror / code / Atom feed
* buglet
@ 1999-01-22 11:47 Helmut Jarausch
  1999-01-22 12:33 ` buglet Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Jarausch @ 1999-01-22 11:47 UTC (permalink / raw)
  To: zsh-workers

Version zsh-3.1.5-pws-4-P  plus all patches upto 4944
need the following tiny patch (to compile on SGI)

Helmut.


diff -cr zsh-3.1.5-pws-4-P.OLD/Src/builtin.c zsh-3.1.5-pws-4-P/Src/builtin.c
*** zsh-3.1.5-pws-4-P.OLD/Src/builtin.c	Fri Jan 22 10:41:14 1999
--- zsh-3.1.5-pws-4-P/Src/builtin.c	Fri Jan 22 11:07:34 1999
***************
*** 790,796 ****
  	    zsfree(remnode(dirstack, dir));
  	return NULL;
      }
!     if (dest != getdata(dir)) {
  	zsfree(getdata(dir));
  	setdata(dir, dest);
      }
--- 790,796 ----
  	    zsfree(remnode(dirstack, dir));
  	return NULL;
      }
!     if (dest != (char*)getdata(dir)) {
  	zsfree(getdata(dir));
  	setdata(dir, dest);
      }
***************
*** 1989,1995 ****
  		puts(wd ? ": none" : " not found");
  		returnval = 1;
  	    }
! 	} else if ((cnam = findcmd(*argv))) {
  	    /* Found external command. */
  	    if (wd) {
  		printf("%s: command\n", *argv);
--- 1989,1995 ----
  		puts(wd ? ": none" : " not found");
  		returnval = 1;
  	    }
! 	} else if ((cnam = findcmd(*argv,0))) {
  	    /* Found external command. */
  	    if (wd) {
  		printf("%s: command\n", *argv);





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: buglet
  1999-01-22 11:47 buglet Helmut Jarausch
@ 1999-01-22 12:33 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1999-01-22 12:33 UTC (permalink / raw)
  To: zsh-workers

Helmut Jarausch wrote:
> Version zsh-3.1.5-pws-4-P  plus all patches upto 4944
> need the following tiny patch (to compile on SGI)
>
> ! 	} else if ((cnam = findcmd(*argv,0))) {

sorry, that's my fault... actually, that second argument needs to be a
1.  It'll be in the upcoming pws-5 (just not quite as upcoming as it
was before I read that message...)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-01-22 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-22 11:47 buglet Helmut Jarausch
1999-01-22 12:33 ` buglet Peter Stephenson

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