message
stringlengths
6
474
diff
stringlengths
8
5.22k
pyocf: manage volume.opened in s_open
@@ -187,7 +187,11 @@ class Volume: Volume._instances_[ref] = volume volume.handle = ref - return volume.do_open() + ret = volume.do_open() + if ret == 0: + volume.opened = True + + return ret @classmethod def get_io_ops(cls): @@ -255,7 +259,6 @@ class Volume: self.opened = False def do_open(self): - self.opened = True ...
https_server : Missing uri_match_fn paramater added to default config
@@ -95,6 +95,7 @@ typedef struct httpd_ssl_config httpd_ssl_config_t; .global_transport_ctx_free_fn = NULL, \ .open_fn = NULL, \ .close_fn = NULL, \ + .uri_match_fn = NULL \ }, \ .cacert_pem = NULL, \ .cacert_len = 0, \
Rename variables to follow the naming convention
@@ -342,46 +342,46 @@ exit: /* BEGIN_CASE depends_on:MBEDTLS_TEST_HOOKS */ void mpi_mod_raw_fix_quasi_reduction(char *input_N, - char *input_A, + char *input_X, char *result) { - mbedtls_mpi_uint *A = NULL; + mbedtls_mpi_uint *X = NULL; mbedtls_mpi_uint *N = NULL; mbedtls_mpi_uint *res = NULL; mbedtls_mpi_uint *tmp = N...
Fix file size stat in build tool on Mac
@@ -86,6 +86,10 @@ TIMEFORMAT='%3R' last_time= +file_size() { + wc -c < "$1" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' +} + timed_stats() { if [[ $stats_enabled = 1 ]]; then { last_time=$( { time "$@" 1>&3- 2>&4-; } 2>&1 ); } 3>&1 4>&2 @@ -196,7 +200,7 @@ build_target() { verbose_echo timed_stats "$compiler_e...
OcAppleKernelLib: Add symbol value sanity checks.
@@ -470,7 +470,8 @@ InternalCalculateTargetsIntel64 ( MachoContext, Relocation->SymbolNumber ); - if (Symbol == NULL) { + if ((Symbol == NULL) + || !MachoIsSymbolValueInRange64 (MachoContext, Symbol)) { return FALSE; } @@ -1053,6 +1054,10 @@ InternalRelocateSymbols ( ASSERT (SymbolName != NULL); if (AsciiStrCmp (Symbol...
[fix] thread control bug about RT_THREAD_CTRL_CLOSE command
@@ -679,9 +679,17 @@ rt_err_t rt_thread_control(rt_thread_t thread, int cmd, void *arg) case RT_THREAD_CTRL_STARTUP: return rt_thread_startup(thread); -#ifdef RT_USING_HEAP case RT_THREAD_CTRL_CLOSE: + + if (rt_object_is_systemobject((rt_object_t)thread) == RT_TRUE) + { + return rt_thread_detach(thread); + } +#ifdef RT...
Allow bindings for Xiaomi devices Intended to newer ZB3.0 devices
@@ -1929,7 +1929,9 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso // Stelpro sensor->modelId().contains(QLatin1String("ST218")) || // Tuya - sensor->modelId().contains(QLatin1String("TS0201"))) + sensor->modelId().contains(QLatin1String("TS0201")) || + // Xiaomi + sensor->modelId()....
arvo: enables new event-loop and vane engines
:: at the end of :ova. :: ?: ?=(%vega -.q.i.ova) - =^ zef vanes - (~(spam (is our vil eny bud vanes) now) lac i.ova) + =^ zef=(list ovum) vanes + :: (~(spam (is our vil eny bud vanes) now) lac i.ova) + =< abet:loop + %. i.ova + %~ spam le:part + [our now eny lac (~(gas by *(map term vane)) vanes)] + :: $(out [i.ova out...
tweak user creation, update file ownership
@@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT %pre getent passwd %{testuser} >/dev/null || \ /usr/sbin/useradd -U -c "OpenHPC integration test account" \ - -s /bin/bash -r -d /home/%{testuser} %{testuser} + -s /bin/bash -d /home/%{testuser} %{testuser} exit 0 %post @@ -69,7 +69,7 @@ exit 0 %files -%defattr(-,root,root,-) +%...
Too big but at least this works
-<picture> - <source media="(prefers-color-scheme: dark)" srcset="artwork/clap-full-logo-white.png"> - <img alt="CLAP" src="artwork/clap-full-logo-black.png" width="400"> -</picture> +![CLAP](artwork/clap-full-logo-black.png#gh-light-mode-only) +![CLAP](artwork/clap-full-logo-white.png#gh-dark-mode-only) **CL**ever **A...
refactor: use command changeRole instead of change for uniqueness
@@ -30,8 +30,7 @@ void on_command( guild::create_role::params params1 = { .name = msg->content }; - guild::create_role::run(client, msg->guild_id, &params1, role); //@todo should work with role parameter - //guild::create_role::run(client, msg->guild_id, &params1, NULL); + guild::create_role::run(client, msg->guild_id,...
revert unecessary macro defs in h2o_ebpf_address_t
* ebpf.h MUST only depend on the include files available to the BPF compiler. */ -// max(sizeof(struct in6_addr), sizeof(struct in_addr)) -#define H2O_EBPF_SIZEOF_ADDR 16 typedef struct st_h2o_ebpf_address_t { - uint8_t ip[H2O_EBPF_SIZEOF_ADDR]; + uint8_t ip[16]; uint16_t port; } h2o_ebpf_address_t;
Turn on trace for time test
@@ -321,7 +321,7 @@ class CustomJuice < Minitest::Test dump_and_load(obj, false, :time_format => :unix, :create_id => "^o", :create_additions => true) dump_and_load_inspect(obj, false, :time_format => :unix_zone, :create_id => "^o", :create_additions => true) dump_and_load_inspect(obj, false, :time_format => :xmlschema...
md_alg is used in ecdsa_sign_wrap(), cleanup code
@@ -870,7 +870,6 @@ static int ecdsa_sign_wrap( void *ctx_arg, mbedtls_md_type_t md_alg, size_t curve_bits; psa_ecc_family_t curve = mbedtls_ecc_group_to_psa( ctx->grp.id, &curve_bits ); - ((void) md_alg); /* PSA has its own RNG */ ((void) f_rng);
Remove method declarations that don't have definitions.
@@ -26,15 +26,8 @@ public: virtual void OnChanged(std::string const& propertyName, std::string const& propertyValue) override; private: - - void _HandleNetworkCallback(); - void _HandlePowerCallback(); void _UpdateDeviceCondition(); - static unsigned int _MapNetworkTypeToDefaultCostUInt(NetworkType networkType); - stat...
leap: address feedback
@@ -33,7 +33,7 @@ export class OmniboxResult extends Component { if (defaultApps.includes(icon.toLowerCase()) || icon.toLowerCase() === 'links') { icon = (icon === 'Dojo') ? 'ChevronEast' : icon; icon = (icon === 'Link') ? 'Links' : icon; - graphic = <Icon display="inline-block" verticalAlign="middle" icon={icon} mr='2...
xive2: Add NCU_SPEC_BAR to stop engine for restore P10 Stop engines have apis similar to P9 to set xscom restores after wakeup from deep-sleep states. This xscom restore will be used to support STOP11 on P10.
#include <bitmap.h> #include <buddy.h> #include <phys-map.h> +#include <p10_stop_api.H> /* Verbose debug */ @@ -3013,10 +3014,30 @@ static void xive_configure_ex_special_bar(struct xive *x, struct cpu_thread *c) void xive2_late_init(void) { + struct cpu_thread *c; + prlog(PR_INFO, "SLW: Configuring self-restore for NCU...
[dictionaries] Fix blank synonym in academic degrees
@@ -6,7 +6,7 @@ magister agama|mag|m ag magister akuntansi|mak|m ak magister epidemiolog|mepid|m epid magister farmasi|mfarm|m farmasi -magister hukum|m h| +magister hukum|m h|mh magister humaniora|mhum|m hum magister ilmu biomedik|mbiomedik|m biomedik magister ilmu komputer|mkom|m kom
dnstap io, fix clang analysis warning
@@ -275,6 +275,10 @@ int dt_io_thread_apply_cfg(struct dt_io_thread* dtio, struct config_file *cfg) } if(dtio->upstream_is_tcp || dtio->upstream_is_tls) { + if(!cfg->dnstap_ip || cfg->dnstap_ip[0] == 0) { + log_err("dnstap setup: no dnstap-ip for TCP connect"); + return 0; + } free(dtio->ip_str); dtio->ip_str = strdup(...
doc: update our FAQ section Update our FAQ section by deleting outdated and obsolete information.
@@ -13,7 +13,7 @@ Here are some frequently asked questions about the ACRN project. What Hardware Does ACRN Support? ******************************** -ACRN runs on Intel boards, as documented in +ACRN runs on Intel-based boards, as documented in our :ref:`hardware` documentation. .. _config_32GB_memory: @@ -30,72 +30,8 ...
main.c: update year
/** * @file src/main.c Main application code * - * Copyright (C) 2010 - 2015 Creytiv.com + * Copyright (C) 2010 - 2021 Creytiv.com */ #ifdef SOLARIS #define __EXTENSIONS__ 1 @@ -109,7 +109,7 @@ int main(int argc, char *argv[]) setbuf(stdout, NULL); (void)re_fprintf(stdout, "baresip v%s" - " Copyright (C) 2010 - 2020" +...
change https host
@@ -23,7 +23,7 @@ tests_general.append([0, 0, workdir + 'client_http_get -n 2 -u /files/4M bsd10.n #tests_general.append([0, 0, workdir + 'tneat -L -n 1024 -P ' + workdir + 'prop_tcp.json']) if (platform.system() == "FreeBSD") or (platform.system() == "Linux"): - tests_general.append([0, 0, workdir + 'client_http_get -...
duplicate text
@@ -8,8 +8,3 @@ on every host in the resource management pool, issue the following: [sms](*\#*) wwsh file import /etc/munge/munge.key \end{lstlisting} % \end_ohpc_run - -\noindent Finally, to add {\em optional} support for controlling IPoIB -interfaces (see \S\ref{sec:add_ofed}), \OHPC{} includes a -template file for \...
Win32: little upgrade
@@ -80,11 +80,18 @@ def QTInfo(qtcurrentversion) value =3 # 5.5.0.0 end - eqstatus = is_equal("5.8.0.0",qtcurrentversion) - puts "Checking for 5.8.0.0 - #{eqstatus}" + eqstatus = is_equal("5.8",qtcurrentversion) + puts "Checking for 5.8 - #{eqstatus}" if(eqstatus) - value = 4 # 5.8.0.0 + value = 4 # 5.8 end + + eqstatu...
SidebarItem: fix unreads, mono for DM
@@ -14,6 +14,7 @@ import { getItemTitle, getModuleIcon, uxToHex } from '~/logic/lib/util'; import useGroupState from '~/logic/state/group'; import Dot from '~/views/components/Dot'; import { SidebarAppConfigs } from './types'; +import {useHarkDm} from '~/logic/state/hark'; function SidebarItemBase(props: { to: string; ...
Check for sse2 math before using it.
@@ -80,7 +80,7 @@ void *_alloca(size_t size); /* Special i386 GCC implementation */ -#if defined(__i386__) && defined(__GNUC__) && !defined(__BEOS__) +#if defined(__i386__) && defined(__GNUC__) && !defined(__BEOS__) && !defined(__SSE2_MATH__) # define VORBIS_FPU_CONTROL /* both GCC and MSVC are kinda stupid about round...
Prototype for color select functions.
@@ -2818,8 +2818,12 @@ int check_blocking_pain(entity *ent, s_collision_attack *attack); void set_blocking_action(entity *ent, entity *other, s_collision_attack *attack); void set_blocking_animation(entity *ent, s_collision_attack *attack); -// Select player & colors +// Select player model & colors int is_map_hidden (...
Tidied examples/RadHeat/README.rst.
@@ -8,8 +8,8 @@ Overview =================== ============ **Date** 09/12/18 **Author** Rory Barnes -**Modules** `radheat <../src/radheat.html>`_ -**Approx. runtime** <1 second +**Modules** radheat +**Approx. runtime** 1 second **Source code** `GitHub <https://github.com/VirtualPlanetaryLaboratory/vplanet-private/tree/m...
Check in updates to gpdb_master-generated.yml For commit
## file (example: templates/gpdb-tpl.yml) and regenerate the pipeline ## using appropriate tool (example: gen_pipeline.py -t prod). ## ---------------------------------------------------------------------- -## Generated by gen_pipeline.py at: 2019-06-27 15:08:11.143133 +## Generated by gen_pipeline.py at: 2019-07-01 11...
test: add platone test case test_001CreateWallet_0007CreateOneTimeWalletSuccessLongSize fix the issue aitos-io#1176 teambition task id:
@@ -217,6 +217,24 @@ START_TEST(test_001CreateWallet_0006CreateOneTimeWalletFailureShortSize) } END_TEST +START_TEST(test_001CreateWallet_0007CreateOneTimeWalletSuccessLongSize) +{ + BSINT32 rtnVal; + BoatPlatoneWalletConfig wallet = get_platone_wallet_settings(); + extern BoatIotSdkContext g_boat_iot_sdk_context; + + ...
Enable requires_openssl_tls1_3 in sni test cases
@@ -11398,7 +11398,7 @@ run_test "TLS 1.3: Server side check, no server certificate available" \ -s "tls13 server state: MBEDTLS_SSL_SERVER_CERTIFICATE" \ -s "No certificate available." -requires_gnutls_tls1_3 +requires_openssl_tls1_3 requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3 requires_config_enabled MBEDTLS_SSL_...
Coveralls: Exclude `libelektra` dir from coverage
@@ -917,7 +917,7 @@ kill `pidof dbus-daemon` sh("""\ coveralls -b '${buildDir}' \ -t '${REPO_TOKEN}' \ - -e .idea -e benchmarks -e doc -e examples -e install -e system -e tests \ + -e .idea -e benchmarks -e doc -e examples -e install -e libelektra -e system -e tests \ -E '.*${buildDir}/(CMakeFiles|include)/.*' \ -E '.*...
http_server: v1: prometheus metrics: fix usage of flb_sds_cat()
@@ -139,7 +139,6 @@ static void cb_mq_metrics(mk_mq_t *queue, void *data, size_t size) } /* API: expose metrics in Prometheus format /api/v1/metrics/prometheus */ - void cb_metrics_prometheus(mk_request_t *request, void *data) { int i; @@ -212,19 +211,19 @@ void cb_metrics_prometheus(mk_request_t *request, void *data) ...
HTTP Server : Use getsockopt instead of errno
@@ -472,13 +472,19 @@ int httpd_req_to_sockfd(httpd_req_t *r) return ra->sd->fd; } -static int httpd_sock_err(const char *ctx) +static int httpd_sock_err(const char *ctx, int sockfd) { int errval; + int sock_err; + size_t sock_err_len = sizeof(sock_err); - ESP_LOGW(TAG, LOG_FMT("errno in %s : %d"), ctx, errno); + if (g...
Bump up PKG_SUFFIX to vpp3
@@ -27,7 +27,7 @@ DPDK_MLX5_PMD ?= n B := $(DPDK_BUILD_DIR) I := $(DPDK_INSTALL_DIR) DPDK_VERSION ?= 16.11 -PKG_SUFFIX ?= vpp2 +PKG_SUFFIX ?= vpp3 DPDK_BASE_URL ?= http://fast.dpdk.org/rel DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.xz DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL)
viofs-svc: remove duplicated code in access to flags translation. It seems that FILE_APPEND_DATA doesn't translate to O_APPEND, so I removed it for and replaced it with a WR flag.
@@ -261,6 +261,33 @@ static UINT32 PosixUnixModeToAttributes(uint32_t mode) return Attributes; } +static uint32_t AccessToUnixFlags(UINT32 GrantedAccess) +{ + uint32_t flags; + + switch (GrantedAccess & (FILE_READ_DATA | FILE_WRITE_DATA)) + { + case FILE_WRITE_DATA: + flags = O_WRONLY; + break; + case FILE_READ_DATA | ...
Added osDelay to the list of functions that can be used with osWaitForever
@@ -18,6 +18,7 @@ The \b osStatus_t enumeration defines the event status and error codes that are \def osWaitForever \details A special \ref CMSIS_RTOS_TimeOutValue that informs the RTOS to wait infinite until a resource becomes available. It applies to the following functions: + - \ref osDelay : \copybrief osDelay - \...
Add a multithread rand test
#include <openssl/aes.h> #include "../crypto/rand/rand_lcl.h" +#if defined(_WIN32) +# include <windows.h> +#endif + #include "testutil.h" #include "drbgtest.h" @@ -762,6 +766,88 @@ error: return rv; } +#if defined(OPENSSL_THREADS) + +static void run_multi_thread_test(void) +{ + unsigned char buf[256]; + time_t start = ...
fix board_late_init in u-boot-xlnx-xilinx-v2020.2.patch
@@ -11,6 +11,24 @@ diff -rupN old/u-boot-xlnx-xilinx-v2020.2/arch/arm/dts/Makefile u-boot-xlnx-xili dtb-$(CONFIG_ARCH_ZYNQMP) += \ avnet-ultra96-rev1.dtb \ avnet-ultrazedev-cc-v1.0-ultrazedev-som-v1.0.dtb \ +diff -rupN old/u-boot-xlnx-xilinx-v2020.2/board/xilinx/zynq/board.c u-boot-xlnx-xilinx-v2020.2/board/xilinx/zynq...
hww: detailed error code for unlock
#define OP_STATUS_SUCCESS ((uint8_t)0) #define OP_STATUS_FAILURE ((uint8_t)1) +#define OP_STATUS_FAILURE_UNINITIALIZED ((uint8_t)2) // in: 'a' + 32 bytes host challenge // out: bootloader_hash 32 | device_pubkey 64 | certificate 64 | root_pubkey_identifier 32 | @@ -80,7 +81,12 @@ static void _msg(const Packet* in_packe...
use interface channel if we have no AP channel information
@@ -307,7 +307,8 @@ static const uint8_t fakenonce2[] = 0x75, 0x1f, 0x53, 0xcc, 0xb5, 0x81, 0xd1, 0x52, 0x3b, 0xb4, 0xba, 0xad, 0x23, 0xab, 0x01, 0x07 }; -static char rssi; +static int rssi; +static int interfacechannel; static uint8_t myaktap[6]; static uint8_t myaktclient[6]; static uint8_t myaktanonce[32]; @@ -903,6...
Fix spelling in comment and log printout.
- Remove TO bit, this signalling method was not standardized. - Remove unused first_query and tls_ok states. - Remove sign-compare warning in tls packet send code. - - Fix spelling in comment. + - Fix spelling in comment and log printout. 25 March 2019: Wouter - Print IP address when bind socket fails with error.
Solve minor bug in static assertion of metacall value ids.
#include <assert.h> #ifndef static_assert - # define static_assert_impl_expr(predicate, expr) \ typedef char expr[2 * !!(predicate) - 1] -# define static_assert_local_impl_expr(predicate, expr) \ - static_assert_impl_expr(predicate, expr); \ - expr PREPROCESSOR_CONCAT(expr, _var); \ - (void) PREPROCESSOR_CONCAT(expr, _...
Bugfix drill -DT fails for CNAME domain
@@ -497,12 +497,43 @@ do_secure_trace(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t, p = get_dnssec_pkt(res, labels[i-1], LDNS_RR_TYPE_DS); (void) get_ds(p, labels[i-1], &ds_list, &ds_sig_list); if (!ds_list) { + ldns_rr_list_deep_free(ds_sig_list); + (void) get_dnssec_rr( p, labels[i-1] + , LDNS_RR_TYPE_CNA...
feature(display): Blank display on idle/sleep. * Set display blanking, and stop refresh timer for displays when the activity state goes to idle/sleep, and resume when transitioning to active again.
@@ -14,6 +14,8 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL); #include <drivers/display.h> #include <lvgl.h> +#include <zmk/event-manager.h> +#include <zmk/events/activity-state-changed.h> #include <zmk/display/status_screen.h> #define ZMK_DISPLAY_NAME CONFIG_LVGL_DISPLAY_DEV_NAME @@ -35,6 +37,18 @@ void display_tim...
Force macOS 10.15 or later to be 64-bit macOS Catalina (10.15) no longer supports 32-bit applications. Do not wait 5 seconds to give the user the option of using KERNEL_BITS=32 Do not accept the KERNEL_BITS=32 option
@@ -485,6 +485,14 @@ EOF [ 'x86_64-apple-darwin.*', sub { my $KERNEL_BITS = $ENV{KERNEL_BITS} // ''; + # macOS >= 10.15 is 64-bit only + my $SW_VERS = `sw_vers -productVersion 2>/dev/null`; + if ($SW_VERS =~ /^(\d+)\.(\d+)\.(\d+)$/) { + if ($1 > 10 || ($1 == 10 && $2 >= 15)) { + die "32-bit applications not supported o...
Changelog note for Merge PR from mptre: add missing null check.
6 January 2021: Wouter - Fix #379: zone loading over HTTP appears to have buffer issues. + - Merge PR #395 from mptre: add missing null check. 5 January 2021: Wouter - Fix #385: autoconf 2.70 impacts unbound build
Additional information will now be provided when Houdini Engine for Maya cannot connect to a HAPI session.
@@ -211,7 +211,7 @@ initializeSession(const OptionVars &optionVars) } Util::theHAPISession.reset(new Util::HAPISession); - HAPI_Result sessionResult = HAPI_RESULT_FAILURE; + HAPI_Result sessionResult = HAPI_ClearConnectionError(); switch (actualSessionType) { @@ -244,6 +244,19 @@ initializeSession(const OptionVars &opt...
out_nats: support config map
#include <fluent-bit/flb_utils.h> #include <fluent-bit/flb_pack.h> #include <fluent-bit/flb_time.h> +#include <fluent-bit/flb_config_map.h> #include <stdio.h> #include <msgpack.h> @@ -32,6 +33,7 @@ static int cb_nats_init(struct flb_output_instance *ins, struct flb_config *conf void *data) { int io_flags; + int ret; st...
feat: remove tid as it is in every entry
@@ -660,8 +660,8 @@ static void* dispatch_run(void *p_cxt) { struct discord_event_cxt *cxt = p_cxt; - log_info("thread " ANSICOLOR("%u", ANSI_BG_RED) " is serving %s", - cxt->tid, cxt->event_name); + log_info("thread " ANSICOLOR("starts", ANSI_BG_RED) " to serve %s", + cxt->event_name); (*cxt->on_event)(cxt->p_gw, &cxt...
doc: small changes in news
@@ -24,6 +24,8 @@ module has its own parsing code for such values. Some days ago (16.03.2017), we met with Harald Geyer and discussed the current situation. We decided that we will elektrify LCDproc and remove all the configuration access and parsing code within LCDproc. +To **elektrify** an application means to change...
examples: elf: Fix parallel build errors NOTE: Apply the same logic as in examples/posix_spawn/Makefile
@@ -51,18 +51,11 @@ ROOTDEPPATH := --dep-path tests VPATH += :tests -ifeq ($(CONFIG_EXAMPLES_ELF_ROMFS),y) - FSIMG_HDR = $(TESTS_DIR)/romfs.h -else - FSIMG_HDR = $(TESTS_DIR)/cromfs.h -endif - -elf_main.c: tests/symtab.c - -tests/symtab.c tests/dirlist.h $(FSIMG_HDR): +context:: @$(MAKE) -C tests TOPDIR="$(TOPDIR)" APP...
Update RHEL package URL.
@@ -863,14 +863,14 @@ eval "bash -c \"" . "mkdir /root/package-src && " . "wget -q -O /root/package-src/pgbackrest-conf.patch " . - "'https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;hb=refs/heads/master;" . - "f=rpm/redhat/master/common/pgbackrest/master/pgbackrest-conf.patch' && " . + "'https://git.postgr...
The variable http_error_code could be uninitialized This could happen when used by UpnpPrintf().
@@ -369,6 +369,7 @@ int http_RecvMessage(SOCKINFO *info, char *buf; size_t buf_len = 1024; + *http_error_code = HTTP_INTERNAL_SERVER_ERROR; buf = malloc(buf_len); if (!buf) { ret = UPNP_E_OUTOF_MEMORY;
Fix line numbers on Cool Glow theme
@@ -21,7 +21,11 @@ struct CoolGlowSourceCodeTheme: SourceCodeTheme { } var gutterStyle: GutterStyle { + #if os(iOS) + return GutterStyle(backgroundColor: .clear, minimumWidth: 0) + #else return GutterStyle(backgroundColor: backgroundColor, minimumWidth: defaultTheme.gutterStyle.minimumWidth) + #endif } var font: Font {...
SOVERSION bump to version 7.12.3
@@ -73,7 +73,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 7) set(SYSREPO_MINOR_SOVERSION 12) -set(SYSREPO_MICRO_SOVERSION 2) +set(SYSREPO_MICRO_S...
drop unused GPanel member function lookup
@@ -59,7 +59,6 @@ typedef struct GPanel_ void (*insert) (GRawDataItem item, GHolder * h, GRawDataType type, const struct GPanel_ *); void (*holder_callback) (GHolder * h); - void (*lookup) (GRawDataItem item); } GPanel; static void add_data_to_holder (GRawDataItem item, GHolder * h,
esp_pm: fix esp32c2 no sleep_enable_memory_retention error
@@ -21,8 +21,9 @@ entries: esp_clk:esp_rtc_get_time_us (noflash) if GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL = y: sleep_gpio:gpio_sleep_mode_config_apply (noflash) - if IDF_TARGET_ESP32 = n && IDF_TARGET_ESP32S2 = n: + if SOC_PM_SUPPORT_CPU_PD = y || SOC_PM_SUPPORT_TAGMEM_PD = y: sleep_retention:sleep_enable_memory_retention...
genvif: Certification_Type BRANCH=none TEST=verify XML output Tested-by: Denis Brockus
@@ -1078,8 +1078,8 @@ static int gen_vif(const char *name, set_vif_field(&vif_fields[Certification_Type], "Certification_Type", - "1", - "Reference Platform"); + "0", + "End Product"); /********************************************************************* * VIF/Product Fields
Add Compose for TArraySubsetInvertedIndexing.
@@ -974,6 +974,50 @@ namespace NCB { ); } + template <class TSize = size_t> + TArraySubsetInvertedIndexing<TSize> Compose( + const TArraySubsetInvertedIndexing<TSize>& src, + TArraySubsetInvertedIndexing<TSize>&& srcSubset, + NPar::TLocalExecutor* localExecutor + ) { + CB_ENSURE_INTERNAL( + src.GetSize() >= srcSubset.G...
Move MARS test to the extra set
@@ -57,7 +57,6 @@ list( APPEND tests_no_data_reqd bufr_ecc-517 bufr_rdbSubTypes grib_efas - grib_mars_types ) # These tests do require data downloads list( APPEND tests_data_reqd @@ -147,6 +146,7 @@ list( APPEND tests_data_reqd grib_local_MeteoFrance grib_neg_fctime codes_split_file + grib_mars_types ) if( HAVE_FORTRAN...
CLEANUP: fixed bucket_info comment's typo
@@ -49,7 +49,7 @@ typedef struct _prefix_t { struct bucket_info { uint16_t refcount; /* reference count */ uint16_t curpower; /* current hash power: - * how may hash tables each hash bucket use ? (power of 2) + * how many hash tables each hash bucket use ? (power of 2) */ };
Documentation change only: make mentions of BLE APIs links.
@@ -22,10 +22,10 @@ The key APIs provided by this repo, and their relationships with each other, are - If you wish to bring up a network and don't care about the details, use the common [network](common/network) API, which can bring up cellular, BLE or Wifi network(s) at your choosing. - If you wish to use a socket ove...
hw/mcu/da1469x: fix passing of uart name in da1469x_uart_create
@@ -356,7 +356,7 @@ static int da1469x_uart_create(struct uart_dev *dev, const char *name, uint8_t priority, const struct da1469x_uart_cfg *cfg) { - return os_dev_create(&dev->ud_dev, "uart0", + return os_dev_create(&dev->ud_dev, name, OS_DEV_INIT_PRIMARY, priority, uart_hal_init, (void *)cfg); }
Fix build error in audio/pcm_decode.c move misplaced endif
@@ -801,7 +801,6 @@ static int pcm_stop(FAR struct audio_lowerhalf_s *dev, FAR void *session) #else static int pcm_stop(FAR struct audio_lowerhalf_s *dev) #endif -#endif { FAR struct pcm_decode_s *priv = (FAR struct pcm_decode_s *)dev; FAR struct audio_lowerhalf_s *lower; @@ -824,6 +823,7 @@ static int pcm_stop(FAR str...
ci: bugfix: known failure cases cannot read files
@@ -52,7 +52,7 @@ class Runner(threading.Thread): @staticmethod def _get_config_cases(config_file): res = set() - if not config_file or os.path.isfile(config_file): + if not config_file or not os.path.isfile(config_file): return res for line in open(config_file).readlines():
Refactor macro-spanning if in sha512.c
@@ -820,9 +820,11 @@ int mbedtls_sha512_finish( mbedtls_sha512_context *ctx, sha512_put_uint64_be( ctx->state[4], output, 32 ); sha512_put_uint64_be( ctx->state[5], output, 40 ); + int truncated = 0; #if defined(MBEDTLS_SHA384_C) - if( ctx->is384 == 0 ) + truncated = ctx->is384; #endif + if( !truncated ) { sha512_put_u...
[unity]: deleted unuseful comment for linux target
@@ -19,7 +19,6 @@ if(CONFIG_UNITY_ENABLE_FIXTURE) endif() if(${IDF_TARGET} STREQUAL "linux") - message(STATUS "adding linux stuff...") idf_component_get_property(spi_flash_dir spi_flash COMPONENT_DIR) list(APPEND includes "${spi_flash_dir}/sim/stubs/esp_common") else()
socket-connect.c: print ipv6 IP & Port example-- Trying 2620:52:3:1:5054:ff:fede:8714:21 Failed to create a socket: Address family not supported by protocol Trying 2620:52:3:1:5054:ff:fe0d:ee0f:21 Failed to create a socket: Address family not supported by protocol
#include "gftp.h" -static int -get_port (struct addrinfo *addr) +static int get_port (struct addrinfo *addrinf) { - struct sockaddr_in * saddr; - int port; + unsigned short sin_port; + struct sockaddr * saddr = (struct sockaddr *) addrinf->ai_addr; + if (saddr->sa_family == AF_INET) { + sin_port = (((struct sockaddr_in...
Create man5 folder when installing `make install` would blindly try to copy `rgblink.5` even if the destination folder didn't exist.
@@ -77,7 +77,7 @@ install: all $Qinstall ${STRIP} -m ${BINMODE} rgbfix ${BINPREFIX}/rgbfix $Qinstall ${STRIP} -m ${BINMODE} rgblink ${BINPREFIX}/rgblink $Qinstall ${STRIP} -m ${BINMODE} rgbgfx ${BINPREFIX}/rgbgfx - $Qmkdir -p ${MANPREFIX}/man1 ${MANPREFIX}/man7 + $Qmkdir -p ${MANPREFIX}/man1 ${MANPREFIX}/man5 ${MANPREF...
Compile with and Blake2s.
@@ -10,10 +10,12 @@ CFLAGS = $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES) LDLIBS = -lrt SRCS = babeld.c net.c kernel.c util.c interface.c source.c neighbour.c \ - route.c xroute.c message.c resend.c configuration.c local.c + route.c xroute.c message.c resend.c configuration.c local.c \ + rfc6234/sha224-256.c BLAKE2/ref/b...
added launch, chat, publish, clock, and weather as default apps for comets
[%base %talk] [%base %dojo] [%base %modulo] + [%home %launch] + [%home %chat] + [%home %publish] + [%home %clock] + [%home %weather] == :~ [%home %lens] [%home %acme]
libbpf-tools: update biopattern for libbpf 1.0 Switch to libbpf 1.0 mode and adapt libbpf API usage accordingly.
@@ -173,14 +173,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 = biopattern_bpf__open(); if (!obj) { fpr...
Fix comparison between mismatched enums
@@ -160,7 +160,7 @@ int LMS7_LimeSDR_mini::Calibrate(bool dir_tx, unsigned chan, double bw, unsigned uint16_t value = fpga->ReadRegister(0x17); uint16_t wr_val = value & (~0x3300); wr_val |= lms_list[0]->GetBandTRF() == LMS_PATH_TX2 ? 0x1000 : 0x2000; - wr_val |= lms_list[0]->GetPathRFE() == LMS_PATH_LNAW ? 0x100 : 0x2...
[kernel] correct typo
@@ -164,7 +164,7 @@ protected: /** mass of the system */ SP::SiconosMatrix _mass; - /** true i the mass matrix is constant */ + /** true if the mass matrix is constant */ bool _hasConstantMass; /** inverse or factorization of the mass of the system */
adding libc getdtablesize
@@ -468,7 +468,7 @@ GOW(__getdelim, iFppip) // getdirentries64 GO(getdomainname, iFpu) // __getdomainname_chk -// getdtablesize // Weak +GOW(getdtablesize, iFv) GOW(getegid, iFv) GO(getenv, pFp) GOW(geteuid, pFv)
update wine in tests update wine in tests
}, "wine": { "formula": { - "sandbox_id": 252923762, + "sandbox_id": 495594294, "match": "Wine" }, "executable": {
Change default tray icon
@@ -111,7 +111,7 @@ VOID PhAddDefaultSettings( PhpAddStringSetting(L"IconTrayGuids", L""); PhpAddIntegerSetting(L"IconTrayPersistGuidEnabled", L"0"); PhpAddIntegerSetting(L"IconIgnoreBalloonClick", L"0"); - PhpAddStringSetting(L"IconSettings", L"1|1"); + PhpAddStringSetting(L"IconSettings", L"2|1"); PhpAddIntegerSettin...
Added a comment after
@@ -151,6 +151,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings. #endif #if !defined(VK_VERSION_1_2) + // This one is tricky. Vulkan specification defines this code as available since + // Vulkan 1.0, but doesn't actually define it in Vulkan SDK earlier than 1.2.131. + // See pull request #207. #define VK...
docs/reference/filesystem: Add note and example about using filesystem.
@@ -156,6 +156,13 @@ As it supports the extended interface, it can be used with :class:`littlefs os.VfsLfs2.mkfs(bdev) os.mount(bdev, '/ramdisk') +Once mounted, the filesystem (regardless of its type) can be used as it +normally would be used from Python code, for example:: + + with open('/ramdisk/hello.txt', 'w') as f...
fix linking libbcc with non-standard install paths
@@ -908,11 +908,15 @@ IF (WITH_H2OLOG) DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/h2olog/misc/gen-quic-bpf.py" ) LIST(APPEND H2OLOG_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/h2olog/generated-quic.cc") + LINK_DIRECTORIES("${LIBBCC_LIBRARY_DIRS}") ADD_EXECUTABLE(h2olog ${H2OLOG_SOURCE_FILES}) - TARGET_INCLUDE_DIRECTORIES(h2olo...
Adderror message in sock loop.
@@ -370,6 +370,10 @@ int picoquic_packet_loop(picoquic_quic_t* quic, sock_ret = picoquic_sendmsg(send_socket, (struct sockaddr*)&peer_addr, (struct sockaddr*)&local_addr, if_index, (const char*)send_buffer, (int)send_length, (int)send_msg_size, &sock_err); + + if (sock_ret != (int)send_length && last_cnx != NULL) { + p...
disables (obsolete?) %jael assertion that the first hull-dill be %full
=+ hul=(fall (~(get by hul.eth) who) *hull) :: :: if new, first dif must be %full + :: XX review, requirement seems obsolete :: - ?> |((~(has by hul.eth) who) ?=(%full -.dif)) + :: ?> |((~(has by hul.eth) who) ?=(%full -.dif)) :: :: sanity checks, should never fail if we operate correctly ::
Fixed an issue where an EA 4-way multitap could be incorrectly detected.
@@ -64,18 +64,26 @@ void JOY_reset() pb = (vu8 *)0xa10009; *pb = 0x40; pb = (vu8 *)0xa1000b; - *pb = 0x43; - pb = (vu8 *)0xa10005; - *pb = 0x7C; - pb = (vu8 *)0xa1000b; *pb = 0x7F; + pb = (vu8 *)0xa10003; + *pb = 0x40; + pb = (vu8 *)0xa10005; - *pb = 0x7C; + *pb = 0x0C; + asm volatile ("nop"); + asm volatile ("nop"); p...
Update client_zephyr sample to reissue discovery every 10s This change makes the Zephyr client sample reissue discovery requests every 10s until it has found a matching resource.
@@ -25,6 +25,7 @@ static char light_1[MAX_URI_LENGTH]; static oc_server_handle_t light_server; static bool light_state = false; static struct k_sem block; +static bool got_discovery_response = false; static void set_device_custom_property(void *data) @@ -114,16 +115,29 @@ discovery(const char *di, const char *uri, oc_s...
Update README.md Add Wasin Thonkaew to staff.
@@ -65,6 +65,9 @@ Known as O'Ilusionista, Douglas is a highly respected administrator of the OpenB #### [Malik](https://github.com/msmalik681) (2018-) Malik came to the team with a strong OpenBOR scripting background, and quickly established himself as a resident go-to for the Android Port. Malik dedicates himself to k...
interpreters/wamr: New option to support ref types
@@ -92,6 +92,10 @@ config INTERPRETERS_WAMR_MINILOADER ---help--- Mini-loader don't check the integrity of wasm module +config INTERPRETERS_WAMR_REF_TYPES + bool "Enable reference types support" + default n + config INTERPRETERS_WAMR_STACK_GUARD_SIZE int "Custom stack guard size" default 0
make depend for win_svc.c include.
@@ -1463,7 +1463,7 @@ win_svc.lo win_svc.o: $(srcdir)/winrc/win_svc.c config.h $(srcdir)/winrc/win_svc $(srcdir)/util/data/msgparse.h $(srcdir)/sldns/pkthdr.h $(srcdir)/sldns/rrdef.h $(srcdir)/daemon/stats.h \ $(srcdir)/util/timehist.h $(srcdir)/libunbound/unbound.h $(srcdir)/util/module.h $(srcdir)/dnstap/dnstap.h \ $...
make function reference consistent
@@ -110,8 +110,8 @@ The full 256 characters can be displayed with: ```python b = bytearray(range(256)) for j in range(256*6): - scroll.show_text(b, 8, j) - scroll.update() + picoscroll.show_text(b, 8, j) + picoscroll.update() time.sleep(0.1) ``` @@ -129,7 +129,7 @@ The full 256 characters can be displayed with: ```pyth...
fix too early tlv access on macOS in the recursion check
@@ -257,22 +257,37 @@ static _Atomic(size_t) warning_count; // = 0; // when >= max_warning_count stop // When overriding malloc, we may recurse into mi_vfprintf if an allocation // inside the C runtime causes another message. +// In some cases (like on macOS) the loader already allocates which +// calls into mimalloc; ...
sparse array: reduces the block size This becomes a performance improvement in the ossl_sa_doall_arg function which has started appearing on profile output. The other ossl_sa_ functions don't contribute significantly to profile output.
* depth of the tree but potentially wastes more memory. That is, this is a * direct space versus time tradeoff. * - * The large memory model uses twelve bits which means that the are 4096 - * pointers in each tree node. This is more than sufficient to hold the - * largest defined NID (as of Feb 2019). This means that u...
Fix `os.Stdin` handling for Edge `os.Stdin` for the following scenarios works in the modes: scope start -f <empty> - `fs.ModeCharDevice`, Unix character device cat <file> | scope start -f - `fs.ModeNamedPipe`, named pipe (FIFO) Edge - `fs.ModeSocket`, Unix domain socket` scope start -f < <file> - No mode is define...
@@ -340,8 +340,8 @@ func getStartData() []byte { return startData } - // Verify size of data for mode other than a pipe - if stdinFs.Size() == 0 && stdinFs.Mode()&os.ModeNamedPipe == 0 { + // Avoid waiting for input from terminal when no data was provided + if stdinFs.Mode()&os.ModeCharDevice != 0 && stdinFs.Size() == ...
add new test: test_program_scope_vars.cpp This tests that program scope variables work across multiple kernels. Uses two programs with identically named global variables, to check that implementation properly separates global variable storage.
@@ -52,10 +52,14 @@ set(PROGRAMS_TO_BUILD test_barrier_between_for_loops test_early_return test_workitem_func_outside_kernel ) +if(OPENCL_HEADER_VERSION GREATER 299) + list(APPEND PROGRAMS_TO_BUILD test_program_scope_vars) +endif() + if (MSVC) add_compile_options(${OPENCL_CFLAGS}) else () - add_compile_options("-std=c+...
bump version to 1.6.3 for further development
@@ -8,7 +8,7 @@ terms of the MIT license. A copy of the license can be found in the file #ifndef MIMALLOC_H #define MIMALLOC_H -#define MI_MALLOC_VERSION 162 // major + 2 digits minor +#define MI_MALLOC_VERSION 163 // major + 2 digits minor // ------------------------------------------------------ // Compiler specific ...
http_test.c: Simplify constant init of 'server_args' struct for gcc-4.8.x
@@ -208,13 +208,14 @@ static int test_http_keep_alive(char version, int keep_alive, int kept_alive) BIO *rbio = BIO_new(BIO_s_mem()); BIO *rsp; const char *const content_type = "application/x-x509-ca-cert"; - server_args mock_args = { NULL, content_type, NULL, '0', 0 }; + server_args mock_args = { NULL, NULL, NULL, '0'...
remove the comments.
@@ -64,7 +64,6 @@ void schedule_startDAGroot() { memset(&temp_neighbor,0,sizeof(temp_neighbor)); temp_neighbor.type = ADDR_ANYCAST; for (running_slotOffset=start_slotOffset;running_slotOffset<start_slotOffset+SCHEDULE_MINIMAL_6TISCH_ACTIVE_CELLS;running_slotOffset++) { - /* pendulum schedule_addActiveSlot( running_slot...
mavlink_opticalflow: always send flow packets regardless of quality the flight controller performs best if it has regular updates
@@ -91,11 +91,8 @@ while(True): sub_pixel_x = int(-displacement.x_translation() * 35) sub_pixel_y = int(displacement.y_translation() * 53) - if(displacement.response() > MAV_OPTICAL_FLOW_confidence_threshold): send_optical_flow_packet(sub_pixel_x, sub_pixel_y, displacement.response()) print("{0:+f}x {1:+f}y {2} {3} FPS...
cache common header names
@@ -38,6 +38,13 @@ static VALUE RACK_UPGRADE_SSE; static VALUE RACK_UPGRADE_WEBSOCKET; static VALUE UPGRADE_TCP; +static VALUE HTTP_ACCEPT; +static VALUE HTTP_USER_AGENT; +static VALUE HTTP_ACCEPT_ENCODING; +static VALUE HTTP_ACCEPT_LANGUAGE; +static VALUE HTTP_CONNECTION; +static VALUE HTTP_HOST; + static VALUE hijack...
fixing broken image copy
@@ -106,7 +106,7 @@ def copy_currents_from_html_pages(filelist, cat, pyfile, mode, datetag, prompt): if docopy != 'y' and docopy != 'Y': continue print "Copying file \"%s\""%f - urllib.urlretrieve("http://portal.nersc.gov/project/visit/tests/%s/surface_trunk_%s/c_%s.png"%(datetag,mode,f), + urllib.urlretrieve("http://p...
SOVERSION bump to version 5.4.15
@@ -45,7 +45,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 5) set(SYSREPO_MINOR_SOVERSION 4) -set(SYSREPO_MICRO_SOVERSION 14) +set(SYSREPO_MICRO_S...