message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix `pip3 install virtualenv` It looks like legacy version of `pip3` poorly manage situation when distutils is already present in OS. `pip3` in `Alpine 3.15` is 20.3.4 `pip3` in `Alpine 3.16.1` is 22.1.1 Ref:
-FROM alpine:3.15 +FROM alpine:3.16.1 RUN apk add bash python3 py3-pip wget patch RUN pip3 install virtualenv @@ -40,7 +40,7 @@ COPY ./test_runner /opt/test-runner/ COPY ./syscalls/syscall_tests_conf.json /opt/test-runner/syscall_tests_conf.json # # # Switching to Python 3.8 required this hack. Not sure where the kafka...
eventfd: fix fdsetsize match eventfd deal
@@ -416,9 +416,9 @@ typedef struct ip_mreq { /* Make FD_SETSIZE match NUM_SOCKETS in socket.c */ #define FD_SETSIZE MEMP_NUM_NETCONN #define FDSETSAFESET(n, code) do { \ - if (((n) - LWIP_SOCKET_OFFSET < MEMP_NUM_NETCONN) && (((int)(n) - LWIP_SOCKET_OFFSET) >= 0)) { \ + if (((n) - LWIP_SOCKET_OFFSET < (MEMP_NUM_NETCONN...
Doc: Fix deduplicate_items index term. Reported-By: Fujii Masao Discussion:
@@ -402,8 +402,7 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class= <varlistentry id="index-reloption-deduplication" xreflabel="deduplicate_items"> <term><literal>deduplicate_items</literal> <indexterm> - <primary><varname>deduplicate_items</varname></primary> - <secondary>storage param...
fix (debug): add empty defines for non-debug build
#else #define dbg_bytes(bytes, byte_count, MSG, ...) #define dbg_print(bytes, bit_count, MSG, ...) + #define dbg_mbuf(buf, MSG, ...) + #define debug(M, ...) + #define short_lcore_debug(lcid,sc,lcc,sfn,sid,M,...) + #define lcore_debug(lcid,sc,lcc,sfn,sid,M,...) + #define no_core_debug(lcid,sc,lcc,sfn,sid,M,...) + #defin...
proxy escape code
@@ -6,6 +6,10 @@ urbit = pty.spawn './urbit' <[-B urbit.pill -A .. -cFI zod zod]> .on \data -> process.stdout.write it +urbit.on \exit (code)-> + console.log "\nnode: urbit exited with code #code\n" + process.exit code + fin = no urbit.pipe (new stream-snitch /dojo> /g).on \match -> return if fin
`package.tools.cmake` works with `configs`
@@ -30,11 +30,21 @@ import("lib.detect.find_file") function install(package, configs) os.mkdir("build/install") local oldir = os.cd("build") + local argv = {} + + for name, value in pairs(configs) do + value = tostring(value):trim() + if value ~= "" then + table.insert(argv, value) + end + end + if is_plat("windows") a...
Solve memory leak on cs_loader.
@@ -147,8 +147,11 @@ function_return function_cs_interface_await(function func, function_impl impl, f void function_cs_interface_destroy(function func, function_impl impl) { + cs_function *cs_f = (cs_function *)impl; + (void)func; - (void)impl; + + free(cs_f); } function_interface function_cs_singleton(void)
optionally install ccache
@@ -53,12 +53,12 @@ test_tools() } install_tools() { - { apt-get --version >/dev/null 2>&1 && $sudoprefix apt-get install -y git build-essential libreadline-dev; } || - { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git readline-devel && $sudoprefix yum groupinstall -y 'Development Tools'; } || - { zyppe...
Update Haar unit test.
def unittest(data_path, temp_path): import image # Load Haar Cascade - cascade = image.HaarCascade("/"+data_path+"/frontalface.cascade") + cascade = image.HaarCascade(data_path+"/frontalface.cascade") # Load image and find keypoints img = image.Image(data_path+"/dennis.pgm", copy_to_fb=True)
allow open console with numlock on
@@ -220,7 +220,7 @@ int game_update(Game *game, float delta_time) { trace_assert(game); trace_assert(delta_time > 0.0f); - + //printf("game->console_enabled = %s\n", game->console_enabled); if (game->console_enabled) { if (console_update(game->console, delta_time) < 0) { return -1; @@ -453,7 +453,7 @@ int game_event(Ga...
SOVERSION bump to version 4.3.16
@@ -39,7 +39,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 4) set(SYSREPO_MINOR_SOVERSION 3) -set(SYSREPO_MICRO_SOVERSION 15) +set(SYSREPO_MICRO_S...
Fix wrong usage of TC_ASSERT macro in tc_mqueue
@@ -503,11 +503,10 @@ static void tc_mqueue_mq_open_close_send_receive(void) TC_ASSERT_GEQ("mq_close", mq_close(g_recv_mqfd), 0); } else if (result != PTHREAD_CANCELED && g_recv_mqfd) { TC_ASSERT_EQ("mq_close", mq_close(g_recv_mqfd), 0); - TC_ASSERT("pthread_join", false); } /* Make sure that the receive queue is close...
test: re-disables ames decryption test to avoid bail:evil in ci
!> shut-packet !> decoded :: -++ test-shut-packet-associated-data ^- tang +++ disabled-test-shut-packet-associated-data ^- tang :: =/ =shut-packet:ames :+ bone=17 message-num=18
hfuzz-cc: add a C++ wrapper
@@ -542,3 +542,9 @@ HF_WEAK_WRAP(bool, g_str_has_suffix, const char* str, const char* suffix) { return ( HF_strcmp(str + str_len - suffix_len, suffix, (uintptr_t)__builtin_return_address(0)) == 0); } + +/* C++ wrappers */ +int _ZNSt11char_traitsIcE7compareEPKcS2_m(const char* s1, const char* s2, size_t count) { + retur...
Build: Work around `futimes` detection bug
@@ -6,7 +6,13 @@ include(TestBigEndian) check_symbol_exists(clearenv "stdlib.h" HAVE_CLEARENV) check_symbol_exists(setenv "stdlib.h" HAVE_SETENV) check_symbol_exists(futimens "sys/stat.h" HAVE_FUTIMENS) + +# Work around a bug on macOS where `futimes` can not be located if we specify the compiler switch `-Werror` +set (...
update ya tool arc print revision info
}, "arc": { "formula": { - "sandbox_id": [311261386], + "sandbox_id": [313183180], "match": "arc" }, "executable": {
Linux/Zephyr change only: enable Address Sanitizer. Address Sanitizer is now enabled on the Linux/Zephyr build.
@@ -9,8 +9,7 @@ CONFIG_DEBUG=y CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME=y # Include address sanitizer -# TODO: will enable this as a separate PR for clarity -# CONFIG_ASAN=y +CONFIG_ASAN=y # Include two UARTs, which appears as /dev/pts/a and /dev/pts/b, where a and b are # chosen by Linux at the time of execution
Modernize the cups-largefile autoconf source file.
@@ -10115,16 +10115,25 @@ fi LARGEFILE="" -if test x$enable_largefile != xno; then +if test x$enable_largefile != xno +then : + LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" - if test x$ac_cv_sys_large_files = x1; then + if test x$ac_cv_sys_large_files = x1 +then : + LARGEFILE="$LARGEFILE -D_LARGE_FILES" + fi -...
Configurations/15-android.conf: default to RC4_CHAR whenever possible.
@@ -160,14 +160,17 @@ my %targets = ( # -march and/or -mfloat-abi flags. NDK defaults to armv5te. # inherit_from => [ "android", asm("armv4_asm") ], + bn_ops => add("RC4_CHAR"), }, "android-arm64" => { inherit_from => [ "android", asm("aarch64_asm") ], + bn_ops => add("RC4_CHAR"), perlasm_scheme => "linux64", }, "andro...
Fix potential set-but-unused warning
@@ -487,6 +487,7 @@ void advance_faketab(WINDOW* win, int offset_x, int tabstop) { int y, x, h, w; getyx(win, y, x); getmaxyx(win, h, w); + (void)h; x = ((x + tabstop - 1) / tabstop) * tabstop + offset_x % tabstop; if (w < 1) w = 1;
Remove unneeded second full screen render on scene load by forcing scroll_x and scroll_y to cause RefreshScroll_b to perform a single RenderScreen() call
@@ -217,8 +217,8 @@ void RefreshScroll() { void InitScroll() { pending_w_i = 0; pending_h_i = 0; - RefreshScroll(); - RenderScreen(); + scroll_x = 0xF000; + scroll_y = 0xF000; } void RenderScreen() {
fix luacov installation
@@ -12,9 +12,10 @@ install: - ps: Expand-Archive luarocks.zip - ps: Copy-Item -Recurse luarocks\luarocks-2.4.2-win32\win32\lua5.1 C:\lua - cmd: cd luarocks\luarocks-2.4.2-win32 - - cmd: install.bat + - cmd: install.bat /Q - cmd: cd ..\.. - ps: Remove-Item luarocks -Recurse -Force + - ps: Remove-Item luarocks.zip - cmd:...
use of ymake as mapsmobi idl tool
@@ -5146,7 +5146,7 @@ macro MAPS_IDL_ADDINCL(Dirs...) { ### Proxy macro for MAPKITIDL which adds PEERDIR to YMAKE resources macro _MAPKITIDL_PROXY(Args...) { MAPKITIDL($Args) - # ENABLE(USE_YMAKE_RESOURCE) + ENABLE(USE_YMAKE_RESOURCE) } MAPS_IDL_FILTER= @@ -6710,7 +6710,6 @@ MAVEN_BIN=$MAVEN_RESOURCE_GLOBAL/bin # mapsm...
h2olog: use bpf_probe_read() for better compatibility
@@ -56,13 +56,13 @@ int trace_receive_req_header(struct pt_regs *ctx) { bpf_usdt_readarg(3, ctx, &pos); bpf_usdt_readarg(4, ctx, &n_len); line.header_name_len = MIN(MAX_STR_LEN, n_len); - bpf_probe_read_str(&line.header_name, line.header_name_len, pos); + bpf_probe_read(&line.header_name, line.header_name_len, pos); //...
apps/makefile/implicit rules: completion the obj path
@@ -129,9 +129,9 @@ $(CXXOBJS): %$(SUFFIX)$(OBJEXT): %$(CXXEXT) .built: $(OBJS) ifeq ($(CONFIG_CYGWIN_WINTOOL),y) - $(call ARLOCK, "${shell cygpath -w $(BIN)}", $(OBJS)) + $(call ARLOCK, "${shell cygpath -w $(BIN)}", $^) else - $(call ARLOCK, $(BIN), $(OBJS)) + $(call ARLOCK, $(BIN), $^) endif $(Q) touch $@
Component/bt: fix stop adv failed in smp
@@ -3598,6 +3598,14 @@ void btm_ble_write_adv_enable_complete(UINT8 *p) } else if (p_cb->p_stop_adv_cb && p_cb->adv_mode == BTM_BLE_ADV_DISABLE) { p_cb->state = BTM_BLE_STOP_ADV; (*p_cb->p_stop_adv_cb)(status); + }else { + // p_cb->p_adv_cb is NULL or p_cb->p_stop_adv_cb is NULL + if (p_cb->adv_mode == BTM_BLE_ADV_ENAB...
use git clone --recurse-submodules for local builds
@@ -11,6 +11,13 @@ Occasional NodeMCU firmware hackers don't need full control over the complete to ### Linux Build Environment NodeMCU firmware developers commit or contribute to the project on GitHub and might want to build their own full fledged build environment with the complete tool chain. There is a [post in the...
Add detection of Zink
@@ -76,9 +76,17 @@ void imgui_init() add_blacklist(item); } auto pid = getpid(); - string command = "lsof -w -lnPX -L -p " + to_string(pid) + " | grep wined3d"; - string ret = exec(command); - ret.empty() ? sw_stats.engineName = "OpenGL" : sw_stats.engineName = "WineD3D"; + string find_wined3d = "lsof -w -lnPX -L -p " ...
PR from branch users/kmartynkov/mappable_proxy
@@ -311,3 +311,6 @@ when ($MAPSMOBI_BUILD_TARGET && $OS_YOCTO) { CFLAGS+=-DBOOST_SYMBOL_EXPORT= CFLAGS+=-DBOOST_SYMBOL_VISIBLE= } +when($MAPSMOBI_BUILD_TARGET && $MAPS_MOBILE_PUBLIC_API && $MAPPABLE) { + CFLAGS+=-DMAPPABLE +}
Docker: Install `file` utility
@@ -5,7 +5,7 @@ ENV LANGUAGE C.UTF-8 ENV LC_ALL C.UTF-8 RUN apt-get update && apt-get -y install \ - cmake git build-essential curl + cmake git build-essential curl file # Create User:Group # The id is important as jenkins docker agents use the same id that is running
Fix a ipsec command line typo
@@ -820,7 +820,7 @@ create_ipsec_tunnel_command_fn (vlib_main_t * vm, ; else if (unformat - (line_input, "rmote-integ-key %U", unformat_ipsec_key, &rik)) + (line_input, "remote-integ-key %U", unformat_ipsec_key, &rik)) ; else if (unformat (line_input, "integ-alg %U", unformat_ipsec_integ_alg, &a.integ_alg))
SOVERSION bump to version 5.1.4
@@ -39,7 +39,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 5) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 3) +set(SYSREPO_MICRO_SO...
accept4: fix handling of flags argument The flags argument of accept4() is meant to be applied to the new socket being created when a connection is received, and doesn't affect the behavior (blocking vs non-blocking) of the accept4() call. Closes issue
@@ -916,7 +916,7 @@ static sysreturn accept_bh(sock s, thread t, struct sockaddr *addr, socklen_t *a sock sn = dequeue(s->incoming); if (!sn) { - if ((s->f.flags & SOCK_NONBLOCK) || (flags & SOCK_NONBLOCK)) { + if (s->f.flags & SOCK_NONBLOCK) { rv = -EAGAIN; goto out; } @@ -925,6 +925,7 @@ static sysreturn accept_bh(so...
Replace `log.Fatal` to `log.Error`
@@ -308,7 +308,7 @@ func (rc *Config) Start() error { // Validate user has root permissions if err := util.UserVerifyRootPerm(); err != nil { - log.Fatal(). + log.Error(). Err(err). Msg("Verify root permission failed.") startErr = err @@ -318,7 +318,7 @@ func (rc *Config) Start() error { // Retrieve input data startCfg...
[doc/man3] finish EC_GROUP_get_field_type documentation documented `EC_GROUP_get_field_type` behavior in the `man` page but did not add the name to the function list. Fixes
@@ -12,7 +12,8 @@ EC_GROUP_get_seed_len, EC_GROUP_set_seed, EC_GROUP_get_degree, EC_GROUP_check, EC_GROUP_check_named_curve, EC_GROUP_check_discriminant, EC_GROUP_cmp, EC_GROUP_get_basis_type, EC_GROUP_get_trinomial_basis, -EC_GROUP_get_pentanomial_basis, EC_GROUP_get0_field +EC_GROUP_get_pentanomial_basis, EC_GROUP_ge...
Explicitly use size_t, 0 is often inferred as int, and in some build scenarios may result in breaks due to upcasting.
@@ -20,7 +20,7 @@ size_t BondSplicer::addTenantToken(std::string const& tenantToken) m_overheadEstimate += 8 + tenantToken.size(); - m_packages.push_back(PackageInfo{tenantToken, Span{begin, 0}, {}}); + m_packages.push_back(PackageInfo { tenantToken, Span{begin, size_t{0}}, {} }); return m_packages.size() - 1; }
Fix fullscreen quads;
@@ -81,6 +81,7 @@ static const char* lovrFontFragmentShader = "" static const char* lovrNoopVertexShader = "" "vec4 position(mat4 projection, mat4 transform, vec4 vertex) { \n" +" texCoord.y = 1 - texCoord.y; \n" " return vertex; \n" "}";
few more changes to 2.6
@@ -412,7 +412,7 @@ In the future \ccl will be expanded to incorporate the calculation of the higher %------------------------------------------------------------------------------- \subsection{Halo mass function} -Being able to calculate the halo abundance as a function of mass is a necessary step to being able to con...
Functionize parser's header check and raise.
@@ -6131,6 +6131,16 @@ static void manifest_predefined(lily_parse_state *parser) fix_predefined_class_id(parser, parser->current_class); } +static void expect_manifest_header(lily_parse_state *parser) +{ + /* This is a trick inspired by "use strict". Code files passed to manifest + parsing will fail here. Manifest file...
Fix two function name and args
@@ -514,8 +514,29 @@ typedef struct SceKernelModuleExportEntry { */ int ksceKernelGetModuleLibExportList(SceUID pid, SceUID libid, SceKernelModuleExportEntry *list, SceSize *num, SceSize cpy_skip_num); -int ksceKernelGetModuleUid(SceUID pid, SceUID modid, SceUID *modid_out, const void *unk1, int unk2); -int ksceKernelG...
docs/library: Document that char_data/notify_data are also references.
@@ -68,7 +68,8 @@ Event Handling The optional *trigger* parameter allows you to set a mask of events that your program is interested in. The default is all events. - Note: the ``addr``, ``adv_data`` and ``uuid`` entries in the tuples are + Note: the ``addr``, ``adv_data``, ``char_data``, ``notify_data``, and + ``uuid``...
Fix comment descriptions.
@@ -56,7 +56,7 @@ TABLE OF CONTENTS: Syntax is defined using an informal variant of EBNF. - token: /regex/ | "quoted" | <english description> + token: /regex/ | "quoted" | <informal description> prod: prodname ":" expr* expr: alt ( "|" alt )* alt: term term* @@ -99,6 +99,13 @@ TABLE OF CONTENTS: /* this is a comment /*...
fifo: Acquire the initialization mutex on mk_fifo_send to prevent a race condition
@@ -286,6 +286,8 @@ int mk_fifo_send(struct mk_fifo *ctx, int id, void *data, size_t size) return -1; } + pthread_mutex_lock(&ctx->mutex_init); + mk_list_foreach(head, &ctx->workers) { fw = mk_list_entry(head, struct mk_fifo_worker, _head); @@ -295,6 +297,7 @@ int mk_fifo_send(struct mk_fifo *ctx, int id, void *data, s...
Add makefile var to fix jpm to a tag/branch
@@ -36,6 +36,7 @@ JANET_PATH?=$(LIBDIR)/janet JANET_MANPATH?=$(PREFIX)/share/man/man1/ JANET_PKG_CONFIG_PATH?=$(LIBDIR)/pkgconfig JANET_DIST_DIR?=janet-dist +JPM_TAG?=master DEBUGGER=gdb SONAME_SETTER=-Wl,-soname, @@ -284,7 +285,7 @@ install: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.pc insta...
.github/travis-ci.yml: unix-coverage-build-and-tests: Use ubuntu-18.04.
@@ -183,7 +183,7 @@ jobs: grep --text "FAIL" ports/qemu-arm/build/console.out unix-coverage-build-and-tests: - runs-on: ubuntu-16.04 + runs-on: ubuntu-18.04 steps: - name: Clone uses: actions/checkout@v2
session: fix double free in CLI Type: fix
@@ -841,7 +841,6 @@ session_enable_disable_fn (vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd) { u8 is_en = 2; - clib_error_t *error; while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT) { @@ -850,12 +849,8 @@ session_enable_disable_fn (vlib_main_t * vm, unformat_input_t * input, else if ...
Feat:modify DBG function
@@ -527,7 +527,7 @@ int httpclient_send_header(httpclient_t *client, char *url, int method, httpclie ret = httpclient_tcp_send_all(client->handle, send_buf, len); if (ret > 0) { - DBG("Written %d bytes, socket = %d", ret, client->socket); + DBG("Written %d bytes, socket_handle = %d", ret, client->handle); } else if (re...
Improve physical memory tooltip when compression unavailable
@@ -615,6 +615,7 @@ VOID PhSipNotifyCommitGraph( usedPages = PhGetItemCircularBuffer_ULONG(&PhCommitHistory, getTooltipText->Index); // Commit charge: %s\n%s + //PhInitFormatS(&format[0], L"Commit charge: "); PhInitFormatSize(&format[0], UInt32x32To64(usedPages, PAGE_SIZE)); PhInitFormatC(&format[1], L'\n'); PhInitForm...
core/cortex-m/fpu.c: Format with clang-format BRANCH=none TEST=none
@@ -65,8 +65,7 @@ static void fpu_warn(void) DECLARE_DEFERRED(fpu_warn); -test_mockable -void __keep fpu_irq(uint32_t excep_lr, uint32_t excep_sp) +test_mockable void __keep fpu_irq(uint32_t excep_lr, uint32_t excep_sp) { /* * Get address of exception FPU exception frame. FPCAR register points
Main: print out 802.15.4 panid and channel, as well as routing layer configuration
@@ -86,9 +86,15 @@ main(void) platform_init_stage_two(); LOG_INFO("Starting " CONTIKI_VERSION_STRING "\n"); - - LOG_INFO(" Net: %s\n", NETSTACK_NETWORK.name); - LOG_INFO(" MAC: %s\n", NETSTACK_MAC.name); + LOG_INFO("- Routing: %s\n", NETSTACK_ROUTING.name); + LOG_INFO("- Net: %s\n", NETSTACK_NETWORK.name); + LOG_INFO("...
Add missing extern "C" to rtc_cntl.h Related:
#include "esp_err.h" #include "esp_intr_alloc.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * @brief Register a handler for specific RTC_CNTL interrupts * @@ -46,3 +50,7 @@ esp_err_t rtc_isr_register(intr_handler_t handler, void* handler_arg, * handler_arg isn't registered */ esp_err_t rtc_isr_deregister(intr_hand...
Fix save as check that project already exists at new location
@@ -510,9 +510,13 @@ const saveAsProjectPicker = async () => { const saveAsProject = async saveAsPath => { const l10n = require("./lib/helpers/l10n").default; + const projectName = Path.parse(saveAsPath).name; + const projectDir = Path.join(Path.dirname(saveAsPath), projectName); + const projectPath = Path.join(project...
vioserial: Fix INF verification errors The INF verification test in Win10 HLK 1703 started treating some of the verification warnings as errors: Section [sourcedisksfiles] is defined multiple times. This commit fixes it by merging the sections into one.
@@ -31,6 +31,7 @@ VirtioSerial_Device_CoInstaller_CopyFiles = 11 [SourceDisksFiles] vioser.sys = 1,, +WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames [SourceDisksNames] 1 = %DiskId1%,,,"" @@ -91,9 +92,6 @@ HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERV...
phb4: Split phb4_get_link_state() into a new function Split phb4_get_link_state() into a new function so that it can be reused to get info on the speed and width of the link.
@@ -2201,17 +2201,21 @@ static int64_t phb4_get_presence_state(struct pci_slot *slot, uint8_t *val) return OPAL_SUCCESS; } -static int64_t phb4_get_link_state(struct pci_slot *slot, uint8_t *val) +static int64_t phb4_get_link_info(struct pci_slot *slot, uint8_t *speed, + uint8_t *width) { struct phb4 *p = phb_to_phb4(s...
links: fix s3 detection All props are nested in 'credentials', so it would always return false
@@ -183,12 +183,10 @@ export class LinkSubmit extends Component<LinkSubmitProps, LinkSubmitState> { ? 'b--black b--white-d' : 'b--gray4 b--gray2-d'; - console.log(this.props.s3); - const isS3Ready = - ( this.props.s3.secretAccessKey && - this.props.s3.endpoint && - this.props.s3.accessKeyId + ( this.props.s3.credential...
s_client.pod: Fix grammar in NOTES section. CLA: trivial
@@ -872,7 +872,7 @@ server. This command is a test tool and is designed to continue the handshake after any certificate verification errors. As a result it will -accept any certificate chain (trusted or not) sent by the peer. None test +accept any certificate chain (trusted or not) sent by the peer. Non-test applicatio...
BugID:17134554:[coap]fix error invoking of udp hal
@@ -159,7 +159,7 @@ unsigned int Cloud_CoAPNetwork_init(const coap_network_init_t *p_param, coap_net if (COAP_ENDPOINT_NOSEC == p_param->ep_type || COAP_ENDPOINT_PSK == p_param->ep_type) { /*Create udp socket*/ - p_network->context = (void *)HAL_UDP_create_without_connect(p_param->p_host, p_param->port); + p_network->c...
settings: add shortcut config
@@ -17,6 +17,13 @@ export interface SettingsState extends BaseState<SettingsState> { hideGroups: boolean; hideUtilities: boolean; }; + keyboard: { + cycleForward: string; + cycleBack: string; + navForward: string; + navBack: string; + hideSidebar: string; + } remoteContentPolicy: RemoteContentPolicy; leap: { categories...
fix(porting): fix typo and an unmatched prototype
**********************/ static void fs_init(void); -static void * fs_open(lv_fs_drv_t * drv, void * file_p, const char * path, lv_fs_mode_t mode); +static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode); static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p); static lv_fs_res_t fs_read(lv...
doc: uart rs485 fix incorrect sch circuit label
@@ -353,7 +353,7 @@ Circuit C: Auto Switching Transmitter/Receiver VCC1 <-------------------+-----------+ +-------------------+----> VCC2 10K ____ | | | | +---|____|--+ +---x-----------x---+ 10K ____ | - | | | +---|____|--+ GND2 + | | | +---|____|--+ RX <----------+-------------------| RXD | | 10K ____ | A|---+--------...
[mod_dirlisting] check for disabled cache at start check for explicitly disabled cache during startup config (dir-listing.cache = ("max-age" => 0)) (e.g. to disable after having been enabled)
@@ -460,6 +460,10 @@ SETDEFAULTS_FUNC(mod_dirlisting_set_defaults) { case 15:/* dir-listing.cache */ cpv->v.v = mod_dirlisting_parse_cache(srv, cpv->v.a); if (NULL == cpv->v.v) return HANDLER_ERROR; + if (0 == ((struct dirlist_cache *)cpv->v.v)->max_age) { + free(cpv->v.v); + cpv->v.v = NULL; /*(to disable after having...
tests: internal: fstore: enable win compatibility
#include <fluent-bit/flb_info.h> #include <fluent-bit/flb_fstore.h> #include <fluent-bit/flb_mem.h> +#include <fluent-bit/flb_compat.h> #include <chunkio/chunkio.h> #include <chunkio/cio_utils.h> #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> + #define FSF_STORE_PATH "/tmp/flb-fstore"
sysdeps/qword: add tcsetattr and tcgetattr syscalls
@@ -308,10 +308,31 @@ int sys_lstat(const char *path, struct stat *statbuf) { int sys_chroot(const char *path) STUB_ONLY int sys_mkdir(const char *path) STUB_ONLY int sys_tcgetattr(int fd, struct termios *attr) { - mlibc::infoLogger() << "mlibc: " << __func__ << " is a stub!" << frg::endlog; - return ENOSYS; + int ret;...
jdk 11.0.2
@@ -5,11 +5,11 @@ IF(USE_SYSTEM_JDK) MESSAGE(WARNING System JDK $USE_SYSTEM_JDK will be used) ELSEIF(JDK_VERSION STREQUAL "11") IF(HOST_OS_LINUX) - DECLARE_EXTERNAL_RESOURCE(JDK sbr:750420766) + DECLARE_EXTERNAL_RESOURCE(JDK sbr:810391789) ELSEIF(HOST_OS_WINDOWS) - DECLARE_EXTERNAL_RESOURCE(JDK sbr:750429670) + DECLARE...
suppress clang undefined behavior sanitizer in EnvmapAttribute::copyValuesFrom()
@@ -61,7 +61,9 @@ template <> IMF_EXPORT void EnvmapAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &, int, int); - +template <> IMF_EXPORT +void +EnvmapAttribute::copyValueFrom (const OPENEXR_IMF_INTERNAL_NAMESPACE::Attribute &other); OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Migrate Spglib dataset doc to myst
@@ -56,7 +56,7 @@ printf("%s\n", spg_get_error_message(error)); ## General -(_api_spg_get_symmetry)= +(api_spg_get_symmetry)= ### ``spg_get_symmetry`` This function finds a set of representative symmetry operations for @@ -124,7 +124,7 @@ int spg_get_schoenflies(char symbol[7], The standardized unit cell (see {ref}`def...
Fix some issue of comment and help for nat feature
@@ -1246,7 +1246,7 @@ done: VLIB_CLI_COMMAND (add_address_command, static) = { .path = "nat44 add address", - .short_help = "nat44 add addresses <ip4-range-start> [- <ip4-range-end>] " + .short_help = "nat44 add address <ip4-range-start> [- <ip4-range-end>] " "[tenant-vrf <vrf-id>] [del]", .function = add_address_comma...
core/test/run-trace: Reduce number of samples when running under valgrind This reduces 'make check' run time by ~10 seconds on my laptop, and just the run-trace test itself takes 15 seconds less (under valgrind).
#include <sys/types.h> #include <sys/wait.h> +#include <valgrind/valgrind.h> + /* Don't include these: PPC-specific */ #define __CPU_H #define __TIME_H @@ -130,7 +132,7 @@ static struct cpu_thread *this_cpu(void) } #include <sys/mman.h> -#define PER_CHILD_TRACES (1024*1024) +#define PER_CHILD_TRACES ((RUNNING_ON_VALGRI...
Delete renamed new incr when write manifest failed Followup fix for
@@ -2517,7 +2517,8 @@ void backgroundRewriteDoneHandler(int exitcode, int bysignal) { if (!bysignal && exitcode == 0) { char tmpfile[256]; long long now = ustime(); - sds new_base_filename; + sds new_base_filepath = NULL; + sds new_incr_filepath = NULL; aofManifest *temp_am; mstime_t latency; @@ -2534,9 +2535,9 @@ void...
replaces call to +lor in :ask
tan+(flop (turn a message)) :: ++ adrs - =- (sort - lor) + =- (sort - |=([a=[=time *] b=[=time *]] (lth time.a time.b))) %+ turn ~(tap by adr) |=({a/email b/time c/invited} [tym=b ask=a inv=c]) ::
remove clam from error sigpam
^+ +> =. our ?~(hov our u.hov) :: XX ?: &(?=({?($of $ow) ^} tee) !(~(has by wix) p.tee)) - ~&(dead-ire+[`whir`tee ({term term ~} +.sih)] +>) + ~&(dead-ire+[`whir`tee] +>) ?- &2.sih $crud +>.$(mow [[hen %slip %d %flog +.sih] mow]) :: $dumb
Fix type for iv size and block size in tests
static int check_cipher_info( mbedtls_cipher_type_t type, const mbedtls_cipher_info_t *info ) { - size_t key_bitlen; - int block_size, iv_size; + size_t key_bitlen, block_size, iv_size; TEST_ASSERT( info != NULL ); TEST_EQUAL( type, mbedtls_cipher_info_get_type( info ) );
Fix datetime extraction in discovery handler
@@ -272,7 +272,7 @@ void DeRestPluginPrivate::internetDiscoveryExtractVersionInfo(QNetworkReply *rep QString date = reply->rawHeader("date"); if (date.isEmpty()) { - reply->rawHeader("Date"); + date = reply->rawHeader("Date"); } DBG_Printf(DBG_INFO, "discovery server date: %s\n", qPrintable(date));
build/tools/esp32: Remove dependent for make target "romfs" if dependent "ROMFS_IMG" image not exist, "No rule to make target" error will report, and this image will be checked by another script, so this dependent can be removed.
@@ -80,7 +80,7 @@ OS:app-flash ROMFS:romfs -romfs: $(ROMFS_IMG) $(ESPTOOLPY_SRC) +romfs: $(ESPTOOLPY_SRC) ifneq ($(ROMFS_OFFSET),-1) @echo "Flashing romfs image to serial port $(ESPPORT), offset $(ROMFS_OFFSET)..." $(ESPTOOLPY_WRITE_FLASH) $(ROMFS_OFFSET) $(ROMFS_IMG)
BUFR-problem: unsupported operator 3 (Part 1)
@@ -2373,6 +2373,30 @@ static int process_elements(grib_accessor* a,int flag,long onlySubset,long start case 2: /* Operator */ switch(descriptors[i]->X) { +#if 0 + case 3: + /* TODO: 203YYY */ + if (descriptors[i]->Y == 255) { + printf("Debug: operator 203YYY: Termination\n"); + } else if (descriptors[i]->Y == 0) { + p...
BigIntOrderedMap: remove lodash dependency
-import _ from 'lodash'; import { immerable } from 'immer'; import bigInt, { BigInteger } from "big-integer"; @@ -17,7 +16,7 @@ export default class BigIntOrderedMap<V> implements Iterable<[BigInteger, V]> { [immerable] = true; constructor(items: [BigInteger, V][] = []) { - _.forEach(items, ([key, val]) => { + items.fo...
fix shiftview
@@ -5264,10 +5264,9 @@ shiftview(const Arg *arg) do { if(i > 0) // left circular shift - nextseltags = (curseltags << i) | (curseltags >> (LENGTH(tags) - i)); - + nextseltags = (curseltags << i) | (curseltags >> (LENGTH(tags) - 1 - i)); else // right circular shift - nextseltags = curseltags >> (- i) | (curseltags << (...
Delete perf stream ctx if closed
@@ -357,6 +357,11 @@ quicperf_stream_ctx_t* quicperf_create_stream_ctx(quicperf_ctx_t* ctx, uint64_t return stream_ctx; } +void quicperf_delete_stream_ctx(quicperf_ctx_t* ctx, quicperf_stream_ctx_t* stream_ctx) +{ + picosplay_delete_hint(&ctx->quicperf_stream_tree, &stream_ctx->quicperf_stream_node); +} + int quicperf_...
destroy bson_reader before exit
@@ -723,6 +723,7 @@ again: bson_iter_init (&iter, &command->cmd_opts); if (!mongoc_cmd_parts_append_opts ( &parts, &iter, server_stream->sd->max_wire_version, error)) { + bson_reader_destroy (reader); bson_destroy (&cmd); mongoc_cmd_parts_cleanup (&parts); EXIT;
Fix put sample size verification on Streaming
@@ -59,13 +59,13 @@ void Stream_ResetStreamingChannel(streaming_channel_t *stream) ******************************************************************************/ uint16_t Stream_PutSample(streaming_channel_t *stream, const void *data, uint16_t size) { - if (((size * stream->data_size) + stream->data_ptr) > stream->end...
Prototype 32b CI crosscompile
@@ -22,6 +22,14 @@ commands: -DCMAKE_BUILD_TYPE=Release \ . - run: make -j 16 VERBOSE=1 + build-32b: + steps: + - run: > + cmake -DWITH_TESTS=ON \ + -DCMAKE_BUILD_TYPE=Debug \ + -DCMAKE_TOOLCHAIN_FILE=misc/toolchain_m32.cmake + . + - run: make -j 16 VERBOSE=1 test: steps: - run: ctest -VV @@ -87,6 +95,17 @@ jobs: - bui...
Sensor location opcode handling fix. Sensor location opcodes handled by SC control point only if multiple sensor locations feature is enabled.
@@ -241,6 +241,7 @@ gatt_svr_chr_access_sc_control_point(uint16_t conn_handle, break; #endif +#if (CSC_FEATURES & CSC_FEATURE_MULTIPLE_SENSOR_LOC) case SC_CP_OP_UPDATE_SENSOR_LOCATION: /* Read new sensor location value*/ rc = os_mbuf_copydata(ctxt->om, 1, 1, &new_sensor_location); @@ -265,6 +266,7 @@ gatt_svr_chr_acces...
[readme] example config location
@@ -56,7 +56,7 @@ MangoHud comes with a config file which can be used to set configuration options 2. `$HOME/.config/MangoHud/{application_name}.conf` 3. `$HOME/.config/MangoHud/MangoHud.conf` -The default config file is installed to `$HOME/.config/MangoHud/MangoHud.conf` and will not be overwritten by the script. +You...
fuzz: Use identical file-names per each fuzzing thread
static pthread_t fuzz_mainThread; -static void fuzz_getFileName(honggfuzz_t * hfuzz, char *fileName) +static void fuzz_getFileName(honggfuzz_t * hfuzz, fuzzer_t * fuzzer) { - struct timeval tv; - gettimeofday(&tv, NULL); - - snprintf(fileName, PATH_MAX, "%s/.honggfuzz.%d.%lu.%" PRIx64 ".%s", hfuzz->workDir, - (int)getp...
Add example/json-to-cbor
- Added `endwhile` syntax. - Added `example/convert-to-nia`. - Added `example/imageviewer`. +- Added `example/json-to-cbor`. +- Added `example/jsonfindptrs`. - Added `example/jsonptr`. - Added `std/bmp`. - Added `std/cbor`.
Fix nat44 identity mapping Set l_addr to the interface address if the interface address is known when the identity mapping is created.
@@ -466,7 +466,12 @@ int snat_add_static_mapping(ip4_address_t l_addr, ip4_address_t e_addr, return 0; } else + { e_addr.as_u32 = first_int_addr->as_u32; + /* Identity mapping? */ + if (l_addr.as_u32 == 0) + l_addr.as_u32 = e_addr.as_u32; + } } m_key.addr = e_addr;
Updated .deb packaging workflow.
-name: arm64 .deb packaging +name: .deb packaging on: workflow_dispatch: @@ -79,7 +79,6 @@ jobs: # ${PWD}/artifacts on the host. run: | pwd - ls -lath ls -lath "${PWD}/artifacts" - name: 'Upload deb package'
[awm] Mouse cursor starts off in the screen center
@@ -783,6 +783,9 @@ static void _awm_init(void) { rect_mid_y(screen_frame), (float)_g_background->size.height * 0.65 ); + + // Move the cursor to the middle of the screen + mouse_pos = (Point){.x = screen_frame.size.width / 2, .y = screen_frame.size.height / 2}; } static void _awm_process_amc_messages(bool should_block...
removed wlanresponse
@@ -32,7 +32,6 @@ ifeq ($(GPIOSUPPORT), on) endif ifeq ($(HOSTOS), Linux) $(CC) $(CFLAGS) -o wlandump-ng wlandump-ng.c -lpcap -lrt $(LFLAGS) - $(CC) $(CFLAGS) -o wlanresponse wlanresponse.c -lpcap -lrt $(LFLAGS) $(CC) $(CFLAGS) -o wlanrcascan wlanrcascan.c -lpcap endif $(CC) $(CFLAGS) -o wlancapinfo wlancapinfo.c -lpca...
Correct sorting of rdata
@@ -630,26 +630,32 @@ static int sldns_str2wire_check_svcbparams(uint8_t* rdata, uint16_t rdata_len) uint8_t* new_rdata_ptr = new_rdata; uint8_t* svcparams[64]; uint8_t* mandatory = NULL; + uint8_t* rdata_ptr = rdata; + uint16_t rdata_remaining = rdata_len; /* find the SvcParams */ - while (rdata_len) { + while (rdata_...
in_collectd: add missing type casting
@@ -88,7 +88,7 @@ static int in_collectd_init(struct flb_input_instance *in, if (in->host.port) { port = in->host.port; } - snprintf(ctx->port, sizeof(ctx->port), "%hu", port); + snprintf(ctx->port, sizeof(ctx->port), "%hu", (unsigned short) port); /* TypesDB */ tmp = flb_input_get_property("typesdb", in);
Optimize access to global variables Get the reference to the upbalue table once at the top of the function, and reuse it.
@@ -311,15 +311,43 @@ generate_program = function(prog, modname) c_declaration(ctype(typ), local_name(name))) end + local body = {} + if #tl_node._referenced_globals > 0 then + local closure = tmp_name() + local closure_decl = c_declaration("CClosure *", closure) + local t = "titan_globals_table" + local t_decl = c_dec...
added -std=c++11 when FastBit 2.X is beign used
@@ -46,11 +46,15 @@ INCLUDE(${VISIT_SOURCE_DIR}/CMake/SetUpThirdParty.cmake) IF(DEFINED FASTBIT_VERSION) IF(${FASTBIT_VERSION} VERSION_LESS "2.0.0") + MESSAGE(STATUS " FASTBIT_VERSION is set for FastBit 1.X") SET(FB_INCLUDE include) ELSE(${FASTBIT_VERSION} VERSION_LESS "2.0.0") + MESSAGE(STATUS " FASTBIT_VERSION is set...
make sure blackbox resource files always created
@@ -57,7 +57,7 @@ HARNESS_TARGETS = $(HARNESS_FILE) $(HARNESS_SMEMS_CONF) $(HARNESS_ANNO) $(HARNES .INTERMEDIATE: firrtl_temp $(TOP_TARGETS) $(HARNESS_TARGETS): firrtl_temp firrtl_temp: $(FIRRTL_FILE) $(ANNO_FILE) - cd $(base_dir) && $(SBT) "project tapeout" "runMain barstools.tapeout.transforms.GenerateTopAndHarness -...
pkg/gadgets/trace/network/types: Sync naming with other tracers
@@ -29,7 +29,7 @@ type Event struct { PktType string `json:"pktType,omitempty" column:"type,maxWidth:9"` Proto string `json:"proto,omitempty" column:"proto,maxWidth:5"` Addr string `json:"addr,omitempty" column:"addr,template:ipaddr,hide"` - Port uint16 `json:"port,omitempty" column:"ipport,template:ipport"` + Port uin...
Appveyor: Fix build with MinGW.
@@ -27,12 +27,16 @@ environment: PLATFORM: x64 install: - - if "%COMPILER%"=="mingw" set PATH=C:\MinGW\bin;%PATH% - - if "%COMPILER%"=="mingw-w64" set PATH=C:\MinGW\bin;%PATH% - ps: choco install -y -r swig --version 3.0.9 - ps: choco install -y -r lua - ps: refreshenv +before_build: + # sh.exe must not be in PATH when...
Update door_lock.json
"schema": "subdevice1.schema.json", "type": "$TYPE_DOOR_LOCK", "name": "Door Lock", - "restapi": "/lights", + "restapi": "/sensors", "order": 11, "uuid": ["$address.ext", "0x01"], "items": [
config_tools: fix the issue that fail to generate launch script fix the issue that fail to generate launch script when to disable CPU sharing.
@@ -350,7 +350,7 @@ def vm_cpu_affinity_check(config_file, id_cpus_per_vm_dic, item): cpu_affinity = common.get_leaf_tag_map(config_file, "cpu_affinity", "pcpu_id") for vm_i in id_cpus_per_vm_dic.keys(): for cpu in id_cpus_per_vm_dic[vm_i]: - if cpu in use_cpus and not cpu_sharing_enabled: + if cpu is not None and cpu ...
include -m option for useradd
@@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT %pre getent passwd %{testuser} >/dev/null || \ /usr/sbin/useradd -U -c "OpenHPC integration test account" \ - -s /bin/bash -d /home/%{testuser} %{testuser} + -s /bin/bash -m -b /home %{testuser} exit 0 %post
options/posix: implement wait3
@@ -29,9 +29,11 @@ pid_t wait(int *status) { return waitpid(-1, status, 0); } -pid_t wait3(int *, int, struct rusage *) { - __ensure(!"Not implemented"); - __builtin_unreachable(); +pid_t wait3(int *status, int options, struct rusage *rusage) { + (void) rusage; + mlibc::infoLogger() << "\e[31mmlibc: wait3() is not impl...