[Tinyos-2-commits] CVS: tinyos-2.x/tools/tinyos/misc
tos-ident-flags.in, 1.4, 1.5
Razvan Musaloiu-E.
razvanm at users.sourceforge.net
Mon Jan 14 06:10:33 PST 2008
Update of /cvsroot/tinyos/tinyos-2.x/tools/tinyos/misc
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10342
Modified Files:
tos-ident-flags.in
Log Message:
A missing update from the last Deluge T2 commit.
Index: tos-ident-flags.in
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tools/tinyos/misc/tos-ident-flags.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tos-ident-flags.in 12 Dec 2006 18:23:02 -0000 1.4
--- tos-ident-flags.in 14 Jan 2008 14:10:31 -0000 1.5
***************
*** 28,32 ****
substr( $qname, $MaxNameLength-1 ) = "" if length $qname >= $MaxNameLength;
my @bytes = unpack( "C*", $qname );
! push( @defs, "-DIDENT_PROGRAM_NAME=\\\"$qname\\\"" );
}
if( defined $whoami && $whoami !~ /^\s*$/ ) {
--- 28,32 ----
substr( $qname, $MaxNameLength-1 ) = "" if length $qname >= $MaxNameLength;
my @bytes = unpack( "C*", $qname );
! push( @defs, "-DIDENT_APPNAME=\\\"$qname\\\"" );
}
if( defined $whoami && $whoami !~ /^\s*$/ ) {
***************
*** 34,38 ****
substr( $qname, $MaxNameLength-1 ) = "" if length $qname >= $MaxNameLength;
my @bytes = unpack( "C*", $qname );
! push( @defs, "-DIDENT_USER_ID=\\\"$qname\\\"" );
}
if( defined $hostname && $hostname !~ /^\s*$/ ) {
--- 34,38 ----
substr( $qname, $MaxNameLength-1 ) = "" if length $qname >= $MaxNameLength;
my @bytes = unpack( "C*", $qname );
! push( @defs, "-DIDENT_USERNAME=\\\"$qname\\\"" );
}
if( defined $hostname && $hostname !~ /^\s*$/ ) {
***************
*** 42,48 ****
push( @defs, "-DIDENT_HOSTNAME=\\\"$qname\\\"" );
}
! push( @defs, "-DIDENT_USER_HASH=${id}L" );
! push( @defs, "-DIDENT_UNIX_TIME=${time}L" );
! push( @defs, "-DIDENT_UID_HASH=${uid}L" );
print join(" ", at defs) . "\n";
--- 42,48 ----
push( @defs, "-DIDENT_HOSTNAME=\\\"$qname\\\"" );
}
! push( @defs, "-DIDENT_USERHASH=${id}L" );
! push( @defs, "-DIDENT_TIMESTAMP=${time}L" );
! push( @defs, "-DIDENT_UIDHASH=${uid}L" );
print join(" ", at defs) . "\n";
More information about the Tinyos-2-commits
mailing list