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

print -z bugfix



-----BEGIN PGP SIGNED MESSAGE-----

"print -z" with no arguments currently tries to free static memory.

 -zefram

      *** Src/utils.c	1996/12/27 18:43:29	1.45
      --- Src/utils.c	1996/12/30 06:30:27
      ***************
      *** 1597,1603 ****
            char sepbuf[3];
        
            if (!*s)
      ! 	return "";
            if (!sep) {
        	elide = 1;
        	sep = sepbuf;
      --- 1597,1603 ----
            char sepbuf[3];
        
            if (!*s)
      ! 	return dupstring("");
            if (!sep) {
        	elide = 1;
        	sep = sepbuf;

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMsdju3D/+HJTpU/hAQEqmAQAqy9c09QMxESCnmAGUrAn1J69Fl5Cz/Cz
B9Z0Vm2wgqeGbUAkwWMhqvKPcMHo6YAyZtElUH4qmRRltH0diauY3eFsq44qLOwU
jdtDUM1hHct3XjgxQaahI2ij0HRG8NLRxbyjJDisXy/vADbmBW7eQRapKaqd3vya
M1f/mv922as=
=oW5r
-----END PGP SIGNATURE-----



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