On Sun, 2004-05-09 at 09:59, Olle E. Johansson wrote: > * Read the config sample files! (even if you're an Asterisk guru) > ----------------------------------------------------------------- > For those of you that have a working installation that you keep using, this is a > reminder to check into the configs/ directory of the Asterisk source tree, regardless > if you downloaded a tar ball or from CVS.
Good advice - so I do a CVS UPDATE... and 'say.c' is broken....
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-04/05/04-09:58:21\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN
-DNEW_PRI_HANGUP -c -o say.o say.c
say.c: In function `ast_say_digit_str':
say.c:50: syntax error before '<<' token
say.c:57: warning: no return statement in function returning non-void
say.c: At top level:
say.c:58: syntax error before "if"
and in 'say.c' at about line 50....
case ('#'):
snprintf(fn, sizeof(fn),
"/digits/pound");
break;
default:
<<<<<<< say.c
snprintf(fn, sizeof(fn), "/digits/%c",
fn2[num]);
}
=======
if((fn2[num] >= '0') && (fn2[num] <=
'9')){ /* Must be in {0-9} */
snprintf(fn, sizeof(fn),
"digits/%c", fn2[num]);
}
------------------------------------------
The lines that begin with "<<<<<<<<<<< say.c"
-or is this just an error caused by CVS ????
--
. . ___. .__ Posix Systems - Sth Africa
/| /| / /__ [EMAIL PROTECTED] - Mark J Elkins, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496
signature.asc
Description: This is a digitally signed message part
