SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
sysutils/safecat/patches/patch-tempfile_c
Normal file
11
sysutils/safecat/patches/patch-tempfile_c
Normal 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. */
|
Loading…
Add table
Add a link
Reference in a new issue