updaterc

Vernon Schryver vjs@calcite.rhyolite.com
Thu Jul 27 14:22:00 UTC 2006


> From: Horst Scheuermann 

> ++ /dcc/libexec/rcDCC start
> /dcc/libexec/start-dccm: line 152: unexpected EOF while looking for 
> matching `''
> /dcc/libexec/start-dccm: line 198: syntax error: unexpected end of file
> + /dcc/bin/cdcc rtt

That ancient bug of a missing quote was reported in April.  See
http://www.rhyolite.com/pipermail/dcc/2006/003141.html

It seems that /bin/sh in current versions of at least some flavors of
Linux has an incompatible change in the precedence of ', ", and `
That uncovered a couple of quotes that had been missing in DCC scripts
forever.  My fix for the missing quote in start-dccm was to remove the
-c feature that contained it.  Recently someone using `start-dccm -c`
upgraded and complained.  So for 1.3.40 I stupidly just restored and
slightly improved the old code, forgetting that I'd not only been
cleaning but also fixing when I removed it.

I will immediately release 1.3.41 with only the enclosed patch and
only this announcement.  If you're not running Linux, you may not care.

Note that change mentioned in 
http://www.rhyolite.com/pipermail/dcc/2006/003145.html
does not apply to 1.3.40.


Separately, what happened with your database size problems with 1.3.40?
Did you try starting dccd with -d?


Vernon Schryver    vjs@rhyolite.com


diff -c dcc*/misc/start-dccm
*** dcc-2.3.40/misc/start-dccm  Wed Jul 26 07:25:44 2006
--- dcc-2.3.41/misc/start-dccm  Thu Jul 27 08:01:22 2006
***************
*** 106,112 ****
        h) ;;
        r) DCC_RUNDIR="$OPTARG";;
        u) DCCUID="$OPTARG";;
!       c) X=`expr "X$OPTARG" : '\(X[-._a-zA-Z0-9]*\)`
            if test "$X" = X -o "$X" != "X$OPTARG"; then
                eval $DCC_LOGGER "illegal -c $OPTARG"
            else
--- 106,112 ----
        h) ;;
        r) DCC_RUNDIR="$OPTARG";;
        u) DCCUID="$OPTARG";;
!       c) X=`expr "X$OPTARG" : '\(X[-._a-zA-Z0-9]*\)'`
            if test "$X" = X -o "$X" != "X$OPTARG"; then
                eval $DCC_LOGGER "illegal -c $OPTARG"
            else




More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.