zsh-workers
 help / color / mirror / code / Atom feed
* print -z bugfix
@ 1996-12-30  8:22 Zefram
  0 siblings, 0 replies; only message in thread
From: Zefram @ 1996-12-30  8:22 UTC (permalink / raw)
  To: Z Shell workers mailing list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-12-30 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-30  8:22 print -z bugfix Zefram

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