SCCS-vsn: games/mille/varpush.c 5.3
/*
* 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.
-static char sccsid[] = "@(#)varpush.c 5.2 (Berkeley) %G%";
-#endif not lint
+static char sccsid[] = "@(#)varpush.c 5.3 (Berkeley) %G%";
+#endif /* not lint */
if (func == read) {
read(file, (char *) &temp, sizeof temp);
Topcard = &Deck[temp];
if (func == read) {
read(file, (char *) &temp, sizeof temp);
Topcard = &Deck[temp];
if (Debug) {
char buf[80];
over:
if (Debug) {
char buf[80];
over:
if (strcmp(buf, "/dev/null") != 0)
setbuf(outf, (char *)NULL);
}
if (strcmp(buf, "/dev/null") != 0)
setbuf(outf, (char *)NULL);
}
}
else {
temp = Topcard - Deck;
write(file, (char *) &temp, sizeof temp);
}
}
}
else {
temp = Topcard - Deck;
write(file, (char *) &temp, sizeof temp);
}
}