message
stringlengths
6
474
diff
stringlengths
8
5.22k
fix last tab view
@@ -4889,6 +4889,8 @@ view(const Arg *arg) int ui = computeprefix(arg); int i; + if (selmon->tagset[0] == 1 << ui) + return; selmon->seltags ^= 1; /* toggle sel tagset */ if (ui & TAGMASK) { @@ -5279,6 +5281,9 @@ overtoggle(const Arg *arg){ void lastview(const Arg *arg) { + if (selmon->pertag->curtag == selmon->pertag-...
interpreters: wamr: Add touch in Makefile to avoid unnecessary mv
@@ -55,6 +55,7 @@ $(WAMR_UNPACK): $(WAMR_TARBALL) $(Q) echo "Unpacking $(WAMR_TARBALL) to $(WAMR_UNPACK)" $(Q) unzip $(WAMR_TARBALL) $(Q) mv wasm-micro-runtime-$(WAMR_VERSION_STUB)$(WAMR_VERSION) $(WAMR_UNPACK) + $(Q) touch $(WAMR_UNPACK) context:: $(WAMR_UNPACK)
Change the way of determining nested classes.
@@ -98,7 +98,7 @@ mrbc_class * mrbc_define_class(struct VM *vm, const char *name, mrbc_class *supe cls->super = super ? super : mrbc_class_object; cls->method_link = 0; - if( vm && vm->callinfo_tail != NULL ) { + if( vm && mrbc_type(vm->cur_regs[0]) == MRBC_TT_CLASS ) { // For nested class // so, not in TOPLEVEL, regis...
Decrease CMSIS-OS thread's stack size
@@ -119,7 +119,7 @@ typedef osPriority esp_sys_thread_prio_t; * \brief Stack size of system threads * \note Keep as is in case of CMSIS based OS, otherwise change for your OS */ -#define ESP_SYS_THREAD_SS (512) +#define ESP_SYS_THREAD_SS (256) #endif /* ESP_OS || __DOXYGEN__ */ uint8_t esp_sys_init(void);
restores pier restart
@@ -1487,8 +1487,10 @@ u3_pier_create(c3_w wag_w, c3_c* pax_c, c3_c* sys_c) pir_u->pax_c = c3_malloc(1 + strlen(pax_c)); strcpy(pir_u->pax_c, pax_c); + if ( 0 != sys_c ) { pir_u->sys_c = c3_malloc(1 + strlen(sys_c)); strcpy(pir_u->sys_c, sys_c); + } pir_u->wag_w = wag_w; pir_u->gen_d = 0; @@ -2008,8 +2010,13 @@ _pier_b...
haskell-cabal-sandboxing: fix travis file to not use $?
@@ -96,18 +96,9 @@ before_install: brew install cabal-install cabal update # avoid reinstalls if we already have them cached - which happy - if [[ "$?" == 1 ]] - cabal install happy - fi - which alex - if [[ "$?" == 1 ]] - cabal install alex - fi - which c2hs - if [[ "$?" == 1 ]] - cabal install c2hs - fi + which happy...
py/mpconfig.h: Add default MICROPY_VFS_FAT config value. At least to document it's existence.
@@ -686,6 +686,11 @@ typedef double mp_float_t; #define MICROPY_VFS_POSIX (0) #endif +// Support for VFS FAT component, to mount a FAT filesystem within VFS +#ifndef MICROPY_VFS +#define MICROPY_VFS_FAT (0) +#endif + /*****************************************************************************/ /* Fine control over Py...
Update about copyright year
@@ -195,7 +195,7 @@ BEGIN ICON IDI_PROCESSHACKER,IDC_STATIC,16,11,21,20 LTEXT "Process Hacker",IDC_ABOUT_NAME,45,10,192,8 LTEXT "Licensed under the GNU GPL, v3.",IDC_STATIC,45,23,193,8 - LTEXT "Copyright (c) 2008-2020",IDC_STATIC,45,36,80,8 + LTEXT "Copyright (c) 2008-2021",IDC_STATIC,45,36,80,8 CONTROL "Credits.",IDC_...
Feat:modify rpc objects dir
# Source and Objects SOURCES = $(wildcard *.c) -OBJECTS_DIR = $(BOAT_BUILD_DIR)/vendor/platform/$(PLATFORM_TARGET)/src/rpc +OBJECTS_DIR = $(BOAT_BUILD_DIR)/vendor/platform/$(PLATFORM_TARGET)/rpc OBJECTS = $(patsubst %.c,$(OBJECTS_DIR)/%.o,$(SOURCES))
Fixing execute api parameters
#include <stdio.h> #define PING_HASH 6385583923 -#define NUM_ARGS 5 //In the future these values will be inherited from the command -#define ARG_LEN 20 //and control framework configuration. With this build config that's not simple to do. int parse_and_run(char * arg); -int execute(int argc, char argv[NUM_ARGS][ARG_LEN...
hdat: create XIVE nodes under each xscom node Adds the XIVE node under each chip's XSCOM controller node.
@@ -333,6 +333,17 @@ static void add_psihb_node(struct dt_node *np) } } +static void add_xive_node(struct dt_node *np) +{ + struct dt_node *xive = dt_new_addr(np, "xive", 0x5013000); + + dt_add_property_cells(xive, "reg", 0x5013000, 0x300); + dt_add_property_string(xive, "compatible", "ibm,power9-xive-x"); + + /* HACK:...
fixed missing check for MONGOC_ERRNO_IS_AGAIN case under _mongoc_socket_wait
@@ -217,9 +217,7 @@ _mongoc_socket_wait (mongoc_socket_t *sock, /* IN */ TRACE ("errno is: %d", errno); if (MONGOC_ERRNO_IS_AGAIN (errno)) { - now = bson_get_monotonic_time (); - - if (expire_at < now) { + if (OPERATION_EXPIRED (expire_at)) { _mongoc_socket_capture_errno (sock); RETURN (false); } else {
Verbose should not be turned on as a side effect from adding a lib.
@@ -719,7 +719,6 @@ class NMEProject public function addLib(name:String, version:String="",inNoCopy:Bool) { var haxelib = findHaxelib(name); - Log.mVerbose = true; if (haxelib==null) { Log.verbose("Add library " + name + ":" + version );
gadgets/tcpconnect: Make C functions static These functions are only intended to be used in the module, make them static to avoid conflicts with C functions in other modules.
@@ -22,7 +22,7 @@ package tracer // #include <arpa/inet.h> // #include <stdlib.h> // -//char *addr_str(const void *addr, __u32 af) { +//static char *addr_str(const void *addr, __u32 af) { // size_t size = af == AF_INET ? INET_ADDRSTRLEN : INET6_ADDRSTRLEN; // char *str; // @@ -35,7 +35,7 @@ package tracer // return str...
Apply clang-format to compound_plugin
@@ -158,8 +158,8 @@ void compound_plugin_call(int message, void *parameters) { case COMPOUND_REDEEM_UNDERLYING: case COMPOUND_MINT: case CETH_MINT: - msg->result = - get_underlying_asset_decimals((char *)&context->ticker_1, &context->decimals) + msg->result = get_underlying_asset_decimals((char *) &context->ticker_1, +...
highlevel: describe metadata and specification
@@ -56,6 +56,20 @@ You can find a complete example at the end of this document and [here](../../../ ## Core Concepts +### Metadata and Specification + +In Elektra keys may have [attached meta data](/doc/help/elektra-metadata.md) describing additional properties of the key. By using [Elektra's +namespaces](/doc/tutorial...
tests for LTO builds
@@ -48,7 +48,6 @@ Build_Static: paths: - bart expire_in: 45 minutes - allow_failure: true Build_UBSan: @@ -75,6 +74,18 @@ Build_GPU: expire_in: 45 minutes +Build_LTO: + image: debian:stable + stage: build + script: + - CFLAGS="-flto -O2 -g" make + artifacts: + paths: + - bart + expire_in: 45 minutes + + + Build_Tensorf...
CMSIS-Core(A): Updated cmsis_gcc.h
/* ########################### Core Function Access ########################### */ +/** + \brief Enable IRQ Interrupts + \details Enables IRQ interrupts by clearing the I-bit in the CPSR. + Can only be executed in Privileged modes. + */ +__attribute__( ( always_inline ) ) __STATIC_INLINE void __enable_irq(void) +{ + __...
in_opentelemetry: on closing connection, release channel
@@ -261,6 +261,10 @@ int opentelemetry_conn_del(struct http_conn *conn) ctx = conn->ctx; + if (conn->session.channel != NULL) { + mk_channel_release(conn->session.channel); + } + mk_event_del(ctx->evl, &conn->event); mk_list_del(&conn->_head); flb_socket_close(conn->fd);
sway-input.5.scd: Fix spelling errors
@@ -233,7 +233,7 @@ correct seat. not explicitly attached to another seat (similar to a "default" seat). *seat* <name> hide_cursor <timeout>|when-typing [enable|disable] - Hides the cursor image after the specified event occured. + Hides the cursor image after the specified event occurred. If _timeout_ is specified, th...
Remove obsolete entry from Changelog
@@ -421,8 +421,6 @@ Changes * Fix the setting of the read timeout in the DTLS sample programs. * Add extra printf compiler warning flags to builds. * Fix memsan build false positive in x509_crt.c with clang 11 - * There is ongoing work for the next release (= Mbed TLS 3.0.0 branch to - be released 2021-xx-xx), includin...
Sanity check for CRYPTO offset
@@ -4648,7 +4648,8 @@ static int conn_recv_crypto(ngtcp2_conn *conn, uint64_t rx_offset_base, fr_end_offset = rx_offset_base + fr->offset + fr->data[0].len; - if (max_rx_offset && max_rx_offset < fr_end_offset) { + if (NGTCP2_MAX_VARINT < fr_end_offset || + (max_rx_offset && max_rx_offset < fr_end_offset)) { return NGT...
peview: Add section alignment characteristics
@@ -682,6 +682,53 @@ PPH_STRING PvpGetSectionCharacteristics( PhAppendStringBuilder2(&stringBuilder, L"Locked, "); if (Characteristics & IMAGE_SCN_MEM_PRELOAD) PhAppendStringBuilder2(&stringBuilder, L"Preload, "); + + switch (Characteristics & IMAGE_SCN_ALIGN_MASK) + { + case IMAGE_SCN_ALIGN_1BYTES: + PhAppendStringBui...
fixed output filter nonsense Resolves and
@@ -506,7 +506,11 @@ int main(int argc, char *argv[]) if (!args.output_filter_arg || !strcmp(args.output_filter_arg, "default")) { zconf.filter_duplicates = 1; zconf.filter_unsuccessful = 1; - log_debug("filter", "no output filter. will use default: exclude duplicates and unssuccessful"); + log_debug("filter", "no outp...
mesh: Permit kr phase 0x00 to 0x03 MESH/NODE/KR/BI-01-C Permit kr phase 0x00-->0x03 This is port of
@@ -83,6 +83,10 @@ static void key_refresh(struct bt_mesh_subnet *sub, uint8_t new_phase) break; /* Revoking keys */ case BT_MESH_KR_PHASE_3: + if (sub->kr_phase == BT_MESH_KR_NORMAL) { + return; + } + /* __fallthrough; */ case BT_MESH_KR_NORMAL: sub->kr_phase = BT_MESH_KR_NORMAL; memcpy(&sub->keys[0], &sub->keys[1], s...
feat (cmock): add ruby and libbsd-dev to docker image Closes
@@ -16,6 +16,7 @@ RUN : \ git \ gperf \ lcov \ + libbsd-dev \ libffi-dev \ libncurses-dev \ libpython2.7 \ @@ -24,6 +25,7 @@ RUN : \ ninja-build \ python3 \ python3-venv \ + ruby \ unzip \ wget \ xz-utils \
clear resp first
#define min(a,b) ((a) < (b) ? (a) : (b)) #define espconn_send_string(conn, x) espconn_send(conn, x, strlen(x)) -char resp[0x800]; +#define MAX_RESP 0x800 +char resp[MAX_RESP]; char staticpage[] = "HTTP/1.0 200 OK\nContent-Type: text/html\n\n" "<pre>This is your comma.ai panda<br/><br/>" "It's open source. Find the code...
No warning about FSTRs after training with text features
@@ -1693,8 +1693,7 @@ class CatBoost(_CatBoostBase): if loss and is_groupwise_metric(loss): pass # too expensive elif len(self.get_text_feature_indices()) > 0: - warnings.warn("Feature importances is not implemented for text features, fstr's will be empty") - pass + pass # is not implemented yet else: if not self._obje...
zephyr/test/drivers/isl923x/src/charge_ramp_hw.c: Format with clang-format BRANCH=none TEST=none
* found in the LICENSE file. */ - #include <ztest.h> #include "driver/charger/isl923x.h" #define CHARGER_NUM get_charger_num(&isl923x_drv) #define ISL923X_EMUL emul_get_binding(DT_LABEL(DT_NODELABEL(isl923x_emul))) -ZTEST_SUITE(charge_ramp_hw, drivers_predicate_post_main, NULL, NULL, - NULL, NULL); +ZTEST_SUITE(charge_...
removes dead +mz:nl, updates +bif syntax `+mz:nl` was determined by ~sorreg to be dead code, and there doesn't seem to be any possible `a` that will nest in the current code. Also, `+bif:in` and `+bif:by` had the weird syntactical construct of `=< [+< +>]`. I simplified it to the more straightforward `=< +`.
~/ %bif |* b/* ^+ [l=a r=a] - =< [+< +>] + =< + |- ^+ a ?~ a [b ~ ~] ~/ %bif |* {b/* c/*} ^+ [l=a r=a] - =< [+< +>] + =< + |- ^+ a ?~ a [[b c] ~ ~] => .(a ^+((le a) a)) (~(gas by `(map _p.i.-.a _q.i.-.a)`~) a) :: :: - ++ mz :: construct map - |* a/(list (pair)) - => .(a ^+((le a) a)) - (~(gas by ~) a) - :: :: ++ si :: ...
horadric update (299340279)
}, "horadric":{ "formula": { - "sandbox_id": 299310905, + "sandbox_id": 299340279, "match": "horadric" }, "executable": {
Docker: Install Qt SVG Library
@@ -45,6 +45,7 @@ RUN apt-get update \ libpcre++-dev \ libpcre3-dev \ libpython3-dev \ + libqt5svg5-dev \ libssl-dev \ libsystemd-dev \ libuv1-dev \ @@ -78,6 +79,7 @@ RUN apt-get update \ wine \ && rm -rf /var/lib/apt/lists/* + # Google Test ENV GTEST_ROOT=/opt/gtest ARG GTEST_VER=release-1.8.1
Allow to override OPENSSL_PREFIX in Linux
@@ -77,7 +77,12 @@ ifeq ($(USE_SSL),1) endif ifeq ($(uname_S),Linux) + ifdef OPENSSL_PREFIX + CFLAGS+=-I$(OPENSSL_PREFIX)/include + SSL_LDFLAGS+=-L$(OPENSSL_PREFIX)/lib -lssl -lcrypto + else SSL_LDFLAGS=-lssl -lcrypto + endif else OPENSSL_PREFIX?=/usr/local/opt/openssl CFLAGS+=-I$(OPENSSL_PREFIX)/include
xpath BUGFIX missing removal of processed nodes from schema set
@@ -5448,6 +5448,8 @@ moveto_scnode(struct lyxp_set *set, const char *qname, uint16_t qname_len, int o /* remember context node */ set->val.scnodes[i].in_ctx = -1; + } else { + set->val.scnodes[i].in_ctx = 0; } start_parent = set->val.scnodes[i].scnode; @@ -5646,6 +5648,8 @@ moveto_scnode_alldesc(struct lyxp_set *set, ...
examples: hello: Show CPU index when running in SMP mode
#include <nuttx/config.h> #include <stdio.h> +#ifdef CONFIG_SMP +# include <nuttx/arch.h> +#endif + /**************************************************************************** * Public Functions ****************************************************************************/ int main(int argc, FAR char *argv[]) { +#ifde...
delbin: Configure EC fan control table. Configure EC fan control table by thermal request. BRANCH=firmware-volteer-13521.B TEST=make BOARD=delbin
@@ -163,7 +163,7 @@ const static struct ec_thermal_config thermal_cpu = { [EC_TEMP_THRESH_HIGH] = C_TO_K(65), }, .temp_fan_off = C_TO_K(35), - .temp_fan_max = C_TO_K(50), + .temp_fan_max = C_TO_K(65), }; /* @@ -186,7 +186,7 @@ const static struct ec_thermal_config thermal_inductor = { [EC_TEMP_THRESH_HIGH] = C_TO_K(65)...
nat: fix nat44-ed-in2out fast path next node When a session is found expired, the next node of in2out fast path should be in2out slow path instead of out2in slow path. Type: fix
@@ -1193,7 +1193,7 @@ nat44_ed_in2out_fast_path_node_fn_inline (vlib_main_t *vm, // session is closed, go slow path nat44_ed_free_session_data (sm, s0, thread_index, 0); nat_ed_session_delete (sm, s0, thread_index, 1); - next[0] = NAT_NEXT_OUT2IN_ED_SLOW_PATH; + next[0] = def_slow; goto trace0; }
servo_updater: Add retries for flash2 A workaround for the remaining character in the USB buffer. BRANCH=None TEST=servo_updater -b servo_micro
@@ -420,7 +420,7 @@ def main(): if vers == 2: flash(brdfile, serialno, binfile) elif vers == 6: - flash2(vidpid, serialno, binfile) + do_with_retries(flash2, vidpid, serialno, binfile) else: raise ServoUpdaterException("Can't detect updater version") @@ -439,7 +439,7 @@ def main(): if vers == 2: flash(brdfile, serialno...
examples/jpeg: use flags
@@ -19,7 +19,7 @@ void decompressToYUV( if (!dstBuf) { return; } - tjDecompressToYUV2(tjh, buf, len, dstBuf, width, 4, height, 0); + tjDecompressToYUV2(tjh, buf, len, dstBuf, width, 4, height, TJFLAG_NOREALLOC); tjFree(dstBuf); } @@ -31,7 +31,7 @@ void decompressToRGB( if (!dstBuf) { return; } - tjDecompress2(tjh, buf,...
HV: Enable CR0.WP Page fault could be raised if writing to read-only pages. This is useful for debugging.
@@ -485,6 +485,12 @@ uint64_t get_paging_pml4(void) void enable_paging(uint64_t pml4_base_addr) { + uint64_t tmp64 = 0; + + /* Enable Write Protect, inhibiting writing to read-only pages */ + CPU_CR_READ(cr0, &tmp64); + CPU_CR_WRITE(cr0, tmp64 | CR0_WP); + CPU_CR_WRITE(cr3, pml4_base_addr); }
fix send in adc-test-server.c
@@ -33,7 +33,6 @@ int main () volatile uint16_t *rx_rate; volatile uint8_t *rx_rst; volatile void *cfg, *sts, *ram; - void *buf; cpu_set_t mask; struct sched_param param; struct sockaddr_in addr; @@ -137,7 +136,7 @@ int main () { offset = limit > 0 ? 0 : 256*1024; limit = limit > 0 ? 0 : 32*1024; - if(send(sock_client,...
Add a missing log_strdup()
@@ -429,7 +429,7 @@ static void le_param_updated(struct bt_conn *conn, uint16_t interval, uint16_t l bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); - LOG_DBG("%s: interval %d latency %d timeout %d", addr, interval, latency, timeout); + LOG_DBG("%s: interval %d latency %d timeout %d", log_strdup(addr), in...
docs: Add badges for quick information It would useful to quickly get some information regrading the repository especially the CI status. So, I propose to add these badges. Fixes
</picture> </h1> +[![Inspektor Gadget CI](https://github.com/inspektor-gadget/inspektor-gadget/actions/workflows/inspektor-gadget.yml/badge.svg)](https://github.com/inspektor-gadget/inspektor-gadget/actions/workflows/inspektor-gadget.yml) +[![Go Reference](https://pkg.go.dev/badge/github.com/inspektor-gadget/inspektor-...
YAML CPP: Add info about binary values to ReadMe
@@ -305,6 +305,6 @@ level 1: ### Other Limitations - Adding and removing keys does remove **comments** inside the configuration file -- The plugin currently lacks proper **type support** for scalars +- The plugin currently lacks proper **type support** for scalars. For example, YAML CPP saves binary keys directly as st...
publish: fixes single revision plurality fixes
@@ -83,7 +83,7 @@ export function NotePreview(props: NotePreviewProps) { {date} </Box> <Box mr={3}>{commentDesc}</Box> - <Box>{rev === 1 ? `1 Revision` : `${rev} Revisions`}</Box> + <Box>{rev.valueOf() === 1 ? `1 Revision` : `${rev} Revisions`}</Box> </Box> </Col> </Link>
sub shm CHANGE continue normally on callback timeout Refs
@@ -1794,7 +1794,7 @@ sr_shmsub_multi_listen_write_event(sr_multi_sub_shm_t *multi_sub_shm, uint32_t v break; default: /* no longer a listener event, we could have timeouted */ - sr_errinfo_new(&err_info, SR_ERR_INTERNAL, NULL, "Unable to finish processing event with ID %u priority %u " + sr_errinfo_new(&err_info, SR_E...
SOVERSION bump to version 7.11.13
@@ -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 11) -set(SYSREPO_MICRO_SOVERSION 12) +set(SYSREPO_MICRO_...
Update ZydisPerfTest.c your check is incorrect. since the variables are unsigned, it is equivalent to data_written != bytes_read. so I suggest a simple fix for the error.
@@ -234,7 +234,7 @@ static ZyanU64 ProcessBuffer(const ZydisDecoder* decoder, const ZydisFormatter* ZydisDecodedInstruction* instruction; char format_buffer[256]; - while (length - offset > 0) + while (length > offset) { if (use_cache) {
gitmodules: now only use https instead of ssh git submodule init --recursive --init would result in a public key error
url = https://github.com/ucb-bar/esp-tools.git [submodule "tools/torture"] path = tools/torture - url = git@github.com:ucb-bar/riscv-torture.git + url = https://github.com/ucb-bar/riscv-torture.git [submodule "generators/boom"] path = generators/boom - url = git@github.com:riscv-boom/riscv-boom.git + url = https://gith...
Take into account d_m3CodePageSize
@@ -14,11 +14,11 @@ IM3CodePage NewCodePage (u32 i_minNumLines) { static u32 s_sequence = 0; - u32 pageSize = sizeof (M3CodePageHeader) + sizeof (code_t) * i_minNumLines; + IM3CodePage page; - pageSize = (pageSize + 4095) & ~4095; // align to 4kB + u32 pageSize = sizeof (M3CodePageHeader) + sizeof (code_t) * i_minNumLi...
compiler-families/gnu-compilers: bump version to v8.3.0
%include %{_sourcedir}/OHPC_macros -%global gnu_version 8.2.0 +%global gnu_version 8.3.0 %global gnu_major_ver 8 -%global gnu_release 2 +%global gnu_release 3 %global pname gnu8-compilers # Define subcomponent versions required for build
Reversed pairing instructions
@@ -9,7 +9,7 @@ The following page provides suggestions for common errors that may occur during ### File Transfer Error -Variations of the warnings shown below occur when flashing the `<firmware>.uf2` onto the microcontroller. This is because the microcontroller resets itself before the OS receives confirmation that th...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
@@ -20,7 +20,7 @@ def check_path(path): pass paths[path] = path # cache as failed, replace with success if it works try: - winpath = subprocess.check_output(["cygpath", "-w", path]).strip() + winpath = subprocess.check_output(["cygpath", "-w", path]).decode().strip() except subprocess.CalledProcessError: return path # ...
Implement unit tests for localization (Issue
@@ -1169,7 +1169,20 @@ test_api(pappl_system_t *system) // I - System size_t get_size, // Size for "get" call set_size; // Size for ", set" call pappl_printer_t *printer; // Current printer + pappl_loc_t *loc; // Current localization _pappl_testprinter_t pdata; // Printer test data + const char *key = "A printer with t...
idf.py hints: fix header not found regex to also match headerpaths with path seperator
match_to_output: True - - re: "fatal error: \\w+\\.h: No such file or directory" + re: "fatal error: [\\w/]+\\.h: No such file or directory" hint: "Please check if you've specified all component dependencies with 'idf_component_register(REQUIRES ...)'. If the component is not present then it should be added by the IDF ...
BugID:23251508: Fix fragment packet miss print issue
@@ -936,6 +936,8 @@ ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *d LWIP_DEBUGF(IP_DEBUG, ("ip4_output_if: %c%c%"U16_F"\n", netif->name[0], netif->name[1], (u16_t)netif->num)); ip4_debug_print(p); + LWIP_PKTDEBUGF("LwIP_send", p, netif); + #if ENABLE_LOOPBACK if (ip4_addr_cmp(dest, neti...
Mark /opt/hse/bin as shared by multiple packages (hse-devel and hse-tools)
@@ -431,10 +431,9 @@ set( CPACK_RPM_PACKAGE_GROUP "Unspecified" ) set( CPACK_RPM_PACKAGE_VENDOR "Unspecified" ) -# # We don't want to claim ownership of these directories, lest there be -# conflicts. -# +# conflicts during RPM install. If a directory appears in this list, +# it means it might be shared by multiple pack...
added brake safety checks
@@ -13,7 +13,6 @@ int brake_prev = 0; int gas_prev = 0; int gas_interceptor_prev = 0; int ego_speed = 0; - // TODO: auto-detect bosch hardware based on CAN messages? bool bosch_hardware = false; @@ -36,11 +35,15 @@ static void honda_rx_hook(CAN_FIFOMailBox_TypeDef *to_push) { } } + // user brake signal is different for...
AppVeyor: Explicitly disable Python
@@ -2,7 +2,7 @@ install: - ps: choco install -y -r swig --version 3.0.9 before_build: - - cmake -G "Visual Studio 14 2015 Win64" . + - cmake -G "Visual Studio 14 2015 Win64" -DTINYSPLINE_WITH_PYTHON=OFF . build: project: tinyspline.sln
khan: assert name
@@ -124,7 +124,7 @@ u3_khan_io_init(u3_pier* pir_u) uv_listen((uv_stream_t*)&cop_u->pyp_u, 0, _khan_conn_cb); if ( 0 != chdir(pax_c) ) { - c3_assert(!"khan-chdir2"); + c3_assert(!"khan-back"); } } }
Replace error type 'normal' with 'error'
@@ -69,13 +69,13 @@ ingroup:kdb number:9 description:Insufficient permissions to open configuration file for writing. You might want to retry as root. -severity:normal +severity:error ingroup:kdb see:75 109 110 number:10 description:general parse error -severity:normal +severity:error ingroup:kdb macro:PARSE @@ -657,7 ...
Doc: Update the doc of "Build UOS from ClearLinux"
@@ -12,15 +12,15 @@ Build UOS image in Clear Linux native In order to build out the image of UOS, please follow these steps in Clear Linux native: -#. In Clear Linxu native, please install ``ister`` at first, - ``ister`` is a template based installer for linux, - which is inclued in the bundle ``os-installer`` in Clear...
admin/nagios: default-init is in startup
@@ -201,7 +201,7 @@ install -p -m 0644 %{SOURCE10} %{SOURCE11} %{SOURCE12} html/images/logos/ make %{?_smp_mflags} all #sed -i -e "s| package Embed::Persistent;|#\!%{_bindir}/perl\npackage Embed::Persistent;|" p1.pl -sed -i -e "s|NagiosCmd=/var/log/nagios/rw/nagios.cmd|NagiosCmd=%{_localstatedir}/spool/%{pname}/cmd/nag...
Update INSTALL_CMAKE filename to INSTALL_CMAKE.md Fixing for
# $Id: Makefile.am,v 1.37 2009/03/26 15:41:15 bagder Exp $ -EXTRA_DIST = template.3 BINDINGS INSTALL_AUTOTOOLS INSTALL_CMAKE HACKING TODO \ +EXTRA_DIST = template.3 BINDINGS INSTALL_AUTOTOOLS INSTALL_CMAKE.md HACKING TODO \ AUTHORS CMakeLists.txt HACKING.CRYPTO SECURITY.md dist_man_MANS = \
Fix border case handling in moveToFitBounds
@@ -342,6 +342,9 @@ namespace carto { cglib::vec3<double> maxPos = projectionSurface->calculatePosition(mapBounds.getMax()); cglib::mat4x4<double> transform = projectionSurface->calculateTranslateMatrix(minPos, maxPos, 0.5f); centerPos = cglib::transform_point(minPos, transform); + if (std::isnan(cglib::norm(centerPos)...
Update README now that MMX is done.
# SIMD Everywhere SIMDe is an experimental project which attempts to implement SIMD -intrinsics on hardware which doesn't natively support them. +intrinsics on hardware which doesn't natively support them (*e.g.*, +calling SSE functions on ARM). -The first target for SIMDe is SSE. The goal is to be able to to -include ...
system/input: add input tool button support
****************************************************************************/ #include <errno.h> +#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <fcntl.h> +#include <unistd.h> +#include <nuttx/input/buttons.h> #include <nuttx/input/touchscreen.h> /*******************************...
angle_pid: tidy
@@ -16,19 +16,22 @@ static float apidoutput2[ANGLE_PID_SIZE]; static float apidoutput[ANGLE_PID_SIZE]; static float lasterror[ANGLE_PID_SIZE]; +extern float timefactor; + float angle_pid(int x) { + const float angle_error_abs = fabsf(state.angleerror[x]); + // P term 1 weighted - apidoutput1[x] = (1 - fabsf(state.angle...
opal-ci: Build qemu from Cedric's powernv-2.12 branch This contains the latest features. It's close to upstream, but there's enough stuff in there that it probably makes sense to continue using it for now.
set -e set -vx -git clone --depth=1 -b qemu-powernv-for-skiboot-3 git://github.com/open-power/qemu.git +git clone --depth=1 -b powernv-2.12 git://github.com/legoater/qemu.git cd qemu git submodule update --init dtc export CC="ccache gcc"
Python2 install broken for lib64
@@ -37,7 +37,7 @@ if( HAVE_PYTHON ) set( _gribapi_swig "gribapi/_gribapi_swig${CMAKE_SHARED_LIBRARY_SUFFIX}" ) # Build the extension module for use in build tree with RPATH pointing to the build tree add_custom_command( OUTPUT ${_gribapi_swig} - COMMAND ${PYTHON_EXECUTABLE} setup.py build_ext --inplace --rpath ${CMAKE_...
try to fix (dos line endings)
@@ -54,7 +54,7 @@ static char * parseRecord (char ** ptr, char delim, int * isQuoted, int * isCol, ++(*counter); if (mode == PARSE) return NULL; } - else if (*(*ptr + 1) == '\n') + else if (*(*ptr + 1) == '\n' || *(*ptr + 1) == '\r') { *isQuoted = 0; *isCol = 0; @@ -75,7 +75,7 @@ static char * parseRecord (char ** ptr,...
elfhacks: check UINTPTR_MAX size of architecture bitness instead
Pyry Haulos <pyry.haulos@gmail.com> */ - +#pragma once #include <elf.h> #include <link.h> +#include <stdint.h> #ifdef __cplusplus extern "C" { @@ -38,10 +39,9 @@ extern "C" { #define __PUBLIC __attribute__ ((visibility ("default"))) -#ifdef __x86_64__ +#if UINTPTR_MAX == 0xffffffffffffffff # define __elf64 -#endif -#if...
ci: remove redundancy
@@ -14,11 +14,6 @@ jobs: strategy: fail-fast: false matrix: - name: - - default - - OpenSSL 1.1.0 - - OpenSSL 1.1.1 - - DTrace include: - name: default command: make -f misc/docker-ci/check.mk ALL
BugID:18679699: delete useless code
@@ -20,7 +20,7 @@ int rec_2boot_cmd_check(void) while(1) { if(uart_recv_byte(&c) && ('w' == c)) { - printf("2nd boot cmd:\r\n"); + printf("Will enter aos 2nd boot cmd ...\r\n"); return 0; } i ++; @@ -54,12 +54,7 @@ void print_usage() void rec_2boot_cmd_process() { #ifdef AOS_OTA_2BOOT_CLI - PatchStatus *pstatus; unsign...
fixed broken GPS handling
@@ -5115,7 +5115,7 @@ static char *nmeaptr; static const char *gpgga = "$GPGGA"; static const char *gprmc = "$GPRMC"; -nmeatemplen = recvfrom(fd_gps, nmeatempsentence, NMEA_MAX -1, 0, NULL, NULL); +nmeatemplen = read(fd_gps, nmeatempsentence, NMEA_MAX -1); if(nmeatemplen < 44) return; nmeatempsentence[nmeatemplen] = 0;...
Fixing close connection issue in ble data service
@@ -206,6 +206,7 @@ typedef struct IotBleDataTransferService uint8_t identifier; /**< Uniquely identifies a data transfer service. */ BTService_t gattService; /**< Internal gatt Service structure. */ IotBleDataTransferChannel_t channel; /**< Channel used ot send or receive data. */ + bool isReady; } IotBleDataTransferS...
fix(warning): warnings in boathwbcs.c
@@ -71,7 +71,7 @@ __BOATSTATIC BOAT_RESULT hwbcsPayloadPacked(BoatHwbcsTx *tx_ptr, BOAT_RESULT result = BOAT_SUCCESS; boat_try_declare; - if (tx_ptr->var.type == HWBCS_TYPE_PROPOSAL) + if (tx_ptr->var.type == (BoatHlfabricType)HWBCS_TYPE_PROPOSAL) { /* contractInvocation info*/ contractInvocation.contract_name = tx_ptr...
Fix size overflow in calculation introduced by commits and Reported-by: Thomas Munro Author: Takayuki Tsunakawa Discussion:
* being dropped. For the relations with size below this threshold, we find * the buffers by doing lookups in BufMapping table. */ -#define BUF_DROP_FULL_SCAN_THRESHOLD (uint32) (NBuffers / 32) +#define BUF_DROP_FULL_SCAN_THRESHOLD (uint64) (NBuffers / 32) typedef struct PrivateRefCountEntry { @@ -2987,7 +2987,7 @@ Drop...
global-plugins: simplify initialization for lower McCabe complexity
@@ -344,9 +344,7 @@ int mountGlobals (KDB * kdb, KeySet * keys, KeySet * modules, Key * errorKey) keys = elektraDefaultGlobalConfig (); root = ksHead (keys); } - for (int i = 0; i < NR_GLOBAL_POSITIONS; ++i) - for (int j = 0; j < NR_GLOBAL_SUBPOSITIONS; ++j) - kdb->globalPlugins[i][j] = NULL; + memset (kdb->globalPlugi...
Add a CHANGES entry for the SSL_SECOP_TMP_DH change
@@ -23,6 +23,17 @@ OpenSSL 3.0 ### Changes between 1.1.1 and 3.0 [xx XXX xxxx] + * The security callback, which can be customised by application code, supports + the security operation SSL_SECOP_TMP_DH. This is defined to take an EVP_PKEY + in the "other" parameter. In most places this is what is passed. All these + pl...
tests/motors/run_test: Add reference speed plot.
@@ -126,6 +126,7 @@ def plot_control_data(time, data, build_dir, subtitle=None): error_axis.plot(time, count_ref - count, drawstyle="steps-post", label="Reported error") error_axis.plot(time, count_ref - count_est, drawstyle="steps-post", label="Estimated error") + error_axis.plot(time, count_est - count, drawstyle="st...
Don't wait if there aren't any open connections
@@ -1452,9 +1452,8 @@ static void facil_cycle_schedule_events(void) { /* reactor pattern cycling during cleanup */ static void facil_cycle_unwind(void *ignr, void *ignr2) { - facil_cycle_schedule_events(); if (facil_data->connection_count) { - // fprintf(stderr, "Connection Count: %zu\n", facil_data->connection_count);...
second try to swap back
@@ -509,7 +509,8 @@ avtH5PartFileFormat::avtH5PartFileFormat(const char *filename, it != particleVarNameToTypeMap.end(); ++it) // for( const auto &it : particleVarNameToTypeMap ) { - std::string varName = it.first; + // std::string varName = it.first; + std::string varName = it->first; // Store information about whethe...
restores white-listed moves lost in the merge
$nuke `%a $ogre `%c $perm `%c + $rule `%e $serv `%e + $tend `%a $them `%e $wait `%b $want `%a $warp `%c $well `%e + $well `%e $wipe `%f == --
horadric update (316348528) Note: mandatory check (NEED_CHECK) was skipped
}, "horadric":{ "formula": { - "sandbox_id": 314886234, + "sandbox_id": 316348528, "match": "horadric" }, "executable": {
Fixed esp_core_dump_image_erase() for flash encryption with 16byte long write buffer
// See the License for the specific language governing permissions and // limitations under the License. #include <string.h> +#include <assert.h> +#include "esp_core_dump.h" #include "esp_partition.h" #include "esp_log.h" #include "esp_core_dump_types.h" @@ -456,9 +458,21 @@ esp_err_t esp_core_dump_image_erase(void) re...
hw/slw: use dt_new_check() On P9 systems the /ibm,opal/power-mgt/ node may be created by the HDAT parser before reaching add_cpu_idle_state_properties(). This is fine, but it needs to be handled.
@@ -648,11 +648,10 @@ void add_cpu_idle_state_properties(void) u32 *residency_ns_buf; u32 *flags_buf; - prlog(PR_DEBUG, "CPU idle state device tree init\n"); - /* Create /ibm,opal/power-mgt */ - power_mgt = dt_new(opal_node, "power-mgt"); + /* Create /ibm,opal/power-mgt if it doesn't exist already */ + power_mgt = dt_n...
BugID:18173406:[infra] add sdk ver info to client_id
@@ -738,6 +738,7 @@ int iotx_guider_authenticate(iotx_conn_info_t *conn) #ifdef SUPPORT_ITLS ",authtype=id2" #endif + ",ver=c-sdk-%s" "|" , dev.device_id , secure_mode @@ -746,6 +747,7 @@ int iotx_guider_authenticate(iotx_conn_info_t *conn) , ext , partner_id , module_id + , LINKKIT_VERSION ); guider_print_conn_info(co...
change localhost -> 127.0.0.1
@@ -59,7 +59,7 @@ static uint32_t flows_active = 0; static uint32_t server_runs = 0; static char *cert_file = NULL; static char *key_file = NULL; -static char *loop_hostname = "localhost"; +static char *loop_hostname = "127.0.0.1"; /* macro - tvp-uvp=vvp
fix: the return value of LCUI_GetAppId() is incorrect
@@ -160,6 +160,7 @@ LCUI_AppDriver LCUI_CreateWinAppDriver(void) MessageBoxW(NULL, str, win.class_name, MB_ICONERROR); return NULL; } + app->id = LCUI_APP_WINDOWS; app->GetData = WIN_GetData; app->ProcessEvents = WIN_ProcessEvents; app->BindSysEvent = WIN_BindSysEvent;
When `pci_dev` is set, don't skip AMD gpu if device id doesn't match
@@ -695,9 +695,9 @@ void init_gpu_stats(uint32_t& vendorID, uint32_t reported_deviceID, overlay_para if ((fp = fopen(device.c_str(), "r"))){ uint32_t temp = 0; if (fscanf(fp, "%x", &temp) == 1) { - if (reported_deviceID && temp != reported_deviceID){ + if (!pci_bus_parsed && reported_deviceID && temp != reported_device...
nimble/test: Fix LE SC tests Some LE SC tests depend on known initial values on crypto side. With latest update to TinyCrypt provided prng function is used also for initial seeding and thus tests were failing. To keep things simple just don't initialize random source function when doign unit tests.
@@ -494,6 +494,10 @@ ble_sm_alg_gen_key_pair(uint8_t *pub, uint8_t *priv) return 0; } +#if MYNEWT_VAL(SELFTEST) +/* Unit tests rely on custom RNG function not being set */ +#define ble_sm_alg_rand NULL +#else /* used by uECC to get random data */ static int ble_sm_alg_rand(uint8_t *dst, unsigned int size) @@ -519,6 +52...
fib: Adjacency walk fix for IPv6 Type: fix
@@ -671,7 +671,7 @@ adj_nbr_walk_nh (u32 sw_if_index, FOR_EACH_VNET_LINK(linkt) { - ai = adj_nbr_find (FIB_PROTOCOL_IP4, linkt, nh, sw_if_index); + ai = adj_nbr_find (adj_nh_proto, linkt, nh, sw_if_index); if (INDEX_INVALID != ai) cb(ai, ctx);
add support for new code (harware button)
@@ -51,6 +51,7 @@ public class BarcodeFactory extends RhoApiFactory<Barcode, BarcodeSingleton> imp private int defaultEMDKScanner = -1; protected final int KEYCODE_TRIGGER_1 = 102; protected final int KEYCODE_TRIGGER_2 = 103; + protected final int KEYCODE_SCAN = 10036; private int lastKeyAction; private StartScannerTas...
kdf snmp interop change
@@ -207,7 +207,7 @@ ACVP_RESULT acvp_kdf135_snmp_kat_handler(ACVP_CTX *ctx, JSON_Object *obj) { return ACVP_MISSING_ARG; } int actual_len = strnlen(password, ACVP_KDF135_SNMP_PASSWORD_MAX); - if (actual_len != p_len / 8) { + if (actual_len != p_len) { ACVP_LOG_ERR("pLen(%d) or password length(%d) incorrect", p_len, act...
slightly reduce tolerances in sol checking
@@ -215,12 +215,12 @@ const char *verify_solution_correct(ScsData *d, ScsCone *k, ScsSettings *stgs, /**************** ASSERTS *****************/ if (status == SCS_SOLVED) { mu_assert_less("Primal residual ERROR", ABS(res_pri - info->res_pri), - 1e-14); + 1e-12); mu_assert_less("Dual residual ERROR", ABS(res_dual - inf...
ikev2: fix memory leak in auth routine Type: fix
@@ -1671,11 +1671,13 @@ ikev2_sa_auth (ikev2_sa_t * sa) authmsg = ikev2_sa_generate_authmsg (sa, 1); if (sel_p->auth.method == IKEV2_AUTH_METHOD_SHARED_KEY_MIC) { + vec_free (sa->r_auth.data); sa->r_auth.data = ikev2_calc_prf (tr_prf, psk, authmsg); sa->r_auth.method = IKEV2_AUTH_METHOD_SHARED_KEY_MIC; } else if (sel_p...
README: add a description about record_modifier
@@ -43,6 +43,7 @@ $ bin/fluent-bit -i cpu -o stdout | name | option | description | |--------------------|------------|---------------------------------------------------------------------------------| +| Record Modifier | record_modifier | Append/Remove key-value pair | | Grep | grep | Match or exclude specific record...
BugID:18747037:[board]remove extra aos_get_version_info, slove ci build problem
@@ -116,7 +116,3 @@ void soc_err_proc(kstat_t err) krhino_err_proc_t g_err_proc = soc_err_proc; -unsigned int aos_get_version_info (u8 *version_num, u8 *random_num, u8 *mac_address, u8 *chip_code, u8 *output_buffer, u32 output_buffer_size) -{ - return 0; -} \ No newline at end of file
fix path spliter
@@ -38,7 +38,7 @@ script: - cat xmake/core/_xmake_main.lua >> tmp - mv tmp xmake/core/_xmake_main.lua - cp core/build/xmake $(which xmake) || sudo cp core/build/xmake $(which xmake) - - xmake lua --backtrace tests\test.lua + - xmake lua --backtrace tests/test.lua after_success: - luacov