mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Choose better deterministic timestamp for zip
This commit is contained in:
parent
b45d50b690
commit
bf62140377
7 changed files with 32 additions and 30 deletions
4
third_party/python/pyobj.c
vendored
4
third_party/python/pyobj.c
vendored
|
@ -31,7 +31,9 @@
|
|||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/stdio/append.internal.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/sysv/consts/clock.h"
|
||||
#include "libc/sysv/consts/o.h"
|
||||
#include "libc/time/time.h"
|
||||
#include "libc/x/x.h"
|
||||
#include "third_party/getopt/getopt.h"
|
||||
#include "third_party/python/Include/abstract.h"
|
||||
|
@ -711,6 +713,8 @@ int
|
|||
main(int argc, char *argv[])
|
||||
{
|
||||
int ec;
|
||||
timestamp.tv_sec = 1647414000; /* determinism */
|
||||
/* clock_gettime(CLOCK_REALTIME, ×tamp); */
|
||||
GetOpts(argc, argv);
|
||||
Py_NoUserSiteDirectory++;
|
||||
Py_NoSiteFlag++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue