[tex-live] segfault xdvi

Thomas Esser te at dbs.uni-hannover.de
Mon Sep 27 22:56:58 CEST 2004


On Mon, Sep 27, 2004 at 09:30:28PM +0100, Stefan Ulrich wrote:
> va_start()/va_end() again). I released a new version,
> xdvik-22.84.4, which should fix that bug, available from the

When compiling outside the srcdir, mksedscript does not find the CHANGES
file. While looking at the diff, I wonder how portable posix character
classes are in egrep...

Thomas

--- orig/mksedscript	2004-09-27 22:14:59.000000000 +0200
+++ ./mksedscript	2004-09-27 22:50:28.477839304 +0200
@@ -1,5 +1,7 @@
 #! /bin/sh
 
+srcdir=$1
+
 # Values from c-auto.h
 
 mk_GREY=
@@ -79,7 +81,7 @@
 
 # get version info and release date from CHANGES file
 
-XDVI_VERSION_INFO=`egrep '^[[:space:]]+\*' CHANGES | head -n 1 | awk '{print $2 " " $3}'`
+XDVI_VERSION_INFO=`egrep '^[[:space:]]+\*' $srcdir/CHANGES | head -n 1 | awk '{print $2 " " $3}'`
 XDVI_VERSION=`echo $XDVI_VERSION_INFO | awk '{print $1}'`
 XDVI_DATE=`echo $XDVI_VERSION_INFO | awk '{print $2}' | sed 's/[():]//g'`
 



More information about the tex-live mailing list