Deleted Added
full compact
localtime.c (42293) localtime.c (42989)
1/*
2** This file is in the public domain, so clarified as of
3** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov).
4*/
5
6#ifndef lint
7#ifndef NOID
8static char elsieid[] = "@(#)localtime.c 7.57";

--- 313 unchanged lines hidden (view full) ---

322 char buf[sizeof *sp + sizeof *tzhp];
323 int ttisstdcnt;
324 int ttisgmtcnt;
325
326 i = read(fid, buf, sizeof buf);
327 if (close(fid) != 0)
328 return -1;
329 p = buf;
1/*
2** This file is in the public domain, so clarified as of
3** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov).
4*/
5
6#ifndef lint
7#ifndef NOID
8static char elsieid[] = "@(#)localtime.c 7.57";

--- 313 unchanged lines hidden (view full) ---

322 char buf[sizeof *sp + sizeof *tzhp];
323 int ttisstdcnt;
324 int ttisgmtcnt;
325
326 i = read(fid, buf, sizeof buf);
327 if (close(fid) != 0)
328 return -1;
329 p = buf;
330 p += sizeof tzhp->tzh_reserved;
330 p += (sizeof tzhp->tzh_magic) + (sizeof tzhp->tzh_reserved);
331 ttisstdcnt = (int) detzcode(p);
332 p += 4;
333 ttisgmtcnt = (int) detzcode(p);
334 p += 4;
335 sp->leapcnt = (int) detzcode(p);
336 p += 4;
337 sp->timecnt = (int) detzcode(p);
338 p += 4;

--- 1432 unchanged lines hidden ---
331 ttisstdcnt = (int) detzcode(p);
332 p += 4;
333 ttisgmtcnt = (int) detzcode(p);
334 p += 4;
335 sp->leapcnt = (int) detzcode(p);
336 p += 4;
337 sp->timecnt = (int) detzcode(p);
338 p += 4;

--- 1432 unchanged lines hidden ---