[Tinyos-commits] CVS: tinyos-1.x/tos/system Ident.h,1.3,1.4
Jonathan Hui
jwhui at users.sourceforge.net
Tue Jun 21 16:27:50 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/tos/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8958
Modified Files:
Ident.h
Log Message:
No longer rely on raw bytes to initialize fields for Ident. Also
cleans up the command line when compiling since the explicit bytes are
no longer passed.
Index: Ident.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/system/Ident.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Ident.h 17 May 2005 20:40:24 -0000 1.3
--- Ident.h 21 Jun 2005 23:27:47 -0000 1.4
***************
*** 38,49 ****
} Ident_t;
! // Don't use the program name string because passing quotes in through nesc
! // seems to be broken again.
! //#ifndef IDENT_PROGRAM_NAME
! //#define IDENT_PROGRAM_NAME "(none)"
! //#endif
!
! #ifndef IDENT_PROGRAM_NAME_BYTES
! #define IDENT_PROGRAM_NAME_BYTES 0
#endif
--- 38,43 ----
} Ident_t;
! #ifndef IDENT_PROGRAM_NAME
! #define IDENT_PROGRAM_NAME "(none)"
#endif
***************
*** 59,63 ****
unix_time : IDENT_UNIX_TIME,
user_hash : IDENT_USER_HASH,
! program_name : { IDENT_PROGRAM_NAME_BYTES },
};
--- 53,57 ----
unix_time : IDENT_UNIX_TIME,
user_hash : IDENT_USER_HASH,
! program_name : IDENT_PROGRAM_NAME,
};
More information about the Tinyos-commits
mailing list