C70:info-cpm (07/03/82)
>From decvax!duke!uok!tj@Ucb-C70 Sat Jul 3 05:19:54 1982
there is a bug in the distribution of the XC c cross referencer program
distributed by the bds c users group. if an include file has disk name
prefix like "a:bdscio.h", xc says is cannot open "a". this is readily
cured by changing the function get_token(). add on more local char variable
called tmpchr2 and change tmpchr to tmpch1. change the test on g_flg
where if true, tmpchr1 = '.' and tmpchr2 = ':'. if false, then
tmpchr1=tmpch2='_'. now change the following while loop to include
a test of c == tmpchr1 || c == tmpchr2 instead of the original c == tmpchr.
this just changes get_token's idea of what characters are valid in a file
name. now you can have dumby include files on your source disks while
keeping the valid updated header files on another disk.
cal thixton
ucbvax!decvax!duke!uok!tj