From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26964 invoked from network); 30 Aug 1999 09:11:21 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Aug 1999 09:11:21 -0000 Received: (qmail 18549 invoked by alias); 30 Aug 1999 09:11:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7535 Received: (qmail 18534 invoked from network); 30 Aug 1999 09:11:02 -0000 Date: Mon, 30 Aug 1999 11:10:57 +0200 (MET DST) Message-Id: <199908300910.LAA20565@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Sven Wischnowsky's message of Fri, 27 Aug 1999 10:13:51 +0200 (MET DST) Subject: Re: PATCH: Re: Files modified after a given date 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