On Tue 10 May 2005 at 00:30:57 +0200, Richard Levitte - VMS Whacker wrote:
> Release of ctwm 3.7 beta 5.

NetBSD pkg at the same location as before:
http://www.falu.nl/~rhialto/ctwm-current.shar .

Small nitpick: in version.c, VersionNumber is set to "3.7beta5", and in
CVS to "3.8devel", i.e. you removed the "-" there, I suppose along with
the ctwm.spec. Now it happens to be that I copied from somewhere some m4
code to look at the version number:


changequote([,])dnl  # m4 quoting interferes with shell escapes
dnl                         
dnl Testing this file...                                                   
dnl    rm /tmp/twmrc*; ctwm -k -f .twmrc.m4 -w
dnl    echo "changecom(xxxx)" | cat /tmp/twmrc* - .twmrc.m4 | m4 | more         
dnl                                                              
dnl Convert version number 3.5 or 3.5.2 or 3.7-alpha5   to a 3 digit number
dnl for use in ctwm version specific additions.  For example:   
dnl    ifelse ( eval( CTWM_VERSION >= 350 ) )         
dnl     
ifelse( TWM_TYPE, ctwm,                                                  
  [define(CTWM_VERSION, substr(translit(                     
          substr(TWM_VERSION, 0, index(TWM_VERSION-, [-])), [.])000, 0, 3) )dnl
],[define(CTWM_VERSION, 0)dnl         
])dnl

and this breaks now, since it expects the "-" to be there...
For now I put the "-" back in my cvs work files, but perhaps there is a
better solution.

Of course in release versions this is not a problem.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            --  rhialto/at/falu.nl
\X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!

Reply via email to