message
stringlengths
6
474
diff
stringlengths
8
5.22k
Test aborting external entity value parser
@@ -3771,6 +3771,61 @@ START_TEST(test_external_entity_values) } END_TEST +static int XMLCALL +external_entity_value_aborter(XML_Parser parser, + const XML_Char *context, + const XML_Char *UNUSED_P(base), + const XML_Char *systemId, + const XML_Char *UNUSED_P(publicId)) +{ + const char *text1 = + "<!ELEMENT doc EMPTY>\...
cloud: avoid calling directly "reconnect" function by the cloud manager Cloud reconnect closes a connection that triggers a response handler of requests. The response handler removes delayed callbacks, and it can remove currently used callbacks.
#define PING_DELAY_ON_TIMEOUT (PING_DELAY / 5) static void cloud_start_process(oc_cloud_context_t *ctx); +static oc_event_callback_retval_t reconnect(void *data); static oc_event_callback_retval_t cloud_register(void *data); static oc_event_callback_retval_t cloud_login(void *data); static oc_event_callback_retval_t re...
`http2client.c`: a 0-byte data frame is ok in message_body_forbidden cases. This makes the check introduced in h2o/h2o#2971 slightly less strict.
@@ -470,7 +470,7 @@ static int handle_data_frame(struct st_h2o_http2client_conn_t *conn, h2o_http2_f * All other responses do include a message body, although the body might * be of zero length. */ - if (stream->input.message_body_forbidden) { + if (stream->input.message_body_forbidden && payload.length != 0) { stream_...
Remove OpenLab CI from README as it's EOL. Thanks OpenLab for providing ARM regression tests service for a very long time.
**Concourse Pipeline** [![Concourse Build Status](https://prod.ci.gpdb.pivotal.io/api/v1/teams/main/pipelines/gpdb_master/badge)](https://prod.ci.gpdb.pivotal.io/teams/main/pipelines/gpdb_master) | **Travis Build** [![Travis Build Status](https://travis-ci.org/greenplum-db/gpdb.svg?branch=master)](https://travis-ci.org...
refine config; start helperd
@@ -2,7 +2,7 @@ To add optional support for mounting \beegfs{} file systems, an additional \pkgmgr{} repository must be configured. In this recipe, it is assumed that the \beegfs{} file system is hosted by servers that are pre-existing and are not part of the install process. Installing the client package triggers -a b...
test-suite: disable dynamic lib check, broken by
@@ -105,6 +105,7 @@ setup() { } @test "[$testname] Verify dynamic library available in ${PKG}_LIB ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" { + skip "no longer checking for specific dynamic lib" LIB=${PKG}_LIB if [ -z ${!LIB} ];then
Add RV64 support to CMakeLists.txt based on loongarch64
@@ -12,6 +12,7 @@ option(TEGRAX1 "Set to ON if targeting an Tegra X1 based device" ${TEGRAX1}) option(PHYTIUM "Set to ON if targeting an Phytium (D2000 or FT2000/4) based device" ${PHYTIUM}) option(SD845 "Set to ON if targeting a Snapragon 845 based device" ${SD845}) option(LARCH64 "Set to ON if targeting an Loongarch6...
OVR() fix for wren
@@ -1558,6 +1558,17 @@ static void callWrenTick(tic_mem* tic) wrenEnsureSlots(vm, 1); wrenSetSlotHandle(vm, 0, game_class); wrenCall(vm, update_handle); + + // call OVR() callback for backward compatibility + if(overline_handle) + { + OVR(tic) + { + wrenEnsureSlots(vm, 1); + wrenSetSlotHandle(vm, 0, game_class); + wren...
touchpad_elan: Ensure we at least have 1k of shared memory Debugging commands may request buffers up to that size. BRANCH=poppy TEST=make buildall -j
@@ -574,6 +574,9 @@ allowed_command_hashes[TOUCHPAD_ELAN_DEBUG_NUM_CMD][SHA256_DIGEST_SIZE] = { }, }; +/* Debugging commands need to allocate a <=1k buffer. */ +SHARED_MEM_CHECK_SIZE(1024); + int touchpad_debug(const uint8_t *param, unsigned int param_size, uint8_t **data, unsigned int *data_size) {
test(client-encryption): drop collection before each test run
@@ -33,7 +33,12 @@ describe('ClientEncryption', function() { beforeEach(() => { client = new MongoClient('mongodb://localhost:27017/test', { useNewUrlParser: true }); - return client.connect(); + return client.connect().then(() => + client + .db('client') + .collection('encryption') + .drop() + ); }); afterEach(() => {...
apps/wm_test: Add string null check logic in get_auth_type result[2] can be null when the network is not enterprise WiFi. Therefore, we add null check logic of result[2], not to be used as an input of strcmp, which causes crash in specific board.
@@ -313,12 +313,13 @@ wifi_manager_ap_auth_type_e get_auth_type(const char *method) int list_size = sizeof(wifi_test_auth_method)/sizeof(wifi_test_auth_method[0]); for (; i < list_size; i++) { if ((strcmp(method, wifi_test_auth_method[i]) == 0) || (strcmp(result[0], wifi_test_auth_method[i]) == 0)) { + if (result[2] !=...
imxrt: strategically disable/enable interrupts in syscall
@@ -271,6 +271,7 @@ _start_1: .type _syscallend, %function _syscall_dispatch: + cpsid if stmdb sp!, {r4-r8} mrs r0, psp @@ -278,8 +279,6 @@ _syscall_dispatch: orr r7, r7, #1 stmdb sp!, {r1-r8} - add r6, r0, #(18 * 4) - push {r6} sub sp, sp, #(18 * 4) mov r5, #(17 * 4) @@ -309,7 +308,9 @@ _syscall_dispatch0: bx lr _sysc...
[CUDA] Launch with correct block and grid size
@@ -258,6 +258,15 @@ pocl_cuda_run(void *dptr, _cl_command_node* cmd) } // Launch kernel - result = cuLaunchKernel(function, 1, 1, 1, 1, 1, 1, 0, NULL, params, NULL); + struct pocl_context pc = cmd->command.run.pc; + result = cuLaunchKernel( + function, + pc.num_groups[0], + pc.num_groups[1], + pc.num_groups[2], + cmd-...
Update netdb-white.txt 52.83.192.224:13655> 151.80.36.21:13655
52.80.150.210:13655 52.80.193.246:13654 67.229.161.178:13655 -52.83.192.224:13655 54.39.28.77:13654 59.110.170.149:13655 83.219.150.219:16775 144.202.120.160:13655 148.251.139.197:16800 148.251.189.108:13655 +151.80.36.21:13655 172.94.63.18:9797 172.94.63.25:25000 172.105.216.53:3356
h2olog: make -t to accept a glob pattern like "quicly:*"
@@ -28,6 +28,7 @@ extern "C" { #include <unistd.h> #include <stdarg.h> #include <sys/time.h> +#include <fnmatch.h> #include "h2o/memory.h" #include "h2o/version.h" } @@ -44,9 +45,10 @@ Usage: h2olog -p PID Optional arguments: -d Print debugging information (-dd shows more) -h Print this help and exit - -l Print the lis...
Move encrypted files as raw in integration tests. The encryption key should not be changed when moving a file so no need to decrypt/encrypt.
@@ -222,7 +222,7 @@ sub forceStorageMove } else { - $oStorage->put($strDestinationPath, ${$oStorage->get($strSourcePath)}); + $oStorage->put($strDestinationPath, ${$oStorage->get($strSourcePath, {bRaw => true})}, {bRaw => true}); $oStorage->remove($strSourcePath); } }
don't try locking disabled ramp elements because of the differences in Maya and Houdini ramp element indexing
@@ -1214,6 +1214,12 @@ GetAttrOperation::leaf(const HAPI_ParmInfo &parmInfo) if(exists) { + // if it's not a ramp, go ahead and lock based on disable + // leave the ramps alone cause there are other UI issues that complicate things + if(!(parmInfo.isChildOfMultiParm + && parentParmInfo + && parentParmInfo->rampType != ...
Fix gpexpand help usage In commit the --novacuum option is removed, however the help page of gpexpand keep the -V option, which is a short option for novacuum.
@@ -93,7 +93,7 @@ Remaining TODO items: _usage = """[-f hosts_file] -gpexpand -i input_file [-B batch_size] [-V] [-t segment_tar_dir] [-S] +gpexpand -i input_file [-B batch_size] [-t segment_tar_dir] [-S] gpexpand [-d duration[hh][:mm[:ss]] | [-e 'YYYY-MM-DD hh:mm:ss']] [-a] [-n parallel_processes]
apps/blestress: Fix log in tx_stress_14
@@ -1389,7 +1389,7 @@ tx_stress_14_gap_event(struct ble_gap_event *event, void *arg) if (++tx_stress_ctx->rcv_num >= MYNEWT_VAL(BLE_STRESS_REPEAT)) { rc = ble_gap_terminate(event->notify_rx.conn_handle, BLE_ERR_REM_USER_CONN_TERM); - MODLOG_DFLT(INFO, "rc=%d\n"); + MODLOG_DFLT(INFO, "rc=%d\n", rc); assert(rc == 0); ret...
Fix ext loopback lna_w switch toggle, pga gain difference check
@@ -209,15 +209,15 @@ int CheckSaturationTxRx(bool extLoopback) PUSH_GMEASUREMENT_VALUES(index, ChipRSSI_2_dBFS(rssi)); { uint16_t rssi_prev = rssi; - while(g_pga < 18 && g_rfe == 15 && rssi < saturationLevel) + while(g_pga < 25 && g_rfe == 15 && rssi < saturationLevel) { - if(g_pga < 18) + if(g_pga < 25) ++g_pga; else...
Undo earlier change, since it is incorrect.
@@ -13011,8 +13011,6 @@ sctp_send_str_reset_req(struct sctp_tcb *stcb, /* now anything on those queues? */ TAILQ_FOREACH_SAFE(sp, &oldstream[i].outqueue, next, nsp) { TAILQ_REMOVE(&oldstream[i].outqueue, sp, next); - sp->ss_next.tqe_next = NULL; - sp->ss_next.tqe_prev = NULL; TAILQ_INSERT_TAIL(&stcb->asoc.strmout[i].ou...
landscape: fix overeager graphapp routing It was blank paging instead of showing a 404.
@@ -69,7 +69,7 @@ export const Content = (props) => { <Notifications {...props} /> )} /> - <GraphApp {...props} /> + <GraphApp path="/~graph" {...props} /> <Route render={p => ( <ErrorComponent
unit-test: fix sig formatting
@@ -764,12 +764,9 @@ static void _sign(const _modification_t* mod) case BTCScriptConfig_SimpleType_P2WPKH: { const uint8_t expected_signature[64] = "\x95\x09\x43\x09\xa2\xd2\x77\xd3\xa6\x8d\xde\xd3\x3d\x50\xa7\x47\xf2\xee\xfb\x3f" - "\x54" - "\x8a\x92\x45\x15\xdb\x62\xbe\x06\xa1\xae\xa4\x56\x92\x91\xe5\x2e\x6f\xea\x95\...
Include libluv.pc.in in release .tar.gz
@@ -19,7 +19,7 @@ sed -e "${script}" -i rockspecs/luv-${version}.rockspec # .tar.gz rm -rf luv-${version} mkdir -p luv-${version}/deps -cp -r src cmake CMakeLists.txt LICENSE.txt README.md docs.md luv-${version}/ +cp -r src cmake CMakeLists.txt LICENSE.txt README.md docs.md libluv.pc.in luv-${version}/ cp -r deps/libuv...
npm/http-api: changed relative dependency
{ "name": "@urbit/http-api", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "description": "Library to interact with an Urbit ship over HTTP", "repository": { "dependencies": { "@babel/runtime": "^7.12.5", "@microsoft/fetch-event-source": "^2.0.0", - "@urbit/api": "file:../api", + "@urbit/api": "^1.1.0",...
releases/README: add a section on the hash displayed by the bb02
@@ -48,6 +48,25 @@ contains the unsigned binary with: ./describe_signed_firmware.py firmware.vX.Y.Z.signed.bin ``` +## Verify the hash as shown by the BitBox02 at startup + +When installing new firmware on the BitBox02, an option can be turned on to display the firmware +hash on the device screen when the BitBox02 is p...
set OPENSSL_ROOT_DIR=/usr/local for the fallback path in openssl detection
@@ -59,11 +59,11 @@ IF ((CMAKE_SYSTEM_NAME STREQUAL "Darwin") AND NOT (DEFINED OPENSSL_ROOT_DIR OR D ) IF (NOT EXISTS ${OPENSSL_ROOT_DIR}) MESSAGE(STATUS "*************************************************************************\n" - " * Setting OPENSSL_ROOT_DIR to /usr/local/opt/openssl. On macOS, OpenSSL *\n" + " * S...
terminate immediately if driver crashes
@@ -2655,6 +2655,11 @@ while(1) memset(&ll, 0, sizeof(ll)); fromlen = sizeof(ll); packet_len = recvfrom(fd_socket, &epb[EPB_SIZE], PCAPNG_MAXSNAPLEN, 0 ,(struct sockaddr*) &ll, &fromlen); + if(packet_len == 0) + { + fprintf(stderr, "\ninterface went down\n"); + globalclose(); + } if(packet_len < 0) { perror("\nfailed t...
fix(barcode): type conversion warning
@@ -241,6 +241,8 @@ static signed char code128_switch_code(char from_mode, char to_mode) return 101; } break; + default: + break; } CODE128_ASSERT(0); // Invalid mode switch @@ -250,32 +252,32 @@ static signed char code128_switch_code(char from_mode, char to_mode) static signed char code128a_ascii_to_code(signed char v...
Do not use glide
@@ -8,9 +8,7 @@ go: - 1.12.x before_install: - - go get -t github.com/Masterminds/glide - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go get -t github.com/codeclimate/test-reporter; fi - - cmake . install: - make all polaris colaris
global keyset: fix memproblems
@@ -267,6 +267,7 @@ KDB * kdbOpen (Key * errorKey) handle->modules = ksNew (0, KS_END); if (elektraModulesInit (handle->modules, errorKey) == -1) { + ksDel (handle->global); ksDel (handle->modules); elektraFree (handle); ELEKTRA_SET_ERROR (94, errorKey, "elektraModulesInit returned with -1"); @@ -283,6 +284,7 @@ KDB * ...
agc/autotest: testing final edge cases for scale
@@ -65,6 +65,7 @@ void autotest_agc_crcf_scale() agc_crcf q = agc_crcf_create(); agc_crcf_set_bandwidth(q, 0.1f); agc_crcf_set_scale (q, scale); + CONTEND_EQUALITY(agc_crcf_get_scale(q), scale); unsigned int i; float complex x = 0.1f; // input sample @@ -306,6 +307,10 @@ void autotest_agc_crcf_invalid_config() CONTEND_...
doc: minor updates to board inspector Update success message per PR Capitalize Board Inspector
@@ -8,7 +8,7 @@ This guide describes all features and uses of the tool. About the Board Inspector Tool ****************************** -The board inspector tool ``board_inspector.py`` enables you to generate a board +The Board Inspector tool ``board_inspector.py`` enables you to generate a board configuration file on th...
Fix for resource leak in test_suite_ssl Fix for coverity bugs 349041, 349052 Allocated pointers could potentially be leaked in the case of errors.
@@ -1179,6 +1179,7 @@ static int build_transforms( mbedtls_ssl_transform *t_in, size_t keylen, maclen, ivlen; unsigned char *key0 = NULL, *key1 = NULL; + unsigned char *md0 = NULL, *md1 = NULL; unsigned char iv_enc[16], iv_dec[16]; #if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID) @@ -1245,7 +1246,6 @@ static int build_trans...
unit_tests.md: refine tutorial BRANCH=none TEST=rendered in gitiles Tested-by: Tom Hughes
@@ -71,8 +71,8 @@ void run_test(int argc, char **argv) } ``` -Create a `tasklist` file for you test that lists the tasks that should run as -part of the test: +In the [`test`] subdirectory, create a `tasklist` file for your test that lists +the tasks that should run as part of the test: `test/my_test.tasklist`: @@ -91,...
trace: Generated streq-helper to ignore null terminator
@@ -217,11 +217,11 @@ class Probe(object): fname = "streq_%d" % Probe.streq_index Probe.streq_index += 1 self.streq_functions += """ -static inline bool %s(char const *ignored, unsigned long str) { +static inline bool %s(char const *ignored, uintptr_t str) { char needle[] = %s; char haystack[sizeof(needle)]; bpf_probe_...
iotjs: Disable power management for artik053 Now aligned to other machines defconfig (artik053s, artik055s) Observed issue was on artik053 board when wifi was used the board freeze just before printing message: input_irq_handler: input_irq_handler: Bad sync in header: header=...
@@ -956,29 +956,7 @@ CONFIG_MM_REGIONS=1 # # Power Management # -CONFIG_PM=y -# CONFIG_DEBUG_PM is not set -# CONFIG_PM_TEST is not set -CONFIG_PM_DEVNAME_LEN=32 -# CONFIG_PM_METRICS is not set -CONFIG_PM_SLICEMS=100 -CONFIG_PM_NDOMAINS=1 -CONFIG_PM_MEMORY=2 -CONFIG_PM_COEFN=1 -CONFIG_PM_COEF1=1 -CONFIG_PM_COEF2=1 -CON...
ipsec: Typo in flag name Type: fix
@@ -92,7 +92,7 @@ typedef struct ipsec_key_t_ _ (8, IS_TUNNEL_V6, "tunnel-v6") \ _ (16, UDP_ENCAP, "udp-encap") \ _ (32, IS_PROTECT, "Protect") \ - _ (64, IS_INBOUND, "inboud") \ + _ (64, IS_INBOUND, "inbound") \ _ (128, IS_AEAD, "aead") \ typedef enum ipsec_sad_flags_t_
Shape of the earth not taken into account for Lambert Conformal Conic (part 1)
@@ -112,6 +112,35 @@ static int next(grib_iterator* i, double* lat, double* lon, double* val) #define RAD2DEG 57.29577951308232087684 /* 180 over pi */ #define DEG2RAD 0.01745329251994329576 /* pi over 180 */ +double msfnz(double eccent, double sinphi, double cosphi) +{ + double con = eccent * sinphi; + return((cosphi ...
sysdeps/managarm: convert mount request to bragi
#include <mlibc/allocator.hpp> #include <mlibc/posix-pipe.hpp> #include <posix.frigg_bragi.hpp> +#include <bragi/helpers-frigg.hpp> namespace mlibc { int sys_mount(const char *source, const char *target, const char *fstype, unsigned long flags, const void *data) { SignalGuard sguard; - HelAction actions[3]; - globalQue...
patch smart audio detection to fpv_switch init
@@ -213,18 +213,21 @@ void vtx_init() { } void vtx_update() { + static volatile uint32_t delay_loops = 5000; #if defined(FPV_ON) && defined(FPV_PORT) && defined(FPV_PIN) if (rx_aux_on(AUX_FPV_ON)) { // fpv switch on - if (!fpv_init && flags.rx_mode == RXMODE_NORMAL) { + if (!fpv_init && flags.rx_mode == RXMODE_NORMAL &...
modules/tools: use __repr__ for showing data Also make column headers kwargs
# SPDX-License-Identifier: MIT # Copyright (c) 2018-2020 Laurens Valk -from tools import wait, StopWatch - # Import print for compatibility with 1.0 release from builtins import print +from tools import wait, StopWatch class DataLog(): - def __init__(self, path, header=None): - self.path = path - self.file = open(self....
C++ SOVERSION bump to version 4.0.1
@@ -9,7 +9,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "-g -O0") # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_CPP_MAJOR_SOVERSION 4) set(SYSREPO_CPP_MINOR_SOVERSION 0) -set(SYSREPO_CPP_MICRO_SOVERSION 0) +set(SYSREPO_CPP_MICRO_SOVERSION 1) set(SYSREPO_CPP_SOVE...
Don't listen to localhost in ssl_passphrase_callback test Commit contained an unnecessary setting that listened to localhost. Since the test doesn't actually try to make an SSL connection to the database this isn't required. Moreover, it's a security hole. Per gripe from Tom Lane.
@@ -28,7 +28,6 @@ $node->append_conf('postgresql.conf', "ssl_passphrase.passphrase = '$rot13pass'"); $node->append_conf('postgresql.conf', "shared_preload_libraries = 'ssl_passphrase_func'"); -$node->append_conf('postgresql.conf', "listen_addresses = 'localhost'"); $node->append_conf('postgresql.conf', "ssl = 'on'"); m...
Update drm rst in docs Add note on drm rst page to remind users NOT to use shell regex with the match and exclude options.
@@ -15,6 +15,17 @@ contents. drm is a tool for removing files recursively in parallel. drm behaves like `rm -rf`, but it is faster. +.. note:: + + DO NOT USE SHELL REGEX!!! + The --match and --exclude options use POSIX regex syntax. Because of + this make sure that the shell does not try to interpret your regex before ...
Kernel#open -> URI#open
@@ -108,7 +108,7 @@ require 'nokogiri' require 'open-uri' # Fetch and parse HTML document -doc = Nokogiri::HTML(open('https://nokogiri.org/tutorials/installing_nokogiri.html')) +doc = Nokogiri::HTML(URI.open('https://nokogiri.org/tutorials/installing_nokogiri.html')) puts "### Search for nodes by css" doc.css('nav ul.m...
metadata-fe: timeout preview fetch
@@ -35,7 +35,7 @@ const useMetadataState = createState<MetadataState>( return state.previews[group]; } try { - const preview = await airlock.subscribeOnce('metadata-pull-hook', `/preview${group}`); + const preview = await airlock.subscribeOnce('metadata-pull-hook', `/preview${group}`, 20 * 1000); if('metadata-hook-upda...
Update SAL annotation
@@ -51,8 +51,8 @@ static ULONGLONG ReservedMemory; BOOLEAN PhSipMemorySectionCallback( _In_ PPH_SYSINFO_SECTION Section, _In_ PH_SYSINFO_SECTION_MESSAGE Message, - _In_opt_ PVOID Parameter1, - _In_opt_ PVOID Parameter2 + _In_ PVOID Parameter1, + _In_ PVOID Parameter2 ) { switch (Message) @@ -106,9 +106,6 @@ BOOLEAN PhS...
[yt] yolint: fix migrations.
@@ -521,16 +521,3 @@ migrations: - a.yandex-team.ru/yabs/vh/cms-pgaas/transcoded - a.yandex-team.ru/yabs/telephony/platform/db-cleaner/internal - a.yandex-team.ru/yaphone/gotifier/cmd - - a.yandex-team.ru/yt/go/mapreduce/spec - - a.yandex-team.ru/yt/idm-integration/cmd/yt-idm-integration-v2 - - a.yandex-team.ru/yt/idm-...
Improve stopping of timer
@@ -2977,20 +2977,23 @@ sctp_timer_stop(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb, * that were incremented in sctp_timer_start(). */ if (tmr->ep != NULL) { - SCTP_INP_DECR_REF(inp); tmr->ep = NULL; + SCTP_INP_DECR_REF(inp); } if (tmr->tcb != NULL) { - atomic_subtract_int(&stcb->asoc.refcnt, 1); tmr->tcb...
crypto: fix compiler warnings in gpg Handle unused return values of calls to dup() and write(). Related to .
@@ -784,25 +784,37 @@ int CRYPTO_PLUGIN_FUNCTION (gpgCall) (KeySet * conf, Key * errorKey, Key * msgKe if (msgKey) { close (STDIN_FILENO); - dup (pipe_stdin[0]); + if (dup (pipe_stdin[0]) < 0) + { + ELEKTRA_SET_ERROR (ELEKTRA_ERROR_CRYPTO_GPG, errorKey, "failed to redirect stdin."); + return -2; + } } close (pipe_stdin...
Rust: Integrate cargo test into cmake
@@ -29,6 +29,10 @@ if (CARGO_EXECUTABLE) ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/elektra-sys/target/release/libelektra_sys.rlib") + add_test (NAME test_cargo_elektra_sys + COMMAND ${CARGO_EXECUTABLE} test + WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/elektra-sys") + else () exclude_binding (rust, "cargo not found")...
doc: Update CPU sharing tutorial Clarify blocked state
@@ -135,10 +135,11 @@ VMs. The example extends the information provided in the :ref:`gsg`. you assigned pCPUs 1 and 2 to VMs 1 and 2 (via the ACRN Configurator). vCPU 1 of VM 0 and vCPU 0 of VM 1 and VM 2 are running on the same physical CPU; they are sharing the physical CPU execution time. The thread state column - s...
ci: relax Addresses issues when running due to GH rebases done on UX rewriting the commit with the primary email instead of whatever email was used originally.
@@ -32,7 +32,16 @@ for sha in $commits; do lines="$(git show -s --format=%B ${sha})" found_author=false + # Don't enforce committer email on forks; this primarily avoids issues + # running workflows on the zephyr fork, because rebases done in the GH UX + # use the primary email of the committer, which might not match t...
[catboost] Fix test_whl.py
@@ -14,7 +14,7 @@ def test_wheel(): cpu_so_path = yatest.common.binary_path(os.path.join(PYTHON_PACKAGE_DIR, "catboost", "no_cuda", cpu_so_name)) wheel_name = 'catboost.whl' - make_wheel(wheel_name, 'catboost', yatest.common.source_path('.'), cpu_so_path) + make_wheel(wheel_name, 'catboost', '0.0.0', yatest.common.sour...
Docs: Fixed a link jump error The problem is described in the issue
@@ -261,7 +261,7 @@ Compared with Ethereum, the differences are listed below: ### Protocol Layer #### Overview The protocol layer is located in the second layer of the BoAT SDK, which mainly implements the protocol part of each blockchain. For Ethereum series blockchains, their protocols are very similar, such as Ether...
Update Plan 9 bootstrap.
@@ -72,10 +72,10 @@ echo $pwd/6/6.out -I ../sys -I . blat.myr && $pwd/6/6.out -I ../sys -I . blat echo $pwd/6/6.out -I ../sys -I . env+plan9.myr && $pwd/6/6.out -I ../sys -I . env+plan9.myr &&\ echo $pwd/6/6.out -I ../sys -I . execvp.myr && $pwd/6/6.out -I ../sys -I . execvp.myr &&\ echo $pwd/6/6.out -I ../sys -I . slp...
Fix synchro Solr schema
</analyzer> </fieldType> <!-- Entity extraction --> - + <!-- <fieldType name="key_phrases" class="solr.TextField" sortMissingLast="true" omitNorms="true"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> - + --> </types>
Participants: fix display of nonmembers Fixes urbit/landscape
@@ -33,6 +33,7 @@ import { StatelessAsyncAction } from '~/views/components/StatelessAsyncAction'; import useLocalState from '~/logic/state/local'; import useContactState from '~/logic/state/contact'; import useSettingsState, { selectCalmState } from '~/logic/state/settings'; +import {deSig} from '@urbit/api'; const Tru...
Updated workflow.
@@ -45,10 +45,6 @@ jobs: image: ubuntu:18.04 cc: gcc cxx: g++ - - label: "Ubuntu 16.04 (Xenial Xerus) with GCC" - image: ubuntu:16.04 - cc: gcc - cxx: g++ # ====== Debian Linux ============================================= - label: "Debian 12 (Bookworm) with GCC"
linops: optimize linop_plus if one of the arguments is linop_null
@@ -531,6 +531,19 @@ static void plus_free(const linop_data_t* _data) struct linop_s* linop_plus(const struct linop_s* a, const struct linop_s* b) { + +#if 1 + // detect null operations and just clone + + if (operator_zero_or_null_p(a->forward)) { + + return (struct linop_s*) linop_clone(b); + } else if (operator_zero_...
UserNotes: Check current directory for portable database file
@@ -273,7 +273,9 @@ VOID NTAPI LoadCallback( _In_opt_ PVOID Context ) { + static PH_STRINGREF databaseFile = PH_STRINGREF_INIT(L"usernotesdb.xml"); PPH_PLUGIN toolStatusPlugin; + PPH_STRING directory; PPH_STRING path; if (toolStatusPlugin = PhFindPlugin(TOOLSTATUS_PLUGIN_NAME)) @@ -284,21 +286,29 @@ VOID NTAPI LoadCall...
Add ./ to path of tools.
@@ -17,7 +17,7 @@ status=0 # Run ippserver... echo "Running ippserver..." cd .. -CUPS_DEBUG_LOG=test-cups.log CUPS_DEBUG_LEVEL=4 CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cupsDo|cupsGet|cupsSend)' server/ippserver -vvv -C test 2>test-ippserver.log & +CUPS_DEBUG_LOG=test-cups.log CUPS_DEBUG_LEVEL=4 CUPS_DEBUG_FILTER='^(h...
Visual C: reduce the dependency paths to be relative
@@ -12,7 +12,7 @@ use warnings; use lib '.'; use configdata; -use File::Spec::Functions qw(canonpath rel2abs); +use File::Spec::Functions qw(:DEFAULT rel2abs); use File::Compare qw(compare_text); # When using stat() on Windows, we can get it to perform better by avoid some @@ -42,11 +42,26 @@ exit 0 unless $rebuild; # ...
Print error if can't create directory for system resources
@@ -185,7 +185,9 @@ int lime::downloadImageResource(const std::string &name) #else const std::string mkdirCmd("md.exe \""+destDir+"\""); #endif - std::system(mkdirCmd.c_str()); + int result = std::system(mkdirCmd.c_str()); + if (result != 0) + return lime::ReportError(result, "Failed to create directory: %s", destDir.c...
[config] Load config changes to local copy of overlay_params so it does not block rendering thread while parsing
@@ -13,6 +13,7 @@ static void *fileChanged(void *params_void) { notify_thread *nt = reinterpret_cast<notify_thread *>(params_void); int length, i = 0; char buffer[EVENT_BUF_LEN]; + overlay_params local_params = *nt->params; while (!nt->quit) { length = read( nt->fd, buffer, EVENT_BUF_LEN ); @@ -21,14 +22,14 @@ static v...
dnstap io, fix for review comment.
@@ -1681,7 +1681,6 @@ static void dtio_open_output(struct dt_io_thread* dtio) dtio_reconnect_enable(dtio); return; } - } if(dtio->upstream_is_tls) { if(!dtio_setup_ssl(dtio)) { dtio_close_fd(dtio); @@ -1689,6 +1688,7 @@ static void dtio_open_output(struct dt_io_thread* dtio) return; } } + } dtio->check_nb_connect = 1; ...
libnet: some bugfixes in the DHCP functionality
///< the DHCP timeout in milli seconds #define DHCP_TIMEOUT_MSECS (120UL * 1000) +#define DHCP_RECORD_FIELDS "{ ip: %d, gw: %d, netmask: %d }" -#define DHCP_RECORD_FORMAT "net.ipconfig {ip: %" PRIu32 ", "\ - "gw:" PRIu32 ", " \ - "netmask: %" PRIu32 "}" + +#define DHCP_RECORD_FORMAT "net.ipconfig " DHCP_RECORD_FIELDS #...
growth_factor_and_growth_rate changes
@@ -80,7 +80,9 @@ static double df_integrand(double a,void * spline_void) INPUT: scale factor, cosmology TASK: compute the growth (D(z)) and the growth rate, logarithmic derivative (f?) */ -static int growth_factor_and_growth_rate(double a,double *gf,double *fg,ccl_cosmology *cosmo) + +// RH had issuse here +static int...
OPENSSL_NO_GOST has nothing to do with low-level algos
@@ -150,7 +150,6 @@ EOF ); foreach my $cmd ( "md2", "md4", "md5", - "gost", "sha1", "sha224", "sha256", "sha384", "sha512", "sha512-224", "sha512-256", "sha3-224", "sha3-256", "sha3-384", "sha3-512",
pbio/hbridge: direction enum even without hbridge This is also used by other modules (tacho, gyro), and should probably be moved elsewhere.
#include <stdint.h> #include <pbio/port.h> +typedef enum { + PBIO_DIRECTION_CLOCKWISE, /**< Positive means clockwise */ + PBIO_DIRECTION_COUNTERCLOCKWISE, /**< Positive means counterclockwise */ +} pbio_direction_t; + #if PBDRV_CONFIG_HBRIDGE #define PBIO_DUTY_STEPS (PBDRV_MAX_DUTY) #define PBIO_DUTY_USER_STEPS (100) #...
fix(draw_img):radius Mask doesn't work in Specific condition
@@ -358,8 +358,7 @@ LV_ATTRIBUTE_FAST_MEM static void lv_draw_map(const lv_area_t * map_area, const draw_area.x2 -= disp_area->x1; draw_area.y2 -= disp_area->y1; - bool mask_any = lv_draw_mask_is_any(map_area); - + bool mask_any = lv_draw_mask_is_any(&draw_area); /*The simplest case just copy the pixels into the draw_b...
Make script project CMake script more extensible.
@@ -32,18 +32,18 @@ get_filename_component(SCRIPT_PROJECT_CONFIG_PATH ${CMAKE_CURRENT_LIST_FILE} PAT function(script_project name language configuration) - # Create project file + # Define upper and lower versions of the language string(TOLOWER ${language} language_lower) - # Create project file + # Define project targ...
filter_kubernetes: fix metadata lookup when source is Systemd
@@ -195,7 +195,7 @@ static int pack_map_content(msgpack_packer *pck, msgpack_sbuffer *sbuf, msgpack_object k; msgpack_object v; msgpack_object root; - struct flb_time log_time; + struct flb_time log_time = {0}; /* Original map size */ map_size = source_map.via.map.size; @@ -389,6 +389,7 @@ static int cb_kube_filter(voi...
Input script ctx generation more DRY
@@ -1684,12 +1684,12 @@ class ScriptBuilder { this._addComment(`Input Script Attach`); const scriptRef = this._compileSubScript("input", script); const inputValue = inputDec(input); - let ctx = inputValue.toString(2).padStart(8, "0").indexOf("1"); - if (ctx === -1) { - ctx = 0; + let ctx = inputValue.toString(2).padSta...
Update CMakeLists.txt add "-Wno-format-truncation" to supress format truncation warning in cmake
@@ -100,6 +100,13 @@ include (CheckFunctionKeywords) include (CheckIncludeFiles) include (CheckTypeSize) +# supress format-truncation warning +include (CheckCCompilerFlag) +check_c_compiler_flag(-Wno-format-truncation HAS_NO_FORMAT_TRUNCATION) +if (HAS_NO_FORMAT_TRUNCATION) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-fo...
VERSION bump to version 1.3.49
@@ -31,7 +31,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) set(SYSREPO_MINOR_VERSION 3) -set(SYSREPO_MICRO_VERSION 48) +set(SYSREPO_MICRO_VERSION 49) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
snap: bump to v1.5.0
name: fluent-bit base: core18 -version: '1.4.0' +version: '1.5.0' summary: High performance logs and stream processor description: | Fluent Bit is a high performance log processor and stream processor for Linux.
Fix character positioning for colourlcd240x240
@@ -394,7 +394,7 @@ mp_obj_t BreakoutColourLCD240x240_character(size_t n_args, const mp_obj_t *pos_a breakout_colourlcd240x240_BreakoutColourLCD240x240_obj_t *self = MP_OBJ_TO_PTR2(args[ARG_self].u_obj, breakout_colourlcd240x240_BreakoutColourLCD240x240_obj_t); int c = mp_obj_get_int(args[ARG_char].u_obj); - int x = ar...
adding libtool-ltdl-devel to buildrequires
@@ -71,6 +71,7 @@ BuildRequires: rpm-build BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +BuildRequires: libtool-ltdl-devel BuildRequires: hwloc-devel BuildRequires: libX11-devel BuildRequires: libXt-devel
snap: out_pgsql: Added support of pgsql plugin to snap package
@@ -14,6 +14,7 @@ confinement: 'strict' apps: fluent-bit: command: bin/fluent-bit + daemon: simple parts: fluent-bit: @@ -23,6 +24,7 @@ parts: stage-packages: - libsasl2-2 - libssl1.1 + - libpq5 build-packages: - g++ - make @@ -32,9 +34,12 @@ parts: - bison - valgrind - libssl-dev + - libpq5 + - postgresql-server-dev-a...
[platform][rosco-m68k] change the tick rate to 100Hz 1000kHz is probably a bit much for this board.
// driver for a 68c681 acting as a dual uart and a system timer and a few gpios // ticks in units of ms +#define TICK_HZ (100U) +#define TICK_MS (1000U / TICK_HZ) +STATIC_ASSERT(TICK_HZ * TICK_MS == 1000U); static volatile uint32_t ticks; // periodic timer callback stuff @@ -97,11 +100,11 @@ void duart_early_init(void)...
Fixed bug in WriteBodyDsemiDtEqtide.
@@ -1644,7 +1644,7 @@ void WriteBodyDsemiDtEqtide(BODY *body,CONTROL *control,OUTPUT *output,SYSTEM *s iPert=1; else iPert=0; - /* XXX Broken */ + /* XXX Broken if (control->Evolve.iEqtideModel == CPL) *dTmp = fdCPLDsemiDtBody(body[iBody],body[iPert].dMass,body[1].dSemi,body[1].dEccSq); @@ -1658,6 +1658,7 @@ void Write...
Add const for relevant method parameters in redis-benchmark
@@ -971,7 +971,7 @@ static void startBenchmarkThreads() { pthread_join(config.threads[i]->thread, NULL); } -static void benchmark(char *title, char *cmd, int len) { +static void benchmark(const char *title, char *cmd, int len) { client c; config.title = title; @@ -1680,7 +1680,7 @@ int showThroughput(struct aeEventLoop...
luax_readmesh supports Model again;
#include <stdlib.h> #include <stdarg.h> #include <string.h> +#ifndef LOVR_DISABLE_GRAPHICS +#include "data/modelData.h" +#include "graphics/graphics.h" +#endif typedef void voidFn(void); typedef void destructorFn(void*); @@ -522,5 +526,16 @@ int luax_readmesh(lua_State* L, int index, float** vertices, uint32_t* vertexC...
BugID:17132007: fix the problem of UNINIT white scan in LoRaMac.c
@@ -3084,7 +3084,7 @@ LoRaMacStatus_t LoRaMacMcpsRequest(McpsReq_t *mcpsRequest) uint8_t fPort = 0; void *fBuffer; uint16_t fBufferSize; - int8_t datarate; + int8_t datarate = 0; bool readyToSend = false; if (mcpsRequest == NULL) {
Update README: GNUPLOT's "sixel" driver is renamed as "sixeltek"
@@ -1345,7 +1345,7 @@ We are greatly inspired by the quality of ImageMagick and added some resampling - [GNUPLOT](http://www.gnuplot.info/) - Recent version of GNUPLOT supports new terminal driver "sixel" / "sixelgd". + Recent version of GNUPLOT supports new terminal driver "sixeltek(sixel)" / "sixelgd". ![GNUPLOT](htt...
[bsp] mini optimized the drv_xpt2046.c error device name xpt2049 in pi4 , so changed xpt2049 -> xpt2046.
#define DBG_LVL DBG_INFO #include <rtdbg.h> -//XPT2049 +//XPT2046 #define READ_X (0xD0) #define READ_Y (0x90) @@ -218,7 +218,7 @@ static struct rt_touch_ops touch_ops = .touch_control = xpt2046_control, }; -static int hw_xpt2049_touch_init(void) +static int hw_xpt2046_touch_init(void) { //touch sem rt_sem_init(&touch_a...
board/servo_v4/usb_pd_config.h: Format with clang-format BRANCH=none TEST=none
@@ -193,13 +193,23 @@ static inline void pd_select_polarity(int port, int polarity) if (port == 0) { /* CHG use the right comparator inverted input for COMP2 */ STM32_COMP_CSR = (val & ~STM32_COMP_CMP2INSEL_MASK) | - (polarity ? STM32_COMP_CMP2INSEL_INM4 /* PA4: C0_CC2 */ - : STM32_COMP_CMP2INSEL_INM6);/* PA2: C0_CC1 *...
conffile: allocate ciphers and suites on router slab string values are allocated on a parser slab which is freed after the parser finishes, so copy cipher and suite to the router slab so it remains available with the router.
@@ -983,13 +983,15 @@ transport_ssl_protover: crSSL3 { $$ = _rp_SSL3; } | crTLS1_2 { $$ = _rp_TLS1_2; } | crTLS1_3 { $$ = _rp_TLS1_3; } ; -transport_opt_ssl_ciphers: { $$ = NULL; } - | crCIPHERS crSTRING[ciphers] { $$ = $ciphers; } +transport_opt_ssl_ciphers: + { $$ = NULL; } + | crCIPHERS crSTRING[ciphers] + { $$ = ra...
meta: test for autovivify + quiet flag
@@ -364,6 +364,11 @@ my $sock = $server->sock; like(scalar <$sock>, qr/^VA 2/, "get response"); like(scalar <$sock>, qr/^bo/, "get value"); like(scalar <$sock>, qr/^MN/, "end token"); + + # "quiet" won't do anything with autoviv, since the only case (miss) + # should return data anyway. + print $sock "mg quietautov s N...
[snitch] Clean up remaining mentions of const cache
// Author: Florian Zaruba <zarubaf@iis.ee.ethz.ch> // Samuel Riedel <sriedel@iis.ee.ethz.ch> -/// Serve read memory requests from a constant cache. +/// Serve read memory requests from a read-only cache. /// The cacheable region can be runtime configured. All writes and read /// requests outside the configured regions ...
xpath BUGFIX handle both set node types Fixes
@@ -5141,6 +5141,8 @@ xpath_true(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct ly /** * @brief Skip prefix and return corresponding model if there is a prefix. Logs directly. * + * XPath @p set is expected to be a (sc)node set! + * * @param[in,out] qname Qualified node name. If includes prefix, it ...
Add onDrop handler to NmeApplication
@@ -131,6 +131,10 @@ class NmeApplication implements IAppEventHandler implements IPollClient { } + public function onDrop(event:AppEvent):Void + { + } + public function onUnhandledException(exception:Dynamic, stack:Array<StackItem>):Void { trace("Exception: " + exception+"\n" + haxe.CallStack.toString(stack));
Make sure that -fPIC is present when needed override user-provided FFLAGS if necessary
@@ -1154,8 +1154,6 @@ ifndef FCOMMON_OPT FCOMMON_OPT = -O2 -frecursive endif - - override CFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR) override PFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR) -DPROFILE $(COMMON_PROF) @@ -1163,6 +1161,12 @@ override FFLAGS += $(COMMON_OPT) $(FCOMMON_OPT) override FPFLAGS += $(F...
Minor cleanup in `IDataInspector`
@@ -69,7 +69,7 @@ namespace MAT_NS_BEGIN /// Returns unique name for current Data Inspector /// </summary> /// <returns>Name of Data Inspector</returns> - virtual const char* GetName() const noexcept { return ""; } + virtual const char* GetName() const noexcept = 0; }; }
fix changelog maintainer email
@@ -342,4 +342,4 @@ oidc-agent (3.3.2) UNRELEASED; urgency=medium * Add aai-demo.egi.eu * Add public client for aai-demo.egi.eu - -- Marcus Hardt <hardt@kit.edu> Thu, 12 Mar 2020 08:23:13 +0200 + -- Marcus Hardt <packages@lists.kit.edu> Thu, 12 Mar 2020 08:23:13 +0200
Update CompanionOwnerID offset
@@ -43,7 +43,7 @@ namespace FFXIVClientStructs.FFXIV.Client.Game.Character [FieldOffset(0x1940)] public uint NameID; - [FieldOffset(0x1950)] public uint CompanionOwnerID; + [FieldOffset(0x19A8)] public uint CompanionOwnerID; [FieldOffset(0x195C)] public ushort CurrentWorld; [FieldOffset(0x195E)] public ushort HomeWorld...
linux-raspberrypi: Drop CONFIG_OABI_COMPAT completely There's no reason to support the old, outdated ARM OABI when upstream linux-raspberrypi doesn't support this by default.
@@ -32,9 +32,6 @@ CMDLINE_append += ' ${@oe.utils.conditional("DISABLE_RPI_BOOT_LOGO", "1", "logo. CMDLINE_DEBUG ?= "" CMDLINE_append = " ${CMDLINE_DEBUG}" -# Enable OABI compat for people stuck with obsolete userspace -ARM_KEEP_OABI ?= "1" - KERNEL_INITRAMFS ?= '${@oe.utils.conditional("INITRAMFS_IMAGE_BUNDLE", "1", "...
VERSION bump to version 2.0.77
@@ -58,7 +58,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 76) +set(LIBYANG_MICRO_VERSION 77) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) ...