SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- tempfile.c.orig Tue Jul 1 10:03:01 2003
+++ tempfile.c Tue Dec 21 10:10:12 2004
@@ -26,7 +26,7 @@ void mk_tempfile(stralloc *tmpf) {
taia_tai(&now,&sec);
/* Record the second timestamp on the string. */
- secbuf[fmt_uint64(secbuf,(uint64) sec.x - 4611686018427387904)] = '\0';
+ secbuf[fmt_uint64(secbuf,(uint64) sec.x - 4611686018427387904ULL)] = '\0';
if (!stralloc_cats(tmpf, secbuf)) die_nomem();
/* Append the microsecond timestamp to the string. */