[Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/languages/tinysql/src tinysql.in, 1.1, 1.2

David Gay idgay at users.sourceforge.net
Sun Oct 30 12:54:07 PST 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/tinysql/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17792/src

Modified Files:
	tinysql.in 
Log Message:
doc update
flush log output after each packet printed


Index: tinysql.in
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/tinysql/src/tinysql.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tinysql.in	30 Oct 2005 18:23:49 -0000	1.1
--- tinysql.in	30 Oct 2005 20:54:05 -0000	1.2
***************
*** 2,5 ****
--- 2,6 ----
  
  use Socket;
+ use IO::Handle;
  
  $BROADCAST = 0xffff;
***************
*** 107,111 ****
  if ($log) {
      $schema = current_schema();
!     print "#SCHEMA: $schema\n";
      exit 1 if !$schema;
      tsqllog($schema);
--- 108,112 ----
  if ($log) {
      $schema = current_schema();
!     print "#SCHEMA: epoch, $schema\n";
      exit 1 if !$schema;
      tsqllog($schema);
***************
*** 203,206 ****
--- 204,208 ----
  	print join(" ", @fields);
  	print "\n";
+ 	STDOUT->flush();
      }
      close(BASE);



More information about the Tinyos-commits mailing list