message
stringlengths
6
474
diff
stringlengths
8
5.22k
Make sure SSL_in_init() returns 0 at SSL_CB_HANDSHAKE_DONE In 1.1.0 and before calling SSL_in_init() from the info_callback at SSL_CB_HANDSHAKE_DONE would return 0. This commit fixes it so that it does again for 1.1.1. This broke Node. Fixes
@@ -1090,13 +1090,18 @@ WORK_STATE tls_finish_handshake(SSL *s, WORK_STATE wst, int clearbufs, int stop) else if (s->ctx->info_callback != NULL) cb = s->ctx->info_callback; + /* The callback may expect us to not be in init at handshake done */ + ossl_statem_set_in_init(s, 0); + if (cb != NULL) cb(s, SSL_CB_HANDSHAKE_DO...
[bluetrum] add default RTT_ROOT
@@ -7,15 +7,14 @@ CROSS_TOOL ='gcc' if os.getenv('RTT_ROOT'): RTT_ROOT = os.getenv('RTT_ROOT') -# else: -# RTT_ROOT = r'../../..' +else: + RTT_ROOT = r'../../..' if os.getenv('RTT_CC'): CROSS_TOOL = os.getenv('RTT_CC') if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' - # EXEC_PATH = r'/opt/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-...
update values in performance over heap memory
@@ -39,9 +39,9 @@ ESP32 # Performance over heap memory | Setup | free heap size | | --------- | ----------- | -| SECURE, TCP, IPV4, fresh | 170KB | -| SECURE, TCP, IPV4, just owned | 89KB | -| SECURE, TCP, IPV4, owned, rebooted | 162KB | -| SECURE, TCP, IPV4, just owned, onboarded to the cloud | 86KB | -| SECURE, TCP, ...
cony patched contrib cony patched contrib
@@ -7,6 +7,10 @@ ALLOW market/sre/tools/config-primer/src/internal/blogic -> contrib/go/patched/h # CONTRIB-1581. responsible: grihabor@, g:strm-admin ALLOW strm/plgo -> contrib/go/patched/hashring +# CONTRIB-1627. responsible: g:edadeal-go +ALLOW edadeal -> contrib/go/patched/cony +ALLOW contrib/go/patched/cony -> con...
cirrus: disable tcl on FreeBSD due to
@@ -62,7 +62,7 @@ bsd_task: -DCOMMON_FLAGS=-Werror -DC_STD=-std=c11 -DENABLE_ASAN="${ENABLE_ASAN:-OFF}" - -DPLUGINS=ALL + -DPLUGINS='ALL;-tcl' -DTARGET_PLUGIN_FOLDER='' - *print_cmake_options - *generate
Handle missing vendor url case
@@ -279,6 +279,11 @@ def verify_person_linked_vendor(person, vendors): raise ValueError(f"vendor_id({person.vendor_id}) does not match any from 'vendors' JSON") # TODO query the server DB to make sure the vendor exists + if vendor.url: + person.vendor_url = vendor.url + person.data["vendorUrl"] = person.vendor_url + el...
added warning on native when not running sudo / not able to allocate tun
#include <sys/socket.h> -#define DEBUG DEBUG_FULL +#define DEBUG DEBUG_NONE #include "net/ipv6/uip-debug.h" #ifdef linux @@ -209,7 +209,9 @@ tun_init() tunfd = tun_alloc(config_tundev); if(tunfd == -1) { - err(1, "failed to allocate tun device ``%s''", config_tundev); + printf("Warning: can't allocate tun device when n...
Name some functions and vtables
@@ -1233,6 +1233,11 @@ factory.register(0x1416A9D88, "Client::UI::UI3DModule", "", { }) factory.register(0x1416A9DA0, "Client::UI::UIModule", "Client::UI::UIModuleInterface", { 0x1405C48F0: "ctor", + 12: "GetRaptureMacroModule", + 13: "GetRaptureHotbarModule", + 14: "GetRaptureGearsetModule", + 16: "GetItemOrderModule"...
H7: remove manual bus off handling remove this
#define CANFD -#define BUS_OFF_FAIL_LIMIT 2U -uint8_t bus_off_err[] = {0U, 0U, 0U}; - typedef struct { volatile uint32_t header[2]; volatile uint32_t data_word[CANPACKET_DATA_SIZE_MAX/4U]; @@ -34,20 +31,6 @@ void can_set_gmlan(uint8_t bus) { puts("GMLAN not available on red panda\n"); } -void cycle_transceiver(uint8_t ...
options/rtdl: implement dlopen(NULL)
@@ -24,6 +24,8 @@ frg::manual_box<Loader> globalLoader; frg::manual_box<RuntimeTlsMap> runtimeTlsMap; +static SharedObject *executableSO; + // Relocates the dynamic linker (i.e. this DSO) itself. // Assumptions: // - There are no references to external symbols. @@ -178,19 +180,19 @@ extern "C" void *interpreterMain(uin...
Prevent switch from jumping when clicked
@@ -296,12 +296,20 @@ static lv_res_t lv_sw_signal(lv_obj_t * sw, lv_signal_t sign, void * param) if(lv_sw_get_anim_time(sw) > 0) { /* Keep forcing the slider to old_val */ lv_slider_set_value(sw, old_val); + ext->slider.drag_value = old_val; } #endif } else if(sign == LV_SIGNAL_PRESS_LOST) { ext->changed = 0; if(lv_sw...
Enable PIC if only specifying toolchain.
@@ -421,6 +421,10 @@ function _get_configs_for_cross(package, configs, opt) -- https://github.com/xmake-io/xmake/issues/2170 if not package:is_plat(os.subhost()) then envs.CMAKE_SYSTEM_NAME = "Linux" + else + if package:config("pic") ~= false then + table.insert(configs, "-DCMAKE_POSITION_INDEPENDENT_CODE=ON") + end en...
out_bigquery: always release unpacked results after formatting
@@ -408,11 +408,11 @@ static int bigquery_format(const void *data, size_t bytes, /* Convert from msgpack to JSON */ out_buf = flb_msgpack_raw_to_json_sds(mp_sbuf.data, mp_sbuf.size); + msgpack_unpacked_destroy(&result); msgpack_sbuffer_destroy(&mp_sbuf); if (!out_buf) { flb_plg_error(ctx->ins, "error formatting JSON pa...
examples MAINTENANCE do not prefix plugins with "lib"
@@ -13,5 +13,6 @@ foreach(app_name IN LISTS examples) endforeach(app_name) # oven plugin -add_library(oven SHARED plugin/oven.c) +add_library(oven MODULE plugin/oven.c) +set_target_properties(oven PROPERTIES PREFIX "") target_link_libraries(oven sysrepo)
OS Tick Private Timer updated (it now uses IRQ Controller API)
* @file os_tick_ptim.c * @brief CMSIS OS Tick implementation for Private Timer * @version V1.0.0 - * @date 13. June 2017 + * @date 29. June 2017 ******************************************************************************/ /* - * Copyright (c) 2017-2017 ARM Limited. All rights reserved. + * Copyright (c) 2017 ARM Lim...
OpenSSL::Test.pm: Replace all uses of rel2abs() with abs_path() rel2abs() doesn't clean the path well enough, which may lead to odd results when calculating new paths. abs_path() works better for this sort of thing.
@@ -65,8 +65,7 @@ C<$SRCTOP/test/recipes/99-foo_data/>. use File::Copy; use File::Spec::Functions qw/file_name_is_absolute curdir canonpath splitdir - catdir catfile splitpath catpath devnull abs2rel - rel2abs/; + catdir catfile splitpath catpath devnull abs2rel/; use File::Path 2.00 qw/rmtree mkpath/; use File::Basena...
Edited preparation document
@@ -49,13 +49,13 @@ The following section lists news about the [plugins](https://www.libelektra.org/ ### <<Plugin1>> -- Removed unused variable that threw an error from filecheck.c. _(Vaibhav Ganesh @flackojr)_ +- Removed unused variable that threw an error in filecheck.c. _(Vaibhav Ganesh @flackojr)_ - <<TODO>> - <<TO...
Use 2 stop bits for the UART connection
@@ -85,7 +85,7 @@ class Lora(): if not self.uart: self.uart = UART(8, 19200) #self.uart = UART(1, 19200) # Use external module - self.uart.init(19200, bits=8, parity=None, stop=1, timeout=250, timeout_char=100) + self.uart.init(19200, bits=8, parity=None, stop=2, timeout=250, timeout_char=100) def debug_print(self, dat...
docs: updated CN trans for linker-script-generation and external-ram
@@ -71,6 +71,7 @@ Placing object files """""""""""""""""""" Suppose the entirety of ``my_src1.o`` is performance-critical, so it is desirable to place it in RAM. On the other hand, the entirety of ``my_src2.o`` contains symbols needed coming out of deep sleep, so it needs to be put under RTC memory. + In the linker fra...
Fixes for SPI pins for "P1" pins
compatible = "nordic,nrf-spi"; /* Cannot be used together with i2c0. */ /* status = "okay"; */ - sck-pin = <13>; + sck-pin = <45>; mosi-pin = <10>; - miso-pin = <11>; + miso-pin = <43>; }; &flash0 { }; }; }; -
Fixed documentation in linear_hash_handler.h
@@ -45,10 +45,8 @@ linear_hash_dict_insert( @brief Creates an instance of a dictionary. @details Creates an instance of a dictionary given a @p key_size and - @p value_size, in bytes as well as the @p dictionary_size, which - is the maximum number of levels in the skiplist. By nature of the - structure, the maximum num...
verify receivedFrame and reset txAck_done flag.
@@ -29,8 +29,9 @@ corresponding to the incoming frame. //=========================== defines ========================================= #define LENGTH_PACKET 3+LENGTH_CRC // maximum length is 127 bytes +#define MAX_PKT_LEN 125+LENGTH_CRC #define CHANNEL 11 // 24ghz: 11 = 2.405GHz, subghz: 11 = 865.325 in FSK operating m...
[lwip] update list_if: add BROADCAST.
@@ -563,6 +563,7 @@ void list_if(void) if (netif->flags & NETIF_FLAG_LINK_UP) rt_kprintf(" LINK_UP"); else rt_kprintf(" LINK_DOWN"); if (netif->flags & NETIF_FLAG_ETHARP) rt_kprintf(" ETHARP"); + if (netif->flags & NETIF_FLAG_BROADCAST) rt_kprintf(" BROADCAST"); if (netif->flags & NETIF_FLAG_IGMP) rt_kprintf(" IGMP"); ...
[kernel][idle] Improve rt_thread_idle_sethook and rt_thread_idle_delhook code.
* dead thread. * 2016-08-09 ArdaFu add method to get the handler of the idle thread. * 2018-02-07 Bernard lock scheduler to protect tid->cleanup. + * 2018-07-14 armink add idle hook list */ #include <rthw.h> @@ -75,6 +76,7 @@ rt_err_t rt_thread_idle_sethook(void (*hook)(void)) { rt_size_t i; rt_base_t level; + rt_err_t...
Base 666: Do not export en/decoding functions
#include <kdb.h> #include <kdberrors.h> -int decode (Key * key, Key * parent) +static int decode (Key * key, Key * parent) { const char * strVal = keyString (key); @@ -46,7 +46,7 @@ int decode (Key * key, Key * parent) return 1; } -int encode (Key * key, Key * parent) +static int encode (Key * key, Key * parent) { if (...
nucleo-l073rz: Add PWM configuration BSP was missing any PWM devices while board was capable of having 2 (without additional changes to PWM driver). This adds two PWM device configuration that can be used in application (i.e. pwm_test)
@@ -89,6 +89,20 @@ const struct stm32_hal_i2c_cfg os_bsp_i2c2_cfg = { }; #endif +#if MYNEWT_VAL(PWM_0) +struct stm32_pwm_conf os_bsp_pwm0_cfg = { + .tim = TIM3, + .irq = TIM3_IRQn, +}; +#endif + +#if MYNEWT_VAL(PWM_1) +struct stm32_pwm_conf os_bsp_pwm1_cfg = { + .tim = TIM2, + .irq = TIM2_IRQn, +}; +#endif + static con...
Switching fileslower -> funcslower in the man pages
.TH funcslower 8 "2017-03-30" "USER COMMANDS" .SH NAME -fileslower \- Trace slow kernel or user function calls. +funcslower \- Trace slow kernel or user function calls. .SH SYNOPSIS -.B fileslower [\-hf] [\-p PID] [\-U | \-K] [-m MIN_MS] [-u MIN_US] [-a ARGUMENTS] [-T] [-t] [-v] function [function ...] +.B funcslower [...
Remove obsolete ocf_cache_wait_for_io_finish from pyocf
@@ -482,7 +482,6 @@ class Cache: [("cache", c_void_p), ("priv", c_void_p), ("error", c_int)] ) - self.owner.lib.ocf_cache_wait_for_io_finish(self.cache_handle) self.owner.lib.ocf_mngt_cache_stop(self.cache_handle, c, None) c.wait()
schema compile BUGFIX removed assert ... because the deviations can cause a false in the assert condition. Fixes
@@ -3319,7 +3319,6 @@ lys_compile_node_choice_child(struct lysc_ctx *ctx, struct lysp_node *child_p, s /* Compiled case node cannot point to his corresponding parsed node * because it exists temporarily. Therefore, it must be set to NULL. */ - assert(compiled_case->priv == cs_p); compiled_case->priv = NULL; }
set alarm for behn timers
@@ -78,6 +78,7 @@ u3_behn_ef_doze(u3_noun wen) u3_noun now = u3_time_in_tv(&tim_tv); c3_d gap_d = u3_time_gap_ms(now, u3k(u3t(wen))); + teh_u->alm = c3y; uv_timer_start(&teh_u->tim_u, _behn_time_cb, gap_d, 0); }
Docs - add GreenplumR 1.1.0 to component version table
</thead> <tbody> <row> - <entry colname="col1">1.0.0</entry> + <entry colname="col1">1,1,0, 1.0.0</entry> <entry colname="col2">3.6+</entry> <entry colname="col3">6.1+</entry> <entry colname="col4">3.0.2+</entry>
Account for lr in aarch64's uc_addr
@@ -49,6 +49,8 @@ uc_addr (unw_tdep_context_t *uc, int reg) #ifdef __FreeBSD__ if (reg >= UNW_AARCH64_X0 && reg < UNW_AARCH64_X30) return &uc->uc_mcontext.mc_gpregs.gp_x[reg]; + else if (reg == UNW_AARCH64_X30) + return &uc->uc_mcontext.mc_gpregs.gp_lr; else if (reg == UNW_AARCH64_SP) return &uc->uc_mcontext.sp; else i...
driver/accelgyro_icm_common.h: Format with clang-format BRANCH=none TEST=none
@@ -35,10 +35,8 @@ struct icm_drv_data_t { uint8_t fifo_buffer[ICM_FIFO_BUFFER] __aligned(sizeof(long)); }; -#define ICM_GET_DATA(_s) \ - ((struct icm_drv_data_t *)(_s)->drv_data) -#define ICM_GET_SAVED_DATA(_s) \ - (&ICM_GET_DATA(_s)->saved_data[(_s)->type]) +#define ICM_GET_DATA(_s) ((struct icm_drv_data_t *)(_s)->dr...
Add encrypted api token.
@@ -12,9 +12,9 @@ os: before_deploy: deploy: provider: releases - api_key: "GITHUB OAUTH TOKEN" - file: "$TRAVIS_BUILD_DIR/janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.tar.gz" - skip_cleanup: true + api_key: + secure: JSqAOTH1jmfVlbOuPO3BbY1BhPq+ddiBNPCxuAyKHoVwfO4eNAmq9COI+UwCMWY3dg+YlspufRwkHj//B7QQ6hPbSsKu+Mapu6gr/CAE/jxbf...
Add check for unsupported type
@@ -14,6 +14,15 @@ namespace kdb namespace tools { +const std::set<std::string> supportedTypes{ + "enum", "short", "unsigned_short", "long", "unsigned_long", "long_long", "unsigned_long_long", "float", "double", + "long_double" + "char", + "boolean", + "octet", + "any", "string" +}; + SpecBackendBuilder::SpecBackendBui...
PACSign doc: add description of key naming Add a table describing the required key naming conventions for each image type.
@@ -212,6 +212,25 @@ describes the options required based on certification type. Omitting one key generates a valid, but unauthenticated bitstream. You can only load the unauthenticated bitstream on a PAC with no root entry hash programmed for that bitstream type. +### Key Naming Convention ### + +Key pairs are require...
SOVERSION bump to version 6.1.19
@@ -68,7 +68,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 6) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 18) +set(SYSREPO_MICRO_S...
fix gmake2 utility outputting an entire set of elements.
gmake2.shellType, utility.initialize, utility.createFileTable, + utility.outputConfigurationSection, utility.outputFilesSection, utility.outputRulesSection, utility.outputFileRuleSection, end + function utility.outputConfigurationSection(prj) + _p('# Configurations') + _p('# ############################################...
enclave-tls: add debug mode This patch solves the error when setting DEBUG=1: hidden symbol `stat' in /usr/lib/x86_64-linux-gnu/libc_nonshared.a(stat.oS) is referenced by DSO. Fixes:
@@ -60,7 +60,7 @@ endif libenclave_tls_objs := $(libenclave_tls_files:.c=.o) $(Build_Libdir)/$(libenclave_tls): $(Build_Dependencies) $(libenclave_tls_objs) @$(INSTALL) -d -m 0755 $(dir $@) - $(LD) $(Enclave_Tls_Ldflags) -soname=$(notdir $@).$(Major_Version) -o $@ $(libenclave_tls_objs) -ldl $(Enclave_Tls_Extra_Ldflags...
sse4.1: fix _mm_blend_{ps,pd} mask It was using 0x80 instead of the high bit of the relevant type.
-/* Copyright (c) 2017 Evan Nemerson <evan@nemerson.com> +/* Copyright (c) 2017-2018 Evan Nemerson <evan@nemerson.com> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation @@ -163,7 +163,7 @@ simde_mm_blendv_pd (simde__m128d a, simde__m128d b, ...
plugins types BUGFIX leafref can match several data nodes Fixes sysrepo/sysrepo#2930
@@ -1005,8 +1005,7 @@ lyplg_type_resolve_leafref(const struct lysc_type_leafref *lref, const struct ly /* check the result */ if (target_path) { - /* no or exact match */ - assert(!set.used || (set.used == 1)); + /* no or exact match(es) */ i = 0; } else { /* check whether any matches */
build: update GoogleCloudPlatform/github-actions/setup-gcloud to 0.2.0
@@ -100,7 +100,7 @@ jobs: name: mars authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@0.1.2 + - uses: GoogleCloudPlatform/github-actions/setup-gcloud@0.2.0 with: version: '290.0.1' service_account_key: ${{ secrets.GCS_SERVICE_ACCOUNT_KEY }}
Add MobHunt to EventHandlerType
@@ -58,6 +58,7 @@ public enum EventHandlerType : ushort { InstanceContentGuide = 0x001D, HousingAethernet = 0x001E, FcTalk = 0x001F, + MobHunt = 0x0020, Adventure = 0x0021, DailyQuestSupply = 0x0022, TripleTriad = 0x0023,
binfmt: Check return pointer. Function builtin_for_index may return NULL. We must check this to prevent visit invalid address.
@@ -97,6 +97,12 @@ static int builtin_loadbinary(FAR struct binary_s *binp, */ builtin = builtin_for_index(index); + if (builtin == NULL) + { + berr("ERROR: %s is not a builtin application\n", filename); + return -ENOENT; + } + binp->entrypt = builtin->main; binp->stacksize = builtin->stacksize; binp->priority = builti...
OcDevicePathLib: Fix Hyper-V startup disk device path expansion Hyper-V device paths changed to allow for hot add/remove of disks per
@@ -838,6 +838,9 @@ BmConnectUsbShortFormDevicePath ( /Scsi(0x0,0x0) /HD(2,GPT,63882141-5773-4630-B8FD-2C6E4A491C78,0x64028,0x3A66090) + Additionally, MacHyperVSupport exposes disks as individual SCSI targets to properly support hotplug + where Hyper-V exposes just a single target. + @param[in] FilePath macOS-made devi...
naive: update wires and path in azimuth
:: TODO: add poke action to allow switching? :: eth snapshot could also be considered :: - %mainnet + %local :: TODO: maybe flop the endianness here so metamask signs it in normal :: order? :: :- [%give %fact ~[path] %azimuth-udiffs !>(~[i.udiffs])] $(udiffs t.udiffs) :: -++ aggregator-update +++ tx-update |= effects=(...
u3: removes obsolete bail:need assertion
@@ -612,7 +612,6 @@ c3_w Exit; ** %intr :: interrupt ** %fail :: computability failure ** %over :: stack overflow (a kind of %fail) -** %need :: namespace block ** %meme :: out of memory ** ** These are equivalents of the full exception noun, the error ball: @@ -673,21 +672,15 @@ u3m_bail(u3_noun how) /* Reconstruct a ...
Extract a generic +require-authorization gate.
:: "</body></html>" == +:: +require-authorization: redirect to the login page when unauthenticated +:: +++ require-authorization + |* [=bone move=mold this=*] + |= handler=$-(inbound-request:light (quip move _this)) + |= =inbound-request:light + ^- (quip move _this) + :: + ?: authenticated.inbound-request + (handler in...
Fix build with --with-cryptopp --disable-shared Adds -lstdc++ to LIBS in configure when cryptopp is enabled. Without lstdc++ linking fails when configured with --with-cryptopp and disable-shared.
@@ -70,6 +70,7 @@ AS_IF([test "x$with_cryptopp" = "xyes"], ) AM_CONDITIONAL([USE_CRYPTOPP], [test "x$with_cryptopp" = "xyes"]) +AS_IF([test "x$with_cryptopp" = "xyes"], [cryptopp_LIBS="$cryptopp_LIBS -lstdc++"]) CPPFLAGS="$CPPFLAGS $cryptopp_CFLAGS" LIBS="$LIBS $cryptopp_LIBS"
Removed prerelease naming from RHEL
@@ -30,7 +30,7 @@ osname=$(cat /etc/os-release | grep -e ^NAME=) rpmname="Not_Found" if [[ $osname =~ "Red Hat" ]]; then echo "Red Hat found!!!" - rpmname=${1:-aomp_REDHAT_7_prerelease} + rpmname=${1:-aomp_REDHAT_7} fi if [[ $osname =~ "SUSE" ]]; then
Reformat kconfig tests
@@ -197,18 +197,13 @@ TEST (kconfig, read_tests) TEST (kconfig, invalid_read_tests) { test_read_fails ("[openGroupName"); - test_read_fails ("multiple.locales[en][de]" // - ); + test_read_fails ("multiple.locales[en][de]"); test_read_fails ("[content after the group]name\n"); test_read_fails ("[content after the group ...
hammer: Use different KB scanning matrix for masterball ODM/OEM decided to change pinout. BRANCH=none TEST=make BOARD=masterball TEST=Check that there is not interrupt conflict in gpio.inc
@@ -21,6 +21,31 @@ GPIO_INT(TABLET_MODE_L, PIN(B, 11), GPIO_PULL_UP | GPIO_INT_BOTH, gmr_tablet_swi #define GPIO_KB_INPUT (GPIO_INPUT | GPIO_PULL_UP | GPIO_INT_BOTH) #define GPIO_KB_OUTPUT GPIO_ODR_HIGH +#ifdef BOARD_MASTERBALL +GPIO_INT(KB_IN00, PIN(B, 2), GPIO_KB_INPUT, keyboard_raw_gpio_interrupt) +GPIO_INT(KB_IN01,...
neighbor advertisement must with target_link option
@@ -5050,6 +5050,8 @@ send_ip6_na_w_addr (vlib_main_t * vm, h->neighbor.target_address = ip6_addr[0]; h->neighbor.advertisement_flags = clib_host_to_net_u32 (ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_OVERRIDE); + h->link_layer_option.header.type = + ICMP6_NEIGHBOR_DISCOVERY_OPTION_target_link_layer_address; clib_memcpy (h->lin...
Windows/Cygwin dlls need the executable bit set CLA: trivial
@@ -622,7 +622,7 @@ install_runtime_libs: build_libs : {- output_off() unless windowsdll(); "" -}; \ $(ECHO) "install $$s -> $(DESTDIR)$(INSTALLTOP)/bin/$$fn"; \ cp $$s $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \ - chmod 644 $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \ + chmod 755 $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \ mv -f $...
Allow start time to be set with EN_settimeparam Add additional case for `EN_STARTTIME` to the `EN_settimeparam` function.
@@ -1591,6 +1591,11 @@ int DLLEXPORT EN_settimeparam(EN_Project p, int param, long value) time->Qtime = value; break; + case EN_STARTTIME: + if (value < 0) return 213; + time->Tstart = value; + break; + default: return 251; }
Fix MCF Simplified UI Web job
@@ -337,6 +337,7 @@ function addWebConnector(){ },1500)); } else { $("#addWeb").trigger("reset"); + var jobStarted = ""; if(document.getElementById('startJobWeb').checked) { jobStarted = " and started"; }
mm/mm_heap/mm_free : Add givesemaphore before returning failure case Before double free checking, we took semaphore for that heap. So before returning, we should give the semaphore.
@@ -129,6 +129,7 @@ void mm_free(FAR struct mm_heap_s *heap, FAR void *mem) * 3rd scenario: ptr = malloc(100); free(ptr); if(ptr) { free(ptr); } */ mdbg("Attempt for double freeing a pointer or releasing an unallocated pointer\n"); + mm_givesemaphore(heap); return; } #ifdef CONFIG_DEBUG_MM_HEAPINFO
Added test run in Docker build
@@ -10,10 +10,9 @@ RUN apt update \ COPY . . -RUN make dictu DISABLE_HTTP=1 - -RUN cp dictu /usr/bin/ \ +RUN make dictu DISABLE_HTTP=1 \ + && cp dictu /usr/bin/ \ + && dictu tests/runTests.du \ && rm -rf * CMD ["dictu"] -
cirrus: remove python2 installation
@@ -153,7 +153,6 @@ mac_task: brew update # Work around for [Homebrew Services issue 206](https://github.com/Homebrew/homebrew-services/issues/206) brew services start dbus - | # Install Python - brew install python@2; brew link --overwrite python@2 brew install python || brew upgrade python - | # Install Python packag...
api: removing namespace conflict
@@ -7,7 +7,8 @@ export * as groups from './groups'; export * from './hark'; export * as hark from './hark'; export * from './invite'; -export * as invite from './invite'; +// this conflicts with /groups/lib invite +// export * as invite from './invite'; export * from './metadata'; export * as metadata from './metadata'...
removed bosch safety forwarding restriction on 29 bit addresses
@@ -126,7 +126,7 @@ static int honda_fwd_hook(int bus_num, CAN_FIFOMailBox_TypeDef *to_fwd) { int bus_fwd_num = -1; if (bosch_hardware && (bus_num == 1 || bus_num == 2)) { int addr = to_fwd->RIR>>21; - bus_fwd_num = addr != 0xE4 && addr != 0x33D && addr < 0x1000 ? (uint8_t)(~bus_num & 0x3) : -1; + bus_fwd_num = addr !=...
fix spinner follinwg by circle followpionts bugs
@@ -102,7 +102,7 @@ def add_followpoints(beatmap, component, frame_info, preempt_followpoint): if frame_info.cur_time + preempt_followpoint >= frame_info.obj_endtime and frame_info.index_fp + 2 < len( beatmap.hitobjects): frame_info.index_fp += 1 - + if "new combo" not in beatmap.hitobjects[frame_info.index_fp]["type"]...
demos: Add clean target for bio/Makefile CLA: trivial
@@ -28,3 +28,6 @@ server-conf: server-conf.o client-arg client-conf saccept sconnect server-arg server-cmod server-conf: $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) + +clean: + $(RM) *.o client-arg client-conf saccept sconnect server-arg server-cmod server-conf
Disabled %cake-woot-bad printf in ames.
== :: %cake - ~? ?=(^ r.bon) [%cake-woot-bad hen r.bon] + :: ~? ?=(^ r.bon) [%cake-woot-bad hen r.bon] :_ fox :~ [s.bon %give %woot q.p.bon r.bon] ==
Lower required Elixir version
@@ -5,7 +5,7 @@ defmodule Elektra.MixProject do [ app: :elektra, version: "0.1.0", - elixir: "~> 1.13", + elixir: ">= 1.10.0", start_permanent: Mix.env() == :prod, deps: deps() ]
Issue PartyMember.ContentID
@@ -9,7 +9,7 @@ namespace FFXIVClientStructs.FFXIV.Group [FieldOffset(0x190)] public float X; [FieldOffset(0x194)] public float Y; [FieldOffset(0x198)] public float Z; - [FieldOffset(0x1A0)] public long Unk_1A0; + [FieldOffset(0x1A0)] public long ContentID; [FieldOffset(0x1A8)] public uint ObjectID; [FieldOffset(0x1AC)...
nrf/pin: Print pull information in Pin.__str__.
@@ -215,8 +215,22 @@ const pin_obj_t *pin_find(mp_obj_t user_obj) { STATIC void pin_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { pin_obj_t *self = self_in; - mp_printf(print, "Pin(%d, mode=%s)", self->pin, - (nrf_gpio_pin_dir_get(self->pin) == NRF_GPIO_PIN_DIR_OUTPUT) ? "OUT" : "IN"); + char...
Allow using variables in RHS of toplevel variable definitions We weren't testing this before and it came up when trying to initialize function-typed global variables in statements like the following local f:integer->integer = g
@@ -4,7 +4,7 @@ local checker = require "titan-compiler.checker" local global_upvalues = {} -local analyze = ast_iterator.new() +local analyze_upvalues -- Analyzes when global variables are used, to optimize reading and writing to -- them. Our current approach is to store global variables in a flat (not safe @@ -27,12 ...
Remove C from code block
@@ -725,7 +725,7 @@ If you prefer a different order, call `mbedtls_ssl_conf_curves()` when configuri ### SSL key export interface change This affects users of the SSL key export APIs: -```C +``` mbedtls_ssl_conf_export_keys_cb() mbedtls_ssl_conf_export_keys_ext_cb() ```
Updated README.md with swift configuration information
@@ -212,6 +212,38 @@ cglm_dep = dependency('cglm', fallback : 'cglm', 'cglm_dep') executable('exe', 'src/main.c', dependencies : cglm_dep) ``` +### Swift (Swift Package Manager) + +Currently only default build options are supported. Add **cglm** dependency to your project: + +```swift +... +Package( + ... + dependencie...
Add Debug to docker compose test.
@@ -24,4 +24,5 @@ services: image: metacall/core:dev build: args: + METACALL_BUILD_TYPE: Debug METACALL_BUILD_OPTIONS: root python ruby netcore5 nodejs typescript file rpc examples tests scripts ports dynamic install pack sanitizer # v8 coverage benchmarks
[numerics] correct order in Cholesky factorization
@@ -3031,9 +3031,12 @@ int NM_posv_expert(NumericsMatrix* A, double *b, unsigned keep) p->solver_free_hook = &NSM_free_p; p->dWork = (double*) malloc(A->size1 * sizeof(double)); p->dWorkSize = A->size1; + CSparseMatrix_factors* cs_chol_A = (CSparseMatrix_factors*) malloc(sizeof(CSparseMatrix_factors)); + numerics_print...
fix sidebar overflow
jQuery(document).ready(function($) { - $('span#secondary-menu-button').click(function() { + $("span#secondary-menu-button").click(function() { if ($(window).width() < 768) { - $('div.container-sidebar').toggleClass('-expanded-submenu'); + $("div.container-sidebar").toggleClass("-expanded-submenu"); } }); getNavbarOffse...
Cirrus: Install system files in FreeBSD build jobs Since we should check, if installing system files works correctly, we enable the option `INSTALL_SYSTEM_FILES` in our FreeBSD build jobs again.
@@ -24,6 +24,7 @@ bsd_task: - > # We use `-std=c11`, since the header `math.h` on FreeBSD requires C11 features cmake -DBINDINGS='ALL;-io_glib' + -DINSTALL_SYSTEM_FILES=ON -DCMAKE_SKIP_INSTALL_RPATH=ON -DCOMMON_FLAGS=-Werror -DC_STD=-std=c11
Fix typo in imu_init for quicksilver imu
@@ -69,7 +69,7 @@ void imu_init() { #ifdef QUICKSILVER_IMU filter_lp_pt1_init(&filter, filter_pass1, 3, PT1_FILTER_HZ); - filter_lp_pt1_init(&filter, filter_pass1, 3, PT1_FILTER_HZ); + filter_lp_pt1_init(&filter, filter_pass2, 3, PT1_FILTER_HZ); #endif }
Docs: Clarify Status of 3rd Party ACPI Fixes
@@ -842,9 +842,8 @@ can also be found in \href{https://dortania.github.io}{Dortania}'s For more exotic cases, there are several alternatives such as \href{https://github.com/daliansky}{daliansky}'s \href{https://github.com/daliansky/OC-little}{ACPI sample collection} -(\href{https://github.com/5T33Z0/OC-Little-Translat...
Fixed pid_file pattern misprint introduced in 231:6832cdee961e.
@@ -741,7 +741,7 @@ nxt_runtime_conf_init(nxt_task_t *task, nxt_runtime_t *rt) rt->engine = interface->name; - ret = nxt_file_name_create(rt->mem_pool, &file_name, "s%Z", rt->pid); + ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%Z", rt->pid); if (nxt_slow_path(ret != NXT_OK)) { return NXT_ERROR; }
vs2017 build script
@echo off call tools\gen-version.cmd @setlocal ENABLEEXTENSIONS -call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat" -echo *************************************************************************************************** -echo *********************************************************...
Improve t4p4s.sh: use lld with gcc
@@ -607,7 +607,12 @@ if [ "$(optvalue p4)" == off ] && [ "$(optvalue c)" == off ] && [ "$(optvalue ru fi T4P4S_CC=${T4P4S_CC-$(find_tool "-" clang gcc)} +if [[ ! "$T4P4S_CC" =~ "clang" ]]; then + # note: when using gcc, only lld seems to be supported, not lld-VSN + T4P4S_LD=${T4P4S_LD-$(find_tool lld bfd gold)} +else T...
Bump version number in the documentation
@@ -6,8 +6,8 @@ jazzy \ --author "Data Theorem" \ --author_url https://datatheorem.github.io \ --github_url https://github.com/datatheorem/TrustKit \ - --github-file-prefix https://github.com/datatheorem/TrustKit/tree/1.4.2 \ - --module-version 1.4.2 \ + --github-file-prefix https://github.com/datatheorem/TrustKit/tree...
Make the conn suffix list the same as item list At the default of '20' a constant realloc and free'ing would add a performance penalty to what could be moderately sized multigets.
#define ITEM_LIST_INITIAL 200 /** Initial size of list of CAS suffixes appended to "gets" lines. */ -#define SUFFIX_LIST_INITIAL 20 +#define SUFFIX_LIST_INITIAL 100 /** Initial size of the sendmsg() scatter/gather array. */ #define IOV_LIST_INITIAL 400
export MBEDTLS_DEPRECATED from platform_util.h Since there are no longer any alternative MBEDTLS_DEPRECATED definitions in the codebase, MBEDTLS_DEPRECATED can now be exported without breaking anything.
@@ -42,10 +42,6 @@ extern "C" { /* Internal helper macros for deprecating API constants. */ #if !defined(MBEDTLS_DEPRECATED_REMOVED) #if defined(MBEDTLS_DEPRECATED_WARNING) -/* Deliberately don't (yet) export MBEDTLS_DEPRECATED here - * to avoid conflict with other headers which define and use - * it, too. We might wan...
[mechanics_io] handle nslaws string storage as utf-8 in Python 3
@@ -1310,6 +1310,8 @@ class Hdf5(): assert np.shape(stops)[1] == 3, 'Joint stops shape must be (?,3)' if nslaws is None: nslaws = [Kernel.NewtonImpactNSL(0.0)]*np.shape(stops)[0] + elif isinstance(nslaws,bytes): + nslaws = [self._nslaws[nslaws.decode('utf-8')]]*np.shape(stops)[0] elif isinstance(nslaws,str): nslaws = [...
include mk_repo utility in binary tarballs
@@ -164,10 +164,11 @@ foreach my $distro (@distros) { $file_update->spew_utf8( $contents ); # Copy mk_repo utility + print "Adding mk_repo utility\n"; File::Copy::copy("mk_repo","$tmp_dir") || die "Unable to copy mk_repo\n"; # Assemble final tarball - $tar_args .= "$distro"; + $tar_args .= "$distro mk_repo"; print "\nC...
Fix USB crash on disconnect
* @{ */ + /** * @} */ #define USBD_PID 0xf1d1 #else #define USBD_VID 0x2C97 -#if TARGET_ID == 0x31000002 // blue +#if defined(TARGET_BLUE) // blue #define USBD_PID 0x0000 const uint8_t const USBD_PRODUCT_FS_STRING[] = { 4 * 2 + 2, USB_DESC_TYPE_STRING, 'B', 0, 'l', 0, 'u', 0, 'e', 0, }; -#elif TARGET_ID == 0x31100002 /...
vere: fixes Makefile test-runner, exiting on failed test
@@ -33,7 +33,12 @@ CFLAGS := $(CFLAGS) all: $(all_exes) test: $(test_exes) - for x in $^; do echo "\n$$x" && ./$$x; done + @FAIL=0; \ + for x in $^; \ + do echo "\n$$x" && ./$$x; \ + if [ $$? != 0 ]; then FAIL=1; fi; \ + done; \ + if [ $$FAIL != 0 ]; then echo "\n" && exit 1; fi; clean: rm -f ./tags $(all_objs) $(all_e...
super-rsu: move log file to /var/lib/opae This satisfies bandit issue B108:hardcoded_tmp_directory.
#! /usr/bin/env python -# Copyright(c) 2019, Intel Corporation +# Copyright(c) 2019-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -91,7 +91,8 @@ OPAE_NVMUPDATE_EXE = os.path.join(OPAE_SHARE,...
VERSION bump to version 0.8.46
@@ -28,7 +28,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 8) -set(LIBNETCONF2_MICRO_VERSION 45) +set(LIBNETCONF2_MICRO_VERSION 46) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(LI...
Avoid taking the root of a negative number Fixes where numpy 1.17+ would report the (transient) FE_INVALID exception raised for the domain error.
@@ -48,7 +48,7 @@ int CNAME(int mode, blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n, int ( BLASLONG width, i; BLASLONG n_from, n_to; - double dnum, nf, nt, di; + double dnum, nf, nt, di, dinum; int num_cpu; int mask = 0; @@ -109,7 +109,11 @@ int CNAME(int mode, blas_arg_t *arg, BLASLONG *range_m, BLASLONG *rang...
docs: update the usage of MALLOC_CAP_32BIT on ESP32 chips
@@ -105,12 +105,13 @@ Use the ``MALLOC_CAP_DMA`` flag to allocate memory which is suitable for use wit 32-Bit Accessible Memory ^^^^^^^^^^^^^^^^^^^^^^^^ -If a certain memory structure is only addressed in 32-bit units, for example an array of ints or pointers, it can be -useful to allocate it with the ``MALLOC_CAP_32BI...
Try another signing profile
@@ -34,6 +34,6 @@ jobs: target: linux_build_container2 inputs: command: 'sign' - signing_profile: 'CP-450779-Pgp' + signing_profile: 'CP-450779-pgpdetached' files_to_sign: '**/*.rpm;**/*.deb' search_root: '$(ob_outputDirectory)'
gradle: do not print task properties
@@ -52,9 +52,10 @@ gradle.taskGraph.whenReady { taskGraph -> task.inputs.files.each { input -> logger.lifecycle(" IF $input") } - task.inputs.properties.each { input -> - logger.lifecycle(" IP $input") - } + + // task.inputs.properties.each { input -> + // logger.lifecycle(" IP $input") + // } task.outputs.files.each {...
Fixed coap packet parser message buffer out-of-bounds read bugs. Fixed bugs in coap_parse_message() function that caused read memory access beyond the message buffer due to insufficient verification of buffer pointer arithemtic operations result.
@@ -416,6 +416,12 @@ coap_serialize_message(coap_message_t *coap_pkt, uint8_t *buffer) coap_status_t coap_parse_message(coap_message_t *coap_pkt, uint8_t *data, uint16_t data_len) { + if(data_len < COAP_HEADER_LEN) { + /* Too short - malformed CoAP message */ + LOG_WARN("BAD REQUEST: message too short\n"); + return BAD...
Update hydraul.c Fixes a bug that was adding time on-line to a closed pump's energy usage for the time step just prior to when a rule-based control re-opens it.
@@ -895,7 +895,7 @@ void addenergy(Project *pr, long hstep) // Skip closed pumps pump = &net->Pump[j]; k = pump->Link; - if (hyd->LinkStatus[k] <= CLOSED) continue; + if (pump->Energy.CurrentEffic == 0.0) continue; q = MAX(QZERO, ABS(hyd->LinkFlow[k])); // Find pump-specific energy cost
Fix no-err Skip the test_CTX_print_errors in cmp_ctx_test if no-err has been configured.
@@ -109,6 +109,8 @@ static int test_CTX_reinit(void) return result; } +#ifndef OPENSSL_NO_ERR + static int msg_total_size = 0; static int msg_total_size_log_cb(const char *func, const char *file, int line, OSSL_CMP_severity level, const char *msg) @@ -184,6 +186,7 @@ static int test_CTX_print_errors(void) EXECUTE_TEST(...
install qemu-system-arm in docker
@@ -251,7 +251,7 @@ RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q unzip \ wget \ xxd \ - qemu \ + qemu-system-arm \ && rm -rf /var/lib/apt/lists/* # Configure out base setup for adding python packages
added gratipay
# [![{}j](http://www.ohler.com/dev/images/oj_comet_64.svg)](http://www.ohler.com/oj) gem -[![Build Status](https://img.shields.io/travis/ohler55/oj/master.svg)](http://travis-ci.org/ohler55/oj?branch=master) [![AppVeyor](https://img.shields.io/appveyor/ci/ohler55/oj/master.svg)](https://ci.appveyor.com/project/ohler55/...
Disable pipe lock for AIX flock function on AIX only permits exclusive lock on file opened for writing. Exclusive lock on file opened for reading will fail always. Disable this on AIX platform.
@@ -890,7 +890,7 @@ int gfile_open(gfile_t* fd, const char* fpath, int flags, int* response_code, co return 1; } -#ifndef WIN32 +#if !defined(WIN32) && !defined(_AIX) if (!is_win_pipe && (flags == GFILE_OPEN_FOR_READ)) { /* Restrict only one reader session for each PIPE */
[core] HTTP/2 GOAWAY after timeout before read (fixes HTTP/2 send GOAWAY soon after keep-alive timeout, before potentially reading new stream requests, which will then have to be reset. x-ref: "Chrome gives random net::ERR_HTTP2_PROTOCOL_ERROR"
@@ -1460,6 +1460,7 @@ static void connection_check_timeout (connection * const con, const unix_time64_ con->fd); } connection_set_state(r, CON_STATE_RESPONSE_END); + con->is_readable = 0; changed = 1; } }
[tools][vsc] Support Chinese path
@@ -64,13 +64,13 @@ def GenerateCFiles(env): json_obj = {} json_obj['configurations'] = [config_obj] - vsc_file.write(json.dumps(json_obj, indent=4)) + vsc_file.write(json.dumps(json_obj, ensure_ascii=False, indent=4)) vsc_file.close() return def GenerateVSCode(env): - print('Update setting files for VSCode...'), + pri...