Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2013 04:29:15 GMT
From:      ambarisha@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r254865 - in soc2013/ambarisha/head/usr.bin: dmget dms
Message-ID:  <201307170429.r6H4TFZB012167@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307170429.r6H4TFZB012167>