1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
1 |
> |
/* Copyright (c) 1999 Silicon Graphics, Inc. */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ SGI"; |
175 |
|
bi = hdbindex(hp, gc); /* check for duplicates */ |
176 |
|
if (checkrepeats && (bp = hdgetbeam(hp, bi)) != NULL) { |
177 |
|
for (n = bp->nrm, rv = hdbray(bp); n--; rv++) |
178 |
< |
if (rv->d == dc && |
178 |
> |
if ((hp->priv != NULL || rv->d == dc) && |
179 |
|
rv->r[0][0] == rr[0][0] && |
180 |
|
rv->r[0][1] == rr[0][1] && |
181 |
|
rv->r[1][0] == rr[1][0] && |
236 |
|
} |
237 |
|
hdfreebeam(hp, bq[i]); /* free the beam */ |
238 |
|
} |
239 |
< |
hdflush(NULL); /* write & free clump */ |
239 |
> |
hdfreebeam(NULL, 0); /* write & free clump */ |
240 |
|
return(0); |
241 |
|
} |
242 |
|
|
253 |
|
hddone(hdlist[noutsects]); /* free the section */ |
254 |
|
} |
255 |
|
close(fd); /* close input file */ |
256 |
+ |
hdflush(NULL); /* flush output */ |
257 |
|
} |
258 |
|
|
259 |
|
|