message
stringlengths
6
474
diff
stringlengths
8
5.22k
hatch_fp: Better comments for pin config BRANCH=nocturne,hatch TEST=none
@@ -40,12 +40,12 @@ UNUSED(PIN(H, 1)) UNIMPLEMENTED(ENTERING_RW) -/* USART1: PA9/PA10 */ +/* USART1: PA9/PA10 (TX/RX) */ ALTERNATE(PIN_MASK(A, 0x0600), GPIO_ALT_USART, MODULE_UART, GPIO_PULL_UP) -/* SPI1 slave from the AP: PA4/5/6/7 */ +/* SPI1 slave from the AP: PA4/5/6/7 (CS/CLK/MISO/MOSI) */ ALTERNATE(PIN_MASK(A, 0x...
Add static check for config values
#if ESP_CFG_NETCONN || __DOXYGEN__ +/* Check conditions */ +#if ESP_CFG_NETCONN_RECEIVE_QUEUE_LEN < 2 +#error "ESP_CFG_NETCONN_RECEIVE_QUEUE_LEN must be greater or equal to 2" +#endif /* ESP_CFG_NETCONN_RECEIVE_QUEUE_LEN < 2 */ + +#if ESP_CFG_NETCONN_ACCEPT_QUEUE_LEN < 2 +#error "ESP_CFG_NETCONN_ACCEPT_QUEUE_LEN must b...
some cosmetics in rcascan status
@@ -348,8 +348,7 @@ for(c = 0; RCASCANLIST_MAX; c++) } zeiger++; } - - +fprintf(stdout, "-----------------------------------------------------------------------------------\n"); return; } /*===========================================================================*/ @@ -2879,7 +2878,6 @@ while(1) { tvfd.tv_sec = 5; tv...
Fix modulemgr one function name
@@ -2806,7 +2806,6 @@ modules: nid: 0xC445FA63 functions: ksceKernelFinalizeKbl: 0xFDD7F646 - ksceKernelGetModuleExportLibraryList: 0x1FDEAE16 ksceKernelGetModuleIdByAddr: 0x0053BA4A ksceKernelGetModuleInfo: 0xD269F915 ksceKernelGetModuleInfoMinByAddr: 0x8309E043 @@ -2817,6 +2816,7 @@ modules: ksceKernelGetModuleList2:...
add comment box
@@ -10,7 +10,7 @@ export class Note extends Component { return ( - <div className="flex justify-center mt4 ph4 pb4"> + <div className="flex justify-center overflow-y-scroll mt4 ph4 pb4"> <div className="w-100 mw6"> <div className="flex flex-column"> <h7 className="f9 mb1">Title</h7> @@ -20,23 +20,31 @@ export class Not...
test: add a provider load/unload cache flush test.
@@ -85,6 +85,43 @@ static int test_configured_provider(void) } #endif +static int test_cache_flushes(void) +{ + OSSL_LIB_CTX *ctx; + OSSL_PROVIDER *prov = NULL; + EVP_MD *md = NULL; + int ret = 0; + + if (!TEST_ptr(ctx = OSSL_LIB_CTX_new()) + || !TEST_ptr(prov = OSSL_PROVIDER_load(ctx, "default")) + || !TEST_true(OSSL_...
fixes dumb bug in tcp reverse proxy remote address resolution
@@ -1634,6 +1634,7 @@ _proxy_warc_free(u3_warc* cli_u) { _proxy_warc_unlink(cli_u); free(cli_u->non_u.base); + free(cli_u->hot_c); free(cli_u); } @@ -1643,10 +1644,14 @@ static u3_warc* _proxy_warc_new(u3_http* htp_u, u3_atom sip, c3_s por_s, c3_o sec) { u3_warc* cli_u = c3_malloc(sizeof(*cli_u)); + cli_u->htp_u = htp_...
ci: `--preserve-all` is mandatory to run locally for unit-test apps
@@ -300,11 +300,11 @@ build_ssc_esp32s3: -t $IDF_TARGET --config "configs/*=" --copy-sdkconfig + --preserve-all --collect-size-info $SIZE_INFO_LOCATION --collect-app-info list_job_${CI_NODE_INDEX:-1}.json --parallel-count ${CI_NODE_TOTAL:-1} --parallel-index ${CI_NODE_INDEX:-1} - --preserve-all - run_cmd python tools/u...
Add timing fields to ScsInfo.
@@ -163,6 +163,12 @@ typedef struct { scs_float comp_slack; /** number of rejected AA steps */ scs_int rejected_accel_steps; + /** total time (milliseconds) spent in the linear system solver */ + scs_float lin_sys_time; + /** total time (milliseconds) spent in the cone projection */ + scs_float cone_time; + /** total t...
Added error string in restore_bashrc() function as well.
@@ -430,7 +430,7 @@ def restore_bashrc(): command = "rm -f %s" % (file) result = run_cmd(command) if (result[0] != 0): - raise Exception('Error while restoring up bashrc file. ') + raise Exception("Error while restoring up bashrc file. STDERR:%s" % (result[2]) @given('the user runs "{command}"')
path BUGFIX uninitialized ret
@@ -430,7 +430,7 @@ ly_path_compile_prefix(const struct ly_ctx *ctx, const struct lysc_node *cur_nod } assert(unres); - LY_CHECK_GOTO(lys_set_implemented_r((struct lys_module *)*mod, NULL, unres), error); + LY_CHECK_GOTO(ret = lys_set_implemented_r((struct lys_module *)*mod, NULL, unres), error); } LOG_LOCBACK(cur_node...
Add more help text to doc macro and default repl.
(print (doc-format (string "Bindings:\n\n" (string/join bindings " ")))) (print) (print (doc-format (string "Dynamics:\n\n" (string/join dynamics " ")))) - (print)) + (print "\n Use (doc sym) for more information on a binding.\n")) (defn doc* "Get the documentation for a symbol in a given environment. Function form of ...
[bsp][stm32] optimize flash driver config
@@ -57,6 +57,8 @@ src += ['drv_common.c'] path = [cwd] path += [cwd + '/config'] + +if GetDepend('BSP_USING_ON_CHIP_FLASH'): path += [cwd + '/drv_flash'] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
py/makecompresseddata.py: Don't prefix str with mark if not compressed.
@@ -168,7 +168,11 @@ def main(collected_path, fn): # Print the replacements. for uncomp, comp in error_strings.items(): - print('MP_MATCH_COMPRESSED("{}", "\\{:03o}{}")'.format(uncomp, _COMPRESSED_MARKER, comp)) + if uncomp == comp: + prefix = "" + else: + prefix = "\\{:03o}".format(_COMPRESSED_MARKER) + print('MP_MATC...
Docs: Removed dead code from AcpiSamples
@@ -62,33 +62,4 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "MCHCSBUS", 0x00000000) } } } - - Method (DTGP, 5, NotSerialized) - { - If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b"))) - { - If ((Arg1 == One)) - { - If ((Arg2 == Zero)) - { - Arg4 = Buffer (One) - { - 0x03 // . - } - Return (One) - } - - If ((A...
Fix doc nits in X509_check_private_key.pod remove the tailing dot
X509_check_private_key, X509_REQ_check_private_key - check the consistency of a private key with the public key in an X509 certificate or certificate -request. +request =head1 SYNOPSIS
handle potential overflow in CheckFile core reading
@@ -1555,7 +1555,7 @@ memstream_read ( { memdata* md = static_cast<memdata*> (userdata); uint64_t left = sz; - if ((offset + sz) > md->bytes) + if (offset > md->bytes || sz > md->bytes || offset+sz > md->bytes) left = (offset < md->bytes) ? md->bytes - offset : 0; if (left > 0) memcpy (buffer, md->data + offset, left);...
soprano: fix parameters_add() typo
@@ -21,7 +21,7 @@ int so_parameters_add(so_parameters_t *params, uint8_t *value, uint32_t value_len) { - int size = sizeof(so_parameters_t) + name_len + value_len; + int size = sizeof(so_parameter_t) + name_len + value_len; int rc; rc = so_stream_ensure(&params->buf, size); if (so_unlikely(rc == -1))
MARS namespace for BUFR: remove rdb keys
@@ -11,12 +11,12 @@ meta localMinute bits(keyData,27,6) : dump,long_type,no_copy; meta localSecond bits(keyData,33,6) : dump,long_type,no_copy; meta spare bits(keyData,39,1) : no_copy; # 40 bits = 5 bytes -alias mars.localYear=localYear; -alias mars.localMonth=localMonth; -alias mars.localDay=localDay; -alias mars.loca...
BugID:16729922:[ntp] name sep-lib as libiot_ntp.a
-LIBA_TARGET := libntp.a - -CFLAGS := $(filter-out -Werror,$(CFLAGS)) +LIBA_TARGET := libiot_ntp.a HDR_REFS := src/infra HDR_REFS += src/protocol/mqtt
re-enable IRQs
@@ -58,7 +58,7 @@ extern void irq14(); extern void irq15(); extern void irq16(); extern void irq17(); - +//syscall vector extern void isr128(); static void idt_set_gate(idt_entry_t* entry, uint32_t base, uint16_t sel, idt_entry_flags_t flags) { @@ -81,6 +81,7 @@ static void idt_set_gate(idt_entry_t* entry, uint32_t bas...
fix 2839, document symmetric requirement of tensor expressions and need to transpose result of eigenvector expr
@@ -668,6 +668,24 @@ Cylindrical Radius : ``cylindrical_radius(expr)`` Tensor Expressions """""""""""""""""" +Eigenvalue: ``eigenvalue(expr)`` + The ``expr`` must evaluate to a 3x3 *symmetric* tensor. The eigenvalue + expression returns the eigenvalues of the 3x3 matrix *symmetric* argument + as a vector valued express...
define lv_chart_set_update_mode function
@@ -400,6 +400,20 @@ void lv_chart_set_next(lv_obj_t * chart, lv_chart_series_t * ser, lv_coord_t y) } } +/** + * Set update mode of the chart object. + * @param chart pointer to a chart object + * @param update mode + */ +void lv_chart_set_update_mode(lv_obj_t * chart, lv_chart_update_mode_t update_mode) +{ + lv_chart...
luci-app-ssr-plus: support Xray TLS flow
@@ -22,7 +22,7 @@ function vmess_vless() id = server.vmess_id, security = (server.v2ray_protocol == "vmess" or not server.v2ray_protocol) and server.security or nil, encryption = (server.v2ray_protocol == "vless") and server.vless_encryption or nil, - flow = (server.xtls == '1') and (server.vless_flow and server.vless_...
stb_image: fix for POC h002. detect bad TGA file which has fake size declaration in its image header
@@ -5566,6 +5566,7 @@ static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req // OK, if I need to read a pixel, do it now if ( read_next_pixel ) { + if (stbi__at_eof(s)) return stbi__errpuc("bad file","TGA file too short"); // load however much data we did have if ( tga_indexed ) {
Avoid build warnings 'warning: value computed is not used [-Wunused-value]' from OpenSSL BIO stuff. Purely cosmetical.
@@ -35,9 +35,9 @@ bio = BIO_push(b64, bio); BIO_set_flags(bio, BIO_FLAGS_BASE64_NO_NL); BIO_write(bio, buffer, length); -BIO_flush(bio); +(void) BIO_flush(bio); BIO_get_mem_ptr(bio, &bufferPtr); -BIO_set_close(bio, BIO_NOCLOSE); +(void) BIO_set_close(bio, BIO_NOCLOSE); BIO_free_all(bio); *b64text=(*bufferPtr).data; ret...
Made invite/banish send notifications again.
?~ soy %^ ta-delta %react red [%fail (crip "no story {(trip nom)}") `act] - =/ wyt/? ?=(?($white $green) sec.con.shape.u.soy) - =/ add/? =(inv wyt) - (affect nom %config [our.bol nom] %permit add sis) + so-done:(~(so-permit so nom ~ u.soy) inv sis) :: ++ action-source ::< un/sub p to/from r ::> add/remove {pas} as sour...
CLEANUP: used do_continuum_find() but find_global_continuum()
@@ -534,27 +534,28 @@ static void do_hashring_replace(struct cluster_config *config, struct cont_item } static struct cont_item * -find_global_continuum(struct cont_item **continuum, uint32_t num_conts, uint32_t hvalue) +do_continuum_find(struct cont_item **continuum, uint32_t num_conts, uint32_t hvalue) { - struct con...
sp: on subkeys lookup do not iterate on non-maps
@@ -695,6 +695,10 @@ static int subkey_to_value(struct flb_exp_key *ekey, msgpack_object *map, /* Key expected key entry */ entry = mk_list_entry(head, struct flb_slist_entry, _head); + if (cur_map.type != MSGPACK_OBJECT_MAP) { + break; + } + /* Get map entry that matches entry name */ for (i = 0; i < cur_map.via.map.s...
compat: add a set of macros for implementing strptime It's preparation for introducing a portable strptime function. Since Windows calls some functions and constants differently, we need these macros to compile the source code properly.
#define PATH_MAX MAX_PATH #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) +#define timezone _timezone +#define tzname _tzname +#define strncasecmp _strnicmp static inline int getpagesize(void) {
Update FIPS related build instructions. This also links back to the new location that lists the cert and security policy.
OpenSSL FIPS support ==================== -This release of OpenSSL includes a cryptographic module that is intended to be +This release of OpenSSL includes a cryptographic module that can be FIPS 140-2 validated. The module is implemented as an OpenSSL provider. A provider is essentially a dynamically loadable module w...
Update _TZ3000_gbm10jnj_3gang_remote.json
{ "schema": "devcap1.schema.json", - "manufacturername": "_TZ3000_gbm10jnj", - "modelid": "TS0043", + "manufacturername": ["_TZ3000_gbm10jnj", "_TZ3000_w8jwkczz"], + "modelid": ["TS0043", "TS0043"], "product": "Tuya 3 gangs switch battery", "sleeper": false, "status": "Gold",
Use newest features
@@ -86,16 +86,16 @@ enum class FeeEstimateMode; /** (client) version numbers for particular wallet features */ enum WalletFeature { - FEATURE_BASE = 10500, // the earliest version new wallets supports (only useful for getwalletinfo's clientversion output) + FEATURE_BASE = 10000, // the earliest version new wallets supp...
Corrected RPATH to be compatible with multiple ROCm versions installed.
@@ -64,7 +64,7 @@ fi #Set common rpath for build scripts if [ $AOMP_USE_HIPVDI == 0 ] ; then - AOMP_ORIGIN_RPATH="-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON -DCMAKE_INSTALL_RPATH=\$ORIGIN:\$ORIGIN/../hcc/lib:\$ORIGIN/../hsa/lib:$AOMP_INSTALL_DIR/lib:$AOMP_INSTALL_DIR/hcc/lib:$AOMP_INSTALL_DIR/hsa/lib" + AOMP_ORIGIN_RPATH="...
sysdeps/managarm: Uname should return Managarm, not managarm
@@ -4881,7 +4881,7 @@ int sys_memfd_create(const char *name, int flags, int *fd) { int sys_uname(struct utsname *buf) { __ensure(buf); mlibc::infoLogger() << "\e[31mmlibc: uname() returns static information\e[39m" << frg::endlog; - strcpy(buf->sysname, MLIBC_SYSTEM_NAME); + strcpy(buf->sysname, "Managarm"); strcpy(buf-...
chat-cli: properly decode double-bound glyphs Resolves glyph to most recently seen target.
|= =glyph ^- (unit target) =+ lax=(~(get ju binds) glyph) - :: no circle. + :: no circle ?: =(~ lax) ~ - :: single circle. - ?: ?=([* ~ ~] lax) `n.lax - :: in case of multiple audiences, pick the most recently active one. - |- ^- (unit target) - ~& %multi-bind-support-missing - ?~ grams ~ - ~ - ::TODO - :: =+ pan=(silt...
haskell-cabal-sandboxing: adjust remove_binding which is now called differently
@@ -138,8 +138,8 @@ if (NOT BUILD_STATIC) endif (ENABLE_KDB_TESTING) endif (BUILD_TESTING) else (NOT BUILD_STATIC) - remove_binding (haskell "BUILD_STATIC is currently not compatible with the haskell bindings") + exclude_binding (haskell "BUILD_STATIC is currently not compatible with the haskell bindings") endif (NOT B...
NMP datetime: always put usecs in rsp.
@@ -379,23 +379,14 @@ datetime_format(const struct os_timeval *tv, const struct os_timezone *tz, cp = ostr; rlen = olen; - rc = snprintf(cp, rlen, "%04d-%02d-%02dT%02d:%02d:%02d", - ct.year, ct.mon, ct.day, ct.hour, ct.min, ct.sec); + rc = snprintf(cp, rlen, "%04d-%02d-%02dT%02d:%02d:%02d.%06d", + ct.year, ct.mon, ct.d...
quic: Clean quic_crypto_setup_cipher Type: fix
@@ -161,20 +161,19 @@ quic_crypto_setup_cipher (quicly_crypto_engine_t * engine, int ret; *aead_ctx = NULL; - /* generate new header protection key */ if (hp_ctx != NULL) { *hp_ctx = NULL; - if ((ret = - ptls_hkdf_expand_label (hash, hpkey, aead->ctr_cipher->key_size, + ret = ptls_hkdf_expand_label (hash, hpkey, aead->...
http_server: uptime: add Content-Type
@@ -97,6 +97,7 @@ static void cb_uptime(mk_request_t *request, void *data) out_size = flb_sds_len(out_buf); mk_http_status(request, 200); + flb_hs_add_content_type_to_req(request, FLB_HS_CONTENT_TYPE_JSON); mk_http_send(request, out_buf, out_size, NULL); mk_http_done(request);
refactor: Adapted to linux version issue
@@ -45,7 +45,7 @@ START_TEST(test_006GetBalance_0001GetSuccess) cur_balance_wei = BoatEthWalletGetBalance(g_ethereum_wallet_ptr, TEST_RECIPIENT_ADDRESS); result = BoatEthParseRpcResponseStringResult(cur_balance_wei, &parse_result); - ck_assert_ptr_nonnull(parse_result.field_ptr); + ck_assert_ptr_eq(parse_result.field_p...
Fix nvm_get_device_settings to not error out when unsupported fw cmds are called Fixes
@@ -858,16 +858,26 @@ NVM_API int nvm_get_device_settings(const NVM_UID device_uid, } ReturnCode = FwCmdGetOptionalConfigurationDataPolicy(pDimm, &OptionalDataPolicyPayload); - if (EFI_ERROR(ReturnCode)) + if (ReturnCode == EFI_UNSUPPORTED) { + p_settings->first_fast_refresh = 0; + } else { + if (EFI_ERROR(ReturnCode))...
getopt support Also some other util functions that are implemented without any new syscalls. These functions however don't have tests in the libc suite.
@@ -504,13 +504,26 @@ add_enclave_library( ${MUSLSRC}/math/trunc.c ${MUSLSRC}/math/truncf.c ${MUSLSRC}/math/truncl.c + ${MUSLSRC}/misc/a64l.c ${MUSLSRC}/misc/basename.c ${MUSLSRC}/misc/dirname.c + ${MUSLSRC}/misc/ffs.c + ${MUSLSRC}/misc/ffsl.c + ${MUSLSRC}/misc/ffsll.c + ${MUSLSRC}/misc/get_current_dir_name.c + ${MUSLS...
Update clear package sparing cli message An incorrect string was used to preface the status of clear package sparing command in cli output. This string is now updated.
@@ -205,7 +205,7 @@ typedef struct _CMD_DISPLAY_OPTIONS { #define CLI_INFO_FATAL_MEDIA_ERROR_INJECT_ERROR L"Create a media fatal error" #define CLI_INFO_DIRTY_SHUT_DOWN_INJECT_ERROR L"Trigger a dirty shut down" #define CLI_INFO_TEMPERATURE_INJECT_ERROR L"Set temperature" -#define CLI_INFO_CLEAR_PACKAGE_SPARING_INJECT_E...
Fix missing macro parameter
@@ -238,9 +238,9 @@ PhShowMessage2( ... ); -#define PhShowError2(hWnd, Format, ...) PhShowMessage2(hWnd, TDCBF_CLOSE_BUTTON, TD_ERROR_ICON, Format, __VA_ARGS__) -#define PhShowWarning2(hWnd, Format, ...) PhShowMessage2(hWnd, TDCBF_CLOSE_BUTTON, TD_WARNING_ICON, Format, __VA_ARGS__) -#define PhShowInformation2(hWnd, For...
TEST: refactored the getrim test of bop insert.
#!/usr/bin/perl use strict; -use Test::More tests => 206; +use Test::More tests => 406; use FindBin qw($Bin); use lib "$Bin/lib"; use MemcachedTest; @@ -78,8 +78,7 @@ sub bop_insert_getrim_trim { } # BOP test global variables -my $count = 100; -my $bkey; +my $count = 200; $cmd = "get bkey"; $rst = "END"; mem_cmd_is($so...
BugID:18920199:auto add the compile switcher CONFIG_NO_TCPIP if no sal module selected for normal ST board
@@ -29,6 +29,8 @@ AOS_NETWORK_SAL ?= y ifeq (y,$(AOS_NETWORK_SAL)) $(NAME)_COMPONENTS += sal netmgr module ?= wifi.mk3060 +else +GLOBAL_DEFINES += CONFIG_NO_TCPIP endif ifeq ($(COMPILER), armcc)
BugID:21055388:Fix coap_io.c WhiteScan issue
@@ -1274,8 +1274,11 @@ coap_write(coap_context_t *ctx, coap_retransmit(ctx, coap_pop_next(ctx)); nextpdu = coap_peek_next(ctx); } - +#if defined(LIBCOAP_RELIABLE_CONNECT) || defined(LIBCOAP_SERVER_SUPPORT) if (nextpdu && (timeout == 0 || nextpdu->t - ( now - ctx->sendqueue_basetime ) < timeout)) +#else + if (nextpdu) +...
chat: fix sigil overlay perf issue Changes the sigil overlay to only start checking for its position when it becomes visible. Fixes:
@@ -19,31 +19,26 @@ export class OverlaySigil extends Component { this.profileShow = this.profileShow.bind(this); this.profileHide = this.profileHide.bind(this); + this.updateContainerInterval = null; + } + + profileShow() { + this.updateContainerOffset(); + this.setState({ profileClicked: true }); this.updateContainer...
Add certificate verify check
@@ -8832,7 +8832,8 @@ run_test "TLS1.3: Test client hello msg work - openssl" \ -c "ECDH curve: x25519" \ -c "=> ssl_tls1_3_process_server_hello" \ -c "<= parse encrypted extensions" \ - -c "Certificate verification flags clear" + -c "Certificate verification flags clear" \ + -c "<= parse certificate verify" requires_g...
fix arguments for the heap visitor function, issue
@@ -506,7 +506,7 @@ typedef struct mi_visit_blocks_args_s { static bool mi_heap_area_visitor(const mi_heap_t* heap, const mi_heap_area_ex_t* xarea, void* arg) { mi_visit_blocks_args_t* args = (mi_visit_blocks_args_t*)arg; - if (!args->visitor(heap, &xarea->area, NULL, xarea->area.block_size, arg)) return false; + if (!...
fix: add BoatIotSdkInit(); in test_001CreateWallet_0017CreateSixWalletUnloadTwoCreateOne
@@ -502,6 +502,7 @@ END_TEST START_TEST(test_001CreateWallet_0017CreateSixWalletUnloadTwoCreateOne) { BSINT32 rtnVal; + BoatIotSdkInit(); BoatPlatONWalletConfig wallet = get_platon_wallet_settings(); extern BoatIotSdkContext g_boat_iot_sdk_context; wallet.prikeyCtx_config.prikey_genMode = BOAT_WALLET_PRIKEY_GENMODE_INT...
apps/graphics/pdcurses: Cast to uin16_t before shifting uint8_t value.
@@ -515,7 +515,7 @@ static inline void PDC_copy_glyph(FAR struct pdc_fbstate_s *fbstate, for (n = lshift; n < npixels; n += 8) { *dptr++ = (shifted >> 8); - shifted = (shifted << 8) | sptr[1] << lshift; + shifted = (shifted << 8) | (uint16_t)sptr[1] << lshift; sptr++; } #else
fixed wording in help menu
@@ -4684,7 +4684,7 @@ printf("%s %s (C) %s ZeroBeat\n" " 4: AUTHENTICATON\n" " 8: ASSOCIATION\n" " 16: BEACON\n" - "--poweroff : once hcxdumptool finished, power off system\n" + "--poweroff : once hcxdumptool terminated, power off system\n" "--help : show this help\n" "--version : show version\n" "\n",
OcMachoLib: Verify FileSize can handle at least the header and the minimal LC size.
@@ -37,6 +37,7 @@ MachoInitializeContext ( OUT OC_MACHO_CONTEXT *Context ) { + UINTN MinCommandsSize; UINTN TopOfCommands; UINTN Index; CONST MACH_LOAD_COMMAND *Command; @@ -45,7 +46,10 @@ MachoInitializeContext ( // Verify MACH-O Header sanity. // TopOfCommands = ((UINTN)MachHeader->Commands + MachHeader->CommandsSize...
Fix typo in send_request.
@@ -1853,11 +1853,11 @@ send_request(struct interface *ifp, int v4, pb, spb, len, is_ss; if(ifp == NULL) { - struct interface *ifp_auxn; - FOR_ALL_INTERFACES(ifp_auxn) { - if(if_up(ifp_auxn)) + struct interface *ifp_aux; + FOR_ALL_INTERFACES(ifp_aux) { + if(!if_up(ifp_aux)) continue; - send_request(ifp_auxn, prefix, pl...
Initial commit for lp solution guided colouring
@@ -42,6 +42,7 @@ double * pluto_fusion_constraints_feasibility_solve(PlutoConstraints *cst, Pluto bool colour_scc(int scc_id, int *colour, int c, int stmt_pos, int pv, PlutoProg *prog); void pluto_print_colours(int *colour,PlutoProg *prog); PlutoMatrix *par_preventing_adj_mat; +PlutoMatrix *dep_distance_mat; static do...
modinfo BUGFIX uninitialized variable
@@ -649,7 +649,7 @@ sr_module_oper_data_update(struct sr_mod_info_mod_s *mod, sr_sid_t *sid, const c const char *sub_xpath; char *parent_xpath = NULL; uint16_t i, j; - struct ly_set *set; + struct ly_set *set = NULL; struct lyd_node *diff = NULL; if (!(opts & SR_OPER_NO_STORED)) { @@ -705,8 +705,6 @@ sr_module_oper_dat...
Fix mouse hitting when scrolled
@@ -994,10 +994,29 @@ void app_move_cursor_relative(App_state* a, Isz delta_y, Isz delta_x) { a->is_draw_dirty = true; } +Usz confine_scrolled_mouse_hit(Usz field_len, Usz visual_coord, + int scroll_offset) { + if (field_len == 0) + return 0; + if (scroll_offset < 0) { + if ((Usz)(-scroll_offset) <= visual_coord) { + v...
changed up how we are executing hoon. This fixes the issue we see with rpevious versions
@@ -1012,11 +1012,12 @@ _cw_eval_commence(c3_i argc, c3_c* argv[]) c3_c* line = NULL; size_t len = 0; ssize_t nread; - c3_c* evl_c = "%- sell !> "; + //c3_c* evl_c = "%- sell !> \n"; + c3_c* evl_c = ""; while((nread = getline(&line, &len, stdin)) != -1) { - len = asprintf(&evl_c, "%s\n%s", evl_c, line); + len = asprint...
[kernel] Fix another initialization problem for p[0] in NewtonEulerDS
@@ -530,19 +530,16 @@ void NewtonEulerDS::initializeNonSmoothInput(unsigned int level) { DEBUG_PRINTF("NewtonEulerDS::initializeNonSmoothInput(unsigned int level) for level = %i\n",level); - if(_p[level]->size() == 0) + if(!_p[level]) { if(level == 0) { - _p[0]->resize(_qDim); + _p[level].reset(new SiconosVector(_qDim)...
Fix typo in comment Author: Hou, Zhijie
@@ -430,7 +430,7 @@ WaitForProcSignalBarrier(uint64 generation) * cannot safely access the barrier generation inside the signal handler as * 64bit atomics might use spinlock based emulation, even for reads. As this * routine only gets called when PROCSIG_BARRIER is sent that won't cause a - * lot fo unnecessary work. +...
hv: fix pcpu_id mask issue in smp_call_function() INVALID_BIT_INDEX has 16 bits only, which removes all pcpu_id that is >= 16 from the destination mask.
@@ -43,7 +43,7 @@ void smp_call_function(uint64_t mask, smp_call_func_t func, void *data) struct smp_call_info_data *smp_call; /* wait for previous smp call complete, which may run on other cpus */ - while (atomic_cmpxchg64(&smp_call_mask, 0UL, mask & INVALID_BIT_INDEX) != 0UL); + while (atomic_cmpxchg64(&smp_call_mask...
Disabled symbol_presence test on NonStop due to different nm format. CLA: trivial Fixes
@@ -14,6 +14,7 @@ use OpenSSL::Test::Utils; setup("test_symbol_presence"); +plan skip_all => "Test is disabled on NonStop" if config('target') =~ m|^nonstop|; plan skip_all => "Only useful when building shared libraries" if disabled("shared");
Badger2040: Use bitmap measure functions.
@@ -360,12 +360,12 @@ namespace pimoroni { } int32_t Badger2040::measure_text(std::string message, float s) { - if (_bitmap_font) return 0; + if (_bitmap_font) return bitmap::measure_text(_bitmap_font, message, s); return hershey::measure_text(_font, message, s); } int32_t Badger2040::measure_glyph(unsigned char c, flo...
VERSION bump to version 2.2.10
@@ -64,7 +64,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 2) set(SYSREPO_MINOR_VERSION 2) -set(SYSREPO_MICRO_VERSION 9) +set(SYSREPO_MICRO_VERSION 10) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MIC...
Pass key buffer size into psa_aead_setup
@@ -42,6 +42,7 @@ static psa_status_t psa_aead_setup( mbedtls_psa_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, + size_t key_buffer_size, psa_algorithm_t alg ) { psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; @@ -50,6 +51,8 @@ static psa_status_t psa_aead_setup( m...
gpios_to_zephyr_dts: drop IOEX during conversion Drop IOEX and IOEX_INT macros during GPIO conversion. BRANCH=none TEST=run for guybrush
maybe_parens(strip_zero_ors(#opts)), #name); #define PIN(A, B) "gpio" #A " " #B #define ALTERNATE(...) +#define IOEX(...) +#define IOEX_INT(...) /* Strip out " | 0" and "0 | " from a string */ static char *strip_zero_ors(const char *s)
tools BUGFIX install yangre man page
@@ -11,4 +11,5 @@ set(format_sources add_executable(yangre ${resrc} ${compatsrc}) target_link_libraries(yangre yang) install(TARGETS yangre DESTINATION ${CMAKE_INSTALL_BINDIR}) +install(FILES ${PROJECT_SOURCE_DIR}/tools/re/yangre.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) target_include_directories(yangre BEFORE PRIVA...
Enable SNI by default in unbound-anchor.
@@ -187,7 +187,7 @@ usage(void) printf("-c file cert file, default %s\n", ROOT_CERT_FILE); printf("-l list builtin key and cert on stdout\n"); printf("-u name server in https url, default %s\n", URLNAME); - printf("-S use SNI for the https connection\n"); + printf("-S do not use SNI for the https connection\n"); printf...
show-vat: change output formatting to match +vats
%- flop ^- tang =/ pax=path /(scot %p p.bec)/[desk]/(scot %da now) =+ .^([lal=@tas num=@ud] cx+(weld pax /sys/kelvin)) -:~ 'sys.kelvin:' - leaf/"[%{<lal>} %{<num>}]" - 'desk.bill:' +:~ '/sys/kelvin:' + leaf/"[{<lal>} {<num>}]" + '/desk/bill:' (sell !>(.^((list dude:gall) cx+(weld pax /desk/bill)))) ==
Set default OpenVR far plane to 100.;
@@ -206,7 +206,7 @@ static bool openvr_init(float offset, uint32_t msaa) { state.input->GetInputSourceHandle("/user/hand/right", &state.inputSources[DEVICE_HAND_RIGHT]); state.clipNear = 0.1f; - state.clipFar = 30.f; + state.clipFar = 100.f; state.offset = state.compositor->GetTrackingSpace() == ETrackingUniverseOrigin...
Skip more 025-debug tests on Windows Redirecting stderr doesn't seem to work. Also fix skip count.
@@ -41,21 +41,23 @@ BEGIN { } } -my $stderr_dumpfile = catfile( working_dir(), 'lucy_garbage' ); -unlink $stderr_dumpfile; -sysopen( STDERR, $stderr_dumpfile, O_CREAT | O_WRONLY | O_EXCL ) - or die "Failed to redirect STDERR"; - -DEBUG_PRINT("Roach Motel"); -like( slurp_file($stderr_dumpfile), qr/Roach Motel/, "DEBUG_P...
Updater: Fix incorrect changelog highlighting
@@ -325,8 +325,6 @@ INT_PTR CALLBACK TextDlgProc( if (uMsg == WM_INITDIALOG) { context = PhAllocateZero(sizeof(PH_UPDATER_COMMIT_CONTEXT)); - context->WindowHandle = hwndDlg; - context->CommitHash = PhReferenceObject(((PPH_UPDATER_CONTEXT)lParam)->CommitHash); // HACK PhSetWindowContext(hwndDlg, PH_WINDOW_CONTEXT_DEFAU...
Add comment about rac.Reader using io.ReaderAt
@@ -247,6 +247,15 @@ func (b *rNode) valid() bool { type Reader struct { // ReadSeeker is where the RAC-encoded data is read from. // + // It may also implement io.ReaderAt, in which case its ReadAt method will + // be preferred over combining Read and Seek, as the former is presumably + // more efficient. This is opti...
Fix typo in metadata_hash_entries fcn
@@ -69,7 +69,7 @@ struct ocf_metadata_hash_ctrl { /* * get entries for specified metadata hash type */ -static ocf_cache_line_t ocf_metadata_hash_get_entires( +static ocf_cache_line_t ocf_metadata_hash_get_entries( enum ocf_metadata_segment type, ocf_cache_line_t cache_lines) { @@ -242,7 +242,7 @@ static int ocf_metada...
Pythonize some yacare scripts
@@ -1161,7 +1161,7 @@ macro _YCR_GENERATE_CONFIGS_INTL(Package, App, Configs...) { } macro _YCR_GENERATE_CONFIGS(Package, App) { - .CMD=$_YCR_GENERATE_CONFIGS_INTL($Package $App ${pre=etc/yandex/maps/yacare/:App.conf} ${pre=etc/logrotate.d/:App} ${pre=etc/template_generator/templates/etc/logrotate.d/:App} ${pre=etc/mon...
ci: fix import path
@@ -18,4 +18,4 @@ def monkeypatch_module(request: FixtureRequest) -> MonkeyPatch: @pytest.fixture(scope='module', autouse=True) def replace_dut_class(monkeypatch_module: MonkeyPatch) -> None: - monkeypatch_module.setattr('pytest_embedded_idf.dut.IdfDut', PanicTestDut) + monkeypatch_module.setattr('pytest_embedded_idf.I...
Restyled: Use `clang-format` 9
@@ -2,9 +2,8 @@ restylers_version: '20191216' auto: true restylers: - # TODO: Uncomment the lines below, when we switch to `clang-format` 9. - # - clang-format: - # image: restyled/restyler-clang-format:v9.0.0 + - clang-format: + image: restyled/restyler-clang-format:v9.0.0 - prettier - prettier-markdown:
doc: say that INI is not yet ready
@@ -10,8 +10,10 @@ for highlighted items. Please add your name to every contribution syntax: ", thanks to <myname>". - -<<`scripts/generate-news-entry`>> +- guid: ea3ade20-0a27-4c4b-a922-6b29462a1fc5 +- author: Markus Raab +- pubDate: Thu, 21 Dec 2017 21:17:38 +0100 +- shortDesc: We are proud to release Elektra 0.8.21....
mbedtls/alt: fix cfb128 test cases cfb128 only requires encryption key. So it doesn't need to use decrypt key.
@@ -204,9 +204,8 @@ int mbedtls_aes_crypt_cfb128(mbedtls_aes_context *ctx, if (mode == MBEDTLS_AES_ENCRYPT) { ret = sl_aes_encrypt(ctx->shnd, &aes_in, &aes_param, ctx->enc_key_idx, &aes_out); } else if (mode == MBEDTLS_AES_DECRYPT) { - ret = sl_aes_decrypt(ctx->shnd, &aes_in, &aes_param, ctx->dec_key_idx, &aes_out); + ...
Add description of the new routine.
@@ -575,6 +575,7 @@ apxServiceControl(APXHANDLE hService, DWORD dwControl, UINT uMsg, return FALSE; } +/* Wait one second and check that the service has stopped, returns TRUE if stopped FASE otherwise */ BOOL apxServiceCheckStop(APXHANDLE hService) {
garden: update docket version
glob-http+['https://bootstrap.urbit.org/glob-0v5.fdf99.nph65.qecq3.ncpjn.q13mb.glob' 0v5.fdf99.nph65.qecq3.ncpjn.q13mb] ::glob-ames+~zod^0v0 base+'grid' - version+[1 0 0] + version+[1 0 1] website+'https://tlon.io' license+'MIT' ==
OPENSSL_s390xcap.pod: list msa9 facility bit (155)
@@ -72,6 +72,7 @@ the numbering is continuous across 64-bit mask boundaries. #134 1<<57 vector packed decimal facility #135 1<<56 vector enhancements facility 1 #146 1<<45 message-security assist extension 8 + #155 1<<36 message-security assist extension 9 kimd : # 1 1<<62 KIMD-SHA-1
AStyle fix only.
@@ -121,7 +121,8 @@ typedef struct { NRF_UARTE_Type *pReg; nrf_ppi_channel_t ppiChannel; int32_t uartHandle; - bool hwfcSuspended; int32_t eventQueueHandle; + bool hwfcSuspended; + int32_t eventQueueHandle; uint32_t eventFilter; void (*pEventCallback)(int32_t, uint32_t, void *); void *pEventCallbackParam;
libbpf-tools: update biostacks for libbpf 1.0 Switch to libbpf 1.0 mode and adapt libbpf API usage accordingly.
@@ -146,14 +146,9 @@ int main(int argc, char **argv) if (err) return err; + libbpf_set_strict_mode(LIBBPF_STRICT_ALL); libbpf_set_print(libbpf_print_fn); - err = bump_memlock_rlimit(); - if (err) { - fprintf(stderr, "failed to increase rlimit: %d\n", err); - return 1; - } - obj = biostacks_bpf__open(); if (!obj) { fpri...
admin/meta-packages: temp. disable slepc for intel
@@ -535,8 +535,8 @@ Requires: petsc-%{compiler_family}-impi%{PROJ_DELIM} Requires: petsc-intel-impi%{PROJ_DELIM} Requires: scalapack-%{compiler_family}-impi%{PROJ_DELIM} Requires: scalapack-intel-impi%{PROJ_DELIM} -Requires: slepc-%{compiler_family}-impi%{PROJ_DELIM} -Requires: slepc-intel-impi%{PROJ_DELIM} +### Requir...
Enable assert on segwalrep pipeline. Author: Xin Zhang Author: Ashwin Agrawal
@@ -91,7 +91,7 @@ jobs: MAKE_TEST_COMMAND: PGOPTIONS='-c optimizer=on' installcheck-world BLDWRAP_POSTGRES_CONF_ADDONS: "fsync=off" TEST_OS: centos - CONFIGURE_FLAGS: "--enable-segwalrep" + CONFIGURE_FLAGS: "((configure_flags)) --enable-segwalrep" - name: icw_planner_centos6 plan: @@ -110,7 +110,7 @@ jobs: MAKE_TEST_CO...
build: bump to v0.12.3
@@ -22,7 +22,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/library") # Fluent Bit Version set(FLB_VERSION_MAJOR 0) set(FLB_VERSION_MINOR 12) -set(FLB_VERSION_PATCH 2) +set(FLB_VERSION_PATCH 3) set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VERSION_PATCH}") # Build Options
apps/graphics/pdcurs34: Correct logic that clears the screen. For the casee of BPP < 8, it was writing beyond the end of the framebuffer and clobbering things.
@@ -624,7 +624,6 @@ void PDC_transform_line(int lineno, int x, int len, const chtype *srcp) void PDC_clear_screen(FAR struct pdc_fbstate_s *fbstate) { FAR uint8_t *line; - FAR pdc_color_t *dest; int row; int col; @@ -633,7 +632,48 @@ void PDC_clear_screen(FAR struct pdc_fbstate_s *fbstate) int ret; #endif - /* Write th...
Mention of "nodejs" configure option in help.
@@ -55,4 +55,7 @@ cat << END ruby OPTIONS configure Ruby module run "./configure ruby --help" to see available options + nodejs OPTIONS configure Node.js module + run "./configure nodejs --help" to see available options + END
fix use of UNDEFINED_VAL which is invalid when nan tagging is disabled
@@ -3955,7 +3955,7 @@ static void addToAttributeGroup(Compiler* compiler, if(IS_OBJ(value)) wrenPushRoot(vm, AS_OBJ(value)); Value groupMapValue = wrenMapGet(compiler->attributes, group); - if(groupMapValue == UNDEFINED_VAL) + if(IS_UNDEFINED(groupMapValue)) { groupMapValue = OBJ_VAL(wrenNewMap(vm)); wrenMapSet(vm, com...
Adjusted Wording, Added link to GH Actions
@@ -62,13 +62,17 @@ After opening the `<board>.dts.pre.tmp:<line number>` and scrolling down to the ### Split Keyboard Halves Unable to Pair -The previous method of pairing split keyboard halves involved a **BLE Reset** with a specific combination of held keys that would remove all bluetooth profile information from th...
Fix typo in doc/man3/EVP_EncrypInit.pod In the example section. CLA: trivial
@@ -549,7 +549,7 @@ Encrypt a string using IDEA: unsigned char key[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; unsigned char iv[] = {1,2,3,4,5,6,7,8}; char intext[] = "Some Crypto Text"; - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx; FILE *out; ctx = EVP_CIPHER_CTX_new();
fcgi: fix deferring. we should defer the exit process ONLY if the socket is not empty.
@@ -565,7 +565,9 @@ int fcgi_exit(struct fcgi_handler *handler) * some corruption. If there is still some data enqueued, just * defer the exit process. */ - if (handler->eof == MK_FALSE && handler->active == MK_TRUE) { + if (mk_channel_is_empty(handler->cs->channel) != 0 && + handler->eof == MK_FALSE && + handler->acti...
common: body: Use IS_ENABLED BRANCH=none TEST=buildall
@@ -92,7 +92,7 @@ static int calculate_motion_confidence(uint64_t var) /* Change the motion state and commit the change to AP. */ void body_detect_change_state(enum body_detect_states state) { -#ifdef CONFIG_GESTURE_HOST_DETECTION + if (IS_ENABLED(CONFIG_GESTURE_HOST_DETECTION)) { struct ec_response_motion_sensor_data ...
zero some vars befor run cap or pcpafile
@@ -1166,7 +1166,7 @@ if(essidoutname != NULL) zeigerold = zeiger; qsort(apstaessidliste, apstaessidcount, APSTAESSIDLIST_SIZE, sort_apstaessidlist_by_essid); wecl = strlen(weakcandidate); - if(wecl < 64) + if((wecl > 0) && (wecl < 64)) { fprintf(fhoutlist, "%s\n", weakcandidate); } @@ -6900,6 +6900,12 @@ maxtv.tv_usec...
Fix zoom reset to correct default
@@ -154,7 +154,7 @@ const onWindowZoom = (event, zoomType) => { } else if (zoomType === "out") { webFrame.setZoomLevel(currentLevel - 1); } else { - webFrame.setZoomLevel(1); + webFrame.setZoomLevel(0); } };
config_format: remove unused variable
@@ -115,7 +115,6 @@ int flb_cf_plugin_property_add(struct flb_cf *cf, char *k_buf, size_t k_len, char *v_buf, size_t v_len) { - int i; int ret; flb_sds_t key; flb_sds_t val;
Make constraint independent of inverted or non-inverted reset
@@ -11,9 +11,9 @@ set_max_delay -from [get_pins a0/*ddr3_reset_n_q_reg/C] -to [get_pins {a0/*ddr3s set_min_delay -from [get_pins a0/*ddr3_reset_n_q_reg/C] -to [get_pins {a0/*ddr3sdram_bank1/inst/axi_ctrl_top_0/axi_ctrl_reg_bank_0/inst_reg[3].axi_ctrl_reg/data_reg*/S}] -0.5 ## -set_false_path -from [get_pins a0/donut_i/...