head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.1
	RELEASE_3_3_0:1.1
	RELEASE_3_2_0:1.1
	RELEASE_3_1_0:1.1
	RELEASE_2_2_8:1.1
	RELEASE_3_0_0:1.1
	RELEASE_2_2_7:1.1;
locks; strict;
comment	@# @;


1.2
date	2000.03.05.09.27.24;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	98.06.14.23.33.17;	author hoek;	state Exp;
branches;
next	;


desc
@@


1.2
log
@From OpenBSD: generate tempfiles securely with mkstemps()

Approved by:	Maintainer
@
text
@*** arcdos.c.old	Wed Apr 15 02:58:21 1992
--- arcdos.c	Sat Dec 31 20:32:25 1994
***************
*** 173,186 ****
--- 173,192 ----
  	struct tm	tm;
  	struct timeval  tvp[2];
  	int	utimes();
+ #if !defined(__FreeBSD__) && !defined(__OpenBSD__)
  	long	tmclock();
+ #endif
  	tm.tm_sec = (time & 31) * 2;
  	tm.tm_min = (time >> 5) & 63;
  	tm.tm_hour = (time >> 11);
  	tm.tm_mday = date & 31;
  	tm.tm_mon = ((date >> 5) & 15) - 1;
  	tm.tm_year = (date >> 9) + 80;
+ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
  	tvp[0].tv_sec = tmclock(&tm);
+ #else
+ 	tvp[0].tv_sec = timelocal(&tm);
+ #endif
  	tvp[1].tv_sec = tvp[0].tv_sec;
  	tvp[0].tv_usec = tvp[1].tv_usec = 0;
  	utimes(f, tvp);
@


1.1
log
@1) Break-up the mega-patch-aa.
2) Fix install for non-root users.
3) "See work/Arc521.doc" is not considered a good pkg/DESCR.
4) install ad. doc., too.
@
text
@d9 1
a9 1
+ #if !defined(__FreeSBD__) && !defined(__OpenBSD__)
@

