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

Re: `typeset -H' is a bit too thorough



> On Jun 12, 10:20am, Peter Stephenson wrote:
> } Subject: Re: `typeset -H' is a bit too thorough
> }
> } (Still not getting incoming mail here, unfortunately
> 
> Which of your addresses is "here"?

CSR, but part of the problem was fetchmail hung after the mail server went
down.

> } +#define PRINT_INCLUDEVALUE	(1<<4)
> }  
> }  /* flags for printing for the whence builtin */
> }  #define PRINT_WHENCE_CSH	(1<<4)
> 
> Is it really OK for those two to overlap?  They haven't before ...

I suspect it's OK here, since this flag only gets passed directly to the
print routine for a param node, but it would have been better to keep up
appearances.

Index: Src/zsh.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/zsh.h,v
retrieving revision 1.14
diff -u -r1.14 zsh.h
--- Src/zsh.h	2000/06/12 09:27:09	1.14
+++ Src/zsh.h	2000/06/13 08:54:43
@@ -1216,11 +1216,11 @@
 #define PRINT_INCLUDEVALUE	(1<<4)
 
 /* flags for printing for the whence builtin */
-#define PRINT_WHENCE_CSH	(1<<4)
-#define PRINT_WHENCE_VERBOSE	(1<<5)
-#define PRINT_WHENCE_SIMPLE	(1<<6)
-#define PRINT_WHENCE_FUNCDEF	(1<<7)
-#define PRINT_WHENCE_WORD	(1<<8)
+#define PRINT_WHENCE_CSH	(1<<5)
+#define PRINT_WHENCE_VERBOSE	(1<<6)
+#define PRINT_WHENCE_SIMPLE	(1<<7)
+#define PRINT_WHENCE_FUNCDEF	(1<<9)
+#define PRINT_WHENCE_WORD	(1<<10)
 
 /***********************************/
 /* Definitions for history control */

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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