mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 06:12:27 +00:00
Do work on curl/mbedtls/zstd
This change fixes stderr to be unbuffered. Added hardware AES on ARM64 to help safeguard against timing attacks. The curl.com command will be somewhat more pleasant to use.
This commit is contained in:
parent
a186143f62
commit
0d3c1c8b1a
37 changed files with 1565 additions and 290 deletions
5
third_party/zstd/programs/zstdcli.c
vendored
5
third_party/zstd/programs/zstdcli.c
vendored
|
@ -56,6 +56,7 @@
|
|||
#include "libc/stdio/temp.h"
|
||||
#include "third_party/musl/tempnam.h" /* fprintf(), stdin, stdout, stderr */
|
||||
#include "libc/errno.h" /* errno */
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/assert.h" /* assert */
|
||||
|
||||
#include "third_party/zstd/programs/fileio.h" /* stdinmark, stdoutmark, ZSTD_EXTENSION */
|
||||
|
@ -853,6 +854,10 @@ typedef enum { zom_compress, zom_decompress, zom_test, zom_bench, zom_train, zom
|
|||
|
||||
int main(int argCount, const char* argv[])
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
ShowCrashReports();
|
||||
#endif
|
||||
|
||||
int argNb,
|
||||
followLinks = 0,
|
||||
allowBlockDevices = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue