[Bug 270435] makefs: cd9660 output is nonreproducible
Date: Fri, 24 Mar 2023 18:31:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270435
Bug ID: 270435
Summary: makefs: cd9660 output is nonreproducible
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: emaste@freebsd.org
makefs uses time(NULL) for the timestamp on the . directory entry, resulting in
non-reproducible output
--- t1.iso
+++ t2.iso
├── file list
│ @@ -1,2 +1,2 @@
│ -drwxr-xr-x 2 1001 1001 2048 2023-03-24 18:27:59.000000 .
│ +drwxr-xr-x 2 1001 1001 2048 2023-03-24 18:28:00.000000 .
│ -rw-r--r-- 1 1001 1001 0 2023-03-24 18:27:59.000000
1234.567
code reference:
usr.sbin/makefs/cd9660.c: time_t tstamp = stampst.st_ino ?
stampst.st_mtime : time(NULL);
--
You are receiving this mail because:
You are the assignee for the bug.