message
stringlengths
6
474
diff
stringlengths
8
5.22k
ci, test: temporary increase IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP limit
*/ #ifndef IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP -#define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP 250 +#define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP 300 // TODO: IDF-5178 #endif #ifndef IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP_PSRAM #define IDF_PERFORMANCE_MAX_FREERTOS...
apps/pkeyutl.c: call ERR_print_errors() on all errors, including Signature Verification Failure
@@ -307,12 +307,10 @@ int pkeyutl_main(int argc, char **argv) mctx, digestname, libctx, app_get0_propq()); if (ctx == NULL) { BIO_printf(bio_err, "%s: Error initializing context\n", prog); - ERR_print_errors(bio_err); goto end; } if (peerkey != NULL && !setup_peer(ctx, peerform, peerkey, e)) { BIO_printf(bio_err, "%s: ...
provisioning/warewulf-provision: refactor httpd.conf patch for non 'make dist' source
---- warewulf-provision-3.7/configure 2017-02-22 13:14:14.000000000 -0800 -+++ warewulf-provision-3.7.patch/configure 2017-02-22 13:14:58.000000000 -0800 -@@ -2423,7 +2423,10 @@ +--- a/configure.ac 2018-07-11 13:56:05.000000000 -0700 ++++ b/configure.ac 2018-07-11 15:07:55.000000000 -0700 +@@ -37,6 +37,9 @@ + AC_MSG_CH...
Use -nameopt utf8 by default
@@ -197,7 +197,7 @@ int set_nameopt(const char *arg) unsigned long get_nameopt(void) { - return (nmflag_set) ? nmflag : XN_FLAG_ONELINE; + return (nmflag_set) ? nmflag : XN_FLAG_SEP_CPLUS_SPC | ASN1_STRFLGS_UTF8_CONVERT; } void dump_cert_text(BIO *out, X509 *x)
bump nagios-plugins to v2.2.1
%global _hardened_build 1 Name: %{pname}%{PROJ_DELIM} -Version: 2.2.0 +Version: 2.2.1 Release: 1%{?dist} Summary: Host/service/network monitoring program plugins for Nagios DocDir: %{OHPC_PUB}/doc/contrib
Remove packed argument on detection structure avoiding memory missalignement
@@ -27,7 +27,7 @@ typedef enum RELEASE } expected_detection_t; -typedef struct __attribute__((__packed__)) +typedef struct { branch_t keepline; /*!< last keepline status on PTP lines . */ unsigned char detected_vm; /*!< Virtual Module number. */
Fix lv_canvas_set_buffer doc Lines in canvas buffers are byte aligned so buffers might request larger size and contain unused bits. The previous documented calc method would often result in a buffer size smaller than what was expected by LVGL, leading to memory corruption and program crash.
@@ -60,7 +60,7 @@ lv_obj_t * lv_canvas_create(lv_obj_t * par, const lv_obj_t * copy); /** * Set a buffer for the canvas. * @param buf a buffer where the content of the canvas will be. - * The required size is (lv_img_color_format_get_px_size(cf) * w * h) / 8) + * The required size is (lv_img_color_format_get_px_size(cf...
Just int for bool
@@ -1896,7 +1896,7 @@ static uint64_t conn_get_cwnd(ngtcp2_conn *conn) { * conn_cwnd_is_zero returns nonzero if the number of bytes the local * endpoint can sent at this time is zero. */ -static uint64_t conn_cwnd_is_zero(ngtcp2_conn *conn) { +static int conn_cwnd_is_zero(ngtcp2_conn *conn) { uint64_t bytes_in_flight =...
Doc: document the tie-breaking behavior of the round() function. Back-patch to v13; the table layout in older branches is unfriendly to adding such details. Laurenz Albe Discussion:
@@ -1568,7 +1568,10 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue> <returnvalue>double precision</returnvalue> </para> <para> - Rounds to nearest integer + Rounds to nearest integer. For <type>numeric</type>, ties are + broken by rounding away from zero. For <type>double precision</type>, + the tie-breaking beh...
Ensure index is compared against the actual value.
@@ -281,7 +281,7 @@ parse_browser_token (char ***list, char *line, int n) /* value */ val = line + (idx + 1); idx = strspn (val, "\t"); - if (strlen (line) == idx) + if (strlen (val) == idx) FATAL ("Malformed browser category at line: %d", n); val = val + idx; val = trim_str (val);
Add f16c to the version string
/** @brief The version header. */ static const char *astcenc_copyright_string = -R"(astcenc v%s, %u-bit %s%s +R"(astcenc v%s, %u-bit %s%s%s Copyright 2011-%s Arm Limited, all rights reserved )"; @@ -595,9 +595,15 @@ void astcenc_print_header() const char* pcnttype = ""; #endif +#if (ASTCENC_F16C == 1) + const char* f16...
Installation with yay
@@ -18,12 +18,10 @@ cd instantWM ./build.sh ``` -Or install from AUR: +Alternatively, install from AUR: ``` -git clone https://aur.archlinux.org/instantwm.git -cd instantwm -makepkg -si +yay -S instantwm ``` You can use this to get access to new features early.
fs: procfs: Skip to register for meminfo if the name is NULL Summary: This commit skips to register for meminfo if the name is NULL Impact: None Testing: Tested with sabre-6quad:netknsh (umm_heap will be updated later)
@@ -578,6 +578,11 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_meminfo(FAR struct procfs_meminfo_entry_s *entry) { + if (NULL == entry->name) + { + return; + } + entry->next = g_procfs_meminfo; g_procfs_meminfo = entry; }
[swaylock] Install pam module
+sysconfdir = get_option('sysconfdir') + executable( 'swaylock', [ 'main.c', @@ -21,3 +23,8 @@ executable( link_with: [lib_sway_common, lib_sway_client], install: true ) + +install_data( + 'pam/swaylock', + install_dir: sysconfdir + '/pam.d/' +)
docs:update wifi sci subcarrier index docs
@@ -1747,6 +1747,18 @@ All of the information in the table can be found in the structure wifi_csi_info_ - If first_word_invalid field of wifi_csi_info_t is true, it means that the first four bytes of CSI data is invalid due to a hardware limitation in {IDF_TARGET_NAME}. - More information like RSSI, noise floor of RF, ...
admin/nhc: fix src url
@@ -23,7 +23,7 @@ Release: 1%{?dist} License: US Dept. of Energy (BSD-like) Group: %{PROJ_NAME}/admin URL: https://github.com/mej/nhc/ -Source0: https://github.com/mej/nhc/archive/%{version}.tar.gz#%{pname}-%{version}.tar.gz +Source0: https://github.com/mej/nhc/archive/%{version}.tar.gz#/%{pname}-%{version}.tar.gz Sour...
Fix comment typo for strLower().
@@ -165,7 +165,7 @@ String *strFirstUpper(String *this); // Lower-case the first letter String *strFirstLower(String *this); -// Upper-case entire string +// Lower-case entire string String *strLower(String *this); // Return the path part of a string (i.e. everything before the last / or "" if there is no /)
k1om: remove fpu_save and fpu_resore functions as they are in handled else where now
@@ -111,21 +111,6 @@ static inline void fpu_init(void) __asm volatile ("fninit"); } -static inline void fpu_save(struct registers_fpu_x86_64 *fpustate) -{ - uint8_t *regs = fpustate->registers; - regs += 16 - ((uintptr_t)regs % 16); - - __asm volatile("fxsaveq %0" : "=m" (*regs)); -} - -static inline void fpu_restore(s...
esp_http_server example tests : updated advanced_tests as per API changes
@@ -12,6 +12,11 @@ static const char *TAG="TESTS"; int pre_start_mem, post_stop_mem, post_stop_min_mem; bool basic_sanity = true; +struct async_resp_arg { + httpd_handle_t hd; + int fd; +}; + /********************* Basic Handlers Start *******************/ esp_err_t hello_get_handler(httpd_req_t *req) @@ -157,11 +162,1...
out_es: add support for IPv6
@@ -42,7 +42,7 @@ struct flb_elasticsearch *flb_es_conf_create(struct flb_output_instance *ins, struct flb_config *config) { - int io_type; + int io_flags = 0; char *tmp; struct flb_uri *uri = ins->host.uri; struct flb_uri_field *f_index = NULL; @@ -75,17 +75,21 @@ struct flb_elasticsearch *flb_es_conf_create(struct fl...
Fix attribute mapping in tinyspline.i.
// Generate getter and setter. #ifndef SWIGD %include <attribute.i> -%attribute(tinyspline::BSpline, size_t, deg, deg); -%attribute(tinyspline::BSpline, size_t, order, order); -%attribute(tinyspline::BSpline, size_t, dim, dim); -%attribute(tinyspline::BSpline, size_t, nCtrlp, nCtrlp); -%attribute(tinyspline::BSpline, s...
QUIC: Add TODO for CCM support
@@ -1201,6 +1201,8 @@ int ossl_quic_renegotiate_check(SSL *ssl, int initok) /* * This is the subset of TLS1.3 ciphers which can be used with QUIC and which we * actually support. + * + * TODO(QUIC): CCM support */ static SSL_CIPHER tls13_quic_ciphers[] = { {
[mod_webdav] fix startup crash w/ multiple conds (fixes (thx flynn) x-ref: "lighttpd 1.4.54 segfaults on start in mod_webdav"
@@ -1275,8 +1275,8 @@ SERVER_FUNC(mod_webdav_worker_init) * across a fork() system call into the child process. */ plugin_data * const p = (plugin_data *)p_d; - plugin_config *s = p->config_storage[0]; - for (int n_context = p->nconfig+1; --n_context; ++s) { + for (int i = 0; i < p->nconfig; ++i) { + plugin_config *s =...
use an example UUID to define H2O_UUID_STR_RFC4122_LEN sited from "Appendix B. Sample Output of utest"
/* * size of a UUID string representation. */ -#define H2O_UUID_STR_RFC4122_LEN 36 +#define H2O_UUID_STR_RFC4122_LEN (sizeof("7d444840-9dc0-11d1-b245-5ffdce74fad2") - 1) /** * generates and sets a UUIDv4 to buf, which must have an enough size, H2O_UUID_STR_RFC4122_LEN + 1.
Fix detection management when an detector module is not alone on the node.
@@ -100,6 +100,18 @@ char* alias_from_id(uint16_t id){ return -1; } +int bigest_id(){ + int max_id = 0; + for(int i = 0; i<last_route_table_entry; i++) { + if (route_table[i].mode == MODULE){ + if (route_table[i].id > max_id) { + max_id = route_table[i].id; + } + } + } + return max_id; +} + // check if the module is a ...
Fixed broken test from reordering of temp variables
@@ -350,10 +350,10 @@ test("should walk all scene events to build list of used variables", () => { for(let i=0; i<100; i++) { output.push(String(i)); } - output.push("109"); - output.push("110"); output.push("T0"); output.push("T1"); + output.push("109"); + output.push("110"); expect(precompiledVariables).toEqual(outpu...
platform/debug: disable hbridge and tacho These are currently not implemented
#define PBDRV_CONFIG_LAST_IO_PORT PBIO_PORT_1 #define PBDRV_CONFIG_NUM_IO_PORT (1) +#define PBDRV_CONFIG_HBRIDGE (0) +#define PBDRV_CONFIG_TACHO (0) + #define PBDRV_CONFIG_SYS_CLOCK_RATE 48000000 #endif // _PBDRVCONFIG_H_
Fix erlang gpio:attach_interrupt/2 function spec attach_interrupt/2 expects the second argument to be a trigger not an input/output direction.
@@ -128,9 +128,9 @@ digital_write(_GPIONum, _Level) -> digital_read(_GPIONum) -> throw(nif_error). --spec attach_interrupt(GPIONum :: pin(), Mode :: direction()) -> ok | error. -attach_interrupt(GPIONum, Mode) -> - set_int(start(), GPIONum, Mode). +-spec attach_interrupt(GPIONum :: pin(), Trigger :: trigger()) -> ok | ...
Fix emote event issue since develop was merged
@@ -823,7 +823,7 @@ void Script_ActorSetCollisions_b() { */ void Script_ActorSetEmote_b() { unsigned char* emote_ptr; - UBYTE palette = actors[script_actor].palette_index; + UBYTE palette = actors[main_script_ctx.script_actor].palette_index; emote_sprite = SpritePoolNext(); emote_timer = 1; main_script_ctx.script_updat...
nat: free port_bitmap
@@ -742,6 +742,7 @@ int snat_add_address (snat_main_t *sm, ip4_address_t *addr, u32 vrf_id, #define _(N, i, n, s) \ clib_bitmap_alloc (ap->busy_##n##_port_bitmap, 65535); \ ap->busy_##n##_ports = 0; \ + ap->busy_##n##_ports_per_thread = 0;\ vec_validate_init_empty (ap->busy_##n##_ports_per_thread, tm->n_vlib_mains - 1,...
oic; remove coap observers registered for closing BLE connection.
#include "oic/messaging/coap/coap.h" #include "oic/port/oc_connectivity.h" #include "oic/port/mynewt/ble.h" +#include "messaging/coap/observe.h" #include "host/ble_hs.h" #include "services/gap/ble_svc_gap.h" #include "services/gatt/ble_svc_gatt.h" @@ -345,6 +346,8 @@ oc_ble_coap_conn_del(uint16_t conn_handle) struct os...
Fix a typo in a variable name There was a typo in a variable name causing the build to fail when mem-stats was turned on. JerryScript-DCO-1.0-Signed-off-by: Daniel Balla
@@ -319,7 +319,7 @@ jerry_debugger_process_message (uint8_t *recv_buffer_p, /**< pointer the the rec } #ifdef JMEM_STATS - jmem_stats_free_byte_code_bytes (((size_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG); + jmem_stats_free_byte_code_bytes (((size_t) byte_code_free_p->size) << JMEM_ALIGNMENT_LOG); #endif /* JMEM_STAT...
Add missing static function qualifier
@@ -551,7 +551,7 @@ static int try_quantize_alpha_delta( return 1; } -int try_quantize_luminance_alpha_delta( +static int try_quantize_luminance_alpha_delta( float4 color0, float4 color1, int output[8],
Fix invalid PhLoadLibraryAsImageResource flags for Win8
@@ -7939,7 +7939,7 @@ NTSTATUS PhLoadLibraryAsImageResource( NULL, &imageBaseSize, ViewShare, - WindowsVersion < WINDOWS_8 ? 0 : MEM_MAPPED, + WindowsVersion < WINDOWS_10 ? 0 : MEM_MAPPED, PAGE_READONLY );
Fix bug in arena relocation logic when a reloc entry points to the same buffer being relocated.
@@ -238,17 +238,20 @@ int yr_arena2_allocate_memory( if (new_data == NULL) return ERROR_INSUFFICIENT_MEMORY; - // TODO(vmalvarez): remove - //assert(new_size == arena->initial_buffer_size || new_data == b->data); - YR_RELOC2* reloc = arena->reloc_list_head; while (reloc != NULL) { + // If the reloc entry is for the sam...
Fix the build on 10.13. Missing LDFLAGS for OpenSSL from brew.
@@ -32,7 +32,8 @@ case $host_os in darwin*) CFLAGS="$CFLAGS -I/opt/local/include" # Starting with Mac OS X 10.11 (El Capitan) the OpenSSL headers # are in /usr/local/opt/openssl/include - CFLAGS="$CFLAGS -I/usr/local/opt/openssl/include" ;; + CFLAGS="$CFLAGS -I/usr/local/opt/openssl/include" + LDFLAGS="$LDFLAGS -L/usr/...
Testing: move lengthy test to extra set
@@ -102,7 +102,6 @@ if( HAVE_BUILD_TOOLS ) grib_grid_unstructured grib_grid_lambert_conformal grib_grid_polar_stereographic - grib_grid_space_view grib_g1monthlydate grib_g1fcperiod) @@ -113,6 +112,7 @@ if( HAVE_BUILD_TOOLS ) grib_complex grib_double_cmp grib_change_packing + grib_grid_space_view bufr_dump_data bufr_du...
nss: remove debug output
@@ -46,18 +46,13 @@ static void nss_client_handler(int rc, int clientsock) goto finish; } -printf("nss lookup: %s\n", &req.name[0]); - search = kad_lookup(&req.name[0]); if (search == NULL) { - printf("no search found\n"); goto finish; } -printf("found search; request.af: %s\n", str_af(req.af)); - af = req.af; count = ...
[core] typo in trace
@@ -1460,7 +1460,7 @@ int config_parse_cmd(server *srv, config_t *context, const char *cmd) { } if (0 != wstatus) { log_error_write(srv, __FILE__, __LINE__, "SSsd", - "commaned \"", cmd, "\" exited non-zero:", WEXITSTATUS(wstatus)); + "command \"", cmd, "\" exited non-zero:", WEXITSTATUS(wstatus)); ret = -1; }
stats: check epoch in python vpp_stats ls The VPP Stats Python binding was missing checking epoch. Resulting it would not pick up changes in the directory. Type: fix
@@ -280,6 +280,9 @@ class VPPStats(): if not isinstance(patterns, list): patterns = [patterns] regex = [re.compile(i) for i in patterns] + if self.last_epoch != self.epoch: + self.refresh() + return [k for k, v in self.directory.items() if any(re.match(pattern, k) for pattern in regex)]
link: archive graph on migration
:_ this(state *state-1) =/ orm orm:graph-store |^ ^- (list card) - %+ murn ~(tap by by-group.s) + %- zing + %+ turn ~(tap by by-group.s) |= [=path =links] - ^- (unit card) + ^- (list card) ?. ?=([@ @ *] path) (on-bad-path path links) - :- ~ - %+ add-graph `resource`[(slav %p i.path) i.t.path] + =/ =resource [(slav %p i...
get rid of iw
@@ -5,11 +5,9 @@ export WLANDEV=`ls -1 /sys/class/net | grep ^wl` if [[ ! -z $WLANDEV ]] then ARCHIVNAME=`date +'%Y%m%d%H%M'` - ip link set $WLANDEV down - iw dev $WLANDEV set type monitor - ip link set $WLANDEV up - hcxdumptool --gpio_button=4 --gpio_statusled=17 -i $WLANDEV -o $ARCHIVNAME.pcapng --poweroff --filterli...
build: support building with MinGW-w64 Removed the check that prevented --use-system-libuv from working in windows Disable MSVC compiler flags in MinGW
@@ -146,9 +146,8 @@ class libuv_build_ext(build_ext): def build_extensions(self): self.force = self.force or self.libuv_force_fetch or self.libuv_clean_compile - if self.use_system_libuv: - if sys.platform == 'win32': - raise DistutilsError('using a system provided libuv is unsupported on Windows') + + if self.compiler...
API: Add dependency on compiler for API .json and .api generation. Add dependency on the API compiler, so that builds can deal with changes to the tool.
@@ -24,7 +24,7 @@ function(vpp_generate_api_c_header file) COMMAND mkdir -p ${output_dir} COMMAND ${VPP_APIGEN} ARGS --includedir ${CMAKE_SOURCE_DIR} --input ${CMAKE_CURRENT_SOURCE_DIR}/${file} --output ${output_name} - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${file} + DEPENDS ${VPP_APIGEN} ${CMAKE_CURRENT_SOURCE_DIR}/${fi...
Ezkinil: Update thermal table Remove thermal_cpu. Not using TEMP_SENSOR_CPU to do thermal shutdown and throttle ap. BRANCH=zork TEST=none
@@ -701,18 +701,6 @@ const static struct ec_thermal_config thermal_soc = { .temp_fan_max = C_TO_K(75), }; -const static struct ec_thermal_config thermal_cpu = { - .temp_host = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(85), - [EC_TEMP_THRESH_HALT] = C_TO_K(95), - }, - .temp_host_release = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(80)...
tcptracer: Fix argparse is not defined error argparse is imported as ap, using argparse explicitly results in a name not defined error.
@@ -33,7 +33,7 @@ parser.add_argument("-N", "--netns", default=0, type=int, parser.add_argument("-v", "--verbose", action="store_true", help="include Network Namespace in the output") parser.add_argument("--ebpf", action="store_true", - help=argparse.SUPPRESS) + help=ap.SUPPRESS) args = parser.parse_args() bpf_text = "...
removed adam moody line
@@ -101,7 +101,6 @@ We welcome contributions to the project. For details on how to help, see our [C Copyright (c) 2013-2015, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory - Written by Adam Moody <moody20@llnl.gov>. CODE-673838 Copyright (c) 2006-2007,2011-2015, Los Al...
Replace sprintf with ostringstream.
@@ -1250,21 +1250,21 @@ tinyspline::BSpline::setControlPointVec4At(size_t idx, Vec4 &cp) throw std::runtime_error(status.message); } -void tinyspline::BSpline::setKnots(const std::vector<tinyspline::real> &knots) +void +tinyspline::BSpline::setKnots(const std::vector<real> &knots) { size_t expected = ts_bspline_num_kno...
Fix signatures of the TLS-mode dll_callback and p_process_term functions for Win64
@@ -1619,10 +1619,12 @@ static int on_process_term(void) #else #pragma data_seg(".CRT$XLB") #endif -static void (APIENTRY *dll_callback)(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; + #ifdef _WIN64 +static const PIMAGE_TLS_CALLBACK dll_callback(HINSTANCE h, DWORD ul_reason_for_call, PVOID pv) = DllMain; ...
Fix issue 663 with enhanced error output
@@ -949,7 +949,7 @@ int stlink_load_device_params(stlink_t *sl) { sl->sram_size, sl->sram_size / 1024, sl->flash_size, sl->flash_size / 1024, (unsigned int)sl->flash_pgsz); #else - ILOG("%s: %d KiB SRAM, %d KiB flash in %d %s pages.\n", + ILOG("%s: %zd KiB SRAM, %zd KiB flash in at least %zd %s pages.\n", params->descr...
build: use new mbedtls-2.8.0
@@ -235,8 +235,8 @@ if(FLB_TLS) option(ENABLE_TESTING OFF) option(ENABLE_PROGRAMS OFF) option(INSTALL_MBEDTLS_HEADERS OFF) - add_subdirectory(lib/mbedtls-2.6.0 EXCLUDE_FROM_ALL) - include_directories(lib/mbedtls-2.6.0/include) + add_subdirectory(lib/mbedtls-2.8.0 EXCLUDE_FROM_ALL) + include_directories(lib/mbedtls-2.8....
Fix Device ID prefix
@@ -191,11 +191,8 @@ namespace ARIASDK_NS_BEGIN { if (iter != m_commonContextFieldsP->end()) { // Ref: https://osgwiki.com/wiki/CommonSchema/device_id - // Use "c:" prefix instead of "m:" prefix because Aria Device.Id - // is a custom device ID, not MAC address. Unfortunately c: isn't - // handled by collector, so we'd...
Add echo for end of each build phase
@@ -163,12 +163,24 @@ script: - if [ -n "$DESTDIR" ]; then cd _build; fi - - $make update; + - if $make update; then + echo -e '+\057 MAKE UPDATE OK'; + else + echo -e '+\057 MAKE UPDATE FAILED'; false; + fi; git diff --quiet - if [ -n "$CHECKDOCS" ]; then - $make doc-nits; + if $make doc-nits; then + echo -e '+\057\05...
Python generators.
@@ -30,6 +30,7 @@ Janet makes a good system scripting language, or a language to embed in other pr * First class closures * Garbage collection * First class green threads (continuations) +* Python style generators * Mutable and immutable arrays (array/tuple) * Mutable and immutable hashtables (table/struct) * Mutable a...
unified_redpine: add debug logging
#include "drv_serial.h" #include "drv_time.h" #include "profile.h" +#include "usb_configurator.h" #include "util.h" #define REDPINE_CHANNEL_START 3 @@ -55,6 +56,9 @@ uint16_t redpine_crc16(uint8_t *data, uint16_t len) { } void rx_serial_process_redpine() { + if (rx_frame_position != 11) { + quic_debugf("REDPINE: unexpe...
Fix api test_client.c compilation removed mr_create_table_if_needed parameter in FIB API calls. This commit fixes the API test program, which was not compiling anymore.
@@ -730,7 +730,6 @@ add_del_ip4_route (test_main_t * tm, int enable_disable) mp->client_index = tm->my_client_index; mp->context = 0xdeadbeef; mp->table_id = ntohl (0); - mp->create_vrf_if_needed = 1; mp->next_hop_sw_if_index = ntohl (5); mp->is_add = enable_disable;
Fix tutorial for RMSE vs Accuracy error Note: mandatory check (NEED_CHECK) was skipped
" iterations=500,\n", " eval_metric='Accuracy',\n", " random_seed=42,\n", - " logging_level='Silent'\n", + " verbose=False,\n", + " loss_function='Logloss',\n", " )\n", " \n", " cv_data = cv(\n", " iterations=500,\n", " eval_metric='Accuracy',\n", " random_seed=42,\n", - " logging_level='Silent'\n", + " verbose=False,\...
document exception for masterTablesVersionNumber 19
constant defaultSequence=0; constant tablesMasterDir="bufr/tables/[masterTableNumber]/wmo/[masterTablesVersionNumber]" : hidden; if (masterTablesVersionNumber == 19) { + # See SUP-2302: We need this exception for EUMETSAT local tables, because there are conflicting elements in their table version 1 when + # used in com...
USBC PD: update usb-c doc change new state machine file references to be up to date with the current code. BRANCH=none TEST=none
@@ -83,8 +83,11 @@ Right now platform/ec has two different implementations of USB-C PD stack. [`usb_pd_protocol.c`](../common/usb_pd_protocol.c) 2. The newer implementation is broken up into multiple different files and state machines - * Policy engine state machine files, such as `usb_pe_*_sm.c`. - * Type-C physical l...
scale all maps up after recon
@@ -105,9 +105,10 @@ static void rescale_maps(unsigned int model, double scaling_Y, const struct lino } else { + md_zsmul(DIMS, maps_dims, maps, maps, 1000.); // kHz --> Hz + long nr_coeff = maps_dims[COEFF_DIM]; - long R2S_flag = set_R2S_flag(model); long fB0_flag = set_fB0_flag(model); long map_dims[DIMS]; @@ -125,14...
Still trying to improve the reliability of the memcmp test.
@@ -207,7 +207,7 @@ int util_memcmp_test() ret = -1; break; } - if (i == 0 && const_compare_time[i] < 1000) { + if (i == 0 && const_compare_time[i] < 4000) { zero_found = 1; break; }
perf(mainloop): set run all tasks in one frame
@@ -237,10 +237,12 @@ void LCUI_DestroyEvent( LCUI_SysEvent e ) void LCUI_ProcessEvents( void ) { - LCUIWorker_RunTask( MainApp.main_worker ); if( MainApp.driver_ready ) { MainApp.driver->ProcessEvents(); } + while( LCUIWorker_RunTask( MainApp.main_worker ) ) { + LCUIDisplay_Update(); + } } LCUI_BOOL LCUI_PostTask( LCU...
README: install devtoolset after centos-release-scl For me, I received "No package devtoolset-8 available." when trying to install devtoolset-8 before centos-release-scl.
@@ -83,11 +83,11 @@ To install the required libraries on Debian and Ubuntu run: To install the required libraries on Redhat / Centos run: - $ sudo yum install devtoolset-8 atlas-devel fftw3-devel libpng-devel lapack-devel + $ sudo yum install atlas-devel fftw3-devel libpng-devel lapack-devel It may be required to insta...
Updater: Remove unused resource
@@ -141,17 +141,6 @@ BEGIN END END - -///////////////////////////////////////////////////////////////////////////// -// -// AFX_DIALOG_LAYOUT -// - -IDD_OPTIONS AFX_DIALOG_LAYOUT -BEGIN - 0 -END - #endif // Neutral resources /////////////////////////////////////////////////////////////////////////////
Added usb rules.
#cp rules /etc/udev/rules.d/ #sudo udevadm control --reload-rules +#sudo udevadm trigger ATTRS{idVendor}=="0483" ATTRS{idProduct}=="5740", ENV{ID_MM_DEVICE_IGNORE}="1", MODE:="0666" ATTRS{idVendor}=="0483" ATTRS{idProduct}=="df11", MODE:="0666" +ATTRS{idVendor}=="FFF1" ATTRS{idProduct}=="FF48", ENV{ID_MM_DEVICE_IGNORE}...
Always include parallax settings for scene
@@ -346,7 +346,7 @@ export const compileParallax = ( return str; }); } - return undefined; + return [`PARALLAX_STEP(0,0,0)`]; }; export const compileScene = ( @@ -373,10 +373,9 @@ export const compileScene = ( type: `SCENE_TYPE_${scene.type}`, background: toFarPtr(backgroundSymbol(scene.backgroundIndex)), collisions: t...
Reinitiate OCSP stapling. The commit removed H2O_USE_OCSP but it was still refered to, so OCSP stapling was always 'not used'.
@@ -861,10 +861,6 @@ static int listener_setup_ssl(h2o_configurator_command_t *cmd, h2o_configurator_ ssl_config->certificate_file = h2o_strdup(NULL, (*certificate_file)->data.scalar, SIZE_MAX).base; ssl_config->http2_origin_frame = http2_origin_frame; -#if !H2O_USE_OCSP - if (ocsp_update_interval != 0) - fprintf(stder...
[bsp] fix bug: emac hardfault when RJ45 not inserted
@@ -287,9 +287,19 @@ static rt_err_t lpc_emac_phy_init(phy_speed_t * speed, phy_duplex_t * duplex) bool link = false; int32_t status; + RT_ASSERT(speed != NULL); + RT_ASSERT(duplex != NULL); + status = PHY_Init(lpc_emac_device.base, lpc_emac_device.phyAddr, 0); if (status != kStatus_Success) { + /* Half duplex. */ + *d...
Fix Xiaomi hourly reporting (2) Skip ZCL string attributes until 0xff01 is detected. Like when pressing the Xiaomi Cube setup button.
@@ -6891,17 +6891,35 @@ void DeRestPluginPrivate::handleZclAttributeReportIndication(const deCONZ::ApsDa */ void DeRestPluginPrivate::handleZclAttributeReportIndicationXiaomiSpecial(const deCONZ::ApsDataIndication &ind, deCONZ::ZclFrame &zclFrame) { - quint16 attrId; - quint8 dataType; - quint8 length; + quint16 attrId...
support hwloc 2 API simple substition based upon detect API version from hwloc.h in-place, rather than using CMake. no test for header-library incompatibility.
@@ -101,6 +101,15 @@ pocl_topology_detect_device_info(cl_device_id device) return ret; } +#if HWLOC_API_VERSION >= 0x00020000 + hwloc_topology_set_io_types_filter(pocl_topology, HWLOC_TYPE_FILTER_KEEP_NONE); + hwloc_topology_set_type_filter (pocl_topology, HWLOC_OBJ_SYSTEM, HWLOC_TYPE_FILTER_KEEP_NONE); + hwloc_topolog...
Clarify definitions for non-functional and unmanageable in documentation Also updated bullets in section to be proper so sub-bullets are rendered correctly.
@@ -104,19 +104,23 @@ Capacity:: HealthState:: (Default) Overall PMem module health. One of: - - Healthy - - Noncritical: Maintenance is required. - - Critical: Features or performance are degraded due to failure. - - Fatal: Critical internal state failure (DPA Failure, Internal Buffer Failure, + * Healthy + * Noncriti...
unlinks console from :dns-collector on startup
$% [%dns-address =address:dns] [%dns-complete =ship =binding:dns] == - +$ out-poke-data ~ + +$ out-poke-data + $% [%drum-unlink =dock] + == +$ in-peer-data ~ +$ out-peer-data $% [%dns-binding =binding:dns] ^- tapp-core-all:tapp |_ [=bowl:gall state=app-state] :: -++ handle-init handle-init:default-tapp ++ handle-diff h...
Remove excess semicolon. This was causing pedantic errors.
@@ -135,7 +135,7 @@ typedef struct TCOD_Tileset TCOD_Tileset; 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ -}; +} // clang-format on /** A character mapping of a Code Page 437 tileset to Unicode.
fixed endianess issue
@@ -234,7 +234,6 @@ shbhdr->byte_order_magic = PCAPNGMAGICNUMBERBE; #else shbhdr->byte_order_magic = PCAPNGMAGICNUMBER; #endif -shbhdr->byte_order_magic = PCAPNGMAGICNUMBER; shbhdr->major_version = PCAPNG_MAJOR_VER; shbhdr->minor_version = PCAPNG_MINOR_VER; shbhdr->section_length = -1;
doc: update SGS and Sample App to match release 3.2 1. update grub item in SGS 2. update acrn kernel version 3. update file names
@@ -698,7 +698,7 @@ Install ACRN .. code-block:: bash - reboot + sudo reboot #. Confirm that you see the GRUB menu with the "ACRN multiboot2" entry. Select it and proceed to booting ACRN. (It may be auto-selected, in which case it @@ -825,7 +825,7 @@ Launch the User VM .. code-block:: console ubuntu@ubuntu:~$ uname -r ...
Android: build driver playback and poser kalman only
@@ -95,6 +95,18 @@ endif include $(BUILD_SHARED_LIBRARY) +# driver_playback +include $(CLEAR_VARS) +LOCAL_MODULE := libsurvive-plugin-driver_playback +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_CFLAGS := $(COMMON_CFLAGS) +LOCAL_C_INCLUDES := $(COMMON_C_INCLUDES) +LOCAL_SHARED_LIBRARIES := libsurvive libz +LOCAL_SRC_...
httpd: Fixed wrong header in ws_send_async() for lengthy packets Closes
@@ -377,9 +377,11 @@ esp_err_t httpd_ws_send_frame_async(httpd_handle_t hd, int fd, httpd_ws_frame_t } else { header_buf[1] = 127; /* Length for 64 bits */ uint8_t shift_idx = sizeof(uint64_t) - 1; /* Shift index starts at 7 */ - for (int8_t idx = 2; idx > 9; idx--) { - /* Now do shifting (be careful of endianess, i.e....
Added LibreSSL to crypto backend list
@@ -21,7 +21,7 @@ A clear and concise description of what you expected to happen. **Version (please complete the following information):** - OS and version: [e.g. iOS, macOS, Windows, Linux (distro)] - libssh2 version: [e.g. 1.10.0] - - crypto backend: [OpenSSL, MbedTLS, Libgcrypt, WinCNG, OS400, WolfSSL, None] + - cry...
tests: cleanup of not needed benchmark code see
@@ -339,12 +339,6 @@ static void checkTopOrder3 (Key ** array) succeed_if_top (2, "/c"); succeed_if_top (3, "/a"); } -uint64_t rdtsc (void) -{ - unsigned int lo, hi; - __asm__ __volatile__("rdtsc" : "=a"(lo), "=d"(hi)); - return ((uint64_t)hi << 32) | lo; -} static void test_top (void) { KeySet * test0 = ksNew (10, key...
kernel/os; need to change validity check for invalid timeout, now that timeout parameter has changed sign.
@@ -73,7 +73,7 @@ os_callout_reset(struct os_callout *c, os_time_t ticks) os_trace_api_u32x2(OS_TRACE_ID_CALLOUT_RESET, (uint32_t)c, (uint32_t)ticks); - if (ticks < 0) { + if (ticks > INT32_MAX) { ret = OS_EINVAL; goto err; }
Makefile: fix typos and style Remove the trailing ";" and "\" and fix a typo in install.
@@ -13,25 +13,25 @@ TOOLS_OUT := $(ROOT_OUT)/tools all: hypervisor devicemodel tools hypervisor: - make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) clean; \ + make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) clean make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) ...
Update esp_rom functions and headers for ESP-IDF v4.3 & v4.4 compatibility This patch uses macros to determine the correct header and functions to use for compatability with all current supported versions of ESP-IDF and version 3.3.6, the final release of the 3.x cycle.
#include <esp_partition.h> #include <esp_sleep.h> #include <esp_system.h> -#include <rom/md5_hash.h> #include <soc/soc.h> #include <stdlib.h> +#if defined __has_include +# if __has_include (<esp_idf_version.h>) +# include <esp_idf_version.h> +# endif +#endif +#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 3, 0) +#includ...
Trivial typo fix as suggested in
@@ -199,7 +199,7 @@ NO_AFFINITY = 1 # been reported to be optimal for certain workloads (50 is the recommended value for Julia). # GEMM_MULTITHREAD_THRESHOLD = 4 -# If you need santy check by comparing reference BLAS. It'll be very +# If you need sanity check by comparing results to reference BLAS. It'll be very # slow...
Linux/arch: prctl()'s to make it attachable by ptrace
@@ -196,11 +196,19 @@ bool arch_launchChild(honggfuzz_t * hfuzz, char *fileName) /* * Kill the children when fuzzer dies (e.g. due to Ctrl+C) */ - if (prctl(PR_SET_PDEATHSIG, (long)SIGKILL, 0L, 0L, 0L) == -1) { + if (prctl(PR_SET_PDEATHSIG, (long)SIGKILL, 0UL, 0UL, 0UL) == -1) { PLOG_E("prctl(PR_SET_PDEATHSIG, SIGKILL)...
worker: plug leak in event tracing
@@ -796,9 +796,17 @@ _worker_poke_work(c3_d evt_d, // event number u3_noun wir = u3h(u3t(job)); u3_noun cad = u3h(u3t(u3t(job))); + // XX these allocations should only be performed if tracing is enabled + // c3_c lab_c[2048]; - snprintf(lab_c, 2048, "event %" PRIu64 ": [%s %s]", evt_d, - u3m_pretty_path(wir), u3m_prett...
Cherry-pick htslib#1258 Cherry-pick htslib commit ("Remove compressBound assertions. (PR #1258)"). This fixes compressBound() assertions when running bedtools testsuite on an IBM Z machine with hardware-accelerated zlib.
@@ -302,7 +302,6 @@ fail: BGZF *bgzf_open(const char *path, const char *mode) { BGZF *fp = 0; - assert(compressBound(BGZF_BLOCK_SIZE) < BGZF_MAX_BLOCK_SIZE); if (strchr(mode, 'r')) { hFILE *fpr; if ((fpr = hopen(path, mode)) == 0) return 0; @@ -325,7 +324,6 @@ BGZF *bgzf_open(const char *path, const char *mode) BGZF *b...
menu-items.c: savedir/savelog: g_free (filename)
@@ -100,6 +100,7 @@ static void save_dirlist_dlg_cb (GtkDialog * dlg, gint responseID, gpointer data ftp_log (gftp_logging_error, NULL, _("Error: Cannot open %s for writing: %s\n"), filename, g_strerror (errno)); } + g_free (filename); } gtk_widget_destroy (GTK_WIDGET (dlg)); } @@ -272,6 +273,7 @@ static void savelog_d...
Tracked down issue to atmesc.c:fdHZRG14. Looks like a memort leak.
@@ -2237,17 +2237,22 @@ The rate of change of the envelope mass. double fdDEnvelopeMassDt(BODY *body,SYSTEM *system,int *iaBody) { // TODO: This needs to be moved. Ideally we'd just remove this equation from the matrix. + // RB: move to ForceBehaviorAtmesc if ((body[iaBody[0]].dEnvelopeMass <= 0) || (body[iaBody[0]].dA...
Fix error message for maximum number of dimensions
@@ -2077,7 +2077,7 @@ mp_obj_t ndarray_reshape_core(mp_obj_t oin, mp_obj_t _shape, bool inplace) { mp_obj_tuple_t *shape = MP_OBJ_TO_PTR(_shape); if(shape->len > ULAB_MAX_DIMS) { - mp_raise_ValueError(translate("maximum number of dimensions is 4")); + mp_raise_ValueError(translate("maximum number of dimensions is " MP_...
Tab-completion: differentiate between "first option" and "no common prefix"
@@ -1180,14 +1180,8 @@ static void addAutocompleteOption(AutocompleteData* data, const char* option) { if (strstr(option, data->incompleteWord) == option) { - // The option matches the incomplete word, add it to the list. - strncat(data->options, option, CONSOLE_BUFFER_SCREEN); - strncat(data->options, " ", CONSOLE_BUF...
group-filter: close modal on navigation
@@ -223,7 +223,12 @@ onClick={() => this.addGroup(group)} }} > <p className="tc bb b--gray3 b--gray1-d gray3 pv4 f9">Group Select and Filter</p> - <Link to="/~groups" className="ma4 bg-gray5 bg-gray1-d f9 tl pa1 br1 db no-underline" style={{ paddingLeft: '6.5px', paddingRight: '6.5px' }}>Manage all Groups + <Link to="/...
BugID:22217146:Increase ping task stack
#define PING_RESULT(ping_ok) #endif -#ifndef PING_PRIO -#define PING_PRIO 1536 +#ifndef PING_STACK_SIZE +#define PING_STACK_SIZE 2048 #endif /* ping variables */ @@ -282,7 +282,7 @@ ping_thread(void *arg) LWIP_ASSERT("setting receive timeout failed", ret == 0); LWIP_UNUSED_ARG(ret); - while (true) { + while (1){ if(cou...
Specify rpath linker option to fix dynamic lib lookup failure on Linux
@@ -67,10 +67,18 @@ module RMagick check_multiple_imagemagick_versions check_partial_imagemagick_versions + libdir = `pkg-config --libs-only-L #{$magick_package}`.chomp.sub('-L', '') + ldflags = "#{ENV['LDFLAGS']} " + `pkg-config --libs #{$magick_package}`.chomp + # Save flags $CPPFLAGS = "#{ENV['CPPFLAGS']} " + `pkg-c...
attempt to fix Wii USB load
@@ -89,7 +89,7 @@ int main(int argc, char *argv[]) initDirPath(logsDir, "Logs"); initDirPath(screenShotsDir, "ScreenShots"); #else - if(strncmp(argv[0], "usb:/", 5) == 0) + if(strstr(argv[0], "usb:/") != NULL) { strcpy(rootDir, "usb:/apps/OpenBOR/"); strcpy(paksDir, "usb:/apps/OpenBOR/Paks"); @@ -112,6 +112,11 @@ int m...
Directory Value: Update test data
CppKeySet { 10, keyNew (PREFIX "key", KEY_END), keyNew (PREFIX "key/map", KEY_END), - keyNew (PREFIX "key/array", KEY_END), + keyNew (PREFIX "key/array", KEY_META, "array", "#4", KEY_END), keyNew (PREFIX "key/array/#0", KEY_END), keyNew (PREFIX "key/array/#1", KEY_END), - keyNew (PREFIX "key/array/#2/nested", KEY_END),...
Add PhNfpTrayIconFont
@@ -36,6 +36,7 @@ PH_NF_BITMAP PhNfpDefaultBitmapContext = { 0 }; PH_NF_BITMAP PhNfpBlackBitmapContext = { 0 }; HBITMAP PhNfpBlackBitmap = NULL; HICON PhNfpBlackIcon = NULL; +HFONT PhNfpTrayIconFont = NULL; GUID PhNfpTrayIconItemGuids[PH_TRAY_ICON_GUID_MAXIMUM]; static POINT IconClickLocation;
qword: Implement sys_sleep
@@ -514,7 +514,15 @@ int sys_getsockopt(int fd, int layer, int number, int sys_setsockopt(int fd, int layer, int number, const void *buffer, socklen_t size) STUB_ONLY -int sys_sleep(time_t *secs, long *nanos) STUB_ONLY +int sys_sleep(time_t *secs, long *nanos) { + asm volatile ("syscall" + : + : "a"(40), "D"(*secs) + :...
Make sure CONTIKI_BOARD_xyz is defined
@@ -46,11 +46,6 @@ UPPERCASE = _ABCDEFGHIJKLMNOPQRSTUVWXYZ_ TARGET_UPPERCASE := ${strip ${shell echo $(TARGET) | sed y!$(LOWERCASE)!$(UPPERCASE)!}} CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1 CFLAGS += -DCONTIKI_TARGET_STRING=\"$(TARGET)\" -ifneq ($(BOARD),) -TARGET_BOARD_UPPERCASE := ${strip ${shell e...
Switch deprecation method for CRYPTO
@@ -354,27 +354,32 @@ void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount); # define OPENSSL_mem_debug_pop() \ CRYPTO_mem_debug_pop() # endif -DEPRECATEDIN_3_0(int CRYPTO_set_mem_debug(int flag)) -DEPRECATEDIN_3_0(int CRYPTO_mem_ctrl(int mode)) -DEPRECATEDIN_3_0(int CRYPTO_mem_debug_push(const char *info...
js: additional check for _mm_mask_blend_epi32 Travis is now sometimes running on machines with support, which is resulting is some compile-time errors for versions of clang which don't support _mm_mask_blend_epi32. This just checks for the builtin used to implement _mm_mask_bleng_epi32 on clang before using it, hopefu...
@@ -400,7 +400,8 @@ simde_em_int32x4_select (simde_em_bool32x4 selector, simde_em_int32x4 a, simde_e #if defined(SIMDE_EM_NATIVE) return SIMDE_EM_INT32X4_C(emscripten_int32x4_select(selector.n, a.n, b.n)); #elif defined(SIMDE_EM_SSE2) - #if defined(__AVX512VL__) + #if defined(__AVX512VL__) && \ + (!defined(__clang__) |...