View | Details | Raw Unified | Return to bug 12727
Collapse All | Expand All

(-)games-990720+patches/adventure/hdr.h (-1 / +4 lines)
Lines 49-54 Link Here
49
 *
49
 *
50
 * The data file distributed with the fortran source is assumed to be called
50
 * The data file distributed with the fortran source is assumed to be called
51
 * "glorkz" in the directory where the program is first run.
51
 * "glorkz" in the directory where the program is first run.
52
 *
53
 * The original FORTRAN version can be found at
54
 * <URL:ftp://ftp.gmd.de/if-archive/games/source/advent-original.tar.gz>.
52
 */
55
 */
53
56
54
/* hdr.h: included by c advent files */
57
/* hdr.h: included by c advent files */
Lines 69-75 Link Here
69
char *wd1,*wd2;                         /* the complete words           */
72
char *wd1,*wd2;                         /* the complete words           */
70
int verb,obj,spk;
73
int verb,obj,spk;
71
extern int blklin;
74
extern int blklin;
72
int saved,savet,mxscor,latncy;
75
int saveday,savet,mxscor,latncy;
73
76
74
#define SHORT 50                        /* How short is a demo game?    */
77
#define SHORT 50                        /* How short is a demo game?    */
75
78
(-)games-990720+patches/adventure/main.c (-2 / +2 lines)
Lines 60-66 Link Here
60
char **argv;
60
char **argv;
61
{
61
{
62
	extern int errno;
62
	extern int errno;
63
	register int i;
63
	int i;
64
	int rval,ll;
64
	int rval,ll;
65
	struct text *kk;
65
	struct text *kk;
66
	extern trapdel();
66
	extern trapdel();
Lines 363-369 Link Here
363
			printf("you will have to wait at least");
363
			printf("you will have to wait at least");
364
			printf(" %d minutes before continuing.",latncy);
364
			printf(" %d minutes before continuing.",latncy);
365
			if (!yes(200,54,54)) goto l2012;
365
			if (!yes(200,54,54)) goto l2012;
366
			datime(&saved,&savet);
366
			datime(&saveday,&savet);
367
			ciao();                 /* Do we quit? */
367
			ciao();                 /* Do we quit? */
368
			continue;               /* Maybe not */
368
			continue;               /* Maybe not */
369
		    case 31:                    /* hours=8310           */
369
		    case 31:                    /* hours=8310           */
(-)games-990720+patches/adventure/save.c (-2 / +6 lines)
Lines 40-45 Link Here
40
static char sccsid[] = "@(#)save.c	8.1 (Berkeley) 5/31/93";
40
static char sccsid[] = "@(#)save.c	8.1 (Berkeley) 5/31/93";
41
#endif /* not lint */
41
#endif /* not lint */
42
42
43
#include <err.h>
43
#include <stdio.h>
44
#include <stdio.h>
44
#include <stdlib.h>
45
#include <stdlib.h>
45
#include <sys/types.h>
46
#include <sys/types.h>
Lines 89-95 Link Here
89
	&oldlc2,        sizeof(oldlc2),
90
	&oldlc2,        sizeof(oldlc2),
90
	&oldloc,        sizeof(oldloc),
91
	&oldloc,        sizeof(oldloc),
91
	&panic,         sizeof(panic),
92
	&panic,         sizeof(panic),
92
	&saved,         sizeof(saved),
93
	&saveday,       sizeof(saveday),
93
	&savet,         sizeof(savet),
94
	&savet,         sizeof(savet),
94
	&scorng,        sizeof(scorng),
95
	&scorng,        sizeof(scorng),
95
	&spk,           sizeof(spk),
96
	&spk,           sizeof(spk),
Lines 146-152 Link Here
146
			*s = (*s ^ random()) & 0xFF;      /* Lightly encrypt */
147
			*s = (*s ^ random()) & 0xFF;      /* Lightly encrypt */
147
		fwrite(p->address, p->width, 1, out);
148
		fwrite(p->address, p->width, 1, out);
148
	}
149
	}
149
	fclose(out);
150
	if (fclose(out) != 0) {
151
		warn("writing %s", outfile);
152
		return 1;
153
	}
150
	return 0;
154
	return 0;
151
}
155
}
152
156
(-)games-990720+patches/adventure/setup.c (+3 lines)
Lines 115-119 Link Here
115
	}
115
	}
116
	puts("\n\t0\n};");
116
	puts("\n\t0\n};");
117
	fclose(infile);
117
	fclose(infile);
118
	fflush(stdout);
119
	if (ferror(stdout))
120
		err(1, "writing standard output");
118
	exit(0);
121
	exit(0);
119
}
122
}
(-)games-990720+patches/adventure/wizard.c (-4 / +4 lines)
Lines 79-85 Link Here
79
{       int d,t,delay;
79
{       int d,t,delay;
80
80
81
	datime(&d,&t);
81
	datime(&d,&t);
82
	delay=(d-saved)*1440+(t-savet); /* good for about a month     */
82
	delay=(d-saveday)*1440+(t-savet); /* good for about a month     */
83
83
84
	if (delay >= latncy)
84
	if (delay >= latncy)
85
	{       saved = -1;
85
	{       saved = -1;
Lines 101-107 Link Here
101
}
101
}
102
102
103
wizard()                /* not as complex as advent/10 (for now)        */
103
wizard()                /* not as complex as advent/10 (for now)        */
104
{       register int wiz;
104
{       int wiz;
105
	char *word,*x;
105
	char *word,*x;
106
	if (!yesm(16,0,7)) return(FALSE);
106
	if (!yesm(16,0,7)) return(FALSE);
107
	mspeak(17);
107
	mspeak(17);
Lines 115-122 Link Here
115
}
115
}
116
116
117
ciao()
117
ciao()
118
{       register char *c;
118
{       char *c;
119
	register int outfd, size;
119
	int outfd, size;
120
	char fname[80], buf[512];
120
	char fname[80], buf[512];
121
	extern unsigned filesize;
121
	extern unsigned filesize;
122
122
(-)games-990720+patches/atc/grammar.y (-1 / +1 lines)
Lines 130-136 Link Here
130
wdef:
130
wdef:
131
	WidthOp '=' ConstOp ';'
131
	WidthOp '=' ConstOp ';'
132
		{
132
		{
133
		if (sp->height != 0)
133
		if (sp->width != 0)
134
			return (yyerror("Redefinition of 'width'."));
134
			return (yyerror("Redefinition of 'width'."));
135
		else if ($3 < 3)
135
		else if ($3 < 3)
136
			return (yyerror("'width' is too small."));
136
			return (yyerror("'width' is too small."));
(-)games-990720+patches/backgammon/backgammon/main.c (-5 / +5 lines)
Lines 94-102 Link Here
94
char	**argv;
94
char	**argv;
95
95
96
{
96
{
97
	register int	i;		/* non-descript index */
97
	int	i;		/* non-descript index */
98
	register int	l;		/* non-descript index */
98
	int	l;		/* non-descript index */
99
	register char	c;		/* non-descript character storage */
99
	char	c;		/* non-descript character storage */
100
100
101
	/* revoke privs */
101
	/* revoke privs */
102
	setgid(getgid());
102
	setgid(getgid());
Lines 505-516 Link Here
505
							/* compute game value */
505
							/* compute game value */
506
		if (tflag)
506
		if (tflag)
507
			curmove (20,0);
507
			curmove (20,0);
508
		if (*offopp == 15)  {
508
		if (*offopp == 15 && *offptr <= 0)  {
509
			if (mflag)  {
509
			if (mflag)  {
510
				writel (bgammon);
510
				writel (bgammon);
511
				gvalue *= 3;
511
				gvalue *= 3;
512
			}
512
			}
513
			else  if (*offptr <= 0)  {
513
			else  {
514
				writel (gammon);
514
				writel (gammon);
515
				gvalue *= 2;
515
				gvalue *= 2;
516
			}
516
			}
(-)games-990720+patches/battlestar/com1.c (-1 / +1 lines)
Lines 228-234 Link Here
228
		else{
228
		else{
229
			puts("You're out of fuel.  We'll have to crash land!");
229
			puts("You're out of fuel.  We'll have to crash land!");
230
			if (!location[position].down){
230
			if (!location[position].down){
231
				puts("Your viper strikes the ground and explodes into firey fragments.");
231
				puts("Your viper strikes the ground and explodes into fiery fragments.");
232
				puts("Thick black smoke billows up from the wreckage.");
232
				puts("Thick black smoke billows up from the wreckage.");
233
				die();
233
				die();
234
			}
234
			}
(-)games-990720+patches/battlestar/com2.c (-1 / +1 lines)
Lines 274-280 Link Here
274
follow()
274
follow()
275
{
275
{
276
	if (followfight == gtime){
276
	if (followfight == gtime){
277
		puts("The Dark Lord leaps away and runs down secret tunnels and corridoors.");
277
		puts("The Dark Lord leaps away and runs down secret tunnels and corridors.");
278
		puts("You chase him through the darkness and splash in pools of water.");
278
		puts("You chase him through the darkness and splash in pools of water.");
279
		puts("You have cornered him.  His laser sword extends as he steps forward.");
279
		puts("You have cornered him.  His laser sword extends as he steps forward.");
280
		position = FINAL;
280
		position = FINAL;
(-)games-990720+patches/battlestar/com5.c (-4 / +4 lines)
Lines 84-90 Link Here
84
	if (wordtype[wordnumber] == NOUNS && testbit(location[position].objects,wordvalue[wordnumber])){
84
	if (wordtype[wordnumber] == NOUNS && testbit(location[position].objects,wordvalue[wordnumber])){
85
		if (wordvalue[wordnumber] == NORMGOD && !loved)
85
		if (wordvalue[wordnumber] == NORMGOD && !loved)
86
			if (godready >= 2){
86
			if (godready >= 2){
87
				puts("She cuddles up to you, and her mouth starts to work:\n'That was my sister's amulet.  The lovely goddess, Purl, was she.  The Empire\ncaptured her just after the Darkness came.  My other sister, Vert, was killed\nby the Dark Lord himself.  He took her amulet and warped its power.\nYour quest was foretold by my father before he died, but to get the Dark Lord's\namulet you must use cunning and skill.  I will leave you my amulet.");
87
				puts("She cuddles up to you, and her mouth starts to work:\n'That was my sister's amulet.  The lovely goddess, Purl, was she.  The Empire\ncaptured her just after the Darkness came.  My other sister, Vert, was killed\nby the Dark Lord himself.  He took her amulet and warped its power.\nYour quest was foretold by my father before he died, but to get the Dark Lord's\namulet you must use cunning and skill.  I will leave you my amulet,");
88
				puts("which you may use as you wish.  As for me, I am the last goddess of the\nwaters.  My father was the Island King, and the rule is rightfully mine.'\n\nShe pulls the throne out into a large bed.");
88
				puts("which you may use as you wish.  As for me, I am the last goddess of the\nwaters.  My father was the Island King, and the rule is rightfully mine.'\n\nShe pulls the throne out into a large bed.");
89
				power++;
89
				power++;
90
				pleasure += 15;
90
				pleasure += 15;
Lines 108-114 Link Here
108
				return;
108
				return;
109
			}
109
			}
110
		if (wordvalue[wordnumber] == NATIVE){
110
		if (wordvalue[wordnumber] == NATIVE){
111
			puts("The girl is easy prey.  She peals off her sarong and indulges you.");
111
			puts("The girl is easy prey.  She peels off her sarong and indulges you.");
112
			power++;
112
			power++;
113
			pleasure += 5;
113
			pleasure += 5;
114
			printf("Girl:\n");
114
			printf("Girl:\n");
Lines 293-305 Link Here
293
					power -= 5;
293
					power -= 5;
294
					if (win >= 3){
294
					if (win >= 3){
295
						puts("The powers of the earth are now legitimate.  You have destroyed the Darkness");
295
						puts("The powers of the earth are now legitimate.  You have destroyed the Darkness");
296
						puts("and restored the goddess to her thrown.  The entire island celebrates with");
296
						puts("and restored the goddess to her throne.  The entire island celebrates with");
297
						puts("dancing and spring feasts.  As a measure of her gratitude, the goddess weds you");
297
						puts("dancing and spring feasts.  As a measure of her gratitude, the goddess weds you");
298
						puts("in the late summer and crowns you Prince Liverwort, Lord of Fungus.");
298
						puts("in the late summer and crowns you Prince Liverwort, Lord of Fungus.");
299
						puts("\nBut, as the year wears on and autumn comes along, you become restless and");
299
						puts("\nBut, as the year wears on and autumn comes along, you become restless and");
300
						puts("yearn for adventure.  The goddess, too, realizes that the marriage can't last.");
300
						puts("yearn for adventure.  The goddess, too, realizes that the marriage can't last.");
301
						puts("She becomes bored and takes several more natives as husbands.  One evening,");
301
						puts("She becomes bored and takes several more natives as husbands.  One evening,");
302
						puts("after having been out drinking with the girls, she kicks the throne particulary");
302
						puts("after having been out drinking with the girls, she kicks the throne particularly");
303
						puts("hard and wakes you up.  (If you want to win this game, you're going to have to\nshoot her!)");
303
						puts("hard and wakes you up.  (If you want to win this game, you're going to have to\nshoot her!)");
304
						clearbit(location[position].objects,MEDALION);
304
						clearbit(location[position].objects,MEDALION);
305
						wintime = gtime;
305
						wintime = gtime;
(-)games-990720+patches/battlestar/dayfile.c (-2 / +2 lines)
Lines 555-561 Link Here
555
	{ "You are on a dirt road.",
555
	{ "You are on a dirt road.",
556
	173, 93, 174, 175, 82, 0, 0, 0,
556
	173, 93, 174, 175, 82, 0, 0, 0,
557
"The light tan soil of the road contrasts artistically with the lush green\n\
557
"The light tan soil of the road contrasts artistically with the lush green\n\
558
vegetation and seering blue sky.*  There is a clearing and many people +.\n\
558
vegetation and searing blue sky.*  There is a clearing and many people +.\n\
559
The road continues - and -.\n" },
559
The road continues - and -.\n" },
560
	{ "You are at the seaplane dock.",
560
	{ "You are at the seaplane dock.",
561
	93, 0, 176, 177, 82, 0, 0, 0,
561
	93, 0, 176, 177, 82, 0, 0, 0,
Lines 751-757 Link Here
751
off -*, -, and -.\n" },
751
off -*, -, and -.\n" },
752
	{ "You are at the lagoon.",
752
	{ "You are at the lagoon.",
753
	118, 0, 170, 166, 81, 0, 0, 0,
753
	118, 0, 170, 166, 81, 0, 0, 0,
754
"This is a grassy little spot near the water. A sightly native girl is frolicing\n\
754
"This is a grassy little spot near the water. A sightly native girl is frolicking\n\
755
in the water close to shore here.** The path continues - and -. \n" },
755
in the water close to shore here.** The path continues - and -. \n" },
756
	{ "You are at the lagoon.",
756
	{ "You are at the lagoon.",
757
	118, 0, 166, 172, 81, 0, 0, 0,
757
	118, 0, 166, 172, 81, 0, 0, 0,
(-)games-990720+patches/battlestar/globals.c (-2 / +2 lines)
Lines 45-51 Link Here
45
	"There is an exquisitely crafted sword and scabbard here.",
45
	"There is an exquisitely crafted sword and scabbard here.",
46
	0,				/* can land from here */
46
	0,				/* can land from here */
47
	"There is a fierce woodsman here brandishing a heavy mallet.",
47
	"There is a fierce woodsman here brandishing a heavy mallet.",
48
	"There is an unweildly two-handed sword here.",
48
	"There is an unwieldy two-handed sword here.",
49
	"There is a bloody meat cleaver here.",
49
	"There is a bloody meat cleaver here.",
50
	"A rusty broadsword is lying here.",
50
	"A rusty broadsword is lying here.",
51
	"There is an ancient coat of finely woven mail here.",
51
	"There is an ancient coat of finely woven mail here.",
Lines 89-95 Link Here
89
       "There is a colorful pink potion in a small crystal vial here.",
89
       "There is a colorful pink potion in a small crystal vial here.",
90
       "A gold bracelet is on the ground here.",
90
       "A gold bracelet is on the ground here.",
91
       "A swarthy woman with stern features pulls you aside from the crowd,\n'I must talk to you -- but not here.  Meet me at midnight in the gardens.'",
91
       "A swarthy woman with stern features pulls you aside from the crowd,\n'I must talk to you -- but not here.  Meet me at midnight in the gardens.'",
92
       "The swarthy woman has been awaiting you anxiousy. 'I must warn you that the\nIsland has anticipated your Quest.  You will not be welcomed. The Darkness is\nstrong where you must search.  Seek not the shadows save only at night, for\nthen are they the weakest.  In the mountains far from here a canyon winds\nwith ferns and streams and forgotten vines.  There you must go. Take this\nrope.'",
92
       "The swarthy woman has been awaiting you anxiously. 'I must warn you that the\nIsland has anticipated your Quest.  You will not be welcomed. The Darkness is\nstrong where you must search.  Seek not the shadows save only at night, for\nthen are they the weakest.  In the mountains far from here a canyon winds\nwith ferns and streams and forgotten vines.  There you must go. Take this\nrope.'",
93
       "Out from the shadows a figure leaps!  His black cape swirls around, and he\nholds a laser sword at your chest.  'So, you have come to fulfill the Quest.\nHa! Your weapons are no match for me!'",
93
       "Out from the shadows a figure leaps!  His black cape swirls around, and he\nholds a laser sword at your chest.  'So, you have come to fulfill the Quest.\nHa! Your weapons are no match for me!'",
94
       "An old timer with one eye missing and no money for a drink sits at the bar.",
94
       "An old timer with one eye missing and no money for a drink sits at the bar.",
95
       "You are flying through an asteroid field!",
95
       "You are flying through an asteroid field!",
(-)games-990720+patches/battlestar/nightfile.c (-4 / +4 lines)
Lines 626-632 Link Here
626
	{ "You are on the coast road.",
626
	{ "You are on the coast road.",
627
	198, 106, 163, 199, 73, 0, 0, 0,
627
	198, 106, 163, 199, 73, 0, 0, 0,
628
"The forest is dense on either side.  The trees seem to be actually squeezing\n\
628
"The forest is dense on either side.  The trees seem to be actually squeezing\n\
629
together to keep us from passing.  A feeling of emnity is in the air.**\n\
629
together to keep us from passing.  A feeling of enmity is in the air.**\n\
630
The road continues - and -.\n" },
630
The road continues - and -.\n" },
631
	{ "You are in the forest.",
631
	{ "You are in the forest.",
632
	116, 107, 91, 106, 73, 0, 0, 0,
632
	116, 107, 91, 106, 73, 0, 0, 0,
Lines 758-764 Link Here
758
**+ and +.\n" },
758
**+ and +.\n" },
759
	{ "You are in a coconut palm grove.",
759
	{ "You are in a coconut palm grove.",
760
	223, 121, 224, 225, 82, 0, 0, 0,
760
	223, 121, 224, 225, 82, 0, 0, 0,
761
"The tall palms are planted about 30 feet apart and the stary sky is clearly\n\
761
"The tall palms are planted about 30 feet apart and the starry sky is clearly\n\
762
visible above.  A low growing grass carpets the ground all around.  The grove\n\
762
visible above.  A low growing grass carpets the ground all around.  The grove\n\
763
continues +.***\n" },
763
continues +.***\n" },
764
	{ "You are walking along a dirt road.",
764
	{ "You are walking along a dirt road.",
Lines 870-876 Link Here
870
runs - and -.\n" },
870
runs - and -.\n" },
871
	{ "You are on a dirt path around the lagoon.",
871
	{ "You are on a dirt path around the lagoon.",
872
	170, 147, 146, 0, 74, 0, 0, 0,
872
	170, 147, 146, 0, 74, 0, 0, 0,
873
"The still waters reflect bending palms and a stary sky. It looks like\n\
873
"The still waters reflect bending palms and a starry sky. It looks like\n\
874
the path runs into a clearing +. The path continues -.**\n" },
874
the path runs into a clearing +. The path continues -.**\n" },
875
	{ "You are drowning in the lagoon.",
875
	{ "You are drowning in the lagoon.",
876
	201, 201, 147, 201, 74, 0, 0, 0,
876
	201, 201, 147, 201, 74, 0, 0, 0,
Lines 1038-1044 Link Here
1038
"The road goes -* and *-.\n" },
1038
"The road goes -* and *-.\n" },
1039
	{ "You are in a low passage.",
1039
	{ "You are in a low passage.",
1040
	247, 160, 0, 0, 0, 0, 0, 0,
1040
	247, 160, 0, 0, 0, 0, 0, 0,
1041
"The ceiling here sparkles with iridiscent gems and minerals. Colorful starfish\n\
1041
"The ceiling here sparkles with iridescent gems and minerals. Colorful starfish\n\
1042
and sea anemones cling to the slippery walls and floor.  The passage continues\n\
1042
and sea anemones cling to the slippery walls and floor.  The passage continues\n\
1043
+.***\n" },
1043
+.***\n" },
1044
	{ "The walls are very close together here.",
1044
	{ "The walls are very close together here.",
(-)games-990720+patches/dm/dm.c (-6 / +6 lines)
Lines 150-158 Link Here
150
 *	if day is today, see if okay to play
150
 *	if day is today, see if okay to play
151
 */
151
 */
152
c_day(s_day, s_start, s_stop)
152
c_day(s_day, s_start, s_stop)
153
	char *s_day, *s_start, *s_stop;
153
	const char *s_day, *s_start, *s_stop;
154
{
154
{
155
	static char *days[] = {
155
	static const char *days[] = {
156
		"sunday", "monday", "tuesday", "wednesday",
156
		"sunday", "monday", "tuesday", "wednesday",
157
		"thursday", "friday", "saturday",
157
		"thursday", "friday", "saturday",
158
	};
158
	};
Lines 182-188 Link Here
182
 *	decide if this tty can be used for games.
182
 *	decide if this tty can be used for games.
183
 */
183
 */
184
c_tty(tty)
184
c_tty(tty)
185
	char *tty;
185
	const char *tty;
186
{
186
{
187
	static int first = 1;
187
	static int first = 1;
188
	static char *p_tty;
188
	static char *p_tty;
Lines 203-209 Link Here
203
 *	see if game can be played now.
203
 *	see if game can be played now.
204
 */
204
 */
205
c_game(s_game, s_load, s_users, s_priority)
205
c_game(s_game, s_load, s_users, s_priority)
206
	char *s_game, *s_load, *s_users, *s_priority;
206
	const char *s_game, *s_load, *s_users, *s_priority;
207
{
207
{
208
	static int found;
208
	static int found;
209
	double load();
209
	double load();
Lines 250-256 Link Here
250
users()
250
users()
251
{
251
{
252
252
253
	register int nusers, utmp;
253
	int nusers, utmp;
254
	struct utmp buf;
254
	struct utmp buf;
255
255
256
	if ((utmp = open(_PATH_UTMP, O_RDONLY, 0)) < 0) {
256
	if ((utmp = open(_PATH_UTMP, O_RDONLY, 0)) < 0) {
Lines 266-272 Link Here
266
266
267
nogamefile()
267
nogamefile()
268
{
268
{
269
	register int fd, n;
269
	int fd, n;
270
	char buf[BUFSIZ];
270
	char buf[BUFSIZ];
271
271
272
	if ((fd = open(_PATH_NOGAMES, O_RDONLY, 0)) >= 0) {
272
	if ((fd = open(_PATH_NOGAMES, O_RDONLY, 0)) >= 0) {
(-)games-990720+patches/fish/fish.c (-12 / +38 lines)
Lines 76-81 Link Here
76
{
76
{
77
	int ch, move;
77
	int ch, move;
78
78
79
	/* Revoke setgid privileges */
80
	setgid(getgid());
81
79
	while ((ch = getopt(argc, argv, "p")) != -1)
82
	while ((ch = getopt(argc, argv, "p")) != -1)
80
		switch(ch) {
83
		switch(ch) {
81
		case 'p':
84
		case 'p':
Lines 123-130 Link Here
123
126
124
usermove()
127
usermove()
125
{
128
{
126
	register int n;
129
	int n;
127
	register char **p;
130
	char **p;
128
	char buf[256];
131
	char buf[256];
129
132
130
	(void)printf("\nYour hand is:");
133
	(void)printf("\nYour hand is:");
Lines 194-200 Link Here
194
197
195
promove()
198
promove()
196
{
199
{
197
	register int i, max;
200
	int i, max;
198
201
199
	for (i = 0; i < RANKS; ++i)
202
	for (i = 0; i < RANKS; ++i)
200
		if (userasked[i] &&
203
		if (userasked[i] &&
Lines 293-301 Link Here
293
296
294
chkwinner(player, hand)
297
chkwinner(player, hand)
295
	int player;
298
	int player;
296
	register int *hand;
299
	int *hand;
297
{
300
{
298
	register int cb, i, ub;
301
	int cb, i, ub;
299
302
300
	for (i = 0; i < RANKS; ++i)
303
	for (i = 0; i < RANKS; ++i)
301
		if (hand[i] > 0 && hand[i] < CARDS)
304
		if (hand[i] > 0 && hand[i] < CARDS)
Lines 336-342 Link Here
336
printhand(hand)
339
printhand(hand)
337
	int *hand;
340
	int *hand;
338
{
341
{
339
	register int book, i, j;
342
	int book, i, j;
340
343
341
	for (book = i = 0; i < RANKS; i++)
344
	for (book = i = 0; i < RANKS; i++)
342
		if (hand[i] < CARDS)
345
		if (hand[i] < CARDS)
Lines 354-362 Link Here
354
}
357
}
355
358
356
countcards(hand)
359
countcards(hand)
357
	register int *hand;
360
	int *hand;
358
{
361
{
359
	register int i, count;
362
	int i, count;
360
363
361
	for (count = i = 0; i < RANKS; i++)
364
	for (count = i = 0; i < RANKS; i++)
362
		count += *hand++;
365
		count += *hand++;
Lines 381-387 Link Here
381
384
382
init()
385
init()
383
{
386
{
384
	register int i, rank;
387
	int i, rank;
385
388
386
	for (i = 0; i < RANKS; ++i)
389
	for (i = 0; i < RANKS; ++i)
387
		deck[i] = CARDS;
390
		deck[i] = CARDS;
Lines 408-414 Link Here
408
instructions()
411
instructions()
409
{
412
{
410
	int input;
413
	int input;
411
	char buf[1024];
414
	pid_t pid;
415
	int fd;
416
	const char *pager;
417
	int status;
412
418
413
	(void)printf("Would you like instructions (y or n)? ");
419
	(void)printf("Would you like instructions (y or n)? ");
414
	input = getchar();
420
	input = getchar();
Lines 416-423 Link Here
416
	if (input != 'y')
422
	if (input != 'y')
417
		return;
423
		return;
418
424
419
	(void)sprintf(buf, "%s %s", _PATH_MORE, _PATH_INSTR);
425
	switch (pid = fork()) {
420
	(void)system(buf);
426
	case 0: /* child */
427
		if (!isatty(1))
428
			pager = "cat";
429
		else {
430
			if (!(pager = getenv("PAGER")) || (*pager == 0))
431
				pager = _PATH_MORE;
432
		}
433
		if ((fd = open(_PATH_INSTR, O_RDONLY)) == -1)
434
			err(1, "open %s", _PATH_INSTR);
435
		if (dup2(fd, 0) == -1)
436
			err(1, "dup2");
437
		(void)execl("/bin/sh", "sh", "-c", pager, NULL);
438
		err(1, "exec sh -c %s", pager);
439
		/*NOTREACHED*/
440
	case -1:
441
		err(1, "fork");
442
		/*NOTREACHED*/
443
	default:
444
		(void)waitpid(pid, &status, 0);
445
		break;
446
	}
421
	(void)printf("Hit return to continue...\n");
447
	(void)printf("Hit return to continue...\n");
422
	while ((input = getchar()) != EOF && input != '\n');
448
	while ((input = getchar()) != EOF && input != '\n');
423
}
449
}
(-)games-990720+patches/trek/computer.c (-4 / +4 lines)
Lines 101-116 Link Here
101
computer()
101
computer()
102
{
102
{
103
	int			ix, iy;
103
	int			ix, iy;
104
	register int		i, j;
104
	int			i, j;
105
	int			numout;
105
	int			numout;
106
	int			tqx, tqy;
106
	int			tqx, tqy;
107
	struct cvntab		*r;
107
	const struct cvntab	*r;
108
	int			cost;
108
	int			cost;
109
	int			course;
109
	int			course;
110
	double			dist, time;
110
	double			dist, time;
111
	double			warpfact;
111
	double			warpfact;
112
	struct quad		*q;
112
	struct quad		*q;
113
	register struct event	*e;
113
	struct event	*e;
114
114
115
	if (check_out(COMPUTER))
115
	if (check_out(COMPUTER))
116
		return;
116
		return;
Lines 315-321 Link Here
315
	double			dx, dy;
315
	double			dx, dy;
316
	double			quadsize;
316
	double			quadsize;
317
	double			angle;
317
	double			angle;
318
	register int		course;
318
	int			course;
319
319
320
	/* normalize to quadrant distances */
320
	/* normalize to quadrant distances */
321
	quadsize = NSECTS;
321
	quadsize = NSECTS;
(-)games-990720+patches/trek/externs.c (-2 / +2 lines)
Lines 41-47 Link Here
41
**	global variable definitions
41
**	global variable definitions
42
*/
42
*/
43
43
44
struct device	Device[NDEV] =
44
const struct device	Device[NDEV] =
45
{
45
{
46
	"warp drive",		"Scotty",
46
	"warp drive",		"Scotty",
47
	"S.R. scanners",	"Scotty",
47
	"S.R. scanners",	"Scotty",
Lines 61-67 Link Here
61
	"*ERR 15*",		"Nobody"
61
	"*ERR 15*",		"Nobody"
62
};
62
};
63
63
64
char	*Systemname[NINHAB] =
64
const char	*const Systemname[NINHAB] =
65
{
65
{
66
	"ERROR",
66
	"ERROR",
67
	"Talos IV",
67
	"Talos IV",
(-)games-990720+patches/trek/getpar.c (-25 / +25 lines)
Lines 43-52 Link Here
43
 **/
43
 **/
44
44
45
getintpar(s)
45
getintpar(s)
46
char	*s;
46
const char	*s;
47
{
47
{
48
	register int	i;
48
	int	i;
49
	int		n;
49
	int	n;
50
50
51
	while (1)
51
	while (1)
52
	{
52
	{
Lines 67-76 Link Here
67
 **/
67
 **/
68
68
69
double getfltpar(s)
69
double getfltpar(s)
70
char	*s;
70
const char	*s;
71
{
71
{
72
	register int		i;
72
	int		i;
73
	double			d;
73
	double		d;
74
74
75
	while (1)
75
	while (1)
76
	{
76
	{
Lines 90-96 Link Here
90
 **	get yes/no parameter
90
 **	get yes/no parameter
91
 **/
91
 **/
92
92
93
struct cvntab	Yntab[] =
93
const struct cvntab	Yntab[] =
94
{
94
{
95
	"y",	"es",	(int (*)())1,	0,
95
	"y",	"es",	(int (*)())1,	0,
96
	"n",	"o",	(int (*)())0,	0,
96
	"n",	"o",	(int (*)())0,	0,
Lines 98-106 Link Here
98
};
98
};
99
99
100
getynpar(s)
100
getynpar(s)
101
char	*s;
101
const char	*s;
102
{
102
{
103
	struct cvntab		*r;
103
	const struct cvntab		*r;
104
104
105
	r = getcodpar(s, Yntab);
105
	r = getcodpar(s, Yntab);
106
	return ((long) r->value);
106
	return ((long) r->value);
Lines 111-124 Link Here
111
 **	get coded parameter
111
 **	get coded parameter
112
 **/
112
 **/
113
113
114
struct cvntab *getcodpar(s, tab)
114
const struct cvntab *getcodpar(s, tab)
115
char		*s;
115
const char		*s;
116
struct cvntab	tab[];
116
const struct cvntab	tab[];
117
{
117
{
118
	char				input[100];
118
	char				input[100];
119
	register struct cvntab		*r;
119
	const struct cvntab		*r;
120
	int				flag;
120
	int				flag;
121
	register char			*p, *q;
121
	const char			*p, *q;
122
	int				c;
122
	int				c;
123
	int				f;
123
	int				f;
124
124
Lines 189-202 Link Here
189
 **/
189
 **/
190
190
191
getstrpar(s, r, l, t)
191
getstrpar(s, r, l, t)
192
char	*s;
192
const char	*s;
193
char	*r;
193
char		*r;
194
int	l;
194
int		l;
195
char	*t;
195
const char	*t;
196
{
196
{
197
	register int	i;
197
	int	i;
198
	char		format[20];
198
	char	format[20];
199
	register int	f;
199
	int	f;
200
200
201
	if (t == 0)
201
	if (t == 0)
202
		t = " \t\n;";
202
		t = " \t\n;";
Lines 223-229 Link Here
223
223
224
testnl()
224
testnl()
225
{
225
{
226
	register char		c;
226
	char		c;
227
227
228
	while ((c = cgetc(0)) != '\n')
228
	while ((c = cgetc(0)) != '\n')
229
		if ((c >= '0' && c <= '9') || c == '.' || c == '!' ||
229
		if ((c >= '0' && c <= '9') || c == '.' || c == '!' ||
Lines 259-265 Link Here
259
259
260
testterm()
260
testterm()
261
{
261
{
262
	register char		c;
262
	char		c;
263
263
264
	if (!(c = cgetc(0)))
264
	if (!(c = cgetc(0)))
265
		return (1);
265
		return (1);
Lines 282-288 Link Here
282
readdelim(d)
282
readdelim(d)
283
char	d;
283
char	d;
284
{
284
{
285
	register char	c;
285
	char	c;
286
286
287
	while (c = cgetc(0))
287
	while (c = cgetc(0))
288
	{
288
	{
(-)games-990720+patches/trek/getpar.h (-2 / +2 lines)
Lines 41-45 Link Here
41
	int	value2;
41
	int	value2;
42
};
42
};
43
43
44
extern double		getfltpar();
44
extern double			getfltpar();
45
extern struct cvntab	*getcodpar();
45
extern const struct cvntab	*getcodpar();
(-)games-990720+patches/trek/help.c (-5 / +5 lines)
Lines 57-71 Link Here
57
**	to drop you.  After that, it's your problem.
57
**	to drop you.  After that, it's your problem.
58
*/
58
*/
59
59
60
char	*Cntvect[3] =
60
const char	*const Cntvect[3] =
61
{"first", "second", "third"};
61
{"first", "second", "third"};
62
62
63
help()
63
help()
64
{
64
{
65
	register int		i;
65
	int		i;
66
	double			dist, x;
66
	double		dist, x;
67
	register int		dx, dy;
67
	int		dx, dy;
68
	int			j, l;
68
	int		j, l;
69
69
70
	/* check to see if calling for help is reasonable ... */
70
	/* check to see if calling for help is reasonable ... */
71
	if (Ship.cond == DOCKED)
71
	if (Ship.cond == DOCKED)
(-)games-990720+patches/trek/kill.c (-10 / +9 lines)
Lines 56-62 Link Here
56
killk(ix, iy)
56
killk(ix, iy)
57
int	ix, iy;
57
int	ix, iy;
58
{
58
{
59
	register int		i, j;
59
	int		i, j;
60
60
61
	printf("   *** Klingon at %d,%d destroyed ***\n", ix, iy);
61
	printf("   *** Klingon at %d,%d destroyed ***\n", ix, iy);
62
62
Lines 96-103 Link Here
96
killb(qx, qy)
96
killb(qx, qy)
97
int	qx, qy;
97
int	qx, qy;
98
{
98
{
99
	register struct quad	*q;
99
	struct quad	*q;
100
	register struct xy	*b;
100
	struct xy	*b;
101
101
102
	q = &Quad[qx][qy];
102
	q = &Quad[qx][qy];
103
103
Lines 144-153 Link Here
144
int	x, y;	/* quad coords if f == 0, else sector coords */
144
int	x, y;	/* quad coords if f == 0, else sector coords */
145
int	f;	/* f != 0 -- this quad;  f < 0 -- Enterprise's fault */
145
int	f;	/* f != 0 -- this quad;  f < 0 -- Enterprise's fault */
146
{
146
{
147
	register struct quad	*q;
147
	struct quad	*q;
148
	register struct event	*e;
148
	struct event	*e;
149
	register char		*name;
149
	const char	*name;
150
	char			*systemname();
151
150
152
	if (f)
151
	if (f)
153
	{
152
	{
Lines 188-196 Link Here
188
int	x, y;		/* quadrant coordinates */
187
int	x, y;		/* quadrant coordinates */
189
int	f;		/* set if user is to be informed */
188
int	f;		/* set if user is to be informed */
190
{
189
{
191
	register struct event	*e;
190
	struct event	*e;
192
	register int		i;
191
	int		i;
193
	register struct quad	*q;
192
	struct quad	*q;
194
193
195
	q = &Quad[x][y];
194
	q = &Quad[x][y];
196
	for (i = 0; i < MAXEVENTS; i++)
195
	for (i = 0; i < MAXEVENTS; i++)
(-)games-990720+patches/trek/lose.c (-1 / +1 lines)
Lines 46-52 Link Here
46
**	actions which need be taken are taken.
46
**	actions which need be taken are taken.
47
*/
47
*/
48
48
49
char	*Losemsg[] =
49
const char	*Losemsg[] =
50
{
50
{
51
	"You ran out of time",
51
	"You ran out of time",
52
	"You ran out of energy",
52
	"You ran out of energy",
(-)games-990720+patches/trek/out.c (-1 / +1 lines)
Lines 44-50 Link Here
44
out(dev)
44
out(dev)
45
int	dev;
45
int	dev;
46
{
46
{
47
	register struct device	*d;
47
	const struct device	*d;
48
48
49
	d = &Device[dev];
49
	d = &Device[dev];
50
	printf("%s reports %s ", d->person, d->name);
50
	printf("%s reports %s ", d->person, d->name);
(-)games-990720+patches/trek/phaser.c (-4 / +4 lines)
Lines 89-107 Link Here
89
89
90
phaser()
90
phaser()
91
{
91
{
92
	register int		i;
92
	int			i;
93
	int			j;
93
	int			j;
94
	register struct kling	*k;
94
	struct kling		*k;
95
	double			dx, dy;
95
	double			dx, dy;
96
	double			anglefactor, distfactor;
96
	double			anglefactor, distfactor;
97
	register struct banks	*b;
97
	struct banks		*b;
98
	int			manual, flag, extra;
98
	int			manual, flag, extra;
99
	int			hit;
99
	int			hit;
100
	double			tot;
100
	double			tot;
101
	int			n;
101
	int			n;
102
	int			hitreqd[NBANKS];
102
	int			hitreqd[NBANKS];
103
	struct banks		bank[NBANKS];
103
	struct banks		bank[NBANKS];
104
	struct cvntab		*ptr;
104
	const struct cvntab	*ptr;
105
105
106
	if (Ship.cond == DOCKED)
106
	if (Ship.cond == DOCKED)
107
		return(printf("Phasers cannot fire through starbase shields\n"));
107
		return(printf("Phasers cannot fire through starbase shields\n"));
(-)games-990720+patches/trek/play.c (-2 / +2 lines)
Lines 54-60 Link Here
54
		warp(), dumpgame(), rest(), srscan(),
54
		warp(), dumpgame(), rest(), srscan(),
55
		myreset(), torped(), visual(), setwarp(), undock(), phaser();
55
		myreset(), torped(), visual(), setwarp(), undock(), phaser();
56
56
57
struct cvntab	Comtab[] =
57
const struct cvntab	Comtab[] =
58
{
58
{
59
	"abandon",		"",			abandon,	0,
59
	"abandon",		"",			abandon,	0,
60
	"ca",			"pture",		capture,	0,
60
	"ca",			"pture",		capture,	0,
Lines 91-97 Link Here
91
91
92
play()
92
play()
93
{
93
{
94
	struct cvntab		*r;
94
	const struct cvntab	*r;
95
95
96
	while (1)
96
	while (1)
97
	{
97
	{
(-)games-990720+patches/trek/setup.c (-5 / +5 lines)
Lines 50-56 Link Here
50
**	Game restart and tournament games are handled here.
50
**	Game restart and tournament games are handled here.
51
*/
51
*/
52
52
53
struct cvntab	Lentab[] =
53
const struct cvntab	Lentab[] =
54
{
54
{
55
	"s",		"hort",			(int (*)())1,		0,
55
	"s",		"hort",			(int (*)())1,		0,
56
	"m",		"edium",		(int (*)())2,		0,
56
	"m",		"edium",		(int (*)())2,		0,
Lines 59-65 Link Here
59
	0
59
	0
60
};
60
};
61
61
62
struct cvntab	Skitab[] =
62
const struct cvntab	Skitab[] =
63
{
63
{
64
	"n",		"ovice",		(int (*)())1,		0,
64
	"n",		"ovice",		(int (*)())1,		0,
65
	"f",		"air",			(int (*)())2,		0,
65
	"f",		"air",			(int (*)())2,		0,
Lines 72-85 Link Here
72
72
73
setup()
73
setup()
74
{
74
{
75
	struct cvntab		*r;
75
	const struct cvntab	*r;
76
	register int		i, j;
76
	int			i, j;
77
	double			f;
77
	double			f;
78
	int			d;
78
	int			d;
79
	int			fd;
79
	int			fd;
80
	int			klump;
80
	int			klump;
81
	int			ix, iy;
81
	int			ix, iy;
82
	register struct quad	*q;
82
	struct quad		*q;
83
	struct event		*e;
83
	struct event		*e;
84
84
85
	while (1)
85
	while (1)
(-)games-990720+patches/trek/shield.c (-4 / +4 lines)
Lines 55-61 Link Here
55
**	so you get partial hits.
55
**	so you get partial hits.
56
*/
56
*/
57
57
58
struct cvntab Udtab[] =
58
const struct cvntab Udtab[] =
59
{
59
{
60
	"u",		"p",			(int (*)())1,		0,
60
	"u",		"p",			(int (*)())1,		0,
61
	"d",		"own",			0,		0,
61
	"d",		"own",			0,		0,
Lines 65-75 Link Here
65
shield(f)
65
shield(f)
66
int	f;
66
int	f;
67
{
67
{
68
	register int		i;
68
	int			i;
69
	char			c;
69
	char			c;
70
	struct cvntab		*r;
70
	const struct cvntab	*r;
71
	char			s[100];
71
	char			s[100];
72
	char			*device, *dev2, *dev3;
72
	const char		*device, *dev2, *dev3;
73
	int			ind;
73
	int			ind;
74
	char			*stat;
74
	char			*stat;
75
75
(-)games-990720+patches/trek/srscan.c (-5 / +5 lines)
Lines 53-59 Link Here
53
**	The current quadrant is filled in on the computer chart.
53
**	The current quadrant is filled in on the computer chart.
54
*/
54
*/
55
55
56
char	*Color[4] =
56
const char	*Color[4] =
57
{
57
{
58
	"GREEN",
58
	"GREEN",
59
	"DOCKED",
59
	"DOCKED",
Lines 64-77 Link Here
64
srscan(f)
64
srscan(f)
65
int	f;
65
int	f;
66
{
66
{
67
	register int		i, j;
67
	int			i, j;
68
	register int		statinfo;
68
	int			statinfo;
69
	char			*s;
69
	const char		*s;
70
	int			percent;
70
	int			percent;
71
	struct quad		*q;
71
	struct quad		*q;
72
	extern struct cvntab	Skitab[];
72
	extern struct cvntab	Skitab[];
73
	extern struct cvntab	Lentab[];
73
	extern struct cvntab	Lentab[];
74
	struct cvntab		*p;
74
	const struct cvntab	*p;
75
75
76
	if (f >= 0 && check_out(SRSCAN))
76
	if (f >= 0 && check_out(SRSCAN))
77
	{
77
	{
(-)games-990720+patches/trek/systemname.c (-3 / +3 lines)
Lines 48-58 Link Here
48
**	starsystems, etc.
48
**	starsystems, etc.
49
*/
49
*/
50
50
51
char *systemname(q1)
51
const char *systemname(q1)
52
struct quad	*q1;
52
struct quad	*q1;
53
{
53
{
54
	register struct quad	*q;
54
	const struct quad	*q;
55
	register int		i;
55
	int			i;
56
56
57
	q = q1;
57
	q = q1;
58
58
(-)games-990720+patches/trek/trek.h (-6 / +6 lines)
Lines 96-102 Link Here
96
*/
96
*/
97
97
98
/* ascii names of systems */
98
/* ascii names of systems */
99
extern char	*Systemname[NINHAB];
99
extern const char	*const Systemname[NINHAB];
100
100
101
/* quadrant definition */
101
/* quadrant definition */
102
struct quad	Quad[NQUADS][NQUADS];
102
struct quad	Quad[NQUADS][NQUADS];
Lines 138-148 Link Here
138
/* device names */
138
/* device names */
139
struct device
139
struct device
140
{
140
{
141
	char	*name;		/* device name */
141
	const char	*name;		/* device name */
142
	char	*person;	/* the person who fixes it */
142
	const char	*person;	/* the person who fixes it */
143
};
143
};
144
144
145
struct device	Device[NDEV];
145
const struct device	Device[NDEV];
146
146
147
/***************************  EVENTS  ****************************/
147
/***************************  EVENTS  ****************************/
148
148
Lines 247-253 Link Here
247
	int	secty;		/* sector y coord */
247
	int	secty;		/* sector y coord */
248
	char	cond;		/* condition code */
248
	char	cond;		/* condition code */
249
	char	sinsbad;	/* Space Inertial Navigation System condition */
249
	char	sinsbad;	/* Space Inertial Navigation System condition */
250
	char	*shipname;	/* name of current starship */
250
	const char *shipname;	/* name of current starship */
251
	char	ship;		/* current starship */
251
	char	ship;		/* current starship */
252
	int	distressed;	/* number of distress calls */
252
	int	distressed;	/* number of distress calls */
253
}	Ship;
253
}	Ship;
Lines 379-382 Link Here
379
# define	xTRACE		1
379
# define	xTRACE		1
380
int	Trace;
380
int	Trace;
381
381
382
extern char	*systemname();
382
extern const char	*systemname();
(-)games-990720+patches/trek/win.c (-1 / +1 lines)
Lines 58-64 Link Here
58
	extern jmp_buf		env;
58
	extern jmp_buf		env;
59
	extern long		score();
59
	extern long		score();
60
	extern struct cvntab	Skitab[];
60
	extern struct cvntab	Skitab[];
61
	register struct cvntab	*p;
61
	const struct cvntab	*p;
62
62
63
	sleep(1);
63
	sleep(1);
64
	printf("\nCongratulations, you have saved the Federation\n");
64
	printf("\nCongratulations, you have saved the Federation\n");
(-)games-990720+patches/wump/wump.c (-9 / +9 lines)
Lines 225-231 Link Here
225
225
226
display_room_stats()
226
display_room_stats()
227
{
227
{
228
	register int i;
228
	int i;
229
229
230
	/*
230
	/*
231
	 * Routine will explain what's going on with the current room, as well
231
	 * Routine will explain what's going on with the current room, as well
Lines 483-489 Link Here
483
483
484
cave_init()
484
cave_init()
485
{
485
{
486
	register int i, j, k, link;
486
	int i, j, k, link;
487
	int delta, int_compare();
487
	int delta, int_compare();
488
488
489
	/*
489
	/*
Lines 556-562 Link Here
556
556
557
clear_things_in_cave()
557
clear_things_in_cave()
558
{
558
{
559
	register int i;
559
	int i;
560
560
561
	/*
561
	/*
562
	 * remove bats and pits from the current cave in preparation for us
562
	 * remove bats and pits from the current cave in preparation for us
Lines 568-574 Link Here
568
568
569
initialize_things_in_cave()
569
initialize_things_in_cave()
570
{
570
{
571
	register int i, loc;
571
	int i, loc;
572
572
573
	/* place some bats, pits, the wumpus, and the player. */
573
	/* place some bats, pits, the wumpus, and the player. */
574
	for (i = 0; i < bat_num; ++i) {
574
	for (i = 0; i < bat_num; ++i) {
Lines 632-638 Link Here
632
632
633
bats_nearby()
633
bats_nearby()
634
{
634
{
635
	register int i;
635
	int i;
636
636
637
	/* check for bats in the immediate vicinity */
637
	/* check for bats in the immediate vicinity */
638
	for (i = 0; i < link_num; ++i)
638
	for (i = 0; i < link_num; ++i)
Lines 643-649 Link Here
643
643
644
pit_nearby()
644
pit_nearby()
645
{
645
{
646
	register int i;
646
	int i;
647
647
648
	/* check for pits in the immediate vicinity */
648
	/* check for pits in the immediate vicinity */
649
	for (i = 0; i < link_num; ++i)
649
	for (i = 0; i < link_num; ++i)
Lines 654-660 Link Here
654
654
655
wump_nearby()
655
wump_nearby()
656
{
656
{
657
	register int i, j;
657
	int i, j;
658
658
659
	/* check for a wumpus within TWO caves of where we are */
659
	/* check for a wumpus within TWO caves of where we are */
660
	for (i = 0; i < link_num; ++i) {
660
	for (i = 0; i < link_num; ++i) {
Lines 674-682 Link Here
674
}
674
}
675
675
676
int_compare(a, b)
676
int_compare(a, b)
677
	int *a, *b;
677
	const void *a, *b;
678
{
678
{
679
	return(*a < *b ? -1 : 1);
679
	return(*(const int *)a < *(const int *)b ? -1 : 1);
680
}
680
}
681
681
682
instructions()
682
instructions()

Return to bug 12727