message
stringlengths
6
474
diff
stringlengths
8
5.22k
Performance: Exclude METAR definition files from MEMFS
@@ -66,7 +66,7 @@ print("MEMFS: Starting") # Exclude experimental features e.g. GRIB3 and TAF # The BUFR codetables is not used in the engine -EXCLUDED = ["grib3", "codetables", "taf", "stations", "grib1_mlgrib2_ieee32"] +EXCLUDED = ["grib3", "codetables", "taf", "metar", "stations", "grib1_mlgrib2_ieee32"] EXCLUDE = {...
Add AtkDragDropManager
@@ -11,6 +11,7 @@ public unsafe partial struct AtkStage { [FieldOffset(0x0)] public AtkEventTarget AtkEventTarget; [FieldOffset(0x20)] public RaptureAtkUnitManager* RaptureAtkUnitManager; + [FieldOffset(0x78)] public AtkDragDropManager DragDropManager; [FieldOffset(0x168)] public AtkTooltipManager TooltipManager; [Fiel...
Correct preprocessor syntax
#define PXP_OUT_PIXEL_FORMAT kPXP_OutputPixelFormatRGB565 #define PXP_AS_PIXEL_FORMAT kPXP_AsPixelFormatRGB565 #define PXP_PS_PIXEL_FORMAT kPXP_PsPixelFormatRGB565 -#elif +#else #error Only 16bit color depth is supported. Set LV_COLOR_DEPTH to 16. #endif
Fix unused variable warnings in heap.c. Introduced by commit just for info.
@@ -3273,9 +3273,6 @@ heap_truncate(List *relids) Oid rid = lfirst_oid(cell); Relation rel; Oid toastrelid; - Oid aosegrelid; - Oid aoblkdirrelid; - Oid aovisimaprelid; rel = heap_open(rid, AccessExclusiveLock); relations = lappend(relations, rel);
[CUDA] Add POCL_CUDA_VERIFY_MODULE environment variable Make module verifiation opt-in, since the pocl linker currently generates invalid metadata.
@@ -99,13 +99,16 @@ int pocl_ptx_gen(const char *BitcodeFilename, const char *PTXFilename, POCL_MSG_PRINT_INFO("NVVM module:\n%s\n", ModuleString.c_str()); } - // Verify module. std::string Error; + + // Verify module. + if (pocl_get_bool_option("POCL_CUDA_VERIFY_MODULE", 0)) { llvm::raw_string_ostream Errs(Error); if ...
Update TargetRegistry.h path for LLVM_MAJOR > 13 In LLVM 14.x, `TargetRegistry.h` was relocated from `llvm/Support` to `llvm/MC`. This patch adds an `LLVM_OLDER_THAN_14_0` check to `pocl-ptx.gen.cc` to accommodate the relocation.
#include "llvm/IR/Module.h" #include "llvm/IR/Verifier.h" #include "llvm/Linker/Linker.h" -#include "llvm/Support/FileSystem.h" +#ifndef LLVM_OLDER_THAN_14_0 +#include "llvm/MC/TargetRegistry.h" +#else #include "llvm/Support/TargetRegistry.h" +#endif +#include "llvm/Support/FileSystem.h" #include "llvm/Support/TargetSe...
zephyr test: Check charging in 5V charger test Check charging state after attaching 5V 3A charger. Rename the 5V and 20V charger tests to more accurately distinguish between them. TEST=zmake testall BRANCH=none
@@ -88,6 +88,10 @@ static void check_charge_state(int chgnum, bool attached) zassert_ok(host_command_process(&args), "Failed to get charge state"); zassert_equal(charge_response.get_state.ac, attached, "USB default but AC absent"); + /* The charging voltage and current are not directly related to the PD + * charging an...
move the checkout till after the pull so you get the new branches that may have been added
@@ -39,10 +39,12 @@ if [ -d $repodirname ] ; then if [ "$STASH_BEFORE_PULL" == "YES" ] ; then git stash -u fi - echo "cd $repodirname ; git checkout $COBRANCH" - git checkout $COBRANCH echo "git pull " git pull + echo "cd $repodirname ; git checkout $COBRANCH" + git checkout $COBRANCH + #echo "git pull " + #git pull if...
Use path variables: nrf52832
@@ -185,7 +185,7 @@ $(OBJECT_DIRECTORY)/%.o: %.s $(TRACE_CC) $(Q)$(CC) $(ASMFLAGS) $(addprefix -I$(NRF52_SDK_ROOT)/, $(INC_PATHS)) -c -o $@ $< -include $(ARCH_PATH)/cpu/arm/cortex-m/cm4/Makefile.cm4 +include $(CONTIKI)/$(CONTIKI_NG_CM4_DIR)/Makefile.cm4 %.jlink: $(OUT_HEX) sed -e 's,#OUTPUT_FILENAME#,$<,' $(CONTIKI_CPU...
Fix version in SOURCEINSTALL.md
-# Source Install V 11.12-2 (DEV) +# Source Install V 11.12-0 (DEV) Build and install from sources is possible. However, the source build for AOMP is complex for several reasons. - Many repos are required. The clone_aomp.sh script ensures you have all repos and the correct branch.
Camel: Add missing main section This commit addresses issue
- infos/metadata = - infos/description = A very basic plugin that reads and writes a very small subset of YAML +# Camel + ## Introduction This plugin reads configuration data specified in a **very limited** subset of the data serialization language [YAML](http://www.yaml.org).
Add FixedSizeArray property to AgentHUD
@@ -22,7 +22,10 @@ public unsafe partial struct AgentHUD //[FieldOffset(0x9DC)] public uint CurrentBattleCharaTargetLevel; [FieldOffset(0xCB8)] public int CompanionSummonTimer; + + [FixedSizeArray<HudPartyMember>(10)] [FieldOffset(0xCC8)] public fixed byte PartyMemberList[0x20 * 10]; + [FieldOffset(0x12B8)] public shor...
Testing: Fix working directory
@@ -31,7 +31,7 @@ if [ "$latest" != "$highest_num" ]; then exit 1 fi - +cd $test_dir # Check table 1.0 # Check it has the latest with description matching "Version implemented on DD MM YYYY" tempText=temp.$label.txt
Fix no-engine We don't need to check if an engine has a cipher/digest in a no-engine build.
@@ -5848,12 +5848,14 @@ const EVP_CIPHER *ssl_evp_cipher_fetch(OPENSSL_CTX *libctx, int nid, const char *properties) { +#ifndef OPENSSL_NO_ENGINE /* * If there is an Engine available for this cipher we use the "implicit" * form to ensure we use that engine later. */ if (ENGINE_get_cipher_engine(nid) != NULL) return EVP...
Fix that it passes the actual UDP address instead of first and pass NULL to make tcp log compile.
@@ -1929,18 +1929,11 @@ randomize_and_send_udp(struct pending* pend, sldns_buffer* packet, int timeout) */ if(outnet->dtenv && (outnet->dtenv->log_resolver_query_messages || - sq->outnet->dtenv->log_forwarder_query_messages)) { - if(addr_is_ip6(&sq->addr, sq->addrlen)) { - log_addr(VERB_ALGO, "from local addr", &sq->ou...
Fix CLI help message for set ip address
@@ -214,7 +214,7 @@ done: VLIB_CLI_COMMAND (set_interface_ip_address_command, static) = { .path = "set interface ip address", .function = add_del_ip_address, - .short_help = "set interface ip address <interface> [<ip-addr>/<mask> [del]] | [del all]", + .short_help = "set interface ip address [del] <interface> <ip-addr>...
picoquic: fix frame comparison Frame types are not only 1 byte long anymore Warning: /home/ivan/svnrepos/picoquic/picoquic/frames.c:2640:41: error: result of comparison of constant 'picoquic_frame_type_ack_mp' (764832) with expression of type 'uint8_t' (aka 'unsigned char') is always false [-Werror,-Wtautological-const...
@@ -2629,7 +2629,7 @@ void picoquic_process_possible_ack_of_ack_frame(picoquic_cnx_t* cnx, picoquic_pa break; } - if (p->bytes[byte_index] == picoquic_frame_type_ack) { + if (ftype == picoquic_frame_type_ack) { ret = picoquic_process_ack_of_ack_frame(&cnx->ack_ctx[p->pc].first_sack_item, &p->bytes[byte_index], p->lengt...
Check md_size isn't negative before we use it Issue found by Coverity
@@ -25,16 +25,17 @@ static BIGNUM *sm2_compute_msg_hash(const EVP_MD *digest, { EVP_MD_CTX *hash = EVP_MD_CTX_new(); const int md_size = EVP_MD_size(digest); - uint8_t *za = OPENSSL_zalloc(md_size); + uint8_t *za = NULL; BIGNUM *e = NULL; - if (hash == NULL || za == NULL) { - SM2err(SM2_F_SM2_COMPUTE_MSG_HASH, ERR_R_MA...
Add armclang compilation fix for kl27z
@@ -318,8 +318,12 @@ typedef enum _dma_request_source */ #if defined(__ARMCC_VERSION) + #if (__ARMCC_VERSION >= 6010050) + #pragma clang diagnostic push + #else #pragma push #pragma anon_unions + #endif #elif defined(__CWCC__) #pragma push #pragma cpp_extensions on @@ -6249,7 +6253,11 @@ typedef struct { */ #if defined...
azimuth: properly nuke azimuth-tracker on-init
=. net.state %local :_ this :~ [%pass /eth-watcher %agent [our.bowl %eth-watcher] %watch /logs/[dap.bowl]] - [%pass /old-tracker %agent [our.bowl %azimuth-tracker] %poke %kiln-nuke !>([%azimuth-tracker %base])] + [%pass /old-tracker %agent [our.bowl %hood] %poke %kiln-nuke !>([%azimuth-tracker %base])] [%pass /lo %arvo...
Fix py_imu include in py_sensor.
#include "xalloc.h" #include "py_assert.h" #include "py_image.h" +#if MICROPY_PY_IMU #include "py_imu.h" +#endif #include "omv_boardconfig.h" #include "py_helper.h" #include "framebuffer.h"
Fix incorrect tag name in PyMongoCrypt Azure/GCP beta install instructions
@@ -150,7 +150,7 @@ Installing the Azure and GCP beta release To install the beta release, first checkout the ``pymongocrypt-1.1.0b0`` tag and install it:: - $ git clone --branch 1.1.0b0 git@github.com:mongodb/libmongocrypt.git + $ git clone --branch pymongocrypt-1.1.0b0 git@github.com:mongodb/libmongocrypt.git $ pytho...
actions BUGFIX branch name
@@ -14,7 +14,7 @@ jobs: name: Get git branch runs-on: ubuntu-18.04 outputs: - name: ${{ steps.get-git-branch.outputs.branch-name }} + branch-name: ${{ steps.get-git-branch.outputs.branch-name }} steps: - id: get-git-branch run: |
add bootstrap check for ohpc-filesystem
@@ -35,7 +35,9 @@ DocDir: %{OHPC_PUB}/doc/contrib # OpenHPC packages require ohpc-filesystem which defines the basic # installation path layout +%if 0%{?ohpc_bootstrap} == 0 Requires: ohpc-filesystem +%endif # OpenHPC packages also require ohpc-buildroot to access macros used to define # compiler and MPI families
Proper flash page size calculation for F412
@@ -1451,7 +1451,8 @@ uint32_t calculate_L4_page(stlink_t *sl, uint32_t flashaddr) { uint32_t stlink_calculate_pagesize(stlink_t *sl, uint32_t flashaddr){ if ((sl->chip_id == STLINK_CHIPID_STM32_F2) || (sl->chip_id == STLINK_CHIPID_STM32_F4) || (sl->chip_id == STLINK_CHIPID_STM32_F4_DE) || (sl->chip_id == STLINK_CHIPID...
tests: internal: record_accessor: add test case for If the last element is an array, record accessor can't get it. e.g. $key['nested'][0]
@@ -1496,6 +1496,71 @@ void cb_ra_translate_check() msgpack_unpacked_destroy(&result); } +/* + * https://github.com/fluent/fluent-bit/issues/5936 + * If the last nested element is an array, record accessor can't get its value. + */ +void cb_issue_5936_last_array() +{ + int len; + int ret; + int type; + size_t off = 0; ...
mpi-families/openmpi: bump to v4.0.5
@@ -40,7 +40,7 @@ Summary: A powerful implementation of MPI/SHMEM Name: %{pname}%{RMS_DELIM}-%{compiler_family}%{PROJ_DELIM} -Version: 4.0.4 +Version: 4.0.5 Release: 1%{?dist} License: BSD-3-Clause Group: %{PROJ_NAME}/mpi-families
toolchain script fixes
@@ -12,9 +12,10 @@ RDIR=$(pwd) function usage { - echo "usage: build-setup.sh [ firesim | --firesim] [--submodules-only]" + echo "usage: ./scripts/build-toolchains.sh [riscv] [hwacha] [ firesim | --firesim] [--submodules-only]" + echo " riscv: if set, builds the riscv toolchain (this is also the default)" + echo " hwac...
DM: change 32-bit mmio limit to 3.5G the VM 32-bit mmio window is 2G~3.5G
#define PCI_BDF(b, d, f) (((b & 0xFF) << 8) | ((d & 0x1F) << 3) | ((f & 0x7))) #define PCI_EMUL_MEMBASE32 0x80000000UL /* 2GB */ -#define PCI_EMUL_MEMLIMIT32 0xC0000000UL /* 3GB */ +#define PCI_EMUL_MEMLIMIT32 0xE0000000UL /* 3.5GB */ #define PCI_EMUL_ECFG_BASE 0xE0000000UL /* 3.5GB */
Closing unsent file descriptors from port queue. After a process exits, all ports linked to it from other processes should be closed. All unsent file descriptors in port queue, marked as "close after send", should be closed to avoid resource leakage.
@@ -993,6 +993,12 @@ nxt_port_error_handler(nxt_task_t *task, void *obj, void *data) nxt_queue_each(msg, &port->messages, nxt_port_send_msg_t, link) { + if (msg->fd != -1 && msg->close_fd != 0) { + nxt_fd_close(msg->fd); + + msg->fd = -1; + } + for (b = msg->buf; b != NULL; b = next) { next = b->next; b->next = NULL;
Allow other flash modes and speeds Changes harcoded settings in `tools/dev/flash.sh` to use settings that can be configured using `idf.py menuconfig`.
@@ -37,13 +37,13 @@ echo "%% Flashing ${1} (size=${filesize}k)" echo "%%" exec "${IDF_PATH}/components/esptool_py/esptool/esptool.py" \ - --chip esp32 \ + --chip auto \ --port "${FLASH_SERIAL_PORT}" \ --baud "${FLASH_BAUD_RATE}" \ --before default_reset \ --after hard_reset \ write_flash \ - -u --flash_mode dio --flash...
avf: correctly set VL_API_AVF_DELETE is_mp_safe Need to add msg_id_base with VL_API_AVF_DELETE to properly set the correct is_mp_safe variable. Type: fix
@@ -93,10 +93,11 @@ avf_plugin_api_hookup (vlib_main_t * vm) avf_main_t *avm = &avf_main; api_main_t *am = vlibapi_get_main (); - am->is_mp_safe[VL_API_AVF_DELETE] = 1; - /* ask for a correctly-sized block of API message decode slots */ avm->msg_id_base = setup_message_id_table (); + + am->is_mp_safe[avm->msg_id_base +...
fix pylint fail
@@ -45,7 +45,6 @@ CERTIFICATES = { } - CAFILE = { 'ecdsa_secp256r1_sha256': 'data_files/test-ca2.crt', 'ecdsa_secp384r1_sha384': 'data_files/test-ca2.crt', @@ -76,7 +75,6 @@ NAMED_GROUP_IANA_VALUE = { 'x448': 0x1e, } -OUTPUT_FILE=sys.stdout def remove_duplicates(seq): seen = set() @@ -372,6 +370,7 @@ def generate_compa...
py/objfun: Disable .__globals__ overdynamic feature.
@@ -363,10 +363,12 @@ void mp_obj_fun_bc_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { if (attr == MP_QSTR___name__) { dest[0] = MP_OBJ_NEW_QSTR(mp_obj_fun_get_name(self_in)); } + #if 0 if (attr == MP_QSTR___globals__) { mp_obj_fun_bc_t *self = MP_OBJ_TO_PTR(self_in); dest[0] = MP_OBJ_FROM_PTR(self->globals); } +...
make get_cipher_handle static
@@ -80,7 +80,7 @@ static int afalg_destroy(ENGINE *e); static int afalg_init(ENGINE *e); static int afalg_finish(ENGINE *e); const EVP_CIPHER *afalg_aes_cbc(int nid); -cbc_handles *get_cipher_handle(int nid); +static cbc_handles *get_cipher_handle(int nid); static int afalg_ciphers(ENGINE *e, const EVP_CIPHER **cipher,...
Code indentation/formatting fixes
@@ -755,10 +755,12 @@ __isl_give isl_union_map *pluto_parallel_schedule_with_remapping(isl_union_set * if (options->parallel) { *ploops = pluto_get_parallel_loops(prog, nploops); + if (!options->silent) { printf("[pluto_mark_parallel] %d parallel loops\n", *nploops); pluto_loops_print(*ploops, *nploops); printf("\n"); ...
Fix error: chip/stm32l5_pwr.c:50:20: error: unused function 'stm32l5_pwr_modifyreg'
@@ -47,13 +47,6 @@ static inline void stm32l5_pwr_putreg(uint8_t offset, uint16_t value) putreg32((uint32_t)value, STM32L5_PWR_BASE + (uint32_t)offset); } -static inline void stm32l5_pwr_modifyreg(uint8_t offset, uint16_t clearbits, - uint16_t setbits) -{ - modifyreg32(STM32L5_PWR_BASE + (uint32_t)offset, (uint32_t)cle...
integration: Remove skipping snapshot socket test on AKS. AKS nodes now run Ubuntu 22.04 as default which comes with kernel 5.10 [1, 2]. [1] [2]
@@ -28,10 +28,6 @@ func TestSnapshotSocket(t *testing.T) { t.Skip("Skip running snapshot socket gadget on ARO: iterators are not supported on kernel 4.18.0-305.19.1.el8_4.x86_64") } - if *k8sDistro == K8sDistroAKSUbuntu && *k8sArch == "amd64" { - t.Skip("Skip running snapshot socket gadget on AKS Ubuntu amd64: iterator...
Summarize used and free space at the end of the .map file Fixes
@@ -442,15 +442,15 @@ static uint16_t writeMapBank(struct SortedSections const *sectList, } /* - * Write the total used space by section type to the map file + * Write the total used and free space by section type to the map file * @param usedMap The total used space by section type */ -static void writeMapUsed(uint32_...
memory: Add NUMA associtivity information to DT The ibm,chip-id property is not sufficent for Linux to work out the NUMA node that a pmem region is placed on. Add any nodes that are compatible with "pmem-region" to the pass where we add affinity information to the normal memory@ nodes.
@@ -1068,7 +1068,8 @@ void mem_region_init(void) * done by add_chip_dev_associativity() */ dt_for_each_node(dt_root, i) { - if (!dt_has_node_property(i, "device_type", "memory")) + if (!dt_has_node_property(i, "device_type", "memory") && + !dt_has_node_property(i, "compatible", "pmem-region")) continue; /* Add associat...
Sort function breakpoints before enabling them Function breakpoints should be sorted before enabling then since the object enumeration order does not grant consistent result. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik
@@ -1089,8 +1089,14 @@ class JerryDebugger(object): result += self._enable_breakpoint(breakpoint) else: + functions_to_enable = [] for function in self.function_list.values(): if function.name == string: + functions_to_enable.append(function) + + functions_to_enable.sort(key=lambda x: x.line) + + for function in functi...
tag the GetPixPairHash64() function for potential uint roll-over
@@ -194,7 +194,8 @@ void VP8LHashChainClear(VP8LHashChain* const p) { static const uint32_t kHashMultiplierHi = 0xc6a4a793u; static const uint32_t kHashMultiplierLo = 0x5bd1e996u; -static WEBP_INLINE uint32_t GetPixPairHash64(const uint32_t* const argb) { +static WEBP_UBSAN_IGNORE_UNSIGNED_OVERFLOW WEBP_INLINE +uint32_...
doc: update NEWS template
@@ -212,7 +212,7 @@ The release tarball is also available signed using GnuPG from [here](https://www.libelektra.org/ftp/elektra/releases/elektra-0.9.<<VERSION>>.tar.gz.gpg) or on [GitHub](https://github.com/ElektraInitiative/ftp/blob/master/releases/elektra-0.9.<<VERSION>>.tar.gz.gpg?raw=true) -The following GPG Key wa...
BugID:17655060:[h2][fix][WhiteScan] [623586][623586] [LOCK]
@@ -951,10 +951,10 @@ static void *http_upload_file_func(void *user) list_del((list_head_t *)&node->list); HAL_MutexUnlock(handle->mutex); http_upload_one((void *)node); + HAL_MutexLock(handle->mutex); break; } - HAL_MutexLock(handle->mutex); if(list_empty((list_head_t *)&handle->file_list)) { h2stream_debug("no file l...
Fix SNTP example test to match pattern
@@ -18,7 +18,7 @@ def test_examples_sntp(env, extra_data): timeout=60) TIME_FORMAT = '%a %b %d %H:%M:%S %Y' - TIME_FORMAT_REGEX = r'\w+ \w+ \d{1,2} \d{2}:\d{2}:\d{2} \d{4}' + TIME_FORMAT_REGEX = r'\w+\s+\w+\s+\d{1,2}\s+\d{2}:\d{2}:\d{2} \d{4}' TIME_DIFF = datetime.timedelta(seconds=10 + 2) # cpu spends 10 seconds in de...
storage: use proper sched context
@@ -265,7 +265,7 @@ struct flb_storage_metrics *flb_storage_metrics_create(struct flb_config *ctx) return NULL; } - ret = flb_sched_timer_cb_create(ctx, FLB_SCHED_TIMER_CB_PERM, 5000, + ret = flb_sched_timer_cb_create(ctx->sched, FLB_SCHED_TIMER_CB_PERM, 5000, cb_storage_metrics_collect, ctx->storage_metrics_ctx); if (...
Add backwards compatibility with int fs_copyfile flags param
@@ -633,6 +633,9 @@ static int luv_fs_copyfile(lua_State*L) { lua_pop(L, 1); #endif } + else if (lua_type(L, 3) == LUA_TNUMBER) { + flags = lua_tointeger(L, 3); + } ref = luv_check_continuation(L, 4); req = (uv_fs_t*)lua_newuserdata(L, sizeof(*req)); req->data = luv_setup_req(L, ref);
landscape: updating glob and version
:~ title+'Groups' info+'A suite of applications to communicate on Urbit' color+0xee.5432 - glob-http+['https://bootstrap.urbit.org/glob-0v2.2tc97.h3e0k.7b26d.a0ma8.em5ce.glob' 0v2.2tc97.h3e0k.7b26d.a0ma8.em5ce] + glob-http+['https://bootstrap.urbit.org/glob-0v87ped.al8gv.ijd6o.ri4oa.gvsel.glob' 0v87ped.al8gv.ijd6o.ri4o...
rtdl: process last RPATH entry
@@ -187,6 +187,8 @@ SharedObject *ObjectRepository::requestObjectWithName(frg::string_view name, frg::string_view rpath { origin->runPath }; auto next = [&] () { idx = rpath.find_first(':', start); + if (idx == (size_t)-1) + idx = rpath.size(); }; for (next(); idx < rpath.size(); next()) { auto path = rpath.sub_string(...
Temporary fix: disable multistreaming support by default
@@ -178,7 +178,7 @@ IF (FLOW_GROUPS) ADD_DEFINITIONS(-DFLOW_GROUPS) ENDIF() -OPTION(SCTP_MULTISTREAMING "Include support for SCTP multistreaming" 1) +OPTION(SCTP_MULTISTREAMING "Include support for SCTP multistreaming" 0) IF (SCTP_MULTISTREAMING) ADD_DEFINITIONS(-DSCTP_MULTISTREAMING) ENDIF()
Makefile: remove unused rules These rules do not perform automatic dependency generation, and they are no longer used so remove them.
@@ -411,36 +411,6 @@ $(OBJECTDIR)/%.e: %.cpp | $(OBJECTDIR) $(Q)$(CCACHE) $(CXX) $(CXXFLAGS) -E $< -o $@ endif -ifndef CUSTOM_RULE_C_TO_O -%.o: %.c - $(TRACE_CC) - $(Q)$(CCACHE) $(CC) $(CFLAGS) -c $< -o $@ -endif - -ifndef CUSTOM_RULE_CPP_TO_O -%.o: %.cpp - $(TRACE_CXX) - $(Q)$(CCACHE) $(CXX) $(CXXFLAGS) -c $< -o $@ -e...
Tweak wording to be more clear.
@@ -87,8 +87,8 @@ BN_bn2binpad() returns the number of bytes written or -1 if the supplied buffer is too small. BN_bn2hex() and BN_bn2dec() return a null-terminated string, or NULL -on error. BN_hex2bn() and BN_dec2bn() return the length of valid -representation in hexadecimal or decimal digits, and 0 on error, in whic...
DTLS tests - fix property path
@@ -21,7 +21,7 @@ tests_general.append([1, 0, workdir + 'client_http_get -u /cgi-bin/he -v 2 not.r tests_general.append([1, 0, workdir + 'client_http_get -u /cgi-bin/he -v 2 buildbot.nplab.de']) tests_general.append([0, 0, workdir + 'client_http_get -n 2 -u /files/4M bsd10.nplab.de']) if (platform.system() == "FreeBSD"...
New revision web job simplified
"includes": ".*", "includesindex": ".*" }, - "description": "webjob", + "description": "CrawlWeb", "priority": "5", "max_recrawl_interval": "infinite", "recrawl_interval": "86400000", "run_mode": "scan once", "reseed_interval": "3600000", "start_mode": "manual", - "id": "1530707393296", - "repository_connection": "0e81...
Fixing return value for ssl_tls13_write_certificate_body()
@@ -253,7 +253,6 @@ static int ssl_tls13_parse_certificate_verify( mbedtls_ssl_context *ssl, } MBEDTLS_SSL_DEBUG_BUF( 3, "verify hash", verify_hash, verify_hash_len ); - #if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT) if( sig_alg == MBEDTLS_PK_RSASSA_PSS ) { @@ -990,7 +989,7 @@ static int ssl_tls13_write_certificate_verif...
Fix missing type in range tables.
@@ -2571,16 +2571,20 @@ checkrange(Node *n) uint64_t uval; static const int64_t svranges[][2] = { /* signed ints */ - [Tyint8] = {-128LL, 127LL}, [Tyint16] = {-32768LL, 32767LL}, - /* FIXME: this has been doubled allow for uints... */ - [Tyint32] = {-2147483648LL, 2 * 2147483647LL}, - [Tyint] = {-2147483648LL, 2 * 2147...
VERSION bump to version 0.8.23
@@ -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 22) +set(LIBNETCONF2_MICRO_VERSION 23) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(LI...
Drop redundant import of `(.&&.)`
@@ -41,7 +41,7 @@ import Test.QuickCheck hiding (Result (..)) import Test.QuickCheck.Function (Fun (..)) import Test.Tasty (TestTree, testGroup) import Test.Tasty.HUnit (assertEqual, testCase) -import Test.Tasty.QuickCheck (testProperty, (.&&.)) +import Test.Tasty.QuickCheck (testProperty) -- | Specifications for Attri...
Fixes plugin frames added to restransmitted packet
@@ -1320,6 +1320,10 @@ protoop_arg_t retransmit_needed(picoquic_cnx_t *cnx) size_t consumed = 0; int new_plugin_frame_is_pure_ack = 0; if (!packet_is_pure_ack && checksum_length + length + frame_length < send_buffer_max) { + if (ret == 0 && queue_peek(cnx->reserved_frames) == NULL) { + picoquic_stream_head *stream = pi...
build/configs/rtl8721csm: Add warning message for the invalid arg
@@ -323,6 +323,10 @@ erase() if [[ "${parts[$partidx]}" != "userfs" ]];then continue fi + else + printf "\n## Invalid Option ##\n\n" + rtl8721csm_dwld_help + break fi exe_name=$(get_executable_name ${parts[$partidx]}) [ "No Binary Match" = "${exe_name}" ] && continue
README: AVX2 is finished!
@@ -71,6 +71,7 @@ sets: * [SSSE3](https://en.wikipedia.org/wiki/SSSE3) * [SSE4.1](https://en.wikipedia.org/wiki/SSE4#SSE4.1) * [AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) + * [AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2) * [FMA](https://en.wikipedia.or...
Remove IAR warnings.
@@ -76,13 +76,12 @@ const uint32_t au32SLCDSymbols [] = }; const int i32SLCDSymbolsSize = sizeof(au32SLCDSymbols) / sizeof(au32SLCDSymbols[0]); - void slcd_demo_hook(void) { static uint32_t u32NextShowTime = 0; static uint32_t u32ShownTime = 0; uint32_t u32CurTickCount = rt_tick_get(); - uint8_t au8Str[16]; + char au8S...
Rename PUFFS to WUFFS, part 12 of N
Puffs](https://groups.google.com/d/topic/puffslang/cSrH-s7UqwA/discussion): Parsing Untrusted File Formats Safely). -Wuffs is a domain-specific language and library for parsing untrusted file -formats safely. Examples of such file formats include images, audio, video, -fonts and compressed archives. +Wuffs is a domain-...
Create hidden file for the IDE to detect OMV disk.
@@ -235,6 +235,15 @@ void __attribute__((weak)) } #endif +void f_touch(const char *path) +{ + FIL fp; + if (f_stat(&vfs_fat->fatfs, path, NULL) != FR_OK) { + f_open(&vfs_fat->fatfs, &fp, path, FA_WRITE | FA_CREATE_ALWAYS); + f_close(&fp); + } +} + void make_flash_fs() { FIL fp; @@ -247,6 +256,9 @@ void make_flash_fs() ...
Avoid integer overflow in calculateNumTiles()
@@ -301,7 +301,11 @@ calculateNumTiles (int *numTiles, { for (int i = 0; i < numLevels; i++) { - numTiles[i] = (levelSize (min, max, i, rmode) + size - 1) / size; + int l = levelSize (min, max, i, rmode); + if (l >= std::numeric_limits<int>::max() - size + 1) + throw IEX_NAMESPACE::ArgExc ("Invalid size."); + + numTile...
Use unsigned min() to correctly clip -32768 If a coeff happens to be -32768 (0x8000), its 16-bit abs() is also 0x8000. It should ultimately be clipped to 3, so interpret absolute values as unsigned instead to make that happen.
@@ -817,14 +817,14 @@ static uint32_t fast_coeff_cost_avx2(const coeff_t *coeff, int32_t width, int32_ for (int i = 0; i < width * width; i += 32) { __m256i curr_lo = _mm256_loadu_si256 ((const __m256i *)(coeff + i)); __m256i curr_abs_lo = _mm256_abs_epi16 (curr_lo); - __m256i curr_max3_lo = _mm256_min_epi16 (curr_abs_...
CONFIG_BUILD_KERNEL/libapps.a: Allow creation of libapps.a separately Add rule to create libapps.a for CONFIG_BUILD_KERNEL=y, there is no reason to disallow this. The behavior of make import remains the same, so no regression is expected.
@@ -62,10 +62,12 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) install: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_install) -.import: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_all) +$(BIN): $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_all) $(Q) for app in ${CONFIGURED_APPS}; do \ $(MAKE) -C "$${app}" archive ; \ done + +.import...
Reformat Source: Handle names containing spaces
@@ -32,6 +32,5 @@ cd "$SOURCE" || { exit 1 } -for FILE in $(find . -name '*.[ch]' -or -name '*.[ch]pp' -or -name '*.[ch].in' | grep -E -v '^./src/tools/gen'); do - "$CLANG_FORMAT" -style=file -i "$FILE" -done +find . \( \( -name '*.[ch]' -or -name '*.[ch]pp' -or -name '*.[ch].in' \) -and -not -regex '^./src/tools/gen.*...
Fix cambus read/write-w register width.
@@ -85,7 +85,7 @@ int cambus_readw(uint8_t slv_addr, uint8_t reg_addr, uint16_t *reg_data) int ret=0; __disable_irq(); if (HAL_I2C_Mem_Read(&I2CHandle, slv_addr, reg_addr, - I2C_MEMADD_SIZE_8BIT, (uint8_t*) reg_data, 2, I2C_TIMEOUT) != HAL_OK) { + I2C_MEMADD_SIZE_16BIT, (uint8_t*) reg_data, 2, I2C_TIMEOUT) != HAL_OK) {...
[bsp] fix uart driver bug
@@ -230,10 +230,10 @@ static rt_err_t imxrt_configure(struct rt_serial_device *serial, struct serial_c switch (cfg->stop_bits) { case STOP_BITS_2: - config.stopBitCount = kLPUART_OneStopBit; + config.stopBitCount = kLPUART_TwoStopBit; break; default: - config.stopBitCount = kLPUART_TwoStopBit; + config.stopBitCount = k...
try to debug travis/neko
@@ -23,12 +23,15 @@ before_install: - sudo ln -s /usr/local/lib/neko/libneko.2.3.0.dylib /usr/local/lib/neko/libneko.dylib - sudo ln -s /usr/local/lib/neko/libneko.2.3.0.dylib /usr/local/bin/libneko.2.dylib - sudo ln -s /usr/local/lib/neko/libneko.2.3.0.dylib /usr/local/bin/libneko.dylib +- find /usr/local -name libnek...
zephyr/projects/nissa/src/pujjo/keyboard.c: Format with clang-format BRANCH=none TEST=none
@@ -22,8 +22,8 @@ static const struct ec_response_keybd_config pujjo_kb = { .capabilities = KEYBD_CAP_SCRNLOCK_KEY, }; -__override const struct ec_response_keybd_config -*board_vivaldi_keybd_config(void) +__override const struct ec_response_keybd_config * +board_vivaldi_keybd_config(void) { return &pujjo_kb; }
Update lv_version.h to reflect new development version
@@ -15,9 +15,9 @@ extern "C" { *********************/ /*Current version of LittlevGL*/ #define LVGL_VERSION_MAJOR 6 -#define LVGL_VERSION_MINOR 0 -#define LVGL_VERSION_PATCH 2 -#define LVGL_VERSION_INFO "" +#define LVGL_VERSION_MINOR 1 +#define LVGL_VERSION_PATCH 0 +#define LVGL_VERSION_INFO "dev" /********************...
Call kernel_shutdown after last thread calls exit syscall Currently, kernel_shutdown is only invoked when a thread calls exit_group. However, kernel_shutdown should also be called if the last remaining thread in the process calls the exit syscall leaving no more user threads to run.
@@ -2057,12 +2057,6 @@ sysreturn sched_yield() thread_yield(); /* noreturn */ } -void exit(int code) -{ - exit_thread(current); - syscall_finish(true); -} - sysreturn exit_group(int status) { /* Set shutting_down to prevent user threads from being scheduled @@ -2073,6 +2067,19 @@ sysreturn exit_group(int status) kernel...
Update comment.c fontprops
@@ -56,7 +56,7 @@ typedef struct _comment int x_dragon; int x_fontsize; /* requested size */ t_symbol *x_fontfamily; /* requested family */ - int x_fontprops; /* LATER pack weight and slant */ + int x_fontprops; //0: reg, 1: bold, 2: italic, 3: bolditalic t_symbol *x_encoding; /* requested encoding */ unsigned char x_r...
build/configs/esp_wrover_kit: modify readme.md I have faced an error when tried to setup env. to build. the 'xvjf' means that the compressed file is bzip2. but actually the file is not bzip file. so It can show some error messages.
@@ -29,7 +29,7 @@ Get the build in binaries and libraries [xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz](https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz) ```bash -tar xvjf xtensa-esp32-elf-[linux*]-1.22.0-80-g6c4433a-5.2.0.tar.gz +tar xvf xtensa-esp32-elf-[linux*]-1.22.0...
BugID:16750298:[ota] make sure IOT_OTA_Init can only be run only once
@@ -242,12 +242,19 @@ static int ota_callback(void *pcontext, const char *msg, uint32_t msg_len, iotx_ return 0; } +static int g_ota_is_initialized = 0; /* Initialize OTA module */ void *IOT_OTA_Init(const char *product_key, const char *device_name, void *ch_signal) { OTA_Struct_pt h_ota = NULL; + if (1 == g_ota_is_ini...
install llvm
@@ -9,3 +9,14 @@ toolchain currently loaded. [sms](*\#*) (*\install*) gnu7-compilers-ohpc \end{lstlisting} % end_ohpc_run + +The llvm compiler toolchains are also provided as a standalone additional +compiler family (ie. users can easily switch between gcc/clang environments), +but we do not provide the full complement...
astcenc_block_info uses unsigned ints
@@ -602,16 +602,16 @@ struct astcenc_block_info astcenc_profile profile; /** @brief The number of texels in the X dimension. */ - int block_x; + unsigned int block_x; /** @brief The number of texels in the Y dimension. */ - int block_y; + unsigned int block_y; /** @brief The number of texel in the Z dimension. */ - int...
fix custom badge file not loading correctly
@@ -34,7 +34,7 @@ E ink BADGE_IMAGE = bytearray(int(IMAGE_WIDTH * HEIGHT / 8)) try: - open("badge-image.bin", "rb").read_into(BADGE_IMAGE) + open("badge-image.bin", "rb").readinto(BADGE_IMAGE) except OSError: try: import badge_image
examples/charger: Fix some printf format warnings Fix some printf format warnings by -Wformat.
@@ -244,8 +244,8 @@ int main(int argc, FAR char *argv[]) } gettimeofday(&tv, NULL); - printf("%d.%06d: %d mV, %d mA\n", - tv.tv_sec, tv.tv_usec, voltage, current); + printf("%ju.%06ld: %d mV, %d mA\n", + (uintmax_t)tv.tv_sec, tv.tv_usec, voltage, current); close(fd);
Workaround for stray 'free' macro Related to littlevgl/lv_binding_micropython#11 'Build error for STM32 port due to 'free()' macro'
* DEFINES *********************/ +/* "free" is used as a function pointer (in lv_fs_drv_t). + * We must make sure "free" was not defined to a platform specific + * free function, otherwise compilation would fail. + */ +#ifdef free +#undef free +#endif + /********************** * TYPEDEFS **********************/
[Readme] Add wine, wine_color and output_folder
@@ -152,7 +152,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu | `alpha` | Set the opacity of all text and frametime graph `0.0-1.0` | | `background_alpha` | Set the opacity of the background `0.0-1.0` | | `read_cfg` | Add to MANGOHUD_CONFIG as first parameter to also load config f...
Update: print input goals and input ops again
@@ -387,6 +387,10 @@ void Memory_AddEvent(Event *event, long currentTime, double priority, bool input { FIFO_Add(event, &belief_events); //not revised yet } + if(input && (Narsese_isOperation(&event->term) || event->type == EVENT_TYPE_GOAL)) + { + Memory_printAddedEvent(event, priority, input, false, false, true); + } ...
packcore: add missing libraries for ubuntu When listing shared libraries with the ldd command we have to add some missing libraries like `libgcc_s.so.1` and `libnss_files.so.2`, they have different paths on centos and ubuntu, we should search for them on all possible paths.
@@ -68,7 +68,22 @@ def _getLibraryListWithLDD(binary): # This may not be needed for all processes, but will round out the # postgres binary debugging # TODO: Look at ways to distinguish a 32 vs. 64 bit executable - libraries = ['/lib64/libgcc_s.so.1', '/lib64/libnss_files.so.2', '/lib/libgcc_s.so.1', '/lib/libnss_files...
Update to use CUPS v3 API.
@@ -215,8 +215,8 @@ main(int argc, // I - Number of command-line arguments #endif // _WIN32 // Parse command-line options... - models = cupsArrayNew(NULL, NULL); - testdata.names = cupsArrayNew(NULL, NULL); + models = cupsArrayNew(NULL, NULL, NULL, 0, NULL, NULL); + testdata.names = cupsArrayNew(NULL, NULL, NULL, 0, NU...
Replace the static inlines by macros
@@ -22,13 +22,13 @@ typedef struct clap_version { } #endif -static CLAP_CONSTEXPR const clap_version CLAP_VERSION = {0, 15, 0}; +#define CLAP_VERSION_MAJOR 0 +#define CLAP_VERSION_MINOR 15 +#define CLAP_VERSION_REVISION 0 + +#define CLAP_VERSION (clap_version{CLAP_VERSION_MAJOR, CLAP_VERSION_MINOR, CLAP_VERSION_REVISIO...
Trouble shooting error handling
@@ -77,15 +77,14 @@ cd ${TEST_HOME} # retrieve epanet-examples for regression testing -curl -fsSL -o examples.tar.gz ${TEST_URL} -if ["$?" != "0"]; THEN - echo "ERROR: curl failed ${TEST_URL}" +if ! curl -fsSL -o examples.tar.gz ${TEST_URL}; then + echo "ERROR: curl - ${TEST_URL}" +fi # retrieve epanet benchmark result...
workflows: fix missing slash in signing
@@ -266,7 +266,7 @@ jobs: -a "workflow=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \ -a "ref=${{ github.sha }}" \ -a "release=${{ inputs.version }}" \ - "${{ inputs.registry }}/${{ inputs.image }}@${{ needs.call-build-images.outputs.production-digest }}" + "${{ inputs.registry }...
README: Mention CM1 and CM3 support
@@ -79,6 +79,8 @@ c. Set MACHINE in local.conf to one of the supported boards: - raspberrypi0 - raspberrypi2 - raspberrypi3 + - raspberrypi-cm (dummy alias for raspberrypi) + - raspberrypi-cm3 (dummy alias for raspberrypi2) d. bitbake rpi-hwup-image e. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz...
gtpu: msg id fix in send_gtpu_tunnel_details api Type: fix _vl_msg_id must start at msg_id_base.
@@ -105,13 +105,14 @@ static void send_gtpu_tunnel_details (gtpu_tunnel_t * t, vl_api_registration_t * reg, u32 context) { vl_api_gtpu_tunnel_details_t *rmp; + gtpu_main_t *gtm = &gtpu_main; ip4_main_t *im4 = &ip4_main; ip6_main_t *im6 = &ip6_main; u8 is_ipv6 = !ip46_address_is_ip4 (&t->dst); rmp = vl_msg_api_alloc (si...
Save current EP before querying other EPs
@@ -185,6 +185,11 @@ static void USBC_SelectActiveEp(u8 ep_index) USBC_Writeb(ep_index, USBC_REG_EPIND(USBC0_BASE)); } +static u8 USBC_GetActiveEp(void) +{ + return USBC_Readb(USBC_REG_EPIND(USBC0_BASE)); +} + static void __USBC_Dev_ep0_SendStall(void) { USBC_REG_set_bit_w(USBC_BP_CSR0_D_SEND_STALL, USBC_REG_CSR0(USBC0...
Rename "regions" to "type_regions" in parser We forgot do do this is commit
@@ -19,7 +19,7 @@ function Parser:init(lexer) self.look = false -- Token self.loop_depth = 0 -- Are we inside a loop? self.region_depth = 0 -- Are we inside a type annotation? - self.regions = {} -- Sequence of pairs. Ranges of type annotations in program. + self.type_regions = {} -- Sequence of pairs. Ranges of type a...
VERSION bump to version 1.4.92
@@ -45,7 +45,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) set(SYSREPO_MINOR_VERSION 4) -set(SYSREPO_MICRO_VERSION 91) +set(SYSREPO_MICRO_VERSION 92) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
gta sa update res -1 fix
@@ -27,6 +27,10 @@ void GetMemoryAddresses() void OverwriteResolution() { + CIniReader iniReader(""); + ResX = iniReader.ReadInteger("MAIN", "ResX", -1); + ResY = iniReader.ReadInteger("MAIN", "ResY", -1); + // Unlocked widescreen resolutions by Silent injector::WriteMemory(0x745B71, 0x9090687D, true); injector::WriteM...
media: Add missed notify_one in get/set Volume Fix prefetch abort issue
@@ -345,6 +345,7 @@ void MediaPlayerImpl::getVolumePlayer(int &ret) meddbg("MediaPlayer getVolume fail : wrong state\n"); notifyObserver(PLAYER_OBSERVER_COMMAND_ERROR); ret = -1; + mSyncCv.notify_one(); return; } @@ -393,6 +394,9 @@ void MediaPlayerImpl::setVolumePlayer(int vol, player_result_t &ret) medvdbg("MediaPlay...
Ignore invalid Aqara -100 temperature
"name": "state/lastupdated" }, { - "name": "state/temperature" + "name": "state/temperature", + "parse": { + "at": "0x0000", + "cl": "0x0402", + "ep": 0, + "eval": "if (Attr.val + R.item('config/offset').val != -10000) {Item.val = Attr.val + R.item('config/offset').val}", + "fn": "zcl" + } } ] },
libc/baselibc: ignore 'z' char in printf We can ignore size_t ('z') format specifier, because we support only 32-bit systems. It will also make it easier to port external libraries which support 64-bit systems.
@@ -289,6 +289,10 @@ size_t tfp_format(FILE *putp, const char *fmt, va_list va) } } + if (ch == 'z') { + ch = *(fmt++); + } + switch (ch) { case 0: goto abort;
fixed tot (value is not base 16)
@@ -5832,7 +5832,7 @@ while((auswahl = getopt_long(argc, argv, short_options, long_options, &index)) ! case HCXD_TOT: - totvalue = strtoll(optarg, NULL, 16); + totvalue = strtol(optarg, NULL, 10); if(totvalue < 2) { fprintf(stderr, "tot must be >= 2 (minutes)\n");
Have the directory reader use the Unix API on VMS opendir(), readdir() and closedir() have been available on VMS since version 7.0.
#include "internal/o_dir.h" #define LPDIR_H -#if defined OPENSSL_SYS_UNIX || defined DJGPP +#if defined OPENSSL_SYS_UNIX || defined DJGPP \ + (defined __VMS_VER && __VMS_VER >= 70000000) # include "LPdir_unix.c" #elif defined OPENSSL_SYS_VMS # include "LPdir_vms.c"