| 1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 1 |
> |
/* Copyright (c) 1999 Silicon Graphics, Inc. */ |
| 2 |
|
|
| 3 |
|
#ifndef lint |
| 4 |
|
static char SCCSid[] = "$SunId$ SGI"; |
| 40 |
|
FILE *sstdin, *sstdout; /* server's standard input and output */ |
| 41 |
|
|
| 42 |
|
#ifdef DEBUG |
| 43 |
– |
#include <sys/types.h> |
| 43 |
|
extern time_t time(); |
| 44 |
|
static time_t tmodesw; |
| 45 |
|
static time_t timm, tadd; |
| 154 |
|
int n; |
| 155 |
|
register int i; |
| 156 |
|
/* see if we can avoid select call */ |
| 157 |
+ |
if (hdlist[0] == NULL) |
| 158 |
+ |
return(RDY_SRV); /* initialize first */ |
| 159 |
|
flgs = 0; /* flag what's ready already */ |
| 160 |
|
if (imm_mode || stdin->_cnt > 0) |
| 161 |
|
flgs |= RDY_SRV; |
| 270 |
|
static VIEW viewhist[VIEWHISTLEN]; |
| 271 |
|
static unsigned nhist; |
| 272 |
|
VIEW *dv; |
| 273 |
< |
int i, res[2], *slist; |
| 273 |
> |
int i, res[2]; |
| 274 |
> |
int2 *slist; |
| 275 |
|
char *err; |
| 276 |
|
/* restore previous view? */ |
| 277 |
|
if (v == NULL) { |