Berkeley header, comment out debugging code
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 30 Dec 1987 09:17:10 +0000 (01:17 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 30 Dec 1987 09:17:10 +0000 (01:17 -0800)
SCCS-vsn: games/mille/varpush.c 5.3

usr/src/games/mille/varpush.c

index 5941c8d..df174fa 100644 (file)
@@ -1,12 +1,18 @@
 /*
  * Copyright (c) 1982 Regents of the University of California.
 /*
  * Copyright (c) 1982 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that this notice is preserved and that due credit is given
+ * to the University of California at Berkeley. The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission. This software
+ * is provided ``as is'' without express or implied warranty.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)varpush.c  5.2 (Berkeley) %G%";
-#endif not lint
+static char sccsid[] = "@(#)varpush.c  5.3 (Berkeley) %G%";
+#endif /* not lint */
 
 # include      "mille.h"
 
 
 # include      "mille.h"
 
@@ -42,6 +48,7 @@ reg int       (*func)(); {
        if (func == read) {
                read(file, (char *) &temp, sizeof temp);
                Topcard = &Deck[temp];
        if (func == read) {
                read(file, (char *) &temp, sizeof temp);
                Topcard = &Deck[temp];
+#ifdef DEBUG
                if (Debug) {
                        char    buf[80];
 over:
                if (Debug) {
                        char    buf[80];
 over:
@@ -54,10 +61,10 @@ over:
                        if (strcmp(buf, "/dev/null") != 0)
                                setbuf(outf, (char *)NULL);
                }
                        if (strcmp(buf, "/dev/null") != 0)
                                setbuf(outf, (char *)NULL);
                }
+#endif
        }
        else {
                temp = Topcard - Deck;
                write(file, (char *) &temp, sizeof temp);
        }
 }
        }
        else {
                temp = Topcard - Deck;
                write(file, (char *) &temp, sizeof temp);
        }
 }
-