zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: 4.1.4: POSIX ranges, supplementary
@ 1998-07-08 16:49 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1998-07-08 16:49 UTC (permalink / raw)
  To: Zsh hackers list

Sorry.  You'll find that ']' has all kinds of unexpected properties
until you apply this additional patch.

*** Src/glob.c.range2	Wed Jul  8 15:25:05 1998
--- Src/glob.c	Wed Jul  8 18:46:07 1998
***************
*** 2216,2222 ****
  
      /* we made sure in parsecomp() there was a ':' to search for */
      *patptr = strchr(start, ':');
!     len = *patptr++ - start;
  
      if (!strncmp(start, "alpha", len))
  	return isalpha(ch);
--- 2216,2222 ----
  
      /* we made sure in parsecomp() there was a ':' to search for */
      *patptr = strchr(start, ':');
!     len = (*patptr)++ - start;
  
      if (!strncmp(start, "alpha", len))
  	return isalpha(ch);

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 50 844536
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy


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

only message in thread, other threads:[~1998-07-08 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-08 16:49 PATCH: 4.1.4: POSIX ranges, supplementary 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).