message
stringlengths
6
474
diff
stringlengths
8
5.22k
Add influxdb bind points for azure.
@@ -123,6 +123,9 @@ services: - type: bind source: ./scope target: /usr/bin/scope + - type: bind + source: ./go/influx/db + target: /go/influx/db go_9: build: cache_from: @@ -135,6 +138,9 @@ services: - type: bind source: ./scope target: /usr/bin/scope + - type: bind + source: ./go/influx/db + target: /go/influx/db go_...
Analysis workflow, provide SHELL.
@@ -289,8 +289,8 @@ jobs: curl -L -k -s -S -o expat-2.2.10.tar.gz https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.gz tar xzf expat-2.2.10.tar.gz cd expat-2.2.10 - echo "./configure --prefix=\"$prepath/expat\" --exec-prefix=\"$prepath/expat\" --bindir=\"$prepath/expat/bin\" --includedir=...
vere: adds lmdb/disk info to cmd
@@ -690,34 +690,6 @@ _stop_on_boot_completed_cb() u3_king_exit(); } -// XX move to _cw_info -// -static c3_i -_debug_db_stats(const c3_c* dir_c) -{ -#if defined(U3_CPU_aarch64) && defined(U3_OS_linux) - const size_t siz_i = 64424509440; -#else - const size_t siz_i = 1099511627776; -#endif - - c3_c* log_c = c3_malloc(10...
ci: Change TF-M log level Change the log level of TF-M so that the message that the CI is looking for appears in the output.
@@ -37,6 +37,7 @@ fi mkdir -p $TFM_BUILD_DIR cd $TFM_DIR cmake -B $TFM_BUILD_DIR \ + -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO \ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ -DTFM_TOOLCHAIN_FILE=toolchain_GNUARM.cmake \ -DTFM_PLATFORM=arm/mps2/an521 \
bluez5: trivial fix to RDEPENDS
@@ -52,4 +52,4 @@ FILES_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_FIRMWARE}" SYSTEMD_SERVICE_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_SERVICE}" -RDEPENDS_${PN}_append_raspebrrypi0-wifi = " udev-rules-rpi" +RDEPENDS_${PN}_append_raspberrypi0-wifi = " udev-rules-rpi"
update version in version checker
@@ -35,7 +35,7 @@ KERNEL_IGNORED_PATTERNS = [ KERNEL_HEADER = [ '/*\n', - ' * FreeRTOS Kernel V10.4.2\n', + ' * FreeRTOS Kernel V10.4.3\n', ' * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n', ' *\n', ' * Permission is hereby granted, free of charge, to any person obtaining a copy of\n',
mbedtls: update kconfig help to correct on supported MPI bits
@@ -276,7 +276,7 @@ menu "mbedTLS" Enable hardware accelerated multiple precision integer operations. Hardware accelerated multiplication, modulo multiplication, - and modular exponentiation for up to 4096 bit results. + and modular exponentiation for up to SOC_RSA_MAX_BIT_LEN bit results. These operations are used by ...
fix ipv6 address format
@@ -238,22 +238,25 @@ const char *str_af( int af ) { const char *str_addr( const IP *addr ) { static char addrbuf[FULL_ADDSTRLEN + 1]; char buf[INET6_ADDRSTRLEN + 1]; - uint16_t port; + const char *fmt; + int port; switch( addr->ss_family ) { case AF_INET6: port = ((IP6 *)addr)->sin6_port; inet_ntop( AF_INET6, &((IP6 *...
Same file name is not permitted overall!
{ "package": { - "name": "snapshots", + "name": "bin", "repo": "brotli", "subject": "eustas" }, - "version": { - "name": "${TRAVIS_OS_NAME}-${RELEASE_DATE}", - "desc": "Binary Artifacts (Dev)", - "released": "${RELEASE_DATE}", - "gpgSign": false - }, + "version": {"name": "snapshot"}, "files": [ { "includePattern": "br...
Trying an appveyor fix
<SDLCheck>true</SDLCheck> <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ConformanceMode>true</ConformanceMode> - <AdditionalIncludeDirectories>$(SolutionDir)\picoquic;$(SolutionDir)\picohttp;$(SolutionDir)\loglib</AdditionalIncludeDirectories> <TreatWarningAsError>...
[chainmaker][#436]modify contratc BoatHlChainmakerTxInit parameters
@@ -75,7 +75,7 @@ static BOAT_RESULT test_contrct_invoke_prepara(BoatHlchainmakerTx *tx_ptr) } /* step-3: Chainmaker transaction structure initialization */ - result = BoatHlChainmakerTxInit(g_chaninmaker_wallet_ptr, TEST_CHAINMAKER_CHAIN_ID, TEST_CHAINMAKER_ORG_ID, tx_ptr); + result = BoatHlChainmakerTxInit(g_chaninma...
Defer connection close if data is in flight. h2o may have tried to send a GOAWAY, but it is possible that the socket was not yet writable. In this case, the connection close cannot happen now, it must be deferred and closed in `on_write_complete`, instead.
@@ -1440,7 +1440,7 @@ void do_emit_writereq(h2o_http2_conn_t *conn) conn->state = H2O_HTTP2_CONN_STATE_IS_CLOSING; /* fall-thru */ case H2O_HTTP2_CONN_STATE_IS_CLOSING: - close_connection_now(conn); + close_connection(conn); break; } }
Allow yet another a.out amdgpu spelling
@@ -61,7 +61,8 @@ $(TESTNAME).exe: $(TESTNAME).$(FILETYPE) test -f test_omp-host-x86_64-unknown-linux-gnu.o test -f a.out-openmp-amdgcn-amd-amdhsa && \ cp a.out-openmp-amdgcn-amd-amdhsa a.out-openmp-amdgcn-amd-amdhsa-${AOMP_GPU} || \ - cp a.out-openmp-amdgcn-amd-amdhsa-${AOMP_GPU} a.out-openmp-amdgcn-amd-amdhsa + cp a....
port valgrind fix from Neil Wilson
@@ -321,7 +321,7 @@ bool MapVisitor::VisitCallExpr(CallExpr *Call) { ProbeVisitor::ProbeVisitor(ASTContext &C, Rewriter &rewriter, set<Decl *> &m, bool track_helpers) : - C(C), rewriter_(rewriter), m_(m), track_helpers_(track_helpers), + C(C), rewriter_(rewriter), m_(m), ctx_(nullptr), track_helpers_(track_helpers), ad...
Clean up gen.writeStatementAssign a little bit
@@ -102,7 +102,7 @@ func (g *gen) writeStatementAssign(b *buffer, } depth++ - if op != 0 && rhsExpr != nil && rhsExpr.Effect().Coroutine() { + if op != 0 && rhsExpr.Effect().Coroutine() { if err := g.writeQuestionCall(b, rhsExpr, depth, op == t.IDEqQuestion); err != nil { return err } @@ -122,11 +122,7 @@ func (g *gen)...
pkeyutil: check return value reading password
@@ -331,9 +331,18 @@ int pkeyutl_main(int argc, char **argv) if (passin == NULL) { /* Get password interactively */ char passwd_buf[4096]; + int r; + BIO_snprintf(passwd_buf, sizeof(passwd_buf), "Enter %s: ", opt); - EVP_read_pw_string(passwd_buf, sizeof(passwd_buf) - 1, + r = EVP_read_pw_string(passwd_buf, sizeof(pass...
tests/run-tests: Don't test for --target=unix with "pyb is None". If we test for unix target, do that explicitly. pyb var will be None for commands like --list-tests too.
@@ -287,14 +287,14 @@ def run_tests(pyb, tests, args, base_path="."): skip_tests.add('cmdline/cmd_parsetree.py') # Some tests shouldn't be run on a PC - if pyb is None: + if args.target == 'unix': # unix build does not have the GIL so can't run thread mutation tests for t in tests: if t.startswith('thread/mutate_'): sk...
options/posix: Fix an maybe uninitialized warning
@@ -76,6 +76,9 @@ FILE *popen(const char *command, const char *typestr) { is_write = true; } else if (strstr(typestr, "r") != NULL) { is_write = false; + } else { + errno = EINVAL; + return nullptr; } bool cloexec = false;
VERSION bump to version 0.12.54
@@ -34,7 +34,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 53) +set(LIBNETCONF2_MICRO_VERSION 54) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
Audio source: unqueue before playing
@@ -170,6 +170,12 @@ void lovrSourcePlay(Source* source) { lovrAudioStreamRewind(source->stream); } + // in case we have some queued buffers, make sure to unqueue them before streaming more data into them. + ALint processed; + alGetSourcei(lovrSourceGetId(source), AL_BUFFERS_PROCESSED, &processed); + ALuint buffers[SOU...
Fix logic of state directory existence check.
@@ -64,7 +64,7 @@ main(int argc, /* I - Number of command-line args */ if (i >= argc) usage(1); - if (!access(argv[i], R_OK) && !mkdir(argv[i], 0700)) + if (access(argv[i], R_OK) && mkdir(argv[i], 0700)) { fprintf(stderr, "ippserver: Unable to access state directory \"%s\": %s\n", argv[i], strerror(errno)); usage(1);
Fix VKBindings assert
@@ -99,7 +99,7 @@ std::vector<VKBindInfo> VKBindings::InitializeMods(std::vector<VKBindInfo> aVKBi } // insert CET overlay bind info - assert(m_pOverlay); // overlay must be set before first use! + assert(m_cpOverlay); // overlay must be set before first use! const auto overlayKeyBind { m_cpOverlay->GetBind() }; const ...
increment challenges_send
@@ -193,7 +193,7 @@ static struct bob_resource *bob_next_resource( void ) { return NULL; } -static void bob_send_challenge( int sock, const struct bob_resource *resource ) { +static void bob_send_challenge( int sock, struct bob_resource *resource ) { uint8_t buf[3 + ECPARAMS_SIZE + CHALLENGE_BIN_LENGTH]; #ifdef DEBUG c...
update-submodule.sh: filter out merge commits Merge commits contain the Cooja PR number which creates false references to Contiki-NG tickets upon merge.
@@ -59,6 +59,9 @@ cd "$module" commitfile=$(mktemp) echo -e "Update $module submodule\n\nCommits:" >> "$commitfile" git --no-pager log --oneline --no-decorate $old..$new >> "$commitfile" +# Filter out merge commits, they reference the Cooja PR number +# and create false references to the Contiki-NG PR/issue tracker. +p...
Fixed issues with codeblocks where they prevented subsequent items from being processed properly. Codeblocks can now contain newlines.
?~ hac . %= . hac t.hac - cur [p.i.hac (weld fine q.i.hac)] + cur [p.i.hac (concat-code (weld fine q.i.hac))] == :: :: + ++ concat-code + |= a/flow + ?~ a a + ?. ?=({$pre *} -.i.a) a + |- + ?~ t.a a + ?. ?=({$pre $~} -.i.t.a) a + :: add blank line between blocks + $(t.a t.t.a, c.i.a (welp c.i.t.a ;/("\0a") c.i.a)) + ::...
but my fix for the comment was wrong, remove this part of the fix.
@@ -178,7 +178,7 @@ call_hook(struct module_qstate* qstate, struct ipsecmod_qstate* iq, char str[65535], *s, *tempstring; int w; struct ub_packed_rrset_key* rrset_key; - struct packed_rrset_data* rrset_data; /* IPSECKEY rrset. */ + struct packed_rrset_data* rrset_data; uint8_t *tempdata; /* Check if a shell is availabl...
Travis: update installed gem version net-ssh
@@ -26,6 +26,6 @@ gem install rdoc -v 4.2.2 --no-document gem install deep_merge -v 1.1.1 --no-document gem install nokogiri -v 1.10.4 --no-document gem install net-scp -v 1.2.1 --no-document -gem install net-ssh -v 4.2.0 --no-document +gem install net-ssh -v 6.0.2 --no-document #fi
{AH} treat border case of all bases in pileup column below quality score
@@ -2966,7 +2966,6 @@ cdef class PileupColumn: buf[n] = p.b.core.qual + 33 n += 1 assert n < MAX_PILEUP_BUFFER_SIZE - if not p.is_del: if p.qpos < p.b.core.l_qseq: cc = <uint8_t>seq_nt16_str[bam_seqi(bam_get_seq(p.b), p.qpos)] @@ -3032,6 +3031,10 @@ cdef class PileupColumn: n += 1 assert n < MAX_PILEUP_BUFFER_SIZE + if...
backed heap unmap() on dealloc
@@ -17,6 +17,7 @@ static void physically_backed_dealloc(heap h, u64 x, bytes length) deallocate(b->physical, physical_from_virtual(pointer_from_u64(x)), length); deallocate(b->virtual, pointer_from_u64(x), length); + unmap(x, length, b->pages); }
ip: improve check_adj_port_range_x1 Type: improvement
@@ -99,48 +99,18 @@ static inline u32 check_adj_port_range_x1 (const protocol_port_range_dpo_t * ppr_dpo, u16 dst_port, u32 next) { - u16x8vec_t key; - u16x8vec_t diff1; - u16x8vec_t diff2; - u16x8vec_t sum, sum_equal_diff2; - u16 sum_nonzero, sum_equal, winner_mask; + u16x8 key = u16x8_splat (dst_port); int i; if (NUL...
Fix for family reset on armcc Partial revert of [eb3fa9d2]
@@ -44,20 +44,20 @@ const target_family_descriptor_t g_sw_sysresetreq_family = { }; // Weak references to family definitions. -extern __WEAK const target_family_descriptor_t g_nxp_kinetis_kseries; -extern __WEAK const target_family_descriptor_t g_nxp_kinetis_lseries; -extern __WEAK const target_family_descriptor_t g_nx...
Fix release date for 5.8-rc1
skiboot-5.8-rc1 =============== -skiboot v5.8-rc1 was released on Monday August 21st 2017. It is the first +skiboot v5.8-rc1 was released on Tuesday August 22nd 2017. It is the first release candidate of skiboot 5.8, which will become the new stable release of skiboot following the 5.7 release, first released 25th July...
qlog: support the handshake_done frame type
@@ -65,6 +65,16 @@ def handle_ack_send(event): "frame_type": "ack", } +def handle_handshake_done_receive(event): + return { + "frame_type": "handshake_done", + } + +def handle_handshake_done_send(event): + return { + "frame_type": "handshake_done", + } + def handle_new_connection_id_receive(event): return { "frame_type...
example/storage: fix find_partition function when no partition is found
@@ -47,8 +47,14 @@ static void find_partition(esp_partition_type_t type, esp_partition_subtype_t su { ESP_LOGI(TAG, "Find partition with type %s, subtype %s, label %s...", get_type_str(type), get_subtype_str(subtype), name == NULL ? "NULL (unspecified)" : name); + const esp_partition_t * part = esp_partition_find_first...
update frame delimiter in luos
@@ -340,7 +340,7 @@ static error_return_t Luos_MsgHandler(service_t *service, msg_t *input) uint8_t wrong = false; for (uint8_t i = 0; i < MAX_ALIAS_SIZE; i++) { - if (input->data[i] == '\r') + if ((input->data[i] == '\n') && (input->data[i - 1] == '\r')) { wrong = true; break;
wifi: Add missing URL len check to u_wifi_mqtt
@@ -393,8 +393,11 @@ static int32_t establishMqttConnectionToBroker(const uMqttClientContext_t *pCont } } - if (err == (int32_t)U_ERROR_COMMON_SUCCESS) { + if (len >= (int32_t)sizeof(url)) { + err = (int32_t)U_ERROR_COMMON_NO_MEMORY; + } + if (err == (int32_t)U_ERROR_COMMON_SUCCESS) { atHandle = pMqttSession->atHandle;...
fix(bot-slash-commands): wrong type being passed as parameter
@@ -133,7 +133,7 @@ void* read_input(void *p_client) code = discord_create_global_application_command( client, g_application_id, - &(struct discord_create_global_application_commands_params){ + &(struct discord_create_global_application_command_params){ .name = cmd_name, .description = cmd_desc, .default_permission = t...
Switch wasm-core-testsuite to v1.1. Resolves
@@ -146,13 +146,13 @@ if not (os.path.isdir("./core") and os.path.isdir("./proposals")): from zipfile import ZipFile from urllib.request import urlopen - officialSpec = "https://github.com/wasm3/wasm-core-testsuite/archive/master.zip" + officialSpec = "https://github.com/wasm3/wasm-core-testsuite/archive/v1.1.zip" prin...
s/mixier/mixer/g fix brew package name
@@ -253,7 +253,7 @@ $ sudo make install 2. Install brew. 3. Execute follow command. ``` -$ brew install sdl2 sdl2_mixier sdl2_ttf +$ brew install sdl2 sdl2_mixer sdl2_ttf ``` ##### Build @@ -287,7 +287,7 @@ $ make install 2. Install brew. 3. Execute follow command. ``` -$ brew install sdl sdl_mixier sdl_ttf +$ brew ins...
Add versioned name for V8 library.
@@ -54,6 +54,7 @@ set(V8_PATHS ~/Library/Frameworks /Library/Frameworks /usr/local + /usr/lib /usr /sw # Fink /opt/local # DarwinPorts @@ -241,6 +242,23 @@ else() set(V8_LIBRARIES ${V8_LIBRARY}) endif() +set(V8_LIBRARIES_VERSION) + +# Set version libraries +if (V8_LIBRARY_DEBUG) + set(V8_LIBRARIES_VERSION + ${V8_LIBRAR...
policer: improvement show policer cli. cli show policer's help info is not consistent with it's arguments. Type: improvement
@@ -779,7 +779,7 @@ show_policer_command_fn (vlib_main_t * vm, /* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_policer_command, static) = { .path = "show policer", - .short_help = "show policer [name]", + .short_help = "show policer [name <name>]", .function = show_policer_command_fn, }; /* *INDENT-ON* */
fix wrong type in debug message
@@ -2120,7 +2120,7 @@ static int ssl_get_ecdh_params_from_cert( mbedtls_ssl_context *ssl ) tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id( peer_key->grp.id ); if( tls_id == 0 ) { - MBEDTLS_SSL_DEBUG_MSG( 1, ( "ECC group %d not suported", + MBEDTLS_SSL_DEBUG_MSG( 1, ( "ECC group %u not suported", peer_key->grp.id ) )...
ACRN:VGPU: Add the missing initialization of vdisplay info Now some fileds are not initialized, which causes that ACRN-DM doesn't handle the request of VIRTIO_GPU_CMD_GET_DISPLAY_INFO and VIRTIO_GPU_CMD_GET_EDID. Acked-by: Wang Yu
@@ -1217,5 +1217,9 @@ int vdpy_parse_cmd_option(const char *opts) pr_info("virtual display: windowed.\n"); } + vdpy.info.xoff = 0; + vdpy.info.yoff = 0; + vdpy.info.width = vdpy.width; + vdpy.info.height = vdpy.height; return error; }
[ctr/lua] preload bug fix
@@ -139,8 +139,7 @@ func preLoadWorker() { txBody := tx.GetBody() recipient := txBody.Recipient - if txBody.Type != types.TxType_NORMAL || len(recipient) == 0 || - txBody.Payload == nil { + if txBody.Type != types.TxType_NORMAL || len(recipient) == 0 { continue }
Clean up failed attempt at ack gap.
@@ -2798,9 +2798,6 @@ int picoquic_is_ack_needed(picoquic_cnx_t* cnx, uint64_t current_time, uint64_t pkt_ctx->first_sack_item.end_of_sack_range > 128 && !pkt_ctx->ack_after_fin) { ack_gap = 4; - if (cnx->path[0]->cwin > 256ull * cnx->path[0]->send_mtu) { - ack_gap = (cnx->path[0]->cwin / (4 * cnx->path[0]->send_mtu));...
Guardian now uses `dap.bol` instead of its hardcoded app name.
|= msg/cord %^ ta-action 0 %phrase :- [[our.bol (main our.bol)] ~ ~] - [%app %talk-guardian msg]~ + [%app dap.bol msg]~ :: ++ ta-evil ::< emit error ::> tracing printf and crash. ^+ +> %+ so-act %phrase :- [[our.bol (main our.bol)] ~ ~] - [%app %talk-guardian msg]~ + [%app dap.bol msg]~ :: ++ so-delta ::< send delta ::...
mmapstorage: refactor file unlinking
@@ -906,22 +906,13 @@ KeySet * copyKeySet (MmapHeader * mmapInfo, KeySet * unlinkKs, MmapHeader * mmap return (KeySet *) dest; } -int elektraMmapstorageSet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned, Key * parentKey) -{ - // set all keys - int errnosave = errno; - DynArray * dynArray = 0; - - KeySet * mappedFil...
Fix setting *node_out in jbn_add_item_bool
@@ -1711,7 +1711,9 @@ iwrc jbn_add_item_bool(JBL_NODE parent, const char *key, bool val, JBL_NODE *nod n->type = JBV_BOOL; n->vbool = val; jbn_add_item(parent, n); - + if (node_out) { + *node_out = n; + } finish: return rc; }
Validate parser parameter to XML_SetDefaultHandlerExpand
@@ -1465,6 +1465,8 @@ void XMLCALL XML_SetDefaultHandlerExpand(XML_Parser parser, XML_DefaultHandler handler) { + if (parser == NULL) + return; defaultHandler = handler; defaultExpandInternalEntities = XML_TRUE; }
memory leak obvious leak of parent_indices
@@ -565,6 +565,9 @@ dpo_stack_from_node (u32 child_node_index, } } dpo_stack_i(edge, dpo, parent); + + /* should free this local vector to avoid memory leak */ + vec_free(parent_indices); } static clib_error_t *
bootloader: fix missing typedef on enum defintion (MINOR CHANGES) Closes
@@ -36,7 +36,7 @@ typedef enum { } esp_image_spi_mode_t; /* SPI flash clock frequency */ -enum { +typedef enum { ESP_IMAGE_SPI_SPEED_40M, ESP_IMAGE_SPI_SPEED_26M, ESP_IMAGE_SPI_SPEED_20M,
Cleanup a FIXME in ATExecAddIndex We used to always dispatch in DefineIndex() but now we do not if it is part of the ALTER TABLE command execution. So we no longer need to skip DefineIndex for QEs. Confirmed and remove this FIXME.
@@ -9005,13 +9005,6 @@ ATExecAddIndex(AlteredTableInfo *tab, Relation rel, /* The IndexStmt has already been through transformIndexStmt */ Assert(stmt->transformed); - /* The index should already be built if we are a QE */ - /* GPDB_12_MERGE_FIXME: it doesn't seem to work that way anymore. */ -#if 0 - if (Gp_role == GP...
Leave only some parts of SDK in iram Leave only some parts of SDK in IRAM
@@ -103,7 +103,24 @@ SECTIONS *(.init.literal) *(.init) - *sdk/esp_iot_sdk_*lib/lib*.a:*(.literal .text) + /* SDK libraries that used in bootup process, interruption handling + * and other ways where flash cache (iROM) is unavailable: */ + *libmain.a:*(.literal .text) + *libnet80211.a:*(.literal .text) + *libphy.a:*(.l...
allow only existing old projects to depend on skynet_pyro4
@@ -217,3 +217,7 @@ ALLOW contrib/python/mpop -> contrib/python/mipp ALLOW weather/workers/nowcasting/preprocess_meteosat -> contrib/python/mipp ALLOW yql/udfs/common/python/python_arc -> contrib/python/mipp DENY .* -> contrib/python/mipp + +ALLOW infra/procman -> contrib/python/skynet_pyro4 +ALLOW skynet -> contrib/py...
[mechanics] Fix some problems when btScalar is float
@@ -689,7 +689,7 @@ void SiconosBulletCollisionManager_impl::createCollisionObject( SP::SiconosBox box, SP::SiconosContactor contactor) { - const double half = 0.5; + const btScalar half = 0.5; #ifdef USE_CONVEXHULL_FOR_BOX const btScalar pts[] = { @@ -904,11 +904,11 @@ void SiconosBulletCollisionManager_impl::updateSh...
Clean up modifier parsing.
@@ -33,8 +33,7 @@ typedef struct ModifierNode { unsigned int mask; } ModifierNode; -static ModifierNode modifiers[] = { - +static const ModifierNode MODIFIERS[] = { { 'C', MASK_CTRL }, { 'S', MASK_SHIFT }, { 'A', MASK_MOD1 }, @@ -42,10 +41,9 @@ static ModifierNode modifiers[] = { { '2', MASK_MOD2 }, { '3', MASK_MOD3 },...
Handle extrapolated blocks with unmodified width using optimized_sad pointer
@@ -328,7 +328,8 @@ static unsigned hor_sad(const kvz_pixel *pic_data, const kvz_pixel *ref_data, */ static unsigned image_interpolated_sad(const kvz_picture *pic, const kvz_picture *ref, int pic_x, int pic_y, int ref_x, int ref_y, - int block_width, int block_height) + int block_width, int block_height, + optimized_sa...
Add os_get_glfw_window; So lovr-keyboard and lovr-mouse and friends can continue to work.
@@ -324,3 +324,13 @@ uint32_t os_vk_create_surface(void* instance, void** surface) { return glfwCreateWindowSurface(instance, glfwState.window, NULL, (VkSurfaceKHR*) surface); } #endif + +#ifdef _WIN32 +#define OS_EXPORT __declspec(dllexport) +#else +#define OS_EXPORT __attribute__((visibility("default"))) +#endif + +O...
no running of ccl_sample_run in travis
@@ -24,7 +24,7 @@ before_install: install: python setup.py install script: - python tests/run_tests.py --debug --detailed-errors --verbose --process-restartworker - - make check-cpp && ./tests/ccl_sample_run + - make check-cpp # Check why the note creation process crashes # - make -C doc/0000-ccl_note
Fixed two bugs in neat_get_property (passing format string to nt_log w/o parameter
@@ -897,13 +897,13 @@ neat_get_property(neat_ctx *ctx, neat_flow *flow, const char* name, void *ptr, s prop = json_object_get(flow->properties, name); if (prop == NULL) { - nt_log(ctx, NEAT_LOG_DEBUG, "Flow has no property named %s"); + nt_log(ctx, NEAT_LOG_DEBUG, "Flow has no property named %s", name); return NEAT_ERR...
CustomSetupTool: Fix updating kph from portable install when not elevated
@@ -438,7 +438,7 @@ VOID SetupStartKph( PhGetString(clientPath), L"-installkph -s", SW_NORMAL, - 0, + PhGetOwnTokenAttributes().Elevated ? 0 : PH_SHELL_EXECUTE_ADMIN, 0, &processHandle ))
Change doxygen code for parameters
@@ -102,7 +102,7 @@ typedef struct { /** * \ingroup ESP_UTILITIES * \brief Set IP address to \ref esp_ip_t variable - * \param[in] ip: Pointer to IP structure + * \param[in] ip_str: Pointer to IP structure * \param[in] ip1,ip2,ip3,ip4: IPv4 parts */ #define ESP_SET_IP(ip_str, ip1, ip2, ip3, ip4) do { (ip_str)->ip[0] = ...
mmap(2): do not read entire file
@@ -171,35 +171,33 @@ static sysreturn mincore(void *addr, u64 length, u8 *vec) return -ENOMEM; } -CLOSURE_4_1(mmap_load_entire, void, thread, u64, u64, u64, buffer); -void mmap_load_entire(thread t, u64 where, u64 len, u64 offset, buffer b) { +CLOSURE_4_2(mmap_read_complete, void, thread, u64, u64, buffer, status, byt...
rtctime: try harder to speak in integers Otherwise we might truncate precision with small floats and that's unlikely to work out well for anyone.
@@ -131,28 +131,27 @@ static int rtctime_set (lua_State *L) if (!rtc_time_check_magic ()) rtc_time_prepare (); - uint32_t sec = luaL_checknumber (L, 1); + uint32_t sec = luaL_checkinteger (L, 1); uint32_t usec = 0; if (lua_isnumber (L, 2)) - usec = lua_tonumber (L, 2); + usec = lua_tointeger (L, 2); struct rtc_timeval ...
update geometricInverse for OMLINK
@@ -185,6 +185,7 @@ class OMLinkKinematics } Eigen::VectorXf geometricInverse(Manipulator* manipulator, Name tool_number, Pose target_pose, float gain) //for basic model + { Eigen::VectorXf target_angle_vector(3); Eigen::Vector3f control_position; //joint6-joint1
Don't need the checkbox; the hook does it
@@ -8,7 +8,6 @@ Contributors guide: https://github.com/openssl/openssl/blob/master/CONTRIBUTING <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [ ] documentation is added or updated - [ ] tests are added or updated -- [ ] CLA is signed ##### Description of change <!-- Provide a descri...
Fixed set int state up for ipsec interfaces
@@ -63,11 +63,11 @@ ipsec_admin_up_down_function (vnet_main_t * vnm, u32 hw_if_index, u32 flags) if (err) return err; - vnet_sw_interface_set_flags (vnm, hi->sw_if_index, + vnet_hw_interface_set_flags (vnm, hw_if_index, VNET_HW_INTERFACE_FLAG_LINK_UP); } else - vnet_sw_interface_set_flags (vnm, hi->sw_if_index, 0 /* do...
feat: use runtime logging to replace compile time switchable logging
@@ -95,7 +95,7 @@ on_success_cb( int httpcode, struct ua_conn *conn) { - DS_NOTOP_PRINT("(%d)%s - %s", + log_trace("(%d)%s - %s", httpcode, http_code_print(httpcode), http_reason_print(httpcode)); @@ -111,7 +111,7 @@ on_failure_cb( { struct _ratelimit_cxt *cxt = p_cxt; - NOTOP_PRINT("(%d)%s - %s", + log_warn("(%d)%s - ...
primus: Switch FAN ID (EC) and USB_A1_RT_RST_ODL (PCH) pin BRANCH=none TEST=make -j BOARD=primus Tested-by: Scott Chao
@@ -27,7 +27,7 @@ GPIO_INT(USB_C0_PPC_INT_ODL, PIN(F, 5), GPIO_INT_FALLING, ppc_interr GPIO_INT(USB_C1_TCPC_INT_ODL, PIN(A, 2), GPIO_INT_FALLING, tcpc_alert_event) GPIO_INT(USB_C1_BC12_INT_ODL, PIN(0, 2), GPIO_INT_FALLING, bc12_interrupt) GPIO_INT(USB_C1_PPC_INT_ODL, PIN(7, 0), GPIO_INT_FALLING, ppc_interrupt) -GPIO_IN...
omxplayer: Bump to head and fix missing native dependency
@@ -7,10 +7,10 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh libomxil coreutils-native" +DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh ...
doc: add some known users
- Embedded: Elektra is on the frontier for embedded systems because of its tiny core and the many possibilities with its plugins. + Known users: + - OpenWRT (distribution) + - Broadcom (blue-ray devices) + - Kapsch (cameras) + - Toshiba (TVs) - Server: Elektra is ideal suited for a local configuration storage by mounti...
Docker: reverted Automatic synchronisation is now set up, so manual pushes to AWS ECR are discouraged.
@@ -97,11 +97,9 @@ build-%: Dockerfile.% tag-%: build-% docker tag unit:$(VERSION)-$* nginx/unit:$(VERSION)-$* - docker tag unit:$(VERSION)-$* public.ecr.aws/nginx/unit:$(VERSION)-$* push-%: tag-% docker push nginx/unit:$(VERSION)-$* - docker push public.ecr.aws/nginx/unit:$(VERSION)-$* $(EXPORT_DIR): mkdir -p $@
fix seg fault in memory cypt when using public clients
#include "utils/stringUtils.h" #include <string.h> +#include <syslog.h> #include <sodium.h> @@ -37,13 +38,19 @@ char* xorCrypt(const char* string, uint64_t key, size_t len) { * @return a pointer to the decrypted string. It has to be freed after usage. */ char* memoryDecrypt(const char* cipher) { - if (cipher == NULL) {...
Error case should return -1, not 0
@@ -54,7 +54,7 @@ static int test_all(void) { if ((r = test(readbuf, writebuf, 512, num_bytes - 512, 500)) != 0) return r; printf("Write beyond end region, should fail (offset %d)\n", num_bytes); - if ((r = test(readbuf, writebuf, 512, num_bytes, 501)) == 0) return r; + if ((r = test(readbuf, writebuf, 512, num_bytes, ...
update HOWTO #no_auto_pr
@@ -266,14 +266,17 @@ make dist-python PYPI_USERNAME=swiftnav PYPI_PASSWORD=... In order to build on Windows, first install the necessary compilers per the instructions [on this Microsoft developer blog][1] (shortcut: install -[Microsoft Visual Studio Community 2019][msvsc2019] and select the -"native Python developmen...
linux/trace: check for func/file == NULL
@@ -164,14 +164,14 @@ void arch_bfdResolveSyms(pid_t pid, funcs_t* funcs, size_t num) { if (bfd_find_nearest_line( bfdParams.bfdh, section, bfdParams.syms, sec_offset, &file, &func, &line) == TRUE) { - snprintf(funcs[i].func, sizeof(funcs->func), "%s", func); - snprintf(funcs[i].file, sizeof(funcs->file), "%s", file); ...
docs: update startup of tftp services
[sms](*\#*) systemctl enable httpd.service [sms](*\#*) systemctl restart httpd [sms](*\#*) systemctl enable dhcpd.service -[sms](*\#*) systemctl enable tftp -[sms](*\#*) systemctl restart tftp +[sms](*\#*) systemctl enable tftp.socket +[sms](*\#*) systemctl start tftp.socket \end{lstlisting} %\end{verbatim} % end_ohpc_...
Fix idle process parent text
* Process properties: General page * * Copyright (C) 2009-2016 wj32 - * Copyright (C) 2016-2021 dmex + * Copyright (C) 2016-2022 dmex * * This file is part of Process Hacker. * @@ -443,8 +443,16 @@ INT_PTR CALLBACK PhpProcessGeneralDlgProc( } else { - PhSetDialogItemText(hwndDlg, IDC_PARENTPROCESS, - PhaFormatString(L"...
in_cpu: fix packer variable
@@ -84,9 +84,9 @@ struct flb_in_cpu_config { "cpu%i.p_%s", i - 1, #key) #define CPU_PACK_SNAP(s, key) \ - msgpack_pack_str(&i_ins->mp_pck, s->k_##key.length); \ - msgpack_pack_str_body(&i_ins->mp_pck, s->k_##key.name, s->k_##key.length); \ - msgpack_pack_double(&i_ins->mp_pck, s->p_##key) + msgpack_pack_str(&mp_pck, s-...
{AH} update docs of infer_query_length, see
@@ -1469,7 +1469,7 @@ cdef class AlignedSegment: return result def infer_query_length(self, always=False): - """infer query length from sequence or CIGAR alignment. + """infer query length from CIGAR alignment. This method deduces the query length from the CIGAR alignment but does not include hard-clipped bases.
Add SCOPE_METRIC_DISABLE env var for demo.
@@ -8,6 +8,7 @@ struct _out_t { transport_t* transport; format_t* format; + int metric_disabled; }; out_t* @@ -19,6 +20,10 @@ outCreate() return NULL; } + // TBD. This is a quick and dirty way to disable metric output. + // Added 31-Jan-2020 for a demo. + out->metric_disabled = (getenv("SCOPE_METRIC_DISABLE") != NULL);...
[test] Add error message for travis
@@ -4065,11 +4065,12 @@ abi.register(oom, p, cp)` `{"Name":"oom"}`, ), ) - errMsg := "string length overflow" + errMsg1 := "string length overflow" + errMsg2 := "not enough memory" if err == nil { - t.Errorf("expected: %s", errMsg) + t.Errorf("expected: %s or %s", errMsg1, errMsg2) } - if err != nil && !strings.Contain...
bootloader: Remove extraneous newlines from some debug statements ESP_LOGD(...) provides its own new lines so remove these from these debug strings.
@@ -494,15 +494,15 @@ static bool should_load(uint32_t load_addr) if (!load_rtc_memory) { if (load_addr >= SOC_RTC_IRAM_LOW && load_addr < SOC_RTC_IRAM_HIGH) { - ESP_LOGD(TAG, "Skipping RTC fast memory segment at 0x%08x\n", load_addr); + ESP_LOGD(TAG, "Skipping RTC fast memory segment at 0x%08x", load_addr); return fal...
chip/stm32: Rename field since "or" is reserved in C++ BRANCH=none TEST=make buildall
@@ -137,7 +137,7 @@ struct timer_ctlr { unsigned dcr; unsigned dmar; - unsigned or; + unsigned option_register; }; /* Must be volatile, or compiler optimizes out repeated accesses */ typedef volatile struct timer_ctlr timer_ctlr_t;
Fleshed out text describing Visual Studio 2015 runtime requirements.
@@ -25,7 +25,7 @@ Two builds are currently provided for each release: * 32 bit (Win32, SDL2 only) binaries also including source code. * 64 bit (x64, SDL2 only) binaries also including source code. -**Warning:** Run `samples.exe` as your first action, if you download these builds. If you get an error about `vcruntime14...
rt1718s/bc12: fix typo TEST=manually BRANCH=none Tested-by: Ting Shen
@@ -331,7 +331,7 @@ static void rt1718s_bc12_usb_charger_task(const int port) while (1) { uint32_t evt = task_wait_event(-1); bool is_non_pd_sink = !pd_capable(port) && - usb_charger_port_is_sourcing_vbus(port) && + !usb_charger_port_is_sourcing_vbus(port) && pd_check_vbus_level(port, VBUS_PRESENT); if (evt & USB_CHG_E...
Fix issue causing that shorter atoms are considered of higher quality than longer ones. Because of the way in which atom quality was being calculated atom {00} was considered better than atom {00 00}.
@@ -160,12 +160,12 @@ int yr_atoms_heuristic_quality( unique_bytes += 1; } - // (atom_length + unique_bytes - penalty + 2) is within the range + // yr_max(atom_length + unique_bytes - penalty, 0) is within the range // [0 - 2 * YR_MAX_ATOM_LENGTH], which means that the function returns a value // in [YR_MAX_ATOM_QUALIT...
CBLK: Add parameters to analysis script
#!/usr/bin/python + +# +# Copyright 2017 International Business Machines +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless requ...
Update datafari_bug.md
>>> Template to declare a bug. -You have 4 priorities to chose from: Prio 1 is for critical matters, Prio 2 is for enhancements meant to be pushed within the next 2 releases, Prio 3 is for things that matter but you're not sure when to push it, Prio 4 is for enhancements that have clearly no priority at all at the time...
TEMPORARY: get latest 'goflying' packages in Makefile.
@@ -13,6 +13,8 @@ all: xgen_gdl90: go get -t -d -v ./main ./test ./godump978 ./uatparse ./sensors + go get -u github.com/westphae/goflying/ahrs + go get -u github.com/westphae/goflying/ahrsweb go build $(BUILDINFO) -p 4 main/gen_gdl90.go main/traffic.go main/gps.go main/network.go main/managementinterface.go main/sdr.g...
Add JobRebroadcastTimeout 0 check for consistency
@@ -143,11 +143,14 @@ namespace Miningcore.Blockchain.Bitcoin } // periodically update transactions for current template + if(poolConfig.JobRebroadcastTimeout > 0) + { triggers.Add(Observable.Timer(jobRebroadcastTimeout) .TakeUntil(pollTimerRestart) .Select(_ => (true, JobRefreshBy.PollRefresh, (string) null)) .Repeat(...
include/queue.h: Format with clang-format BRANCH=none TEST=none
@@ -206,12 +206,8 @@ size_t queue_add_unit(struct queue const *q, const void *src); size_t queue_add_units(struct queue const *q, const void *src, size_t count); /* Add multiple units to queue using supplied memcpy. */ -size_t queue_add_memcpy(struct queue const *q, - const void *src, - size_t count, - void *(*memcpy)(...
Doc/SPI Master: Added description for SPI clock and speed settings
@@ -98,8 +98,8 @@ Phase Description ============== ========================================================================================================= **Command** In this phase, a command (0-16 bit) is written to the bus by the Host. **Address** In this phase, an address (0-{IDF_TARGET_ADDR_LEN} bit) is transmitt...
Negotiate simple if client has zero length CID.
@@ -409,8 +409,17 @@ int picoquic_negotiate_multipath_option(picoquic_cnx_t* cnx) cnx->is_multipath_enabled = 1; break; case 3: - /* same as case 2 */ + /* Peer and local have been programmed to support either simple or full multipath. + * The default response is to do full multipath, but full multipath degrades to + *...
Correctly handle usleep call
@@ -248,7 +248,7 @@ static Value sleepNative(DictuVM *vm, int argCount, Value *args) { double stopTime = AS_NUMBER(args[0]); -#ifdef WIN32 +#ifdef _WIN32 Sleep(stopTime * 1000); #elif _POSIX_C_SOURCE >= 199309L struct timespec ts; @@ -258,9 +258,10 @@ static Value sleepNative(DictuVM *vm, int argCount, Value *args) { #...
[mod_openssl] copy data for larger SSL packets copy small mem chunks into single large buffer before SSL_write() to reduce number times write() called underneath SSL_write() and potentially reduce number of packets generated if socket TCP_NODELAY
@@ -1101,14 +1101,14 @@ static int load_next_chunk (server *srv, chunkqueue *cq, off_t max_bytes, const char **data, size_t *data_len) { - chunk * const c = cq->first; + chunk *c = cq->first; /* local_send_buffer is a 64k sendbuffer (LOCAL_SEND_BUFSIZE) * * it has to stay at the same location all the time to satisfy th...
Changed job tests to use newer GCC versions and compile with C++14.
@@ -11,10 +11,10 @@ matrix: include: - os: osx language: generic - env: BUILD_TOOL=scons + env: BUILD_TOOL=scons CC=gcc - os: osx language: generic - env: BUILD_TOOL=autotools + env: BUILD_TOOL=autotools CC=gcc # sudo is required to prevent xvfb crashes from container-based workers. sudo: required @@ -42,9 +42,9 @@ bef...
sub shm BUGFIX correctly handle empty updated edits Fixes
@@ -693,10 +693,11 @@ sr_shmsub_change_notify_update(struct sr_mod_info_s *mod_info, sr_sid_t sid, uin /* SUB READ UNLOCK */ sr_rwunlock(&multi_sub_shm->lock, SR_LOCK_READ, __func__); - /* collect new edits */ - if (!*update_edit) { + /* collect new edits (resulting edit may be empty) */ + if (!*update_edit || !edit) {...
add additional inforamtions for option -D
@@ -1184,6 +1184,7 @@ printf("%s %s (C) %s ZeroBeat\n" " : all other are unknown\n" "-F <file> : remove bad records and write only flawless records to hccapx file\n" "-D <file> : remove duplicates from the same authentication sequence\n" + " : you must use nonce-error-corrections on that file!\n" "-h : this help\n" "\n...
testing/sensortest: fix bug because of adding custom type
* Pre-processor Definitions ****************************************************************************/ +#define ARRAYSIZE(a) (sizeof(a) / sizeof(a)[0]) #define DEVNAME_FMT "/dev/sensor/%s" #define DEVNAME_MAX 64 @@ -201,7 +202,7 @@ int main(int argc, FAR char *argv[]) g_should_exit = false; name = argv[1]; - for (id...