Sync worktree updates into main repo folder
This commit is contained in:
parent
bc1a502c1d
commit
c4d2b5d9d1
21 changed files with 1565 additions and 347 deletions
|
|
@ -52,9 +52,10 @@ unset_ramdisk_env(void)
|
|||
static int
|
||||
write_tmp_blob(const char *path)
|
||||
{
|
||||
static const char payload[16] =
|
||||
"\x00\x01\x02\x03\x04\x05\x06\x07"
|
||||
"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f";
|
||||
static const unsigned char payload[16] = {
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f
|
||||
};
|
||||
FILE *f = fopen(path, "wb");
|
||||
if (!f) return -1;
|
||||
if (fwrite(payload, 1, sizeof(payload), f) != sizeof(payload)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue