From ac6ed3d939fe9dad81aadbd04541e905c625ca82 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 15 Aug 2022 12:35:05 +0200 Subject: [chore] Update bun / sqlite versions; update gtsmodels (#754) * upstep bun and sqlite versions * allow specific columns to be updated in the db * only update necessary columns for user * bit tidier * only update necessary fields of media_attachment * only update relevant instance fields * update tests * update only specific account columns * use bool pointers on gtsmodels includes attachment, status, account, user * update columns more selectively * test all default fields on new account insert * updating remaining bools on gtsmodels * initialize pointer fields when extracting AP emoji * copy bools properly * add copyBoolPtr convenience function + test it * initialize false bool ptrs a bit more neatly --- vendor/modernc.org/libc/stdio/stdio_linux_amd64.go | 94 +++++++++++----------- 1 file changed, 47 insertions(+), 47 deletions(-) (limited to 'vendor/modernc.org/libc/stdio/stdio_linux_amd64.go') diff --git a/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go b/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go index e38676fe6..2be5f7f64 100644 --- a/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go +++ b/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdio/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdio/stdio_linux_amd64.go -pkgname stdio', DO NOT EDIT. +// Code generated by 'ccgo stdio/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdio/stdio_linux_amd64.go -pkgname stdio', DO NOT EDIT. package stdio @@ -15,52 +15,52 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BUFSIZ = 8192 - EOF = -1 - FILENAME_MAX = 4096 - FOPEN_MAX = 16 - L_ctermid = 9 - L_tmpnam = 20 - P_tmpdir = "/tmp" - SEEK_CUR = 1 - SEEK_END = 2 - SEEK_SET = 0 - TMP_MAX = 238328 - X_ATFILE_SOURCE = 1 - X_BITS_STDIO_LIM_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_IOFBF = 0 - X_IOLBF = 1 - X_IONBF = 2 - X_IO_EOF_SEEN = 0x0010 - X_IO_ERR_SEEN = 0x0020 - X_IO_USER_LOCK = 0x8000 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STDIO_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - X_VA_LIST_DEFINED = 0 - Linux = 1 - Unix = 1 + BUFSIZ = 8192 // stdio.h:99:1: + EOF = -1 // stdio.h:104:1: + FILENAME_MAX = 4096 // stdio_lim.h:27:1: + FOPEN_MAX = 16 // stdio_lim.h:37:1: + L_ctermid = 9 // stdio_lim.h:30:1: + L_tmpnam = 20 // stdio_lim.h:25:1: + P_tmpdir = "/tmp" // stdio.h:120:1: + SEEK_CUR = 1 // stdio.h:110:1: + SEEK_END = 2 // stdio.h:111:1: + SEEK_SET = 0 // stdio.h:109:1: + TMP_MAX = 238328 // stdio_lim.h:26:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_STDIO_LIM_H = 1 // stdio_lim.h:19:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // :25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_IOFBF = 0 // stdio.h:93:1: + X_IOLBF = 1 // stdio.h:94:1: + X_IONBF = 2 // stdio.h:95:1: + X_IO_EOF_SEEN = 0x0010 // struct_FILE.h:111:1: + X_IO_ERR_SEEN = 0x0020 // struct_FILE.h:114:1: + X_IO_USER_LOCK = 0x8000 // struct_FILE.h:117:1: + X_LP64 = 1 // :284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // :162:1: + X_STDIO_H = 1 // stdio.h:24:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + X_VA_LIST_DEFINED = 0 // stdio.h:53:1: + Linux = 1 // :231:1: + Unix = 1 // :177:1: ) type Ptrdiff_t = int64 /* :3:26 */ -- cgit v1.2.3