socsvn commit: r254865 - in soc2013/ambarisha/head/usr.bin: dmget dms

ambarisha at FreeBSD.org ambarisha at FreeBSD.org
Wed Jul 17 04:29:16 UTC 2013


Author: ambarisha
Date: Wed Jul 17 04:29:15 2013
New Revision: 254865
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254865

Log:
  Trivial change : Fixed some silly debug printfs
  

Modified:
  soc2013/ambarisha/head/usr.bin/dmget/fetch.c
  soc2013/ambarisha/head/usr.bin/dms/dms.c

Modified: soc2013/ambarisha/head/usr.bin/dmget/fetch.c
==============================================================================
--- soc2013/ambarisha/head/usr.bin/dmget/fetch.c	Wed Jul 17 03:02:32 2013	(r254864)
+++ soc2013/ambarisha/head/usr.bin/dmget/fetch.c	Wed Jul 17 04:29:15 2013	(r254865)
@@ -280,10 +280,6 @@
 	if (o_stdout) dmreq.flags |= O_STDOUT;
 	if (v_tty) dmreq.flags |= V_TTY;
 	
-
-	if (dmreq.flags & V_TTY) printf("v_tty is set\n");
-	else printf("v_tty is not set\n");
-
 	dmStatDisplayMethod = stat_display;
 	return (dmget(dmreq));
 }

Modified: soc2013/ambarisha/head/usr.bin/dms/dms.c
==============================================================================
--- soc2013/ambarisha/head/usr.bin/dms/dms.c	Wed Jul 17 03:02:32 2013	(r254864)
+++ soc2013/ambarisha/head/usr.bin/dms/dms.c	Wed Jul 17 04:29:15 2013	(r254865)
@@ -89,12 +89,6 @@
 	dmjob->T_secs = dmreq.T_secs;
 	dmjob->flags = dmreq.flags;
 
-	if (dmjob->flags & V_TTY)
-		printf("v_tty is set :)\n");
-	else 	
-		printf("v_tty is already gone\n");
-	printf("HELLO???\n");
-
 	dmjob->i_filename = (char *) Malloc(strlen(dmreq.i_filename) + 1);
 	strcpy(dmjob->i_filename, dmreq.i_filename);
 
@@ -164,17 +158,7 @@
 	
 	memcpy(&(dmreq->flags), rcvbuf + i, sizeof(dmreq->flags));
 
-	printf("flags = %d\n", *(int *)(rcvbuf + i));
 	i += sizeof(dmreq->flags);
-	printf("i after flags == %d\n honey", i);
-
-	if (dmreq->flags & V_TTY)
-		printf("v_tty is STTIIIIIILLL set :)\n");
-	else 	
-		printf("v_tty is already gone\n");
-	printf("RARRRR\n");
-
-	write(1, rcvbuf, bufsize);
 
 	int sz = strlen(rcvbuf+i);
 	dmreq->i_filename = (char *) Malloc(sz);


More information about the svn-soc-all mailing list