diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Src/params.c | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index fcc16693c..9b0de8a8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26315: Src/params.c: define ZSH_PATCHLEVEL to "unknown" if + revision not found. + 2009-01-15 Peter Stephenson <pws@csr.com> * 26313: INSTALL, configure.ac, Src/params.c: add @@ -10919,5 +10924,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4510 $ +* $Revision: 1.4511 $ ***************************************************** diff --git a/Src/params.c b/Src/params.c index 28dff3684..1e902e871 100644 --- a/Src/params.c +++ b/Src/params.c @@ -35,6 +35,11 @@ #define ZSH_PATCHLEVEL CUSTOM_PATCHLEVEL #else #include "patchlevel.h" + +/* If removed from the ChangeLog for some reason */ +#ifndef ZSH_PATCHLEVEL +#define ZSH_PATCHLEVEL "unknown" +#endif #endif /* what level of localness we are at */ |