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

Re: zsh 4.3.3 released



Hi,


SunOS compiler complains about:

cc -c -I. -I/T/tcl_tk/8.5a5/binaries/suns8/include -DHAVE_CONFIG_H -O  -o utils.o ../../Src/utils.c
"../../Src/utils.c", line 3058: cannot dereference non-pointer type
"../../Src/utils.c", line 3058: operands must have integral type: op "&"
"../../Src/utils.c", line 3059: cannot dereference non-pointer type
cc: acomp failed for ../../Src/utils.c
make[2]: *** [utils.o] Error 2
make[2]: Leaving directory `/projekte/backup/tools/unix/build/zsh/zsh-4.3.3/suns8/Src'
make[1]: *** [modobjs] Error 2
make[1]: Leaving directory `/projekte/backup/tools/unix/build/zsh/zsh-4.3.3/suns8/Src'
make: *** [all] Error 1

Patch:

*** utils.c.orig	Mon Apr 16 15:17:35 2007
--- utils.c	Tue Apr 17 11:52:29 2007
***************
*** 3055,3062 ****
      if (len == 0) {
  	/* NULL is special */
  	return zistype(0, itype);
!     } else if (len == 1 && isascii(*outstr)) {
! 	return zistype(*outstr, itype);
      } else {
  	switch (itype) {
  	case IIDENT:
--- 3055,3062 ----
      if (len == 0) {
  	/* NULL is special */
  	return zistype(0, itype);
!     } else if (len == 1 && isascii(outstr[0])) {
! 	return zistype(outstr[0], itype);
      } else {
  	switch (itype) {
  	case IIDENT:

Christoph Bauer
--  
LMS Deutschland GmbH - Geschäftsführer: Dr. Ing. Urbain Vandeurzen, Dr.-Ing. Norbert Reimann - Sitz: Kaiserslautern - Registergericht: HRB Kaiserslautern 3706
 



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