zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Re: Files modified after a given date
Date: Mon, 30 Aug 1999 11:10:57 +0200 (MET DST)	[thread overview]
Message-ID: <199908300910.LAA20565@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Fri, 27 Aug 1999 10:13:51 +0200 (MET DST)


I wrote:

> Most of this patch is to save/restore the global globbing state,
> though (in case the string or a function called from it does itself
> some globbing).

badcshglob shoudn't be saved/restored here -- it is in exec.c.

Bye
 Sven

diff -u oos/glob.c Src/glob.c
--- oos/glob.c	Mon Aug 30 10:58:42 1999
+++ Src/glob.c	Mon Aug 30 11:08:45 1999
@@ -121,7 +121,6 @@
 /* struct to easily save/restore current state */
 
 struct globdata {
-    int gd_badcshglob;
     int gd_pathpos;
     char *gd_pathbuf;
 
@@ -176,7 +175,6 @@
 #define save_globstate(N) \
   do { \
     memcpy(&(N), &curglobdata, sizeof(struct globdata)); \
-    (N).gd_badcshglob = badcshglob; \
     (N).gd_pathpos = pathpos; \
     (N).gd_pathbuf = pathbuf; \
     (N).gd_glob_pre = glob_pre; \
@@ -186,7 +184,6 @@
 #define restore_globstate(N) \
   do { \
     memcpy(&curglobdata, &(N), sizeof(struct globdata)); \
-    badcshglob = (N).gd_badcshglob; \
     pathpos = (N).gd_pathpos; \
     pathbuf = (N).gd_pathbuf; \
     glob_pre = (N).gd_glob_pre; \

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-08-30  9:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-30  9:10 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-08-27  8:13 Sven Wischnowsky
1999-08-27 22:39 ` Ollivier Robert
1999-08-26 12:16 Sven Wischnowsky
1999-08-26 12:27 ` Zefram
1999-08-26 11:35 Sven Wischnowsky
1999-08-26 12:05 ` Zefram
1999-08-30 13:17 ` Peter Stephenson
1999-08-26  9:42 Sven Wischnowsky
1999-08-26  9:58 ` Zefram
1999-08-26  7:08 Sven Wischnowsky
1999-08-30 13:09 ` Peter Stephenson
1999-08-25 14:20 Sven Wischnowsky
1999-08-25 15:04 ` Bart Schaefer
1999-08-26  7:07 ` Andrej Borsenkow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199908300910.LAA20565@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).