message
stringlengths
6
474
diff
stringlengths
8
5.22k
Eliminate the deduptab. tydedup does the job.
@@ -36,7 +36,6 @@ static void pickle(FILE *fd, Node *n); static Node *unpickle(FILE *fd); /* type fixup list */ -static Htab *tydeduptab; /* map from name -> type, contains all Tynames loaded ever */ static Htab *trdeduptab; /* map from name -> type, contains all Tynames loaded ever */ static Htab *tidmap; /* map from ...
ensure page->retire_expire is always 1
@@ -389,6 +389,7 @@ void _mi_page_free(mi_page_t* page, mi_page_queue_t* pq, bool force) { _mi_segment_page_free(page, force, segments_tld); } +// Retire parameters #define MI_MAX_RETIRE_SIZE MI_MEDIUM_OBJ_SIZE_MAX #define MI_RETIRE_CYCLES (8) @@ -415,7 +416,7 @@ void _mi_page_retire(mi_page_t* page) { if (mi_likely(pa...
fix nodiscard
#if defined(__cplusplus) && __cplusplus >= 201703L # define CLAP_NODISCARD [[nodiscard]] -#elsif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201300L +#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201300L # define CLAP_NODISCARD [[nodiscard]] #else # define CLAP_NODISCARD
system: nxplayer: Fix a compile error if CONFIG_DEBUG_AUDIO_ERROR=y Summary: This commit fixes a compile error Impact: Affects nxplayer with CONFIG_DEBUG_AUDIO_ERROR=y Testing: Tested with spresense:rndis
@@ -669,7 +669,7 @@ static int nxplayer_readbuffer(FAR struct nxplayer_s *pplayer, if (apb->nbytes < apb->nmaxbytes) { -#ifdef CONFIG_DEBUG_AUDIO_INFO +#if defined (CONFIG_DEBUG_AUDIO_INFO) || defined (CONFIG_DEBUG_AUDIO_ERROR) int errcode = errno; audinfo("Closing audio file, nbytes=%d errcode=%d\n",
extstore: error adjusting page_size after ext_path temporary fix. some folks ... randomize... their start arguments, so need to restructure in a way I'm happy with.
@@ -7556,6 +7556,10 @@ int main (int argc, char **argv) { #endif #ifdef EXTSTORE case EXT_PAGE_SIZE: + if (storage_file) { + fprintf(stderr, "Must specify ext_page_size before any ext_path arguments\n"); + return 1; + } if (subopts_value == NULL) { fprintf(stderr, "Missing ext_page_size argument\n"); return 1;
filter: add support for variables in config
@@ -109,13 +109,15 @@ void flb_filter_do(msgpack_sbuffer *mp_sbuf, msgpack_packer *mp_pck, int flb_filter_set_property(struct flb_filter_instance *filter, char *k, char *v) { int len; + char *tmp; struct flb_config_prop *prop; len = strlen(k); + tmp = flb_env_var_translate(in->config->env, v); /* Check if the key is a ...
mgmt/imgmgr; clean up unused function prototypes.
@@ -93,9 +93,6 @@ struct imgr_state { uint32_t off; uint32_t size; const struct flash_area *fa; -#if MYNEWT_VAL(IMGMGR_FS) - struct fs_file *file; -#endif } upload; }; @@ -103,13 +100,9 @@ extern struct imgr_state imgr_state; struct nmgr_jbuf; -int imgr_boot2_read(struct mgmt_cbuf *); -int imgr_boot2_write(struct mgmt_...
[numerics] optimize local problem in fc2d_nsgs
@@ -390,7 +390,7 @@ void fc2d_nsgs_sbm(FrictionContactProblem* problem, double *z, double *w, localreaction[1] = z[pos+1]; /* Local problem formalization */ - lcp_nsgs_SBM_buildLocalProblem(rowNumber, blmat, local_problem, q, z); + fc2d_nsgs_SBM_buildLocalProblem(rowNumber, blmat, local_problem, q, z); /* Solve local p...
drivers/memory/spiflash: Fix setting of QE bit in flash register.
@@ -181,8 +181,8 @@ void mp_spiflash_init(mp_spiflash_t *self) { // Set QE bit uint32_t data = (mp_spiflash_read_cmd(self, CMD_RDSR, 1) & 0xff) | (mp_spiflash_read_cmd(self, CMD_RDCR, 1) & 0xff) << 8; - if (!(data & (QSPI_QE_MASK << 16))) { - data |= QSPI_QE_MASK << 16; + if (!(data & (QSPI_QE_MASK << 8))) { + data |= ...
Disable TLS1.3 ticket issuing outside of tests
@@ -687,7 +687,9 @@ int s2n_config_set_session_tickets_onoff(struct s2n_config *config, uint8_t enab } config->use_tickets = enabled; - if (config->initial_tickets_to_send == 0) { + /* TODO: The S2N_IN_TEST check is temporary until TLS1.3 session resumption is officially released. + * https://github.com/aws/s2n-tls/iss...
Remove udp-echo-server travis test
@@ -16,7 +16,6 @@ rpl-border-router/cc2538dk \ rpl-udp/cc2538dk \ coap-example/cc2538dk \ ipso-objects/cc2538dk \ -udp-echo-server/cc2538dk \ multicast/cc2538dk \ platform-specific/cc2538-common/cc2538dk \ platform-specific/cc2538-common/mqtt-demo/cc2538dk \
README: Fix not working a link to "supported board and emulator" Sub-title was changed to "Supported Board / Emulator" but link is not. Because of that, link is not working. Fix it to current name.
@@ -9,7 +9,7 @@ Please find project details like APIs reference at [docs](docs/) folder. Wiki wi ## Contents > [Quick Start](#quick-start) -> [Supported Board](#supported-board) +> [Supported Board / Emulator](#supported-board--emulator) > [Configuration Sets](#configuration-sets) ## Quick Start
bb_retimer: update console command bb This handles multiple retimers in one PD port case. BRANCH=none TEST=on ADL RVP, do "bb 0 r 4" "bb 0 w 4 <val>" can read/write both retimers.
@@ -519,7 +519,8 @@ const struct usb_mux_driver bb_usb_retimer = { static int console_command_bb_retimer(int argc, char **argv) { char rw, *e; - int rv, port, reg, data, val; + int port, reg, data, val = 0; + int rv = EC_SUCCESS; const struct usb_mux *mux; if (argc < 4) @@ -550,24 +551,31 @@ static int console_command_...
fix windows not knowing F_GETPIPE_SZ for the moment, but have to check that we can write enoguh bytes on windows
@@ -404,9 +404,11 @@ oidc_error_t ipc_vwrite(SOCKET _sock, const char* fmt, va_list args) { #ifdef MINGW int written_bytes = send(_sock, msg, msg_len, 0); #else +#ifndef ANY_MSYS if (fcntl(_sock, F_GETPIPE_SZ) < (int)msg_len) { fcntl(_sock, F_SETPIPE_SZ, msg_len); } +#endif ssize_t written_bytes = write(_sock, msg, msg...
Will not be generated for the moment.
:: $hear (~(gnaw am [now fox]) %good p.kyz q.kyz) + :: + $halo + (~(gnaw am [now fox]) %dead p.kyz q.kyz) :: $hole (~(gnaw am [now fox]) %dead p.kyz q.kyz)
libc: Conditionally compile float support in printf Libs doing float computations take a lot of text space, so it shouldn't be compiled by default.
@@ -65,6 +65,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <stdio.h> #include <inttypes.h> +#include "syscfg/syscfg.h" + struct param { unsigned char width; /**< field width */ char lz; /**< Leading zeros */ @@ -238,8 +240,10 @@ size_t tfp_format(FILE *putp, const char *fmt, va_list va) cha...
docs(codes): Windows Support: Display Adjustment Commands
@@ -5043,7 +5043,7 @@ export default [ ], documentation: "https://usb.org/sites/default/files/hut1_2.pdf#page=134", os: { - windows: null, + windows: false, linux: false, android: true, macos: null, @@ -5148,7 +5148,7 @@ export default [ ], documentation: "https://usb.org/sites/default/files/hut1_2.pdf#page=134", os: {...
fix framecount
@@ -4718,10 +4718,15 @@ fullovertoggle(const Arg *arg){ static void bstack(Monitor *m) { - int w, h, mh, mx, tx, ty, tw; + int w, h, mh, mx, tx, ty, tw, framecount; unsigned int i, n; Client *c; + if (animated && clientcount() > 4) + framecount = 4; + else + framecount = 7; + for (n = 0, c = nexttiled(m->clients); c; c...
Fixed error processing in SSL operations. Before this fix EWOULDBLOCK error was fatal for SSL write operation. This closes issue on GitHub.
@@ -599,7 +599,6 @@ nxt_openssl_conn_handshake(nxt_task_t *task, void *obj, void *data) default: case NXT_ERROR: - c->socket.error = err; nxt_openssl_conn_error(task, err, "SSL_do_handshake(%d) failed", c->socket.fd); @@ -644,7 +643,6 @@ nxt_openssl_conn_io_recvbuf(nxt_conn_t *c, nxt_buf_t *b) n = nxt_openssl_conn_test...
frame trace: validate %rbp before dereference, add abbreviated stack trace for additional context
@@ -160,11 +160,11 @@ void __print_stack_with_rbp(u64 *rbp) if ((u64) rbp < 4096ULL) break; - u64 rip = rbp[1]; - - if (rip < (u64) &text_start || rip > (u64) &text_end) + if (!validate_virtual(rbp, sizeof(u64)) || + !validate_virtual(rbp + 1, sizeof(u64))) break; + u64 rip = rbp[1]; rbp = (u64 *) rbp[0]; print_u64_wit...
Updated information for OSSL_SIGNATURE_PARAM_PSS_SALTLEN Fixes
@@ -49,10 +49,10 @@ The digest algorithm name to use for the maskGenAlgorithm used by "pss" mode. Sets the name of the property query associated with the "mgf1-digest" algorithm. NULL is used if this optional value is not set. -=item "pss-saltlen" (B<OSSL_SIGNATURE_PARAM_PSS_SALTLEN>) <UTF8 string> +=item "saltlen" (B<...
Fixed report mark.. again.
$lin (jobe txt+[%s msg.a] say+[%b pat.a] ~) $url (joba txt+[%s (crip (earf url.a))]) $exp (joba txt+[%s exp.a]) - $fat (jobe tor+(tors tac.a) taf+$(a sep.a) ~) + $fat (jobe tor+(tach tac.a) taf+$(a sep.a) ~) $mor a+(turn ses.a spec) $app (jobe txt+[%s msg.a] src+[%s app.a] ~) $api :: %inv (jobe ship+(jope p.a) party+[%...
Fixes : WinShare connector : ignore errors
@@ -890,7 +890,11 @@ public class SharedDriveConnector extends org.apache.manifoldcf.crawler.connecto Logging.connectors.warn("JCIFS: Socket timeout reading version information for document " + documentIdentifier + ": " + e.getMessage(), e); throw new ServiceInterruption("Timeout or other service interruption: " + e.ge...
Fix destructor Time slider was still deleting text string which the base class is now responsible for.
@@ -123,6 +123,8 @@ avtTimeSliderColleague::avtTimeSliderColleague(VisWindowColleagueProxy &m) : // Kathleen Bonnell, Thu Jan 13 08:39:30 PST 2005 // Delete timeFormatString. // +// Mark C. Miller, Fri Jun 24, 04:47:31 PST 2022 +// Deletion of strings handled in base class now. // **************************************...
BugID:16944965: Remove kernel/cmsis/Config.in
@@ -3,7 +3,6 @@ source "kernel/bus/mbmaster/Config.in" source "kernel/bus/usb/usb_device/Config.in" source "kernel/bus/usb/usb_host/Config.in" source "kernel/cli/Config.in" -source "kernel/cmsis/Config.in" source "kernel/cplusplus/Config.in" source "kernel/debug/Config.in" source "kernel/fs/kv/Config.in"
Add clarification comment on h2o_quic_send failure path
@@ -1906,6 +1906,7 @@ h2o_http3_conn_t *h2o_http3_server_accept(h2o_http3_server_ctx_t *ctx, quicly_ad H2O_PROBE_CONN(H3S_ACCEPT, &conn->super, &conn->super, conn->h3.super.quic, h2o_conn_get_uuid(&conn->super)); if (!h2o_quic_send(&conn->h3.super)) { + /* When `h2o_quic_send` fails, it destroys the connection object. ...
Fix general options checkbox support
@@ -1313,7 +1313,18 @@ INT_PTR CALLBACK PhpOptionsGeneralDlgProc( // } //} - if (header->code == LVN_ITEMCHANGED) + switch (header->code) + { + case NM_CLICK: + { + LPNMITEMACTIVATE itemActivate = (LPNMITEMACTIVATE)header; + BOOLEAN itemChecked; + + itemChecked = ListView_GetCheckState(GetDlgItem(hwndDlg, IDC_SETTINGS)...
dumparser: Adding line information to callstack This patch will add line and file information to callstack as below CALL STACK of Aborted task: ******************************************************************* [<40c9990>] save_cpuctxt_regs+0x54 [Line 585 of arm_assert.c] [<40c9cb4>] up_assert+0x250 [Line 374 of irq.h...
@@ -442,7 +442,14 @@ class dumpParser: else: symname, offset = r # Update both symbol name and offset - pstring = (extra_str + '[<{0:x}>] {1}+0x{2:x}'.format(frame.pc, symname, offset)) + address = '{0:x}'.format(frame.pc) + cmd = ['addr2line', '-e', self.elf, address] + fd_popen = subprocess.Popen(cmd, stdout=subproce...
[viogpudo] adjust clean batch file
@@ -7,7 +7,8 @@ for /d %%x in (objchk_*) do rmdir /S /Q %%x rmdir /S /Q .\sdv rmdir /S /Q .\sdv.temp -del /F *.log *.wrn *.err *.sdf +del /F *.log *.wrn *.err *.sdf *.sdv *.xml del viogpudo.dvl.xml +del build.sdv.config del sdv-map.h
[core] fix 1.4.46 regression in Last-Modified fix 1.4.46 regression in Last-Modified string cache (thx avij) x-ref: "Oversized request-header"
@@ -142,6 +142,7 @@ buffer * strftime_cache_get(server *srv, time_t last_mod) { srv->mtime_cache[i].mtime = last_mod; tm = gmtime(&(srv->mtime_cache[i].mtime)); + buffer_string_set_length(srv->mtime_cache[i].str, 0); buffer_append_strftime(srv->mtime_cache[i].str, "%a, %d %b %Y %H:%M:%S GMT", tm); return srv->mtime_cac...
Set "-fno-omit-frame-pointer" flag to the sanitize builds to provide complete backtrace (because sanitizer's runtime uses fast frame-pointer-based unwinding)
@@ -547,8 +547,12 @@ module BASE_UNIT { LDFLAGS+=-fprofile-instr-generate -fcoverage-mapping } - when ($SANITIZER_TYPE && $SANITIZER_TYPE == "pg") { - CFLAGS+=-fno-omit-frame-pointer -Dpg_sanitizer_enabled + when ($SANITIZER_TYPE) { + CFLAGS+=-fno-omit-frame-pointer + + when ($SANITIZER_TYPE == "pg") { + CFLAGS+=-Dpg_s...
esp_common: Add required missing components to CMakelists
@@ -45,7 +45,12 @@ else() lwip spi_flash wpa_supplicant - tcpip_adapter) + tcpip_adapter + esp_serial_slave_link + esp_netif + soc + esp-tls + esp_https_ota) idf_build_get_property(build_components BUILD_COMPONENTS) foreach(req ${optional_reqs})
board/nautilus/usb_pd_policy.c: Format with clang-format BRANCH=none TEST=none
@@ -47,8 +47,8 @@ static void board_vbus_update_source_current(int port) * is controlled by GPIO_USB_C0/1_5V_EN. Both of these signals * can remain outputs. */ - gpio_set_level(gpio_3a_en, vbus_rp[port] == TYPEC_RP_3A0 ? - 1 : 0); + gpio_set_level(gpio_3a_en, + vbus_rp[port] == TYPEC_RP_3A0 ? 1 : 0); gpio_set_level(gpi...
[ch32] fix a typo
@@ -48,7 +48,7 @@ This section is about to introduce how to use Env to compile the BSP. 1. [Download WCH Compile Toolchain](https://github.com/NanjingQinheng/sdk-toolchain-RISC-V-GCC-WCH/releases) 2. [Download the Env tool latest version](https://github.com/RT-Thread/env-windows/releases) 3. [Download the RT-Thread lat...
Improve pretty printing for table and struct entry values.
@@ -490,7 +490,7 @@ static void print_newline(struct pretty *S, int just_a_space) { } /* Helper for pretty printing */ -static void janet_pretty_one(struct pretty *S, Janet x) { +static void janet_pretty_one(struct pretty *S, Janet x, int is_dict_value) { /* Add to seen */ switch (janet_type(x)) { case JANET_NIL: @@ -5...
Trembyle: Power off PS8811 retimer in S3 BRANCH=none TEST=USB-A still works
@@ -193,7 +193,7 @@ static void ps8811_tuning_init(void) CPRINTSUSB("C1: PS8811 not detected"); } } -DECLARE_HOOK(HOOK_CHIPSET_STARTUP, ps8811_tuning_init, HOOK_PRIO_DEFAULT); +DECLARE_HOOK(HOOK_CHIPSET_RESUME, ps8811_tuning_init, HOOK_PRIO_DEFAULT); static void ps8811_retimer_off(void) { @@ -201,7 +201,7 @@ static voi...
leap: stop immediate propagation on invocation
@@ -59,6 +59,7 @@ class App extends React.Component { this.api.local.getBaseHash(); Mousetrap.bindGlobal(['command+/', 'ctrl+/'], (e) => { e.preventDefault(); + e.stopImmediatePropagation(); this.api.local.setOmnibox(); }); this.setFavicon();
Rename data folder from performance_overhaul to plugins/cyber_engine_tweaks
@@ -21,12 +21,13 @@ Options::Options(HMODULE aModule) return; Path = Path.parent_path().parent_path(); - Path /= "performance_overhaul/"; + Path /= "plugins"; + Path /= "cyber_engine_tweaks/"; std::error_code ec; create_directories(Path, ec); - const auto rotatingLogger = std::make_shared<spdlog::sinks::rotating_file_s...
add -Wstrict-prototypes flag during compilation
@@ -165,7 +165,7 @@ endif() # Compiler flags if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU") - list(APPEND mi_cflags -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden) + list(APPEND mi_cflags -Wall -Wextra -Wno-unknown-pragmas -Wstrict-prototypes -fvisibility=hidden) if(CMAKE_C_COMPILER_ID MATCHES "GNU") li...
Internal Check: Exclude Augeas if ASAN is enabled
@@ -56,6 +56,9 @@ do ASAN='@ENABLE_ASAN@' if [ "$ASAN" = 'ON' ]; then case "$PLUGIN" in + 'augeas') # Reference: https://travis-ci.org/sanssecours/elektra/jobs/418524229 + continue + ;; 'crypto_gcrypt') continue ;;
pbio/test/trajectory: Fix test for small speed reductions.
@@ -354,13 +354,14 @@ static void test_position_trajectory(void *env) { tt_want_int_op(trj.w3, ==, 0); } - // Initial speed may now be bounded. Verify that the sign is the same. + // Initial speed may now be bounded. Verify that the sign is the same, + // or more precisely, not opposite. First we get reference to compa...
Remove dead code from slab.c.
@@ -951,30 +951,6 @@ kmem_cache_create(const char *name, size_t size, size_t align, ulong flags, void zone->zone_delay = 15000; zone->zone_magic = zone; -#if 0 - if (zone->zone_packed) { - uint cpumax, cpuid, j; - cpu_set_t omask; - - pthread_getaffinity_np(pthread_self(), sizeof(omask), &omask); - CPU_CLR(0, &omask); ...
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
@@ -509,14 +509,6 @@ static uint32_t IRAM_ATTR esp_sleep_start(uint32_t pd_flags) uint32_t result; if (deep_sleep) { - /* Disable interrupts in case another task writes to RTC memory while we - * calculate RTC memory CRC - * - * Note: for ESP32-S3 running in dual core mode this is currently not enough, - * see the asse...
change wrong comment in mkconfig remove slash about comment in mkconfig
@@ -199,8 +199,8 @@ int main(int argc, char **argv, char **envp) printf("# define CONFIG_SMARTFS_NLOGGING_SECTORS ((CONFIG_NFILE_DESCRIPTORS + 1) * 2)\n"); printf("#endif\n\n"); printf("/* To enable journaling, this is the minimum required size(in terms of number of sectors)\n"); - printf("/* of the partition where fil...
Use SOURCE_MOUSE for scroll events This has no practical impact (AFAIK), but a scroll events should come from a mouse. Refs <https://github.com/Genymobile/scrcpy/issues/2602>
@@ -241,7 +241,7 @@ public class Controller { MotionEvent event = MotionEvent .obtain(lastTouchDown, now, MotionEvent.ACTION_SCROLL, 1, pointerProperties, pointerCoords, 0, 0, 1f, 1f, DEFAULT_DEVICE_ID, 0, - InputDevice.SOURCE_TOUCHSCREEN, 0); + InputDevice.SOURCE_MOUSE, 0); return device.injectEvent(event); }
Initialize CmdStatus before trying to access it on failure
@@ -100,6 +100,14 @@ Load ( goto Finish; } + // initialize status structure + ReturnCode = InitializeCommandStatus(&pCommandStatus); + if (EFI_ERROR(ReturnCode)) { + Print(FORMAT_STR_NL, CLI_ERR_INTERNAL_ERROR); + NVDIMM_DBG("Failed on InitializeCommandStatus"); + goto Finish; + } + ReturnCode = OpenNvmDimmProtocol(gNv...
doc: clarify that "excluded" ON CONFLICT is a single row Original patch by David G. Johnston. Reported-by: David G. Johnston Discussion: Backpatch-through: 10
@@ -182,7 +182,7 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac provided, it completely hides the actual name of the table. This is particularly useful when <literal>ON CONFLICT DO UPDATE</literal> targets a table named <varname>excluded</varname>, since that will otherwise - be tak...
final kink fix
@@ -16,7 +16,6 @@ static t_class *kink_class; typedef struct _kink { t_object x_obj; - //t_inlet *x_slope_inlet; t_float x_slope; t_glist *x_glist; t_float *x_signalscalar; @@ -35,7 +34,7 @@ static t_int *kink_perform(t_int *w) t_float *in2 = (t_float *)(w[4]); t_float *out = (t_float *)(w[5]); t_float *scalar = x->x_s...
typing clean up
@@ -663,6 +663,11 @@ avtUintahFileFormat::ReadMetaData(avtDatabaseMetaData *md, int timeState) std::string varname = stepInfo->varInfo[i].name; std::string vartype = stepInfo->varInfo[i].type; + if (vartype.find("filePointer") != std::string::npos) + { + continue; + } + // j=-1 -> all materials (*) for (int j=-1; j<(in...
test: add platone test case test_005ParametersSet_0005~0006 fix the issue aitos-io#1176 teambition task id:
@@ -352,6 +352,56 @@ START_TEST(test_005ParametersSet_0004SetValueSuccess) } END_TEST +START_TEST(test_005ParametersSet_0005SetValueFailureNullTx) +{ + BSINT32 rtnVal; + BoatPlatoneTx tx_ptr; + + BoatIotSdkInit(); + + rtnVal = platoneWalletPrepare(); + ck_assert_int_eq(rtnVal, BOAT_SUCCESS); + + ck_assert_int_eq(strlen...
Add a fallback definition for __NR_getrandom for x86 linux
@@ -258,6 +258,10 @@ static ssize_t sysctl_random(char *buf, size_t buflen) # if defined(__linux) && !defined(__NR_getrandom) # if defined(__arm__) && defined(__NR_SYSCALL_BASE) # define __NR_getrandom (__NR_SYSCALL_BASE+384) +# elif defined(__i386__) +# define __NR_getrandom 355 +# elif defined(__x86_64__) && !defined...
Modified ci-test
@@ -25,14 +25,13 @@ jobs: - run: | sudo apt-get install -y libssl-dev - # ./ci/build_picotls.sh - cmake -DPICOQUIC_FETCH_PTLS=ON . - make + cmake -S . -B build -DPICOQUIC_FETCH_PTLS:BOOL=ON + cmake --build build - name: Perform Unit Tests run: | ulimit -c unlimited -S - ./picoquic_ct -n -r && QUICRESULT=$? - ./picohttp...
mark AsStringBuf as noexcept
@@ -493,6 +493,6 @@ static inline TUtf32String ToUtf32String(const TUtf32String wtr) { } template <typename TChar, size_t size> -constexpr inline TStringBufImpl<TChar> AsStringBuf(const TChar (&str)[size]) { +constexpr inline TStringBufImpl<TChar> AsStringBuf(const TChar (&str)[size]) noexcept { return TStringBufImpl<T...
Supervised yacare
@@ -1024,7 +1024,7 @@ macro _YCR_GENERATE_CONFIGS_INTL(Package, App, Configs...) { } macro _YCR_GENERATE_CONFIGS(Package, App) { - .CMD=$_YCR_GENERATE_CONFIGS_INTL($Package $App ${pre=etc/yandex/maps/yacare/:App.conf} ${pre=etc/logrotate.d/:App} ${pre=etc/template_generator/templates/etc/logrotate.d/:App} ${pre=etc/mon...
Added Peer ID/PublicKey support to Jupiter Local/Remote IPFS
@@ -100,6 +100,7 @@ Value jupitergetblock(const Array& params, bool fHelp) */ } } + Value jupiterversion(const Array& params, bool fHelp) { if (fHelp || params.size() != 0) @@ -108,8 +109,9 @@ Value jupiterversion(const Array& params, bool fHelp) "Returns the version of the connected IPFS node within the Denarius Jupit...
Optimize PhGetProcessArchitecture allocations
@@ -12211,6 +12211,7 @@ NTSTATUS PhGetMachineTypeAttributes( return status; } +// Essentially KernelBase!QueryProcessMachine (jxy-s) NTSTATUS PhGetProcessArchitecture( _In_ HANDLE ProcessHandle, _Out_ PUSHORT ProcessArchitecture @@ -12218,38 +12219,17 @@ NTSTATUS PhGetProcessArchitecture( { USHORT architecture; NTSTATU...
vxlan: improve encap performance 1. For vxlan, prefetching one cacheline is enough. 2. Reduce vlib_increment_combined_counter functtion calling if possible.
@@ -116,8 +116,8 @@ vxlan_encap_inline (vlib_main_t * vm, vlib_prefetch_buffer_header (p2, LOAD); vlib_prefetch_buffer_header (p3, LOAD); - CLIB_PREFETCH (p2->data, 2*CLIB_CACHE_LINE_BYTES, LOAD); - CLIB_PREFETCH (p3->data, 2*CLIB_CACHE_LINE_BYTES, LOAD); + CLIB_PREFETCH (p2->data, CLIB_CACHE_LINE_BYTES, LOAD); + CLIB_...
doc: move mqtt_client.h into known warnings
@@ -14,6 +14,20 @@ spi_master.inc:line: WARNING: Duplicate C++ declaration, also defined at api-ref Declaration is '.. cpp:type:: struct spi_transaction_t spi_transaction_t'. spi_slave.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/peripherals/spi_slave:line. Declaration is '.. cpp:type:: s...
Fix AtkValue sigs for 6.1
@@ -29,10 +29,10 @@ public unsafe partial struct AtkValue [FieldOffset(0x8)] public byte Byte; [FieldOffset(0x8)] public StdVector<AtkValue>* Vector; - [MemberFunction("E8 ?? ?? ?? ?? 49 BA")] + [MemberFunction("E8 ?? ?? ?? ?? 41 03 ED")] public partial void SetString(byte* value); - [MemberFunction("E8 ?? ?? ?? ?? F7 ...
[X11] fix config file writting
@@ -146,6 +146,7 @@ main(int argc, char *argv[]) int i, drvmax; char fontfile[MAX_PATH]; FILE *fcheck; + int createini = 0; progname = argv[0]; @@ -316,6 +317,12 @@ main(int argc, char *argv[]) #if defined(SUPPORT_HOSTDRV) hostdrv_readini(); #endif // defined(SUPPORT_HOSTDRV) + fcheck = fopen(modulefile, "r"); + if (fc...
Tools: Remove ksRewind() call and commented out code with ksNext() from race-Tool
@@ -45,15 +45,6 @@ void * writer (void * pV_data ELEKTRA_UNUSED) printf ("I (%d/%lu) won the race! Got return values from first get %d," " from set %d, from second get %d\n", pid, tid, retg, rets, retg2); - ksRewind (ks); - /* - Key * c; - while ((c = ksNext(ks))) - { - printf ("Got key: %s - %s\n", - keyName(c), keySt...
Deploy final constitution at the end again So we aren't leaking identifying metadata right away
[%address polls] [%address claims] == - ~& ['Deploying constitution-final...' +(nonce)] - =^ constit-final this - %+ do-deploy 'constitution-final' - :~ [%address constit] - [%address ships] - [%address polls] - [%address claims] - == =. constitution constit ~& 'Transferring contract ownership...' =. this :: :: conclud...
in_stdin: use string field type and enable filter plugin support
@@ -80,6 +80,7 @@ int in_stdin_collect(struct flb_input_instance *i_ins, int out_size; int ret; char *pack; + time_t t; msgpack_unpacked result; size_t start = 0, off = 0; struct flb_in_stdin_config *ctx = in_context; @@ -104,17 +105,21 @@ int in_stdin_collect(struct flb_input_instance *i_ins, /* Queue the data with ti...
fix: add BoatIotSdkInit(); in test_001CreateWallet_0011CreateSevenWallet
@@ -306,6 +306,7 @@ END_TEST START_TEST(test_001CreateWallet_0011CreateSevenWallet) { BSINT32 rtnVal; + BoatIotSdkInit(); BoatPlatONWalletConfig wallet = get_platon_wallet_settings(); extern BoatIotSdkContext g_boat_iot_sdk_context; wallet.prikeyCtx_config.prikey_genMode = BOAT_WALLET_PRIKEY_GENMODE_INTERNAL_GENERATION...
accept either order of table entries in encode_decode_reference_test
@@ -108,8 +108,8 @@ boolean encode_decode_reference_test(heap h) buffer buf = allocate_buffer(h, 128); bprintf(buf, "%t", t4); - test_assert(strncmp(buf->contents, "(1:(1:200) 2:(1:200))", buf->length) == 0); - + test_assert((strncmp(buf->contents, "(1:(1:200) 2:(1:200))", buf->length) == 0) || + (strncmp(buf->contents...
Prepend @ to loaded Lua chunks for better errors;
@@ -235,7 +235,10 @@ int l_lovrFilesystemLoad(lua_State* L) { return luaL_error(L, "Could not read file '%s'", path); } - int status = luaL_loadbuffer(L, content, size, path); + char debug[LOVR_PATH_MAX]; + snprintf(debug, LOVR_PATH_MAX, "@%s", path); + + int status = luaL_loadbuffer(L, content, size, debug); free(cont...
env: posix: Fix recursive mutex
@@ -224,7 +224,12 @@ typedef env_mutex env_rmutex; static inline int env_rmutex_init(env_rmutex *rmutex) { - env_mutex_init(rmutex); + pthread_mutexattr_t attr; + + pthread_mutexattr_init(&attr); + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); + pthread_mutex_init(&rmutex->m, &attr); + return 0; }
remove redundant tools build
@@ -32,16 +32,16 @@ MKFS= $(TOOLDIR)/mkfs BOOTIMG= $(PLATFORMOBJDIR)/boot/boot.img KERNEL= $(PLATFORMOBJDIR)/bin/kernel.img -all: image tools +all: image .PHONY: image release target tools distclean include rules.mk -image: $(LWIPDIR)/.vendored mkfs +image: $(LWIPDIR)/.vendored tools $(Q) $(MAKE) -C $(PLATFORMDIR) imag...
vendor github.com/sparrc/go-ping
@@ -148,6 +148,9 @@ ALLOW .* -> vendor/github.com/pmezard/go-difflib # statsd client library ALLOW .* -> vendor/github.com/smira/go-statsd +# ICMP Ping library +ALLOW .* -> vendor/github.com/sparrc/go-ping + # safe and easy casting from one type to another ALLOW .* -> vendor/github.com/spf13/cast
Work CI-CD Fix target definition in Azure RTOS matrix. ***NO_CI***
@@ -566,12 +566,15 @@ jobs: matrix: SL_STK3701A_REVB: - TargetBoard: SL_STK3701A_REVB + TargetBoard: SL_STK3701A TargetSeries: 'efm32gg11' + TargetName: '' BuildOptions: GccArm_Version: NeedsDFU: false NeedsSRECORD: false + TargetName: SL_STK3701A_REVB + PackageName: SL_STK3701A_REVB variables: # creates a counter and ...
Remove Getting Started Section
@@ -65,29 +65,3 @@ Build and install from sources is possible. However, the source build for AOMP For instructions on how to install from source, click [SOURCEINSTALL](SOURCEINSTALL.md). -## Getting Started - -<A NAME="Getting-Started"> - -The default install location is /opt/rocm/aomp. To run the given examples, for e...
sidk_s5jt200: clean up wlan.c Removes unnecessary code lines and #include.
* language governing permissions and limitations under the License. * ****************************************************************************/ -#include <net/lwip/opt.h> - #include <tinyara/config.h> -#include <stdio.h> -#include <debug.h> - -#if defined(CONFIG_NET_LWIP) -#include <net/lwip/opt.h> -#include <net/l...
Omitted signature_algorithms extension alerts updated Fixes
@@ -3302,7 +3302,7 @@ int tls_choose_sigalg(SSL *s, int fatalerrs) if ((lu = tls1_get_legacy_sigalg(s, -1)) == NULL) { if (!fatalerrs) return 1; - SSLfatal(s, SSL_AD_INTERNAL_ERROR, + SSLfatal(s, SSL_AD_HANDSHAKE_FAILURE, SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM); return 0; } @@ -3317,7 +3317,7 @@ int tls_choose_sigalg(SS...
nrf51dk-16kbram - split ld specified too much ram. This linker script specified 32 kB ram; should be 16 kB.
@@ -20,7 +20,7 @@ OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") MEMORY { FLASH (rx) : ORIGIN = 0x00023800, LENGTH = 0x1b800 - RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x8000 + RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000 } /* Linker script to place sections and symbol values. Should be used ...
Bugfix OP_RETURN_BLK
@@ -1091,25 +1091,21 @@ static inline int op_return_blk( mrbc_vm *vm, mrbc_value *regs ) { FETCH_B(); - mrbc_release(&regs[0]); - regs[0] = regs[a]; - regs[a].tt = MRBC_TT_EMPTY; - int nregs = vm->pc_irep->nregs; + mrbc_irep *caller = vm->irep; - if( vm->callinfo_tail->mid == 0 ){ - // nested block? - uint8_t *inst = v...
volteer: add workaround for CR50 double reset BRANCH=none TEST=tested on puff with same chip
#define CONFIG_VSTORE_SLOT_COUNT 1 #define CONFIG_VOLUME_BUTTONS #define CONFIG_LOW_POWER_IDLE +#define CONFIG_BOARD_RESET_AFTER_POWER_ON /* Host communication */ #define CONFIG_HOSTCMD_ESPI
add sceNpCommonMspaceMalloc * add sceNpCommonMspaceMalloc * Update db.yml * change names to be more clear * Update db.yml * add b64 encode (byte *input,char *output,uint size)
@@ -6890,6 +6890,11 @@ modules: sceNpCmpNpId: 0xFB8D82E5 sceNpCmpNpIdInOrder: 0x6BC8150A sceNpCmpOnlineId: 0x8327C26F + sceNpCommonBase64Encode: 0x5601E9A2 + sceNpCommonFreeNpServerName: 0x1D81E445 + sceNpCommonGetNpEnviroment: 0xAD6403E0 + sceNpCommonGetSystemSwVersion: 0x775D0177 + sceNpCommonMallocNpServerName: 0x95...
Fix C2 power draw
@@ -56,7 +56,12 @@ void uno_set_gps_load_switch(bool enabled) { } void uno_set_bootkick(bool enabled){ - set_gpio_output(GPIOB, 14, !enabled); + if(enabled){ + set_gpio_output(GPIOB, 14, false); + } else { + // We want the pin to be floating, not forced high! + set_gpio_mode(GPIOB, 14, MODE_INPUT); + } } void uno_bootk...
libhfuzz: implement __sanitizer_cov_indir_call16
@@ -92,21 +92,6 @@ ATTRIBUTE_X86_REQUIRE_SSE42 void __sanitizer_cov_trace_pc(void) } } -/* - * -fsanitize-coverage=indirect-calls - */ -ATTRIBUTE_X86_REQUIRE_SSE42 void __sanitizer_cov_trace_pc_indir(void *callee) -{ - register size_t pos1 = (uintptr_t) __builtin_return_address(0) << 12; - register size_t pos2 = (uintp...
fixup! net/lwip: add valid lifetime and preferred lifetime in RA
@@ -682,7 +682,7 @@ void nd6_input(struct pbuf *p, struct netif *inp) * Preferred Lifetime: * The value MUST NOT exceed the Valid Lifetime field to avoid preferring address that are no longer valid. */ - if (ND6H_PF_OPT_VAL_LIFE(prefix_opt) < ND6H_PF_OPT_PREFER_LIFE(prefix_opt)) { + if (lwip_htonl(ND6H_PF_OPT_VAL_LIFE(...
only push to dockerhub from master
@@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-16.04 timeout-minutes: 10 needs: docker_build - #if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/panda' + if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/pa...
hv:Remove atomic operation to set initial value for 'created_vcpu' It is not necessary to use atomic operation to set the initial value for 'created_vcpu' in vm structure.
@@ -82,7 +82,7 @@ int create_vm(struct vm_description *vm_desc, struct acrn_vm **rtn_vm) #endif /* Init mmio list */ INIT_LIST_HEAD(&vm->mmio_list); - atomic_store16(&vm->hw.created_vcpus, 0U); + vm->hw.created_vcpus = 0U; /* gpa_lowtop are used for system start up */ vm->hw.gpa_lowtop = 0UL;
Replace libuv dependencies with libuv in README
@@ -11,7 +11,7 @@ https://urbit.org/docs/using/ instead. - [GNU Make](https://www.gnu.org/software/make/) - [GMP](https://gmplib.org) - [CMake](https://cmake.org) -- automake, autoconf, and libtool +- [libuv](https://libuv.org) - [OpenSSL](https://www.openssl.org) - [libsigsegv](https://www.gnu.org/software/libsigsegv/...
tcmur:fix format character on handle_writesame_check
@@ -658,7 +658,7 @@ static int handle_writesame_check(struct tcmu_device *dev, struct tcmulib_cmd *c if (ret) return ret; - tcmu_dev_dbg(dev, "Start lba: %llu, number of lba:: %hu, last lba: %llu\n", + tcmu_dev_dbg(dev, "Start lba: %llu, number of lba: %u, last lba: %llu\n", start_lba, lba_cnt, start_lba + lba_cnt - 1)...
Fixed compiler error due to an extra quote.
#define CONFDLG_TIME_FORMAT \ _("Time Format - [t] to add/edit format") #define CONFDLG_DESC \ - _(""[UP/DOWN] to scroll - [q] to close window") + _("[UP/DOWN] to scroll - [q] to close window") /* Agents Dialog */ #define AGENTSDLG_DESC \
Fix Actor Select shows Player as current label when value is $self$
@@ -212,7 +212,7 @@ function mapStateToProps(state, ownProps) { }); const actorName = actor ? actor.name || `Actor ${actorIndex + 1}` : ""; let label = actorName; - if(value === "player") { + if(value === "player" || (value === "$self$" && contextType !== "actors")) { label = "Player"; } else if(value === "$self$") { l...
Fixed quoting issue on HTML output.
@@ -272,7 +272,7 @@ print_html_body (FILE * fp, const char *now) "</span>" "</h4>" "</div>" - "<h1 class="h-dashboard">" + "<h1 class='h-dashboard'>" "<span class='hidden-xs hidden-sm'>" "<i class='fa fa-tachometer'></i> %s" "</span>"
Update Privacy Settings value.
@@ -62,8 +62,8 @@ The C++ SDK has an API feature to filter events using the diagnostic level assoc ```cpp DIAG_LEVEL_REQUIRED 1 DIAG_LEVEL_OPTIONAL 2 -DIAG_LEVEL_REQUIREDSERVICEDATA 3 -DIAG_LEVEL_REQUIREDSERVICEDATAFORESSENTIALSERVICES 4 +DIAG_LEVEL_REQUIREDSERVICEDATA 110 +DIAG_LEVEL_REQUIREDSERVICEDATAFORESSENTIALSER...
Added jitted code in the AVX2 path
@@ -259,6 +259,9 @@ if (handle->datatype != handle->datatype_itm) { } else if ( libxsmm_target_archid == LIBXSMM_X86_AVX2 ) { jitted_conv_fp_zero = (libxsmm_convfunction)handle->code_fwd[0].xconv.sconv; jitted_conv_fp_one = (libxsmm_convfunction)handle->code_fwd[1].xconv.sconv; +#if defined(INPUT_PADDING) + jitted_matc...
freertos-smp: Fix legacy_pcnt_driver for FreeRTOS SMP config This commit increases the memory leak threshold for legacy_pcnt_driver test from 300 bytes to 400 bytes. The test fails due to a breach of the threshold value by 8 bytes.
#include "unity_test_runner.h" #include "esp_heap_caps.h" +#ifndef CONFIG_FREERTOS_SMP #define TEST_MEMORY_LEAK_THRESHOLD (-300) +#else +// TODO: IDF-5290 +#define TEST_MEMORY_LEAK_THRESHOLD (-400) +#endif // CONFIG_FREERTOS_SMP static size_t before_free_8bit; static size_t before_free_32bit;
ks: Remove unused keyCompareByNameOwnerCase
@@ -618,18 +618,6 @@ static int keyCompareByNameOwner (const void * p1, const void * p2) } -static int keyCompareByNameOwnerCase (const void * p1, const void * p2) -{ - int result = keyCompareByNameCase (p1, p2); - - if (result == 0) - { - return keyCompareByOwner (p1, p2); - } - return result; -} - - /** * Compare the...
Update RapidJson name in install script.
@@ -27,7 +27,7 @@ if(NOT RAPIDJSON_FOUND OR USE_BUNDLED_RAPIDJSON) set(RAPIDJSON_URL_MD5 badd12c511e081fec6c89c43a7027bce) endif() - ExternalProject_Add(RapidJSON + ExternalProject_Add(RapidJson DOWNLOAD_NAME RapidJSON-${RAPIDJSON_VERSION}.tar.gz URL https://github.com/miloyip/rapidjson/archive/v${RAPIDJSON_VERSION}.ta...
proxy: use new api for data ingestion
#include <fluent-bit/flb_error.h> #include <fluent-bit/flb_utils.h> #include <fluent-bit/flb_plugin_proxy.h> +#include <fluent-bit/flb_input_log.h> /* Proxies */ #include "proxy/go/go.h" @@ -88,8 +89,7 @@ static int flb_proxy_input_cb_collect(struct flb_input_instance *ins, return -1; } - flb_input_chunk_append_raw(ins...
Fix the checks of EVP_PKEY_private_check
@@ -398,7 +398,7 @@ static int test_fromdata_rsa(void) if (!TEST_int_gt(EVP_PKEY_check(key_ctx), 0) || !TEST_int_gt(EVP_PKEY_public_check(key_ctx), 0) - || !TEST_true(EVP_PKEY_private_check(key_ctx)) + || !TEST_int_gt(EVP_PKEY_private_check(key_ctx), 0) || !TEST_int_gt(EVP_PKEY_pairwise_check(key_ctx), 0)) goto err; @@...
dev-tools/numpy: add family to modulefile
@@ -125,6 +125,7 @@ module-whatis "Category: python module" module-whatis "Description: %{summary}" module-whatis "URL %{url}" +family numpy set version %{version} # Require openblas for gnu compiler families
Fix BT HIDH write allocates 1 byte less and returns ok on failed malloc Fixes:
@@ -241,12 +241,18 @@ static esp_err_t esp_bt_hidh_dev_report_write(esp_hidh_dev_t *dev, size_t map_in return ESP_FAIL; } +#define BT_HDR_HID_DATA_OFFSET 14 //this equals to L2CAP_MIN_OFFSET + 1 (1 byte to hold the HID transaction header) + uint8_t *pbuf_data; - BT_HDR *p_buf = (BT_HDR *)malloc((uint16_t) (len + 14 + s...
proxy: handle proxy.forward_close_connection (h1)
@@ -427,8 +427,10 @@ static h2o_httpclient_body_cb on_head(h2o_httpclient_t *client, const char *errs { struct rp_generator_t *self = client->data; h2o_req_t *req = self->src_req; + h2o_header_t *conn_header = NULL; size_t i; int emit_missing_date_header = req->conn->ctx->globalconf->proxy.emit_missing_date_header; + i...
add an example of creating a genome file using samtools faidx
@@ -262,6 +262,20 @@ Genome files must be **tab-delimited** and are structured as follows (this is an bedtools includes pre-defined genome files for human and mouse in the **/genomes** directory included in the bedtools distribution. +One can also create a suitable genome file by running `samtools faidx` on the appropr...
more changes based on suggestion
@@ -52,18 +52,18 @@ function main(name, opt) -- create a table for the list local list_table = {} + -- split entries based on newlines - for entry in file_contents:gmatch("(.-)\n") do - -- then split those entries based on spaces - for split_entry in entry:gmatch("(.-) ") do - -- then append to the table if the entry c...
netutils/webserver/httpd.c: Eliminate some warnings found in build testing.
@@ -339,6 +339,7 @@ static int handle_script(struct httpd_state *pstate) pstate->ht_file.len, chunked_http_tx); DEBUGASSERT(status >= 0); + UNUSED(status); (void)httpd_close(&pstate->ht_file); } @@ -399,6 +400,7 @@ static int handle_script(struct httpd_state *pstate) pstate->ht_file.data, len, chunked_http_tx); DEBUGAS...