Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

buglet



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






Messages sorted by: Reverse Date, Date, Thread, Author