From: <mr...@mr...> - 2004-12-16 18:46:56
|
# This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/12/16 19:46:29+01:00 mr...@fo... = # tc2make: auto-inherit interfaces # if foo/bar.tc2 is not found, use foo.tc2 # = # BitKeeper/etc/logging_ok # 2004/12/16 19:46:29+01:00 mr...@fo... +1 -0 # Logging to lo...@op... accepted # = # tools/tc2make # 2004/12/16 19:46:26+01:00 mr...@fo... +8 -4 # auto-inherit interfaces # = diff -Nru a/tools/tc2make b/tools/tc2make --- a/tools/tc2make 2004-12-16 19:46:46 +01:00 +++ b/tools/tc2make 2004-12-16 19:46:46 +01:00 @@ -348,10 +348,10 @@ } = # libtc conf format specifiers -my %conftypes =3D ('i' =3D> 'int', - 'd' =3D> 'int', - 'li' =3D> 'long', - 'ld' =3D> 'long', +my %conftypes =3D ('i' =3D> 'int32_t', + 'd' =3D> 'int32_t', + 'li' =3D> 'int64_t', + 'ld' =3D> 'int64_t', 'f' =3D> 'float', 'lf' =3D> 'double', 's' =3D> 'char *'); @@ -697,6 +697,10 @@ $ifd =3D $n; last; } + } + + if(!$ifd and $if =3D~ /(.*)\//){ + $ifd =3D find_if($1); } = return $ifd; |