message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix test_nsalloc_realloc_long_ge_name() to work in builds
@@ -11620,8 +11620,8 @@ START_TEST(test_nsalloc_realloc_long_ge_name) ";" "</doc>"; ExtOption options[] = { - { "foo", "<!ELEMENT el EMPTY>" }, - { "bar", "<el/>" }, + { XCS("foo"), "<!ELEMENT el EMPTY>" }, + { XCS("bar"), "<el/>" }, { NULL, NULL } }; int i;
Update rtdef.h Update version number to v4.0.1
* 2018-11-22 Jesven add smp member to struct rt_thread * add struct rt_cpu * add smp relevant macros + * 2019-01-27 Bernard change version number to v4.0.1 */ #ifndef __RT_DEF_H__ @@ -50,7 +51,7 @@ extern "C" { /* RT-Thread version information */ #define RT_VERSION 4L /**< major version number */ #define RT_SUBVERSION ...
CsrUtil: Fix called-as-tool detection
@@ -109,7 +109,6 @@ UefiMain ( CHAR16 *EndPtr; UINTN Argc; CHAR16 **Argv; - CHAR16 **OldArgv; UINT32 CsrConfig; UINT32 Attributes; @@ -120,7 +119,6 @@ UefiMain ( return Status; } - OldArgv = Argv; Status = SplitArguments (&Argc, &Argv); #ifdef PRINT_ARGUMENTS @@ -295,7 +293,7 @@ UefiMain ( } Print (L")\n"); - if (OldAr...
graph: subscribe to keys globally
@@ -28,7 +28,6 @@ const groupSubscriptions: AppSubscription[] = [ ]; const graphSubscriptions: AppSubscription[] = [ - ['/keys', 'graph-store'], ['/updates', 'graph-store'] ]; @@ -58,6 +57,7 @@ export default class GlobalSubscription extends BaseSubscription<StoreState> { this.subscribe('/all', 's3-store'); this.subscr...
Replace "four bytes" with "two bytes" in macro documentation When writing the documentation 4 bytes was written instead of 2 for MBEDTLS_UINT16_LE
@@ -163,12 +163,12 @@ extern void (*mbedtls_test_hook_test_fail)( const char * test, int line, const c #endif /** - * Get the unsigned 16 bits integer corresponding to four bytes in + * Get the unsigned 16 bits integer corresponding to two bytes in * little-endian order (LSB first). * - * \param data Base address of th...
kpoint.c changed signed type to long
@@ -642,7 +642,7 @@ static size_t get_dense_ir_reciprocal_mesh_normal(int grid_address[][3], /* grid: reducible grid points */ /* ir_mapping_table: the mapping from each point to ir-point. */ - ptrdiff_t i; + long i; size_t grid_point_rot; int j; int address_double[3], address_double_rot[3]; @@ -682,7 +682,7 @@ get_den...
fix: on_ping calling wrong callback
@@ -298,7 +298,7 @@ cws_custom_new(struct websockets *ws, const char ws_protocols[]) .on_connect = &cws_on_connect_cb, .on_text = &cws_on_text_cb, .on_binary = &cws_on_binary_cb, - .on_ping = &cws_on_pong_cb, + .on_ping = &cws_on_ping_cb, .on_pong = &cws_on_pong_cb, .on_close = &cws_on_close_cb, .data = ws
CI: Add some legacy stuff that we do not test in GitHub CI yet There are some options that seem to belong to the legacy build.
@@ -107,7 +107,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: config - run: ./config -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2 && perl configdata.pm --dump + run: ./config -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2 enable-ssl3 enable-ss...
feat(fabric test): add fabric nodes discover test case "Discover_Fail_orgName_ERR"
@@ -513,6 +513,32 @@ START_TEST(test_003NodesDiscover_0011Discover_Fail_ChainID_ERR) } END_TEST +START_TEST(test_003NodesDiscover_0012Discover_Fail_orgName_ERR) +{ + BSINT32 rtnVal; + BoatHlfabricTx tx_ptr; + BoatHlfabricWallet *g_fabric_wallet_ptr = NULL; + BoatHlfabricWalletConfig wallet_config = get_fabric_wallet_se...
Tests: wait for unit.pid file before running tests. Waiting for control.unit.sock was replaced by unit.pid due to current problem with race between connect() and listen() calls for control.unit.sock. This change should be reverted after fix.
@@ -185,7 +185,10 @@ class TestUnit(unittest.TestCase): atexit.register(self.stop) - if not self.waitforfiles(self.testdir + '/control.unit.sock'): + # Due to race between connect() and listen() after the socket binding + # tests waits for unit.pid file which is created after listen(). + + if not self.waitforfiles(self...
Deploy coverage to GitHub pages
@@ -21,9 +21,11 @@ docker run \ ${IMAGE_NAME} /bin/bash -c \ "mkdir build && pushd build && \ cmake ${SRC_DIR} && \ - cmake --build . --target docs && \ + cmake --build . --target docs coverage && \ chown -R $(id -u):$(id -g) docs && \ + chown -R $(id -u):$(id -g) coverage && \ cp -a docs/doxygen ${STORAGE}/doxygen && ...
fixing regexp to remove right spaces
@@ -6,7 +6,7 @@ function pretty.reindent_c(input) local blank = false for line in input:gmatch("([^\n]*)") do local do_print = true - line = line:match("^[ \t]*(.*)[ \t]*$") + line = line:match("^[ \t]*(.-)[ \t]*$") if #line == 0 then if blank or indent > 0 then do_print = false
fix for Possible null pointer dereference
@@ -331,6 +331,7 @@ get_tagged_value: *err |= CborErrorIllegalType; return; } else { + if (*prev) != 0 { (*prev)->next = _alloc_rep(); if ((*prev)->next == NULL) { *err = CborErrorOutOfMemory; @@ -338,6 +339,11 @@ get_tagged_value: } prev = &(*prev)->next; } + else { + *err = CborErrorOutOfMemory; + return; + } + } (*p...
nimble/ll: Fix not re-initializing CSS on HCI reset Reset CSS configuration to defaults on HCI reset. Otherwise we could end up with enabled CSS after HCI reset.
@@ -1198,6 +1198,14 @@ ble_ll_sched_init(void) g_ble_ll_sched_q_head_changed = 0; +#if MYNEWT_VAL(BLE_LL_CONN_STRICT_SCHED) + memset(&g_ble_ll_sched_css, 0, sizeof (g_ble_ll_sched_css)); +#if !MYNEWT_VAL(BLE_LL_CONN_STRICT_SCHED_FIXED) + g_ble_ll_sched_css.slot_us = MYNEWT_VAL(BLE_LL_CONN_STRICT_SCHED_SLOT_US); + g_ble...
no game start
@@ -662,6 +662,7 @@ void attachdiskswapinterface(){ void retro_set_environment(retro_environment_t cb) { struct retro_log_callback logging; + BOOL allow_no_game = true; environ_cb = cb; @@ -688,6 +689,8 @@ void retro_set_environment(retro_environment_t cb) { NULL, NULL }, }; + environ_cb(RETRO_ENVIRONMENT_SET_SUPPORT_N...
rename HPC to SCALAPACK
@@ -19,7 +19,6 @@ MAKEFLAGS += -R AR=./ar_lock.sh # use for ppc64le HPC -HPC?=0 MKL?=0 CUDA?=0 ACML?=0 @@ -27,6 +26,7 @@ OMP?=1 SLINK?=0 DEBUG?=0 FFTWTHREADS?=1 +SCALAPACK?=0 ISMRMRD?=0 NOEXEC_STACK?=0 PARALLEL?=0 @@ -49,9 +49,6 @@ NNAME = $(shell uname -n) MYLINK=ln -ifneq (,$(findstring ppc64le,$(shell uname -r))) - ...
Fix LCOV exclusion symbols in xmlparse.c
@@ -1885,7 +1885,7 @@ XML_Parse(XML_Parser parser, const char *s, int len, int isFinal) XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position); positionPtr = bufferPtr; return XML_STATUS_SUSPENDED; - /* LCOV_EXCL_END */ + /* LCOV_EXCL_STOP */ case XML_INITIALIZED: case XML_PARSING: ps_parsing = XML_FINISHED; @@...
v2.0.30 landed
-ejdb2 (2.0.30) UNRELEASED; urgency=medium +ejdb2 (2.0.30) testing; urgency=medium * Upgraded to iowow v1.3.29 - -- Anton Adamansky <adamansky@gmail.com> Fri, 15 Nov 2019 13:26:58 +0700 + -- Anton Adamansky <adamansky@gmail.com> Fri, 15 Nov 2019 13:55:03 +0700 ejdb2 (2.0.29) testing; urgency=medium
zephyr: main: initialize the buttons Initialize the button states and enables the interrupts. BRANCH=None TEST=With the following CLs, tested the volume buttons working.
#include <sys/printk.h> #include <zephyr.h> +#include "button.h" #include "chipset.h" #include "ec_tasks.h" #include "hooks.h" @@ -47,6 +48,11 @@ void main(void) keyboard_scan_init(); } + if (IS_ENABLED(CONFIG_DEDICATED_RECOVERY_BUTTON) || + IS_ENABLED(CONFIG_VOLUME_BUTTONS)) { + button_init(); + } + if (IS_ENABLED(CON...
Fix compile errors int the standalone solution
@@ -10,6 +10,7 @@ namespace SLua /// </summary> public class Logger { +#if !SLUA_STANDALONE private static UnityEngine.Object FindScriptByMsg(string msg) { #if UNITY_EDITOR @@ -31,6 +32,7 @@ namespace SLua #endif return null; } +#endif public static void Log(string msg) {
rune/libenclave/skeleton: Fix a compilation error In the GNU C Library, "major" is defined by <sys/sysmacros.h> starting from glibc-2.25, the macros major and minor are only available in <sys/sysmacros.h>. This fix is for historical compatibility.
#include <sys/mman.h> #include <sys/stat.h> #include <sys/time.h> +#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 25 #include <sys/types.h> +#else +#include <sys/sysmacros.h> +#endif #include "defines.h" #include "sgx_call.h"
Docker: Install YAEP in Debian Stretch
@@ -99,6 +99,15 @@ RUN echo '\ /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/\n' > /etc/ld.so.conf.d/jdk.conf RUN ldconfig +# YAEP +RUN cd /tmp \ + && git clone --depth 1 https://github.com/sanssecours/yaep.git \ + && cd yaep \ + && env CXXFLAGS='-fPIC' ./configure \ + && make -C src install \ + && cd .. \ + &...
Document scrcpy via SSH tunnel in README
@@ -216,6 +216,29 @@ scrcpy -s 0123456789abcdef # short version You can start several instances of _scrcpy_ for several devices. +#### SSH tunnel + +To connect to a remote device, it is possible to connect a local `adb` client to +a remote `adb` server (provided they use the same version of the _adb_ +protocol): + +```...
set rx_sync and tx_sync to zero by default in sdr-transceiver.c
@@ -40,7 +40,6 @@ int main(int argc, char *argv[]) tx_ctrl_handler, tx_data_handler }; - volatile uint32_t *slcr; volatile void *cfg, *sts; char *end; struct sockaddr_in addr; @@ -64,8 +63,6 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } - slcr = mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ|PROT_WRITE, MAP_S...
update the comments of opentimers
@@ -64,14 +64,12 @@ opentimers_id_t opentimers_create(void){ \brief schedule a period refer to comparing value set last time. This function will schedule a timer which expires when the timer count reach -to lastCompareValue + duration. - -Note: as this function schedule time depending on last compare value. It -can't b...
Update connection API comments
@@ -161,7 +161,7 @@ espi_conn_init(void) { * \param[in] host: Connection host. In case of IP, write it as string, ex. "192.168.1.1" * \param[in] port: Connection port * \param[in] arg: Pointer to user argument passed to connection if successfully connected - * \param[in] cb_func: Callback function for this connection. ...
Fix compile warning in DECOMPRESSOR=ON builds
@@ -842,6 +842,7 @@ static void construct_block_size_descriptor_2d( // Gather all the decimation grids that can be used with the current block #if !defined(ASTCENC_DECOMPRESS_ONLY) const float *percentiles = get_2d_percentile_table(x_texels, y_texels); + float always_threshold = 0.0f; #else // Unused in decompress-only...
Tweak to atmesc.c.
@@ -2217,7 +2217,7 @@ void LogBodyAtmEsc(BODY *body,CONTROL *control,OUTPUT *output,SYSTEM *system,UPD for (iOut=OUTSTARTATMESC;iOut<OUTENDATMESC;iOut++) { if (output[iOut].iNum > 0) { - printf("%d\n",output[iOut].iNum); + printf("%d\n",iOut); fflush(stdout); WriteLogEntry(body,control,&output[iOut],system,update,fnWri...
rename nodejs extension
@@ -69,7 +69,7 @@ android: ## Note: in order to simplify debugging only app messages and system channels with priority informative and higher, and any errors are enabled by default logcatFilter: APP:I StrictMode:I DEBUG:I *:E -extensions: ["jxcore"] +extensions: ["nodejs"] rhobundle: exclude_items:
Fix a mistake via merge commit
@@ -137,7 +137,7 @@ static TVector<TString> GetAllMetrics() { return {"Logloss", "CrossEntropy", "RMSE", "MAE", "Quantile", "LogLinQuantile", "MAPE", "Poisson", "MultiClass", "MultiClassOneVsAll", "PairLogit", "PairLogitPairwise", "YetiRank", "YetiRankPairwise", "QueryRMSE", "QuerySoftMax", "QueryCrossEntropy", "R2", -...
Update Version.hpp Update Version.hpp to today's date to force GitHub Action rerun (it's stuck in a bad state...)
#define MAT_VERSION_HPP // WARNING: DO NOT MODIFY THIS FILE! // This file has been automatically generated, manual changes will be lost. -#define BUILD_VERSION_STR "3.2.239.1" -#define BUILD_VERSION 3,2,239,1 +#define BUILD_VERSION_STR "3.2.253.1" +#define BUILD_VERSION 3,2,253,1 #ifndef RESOURCE_COMPILER_INVOKED #incl...
set rxpk_done when it's expectedFrame.
@@ -233,13 +233,12 @@ void cb_endFrame(PORT_TIMER_WIDTH timestamp) { // toggle led if the frame is expected if (expectedFrame){ + // indicate I just received a packet from bsp_radio_tx mote + app_vars.rxpk_done = 1; leds_debug_toggle(); } - // indicate I just received a packet from bsp_radio_tx mote - app_vars.rxpk_don...
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM
@@ -816,6 +816,9 @@ esp_err_t IRAM_ATTR psram_enable(psram_cache_mode_t mode, psram_vaddr_mode_t vad } psram_io.psram_clk_io = D2WD_PSRAM_CLK_IO; psram_io.psram_cs_io = D2WD_PSRAM_CS_IO; + } else if (pkg_ver == EFUSE_RD_CHIP_VER_PKG_ESP32PICOD4 && esp_efuse_get_chip_ver() >= 3) { + ESP_EARLY_LOGE(TAG, "This chip is ESP...
Re-enable ompd source copy in build_openmp.sh.
@@ -281,7 +281,6 @@ if [ "$1" == "install" ] ; then fi # we do not yet have OMPD in llvm 12, disable this for now. - if [ "$AOMP_MAJOR_VERSION" != "13" ] ; then # Copy selected debugable runtime sources into the installation lib-debug/src directory # to satisfy the above -fdebug-prefix-map. $SUDO mkdir -p $AOMP_INSTALL...
change cloog-isl's repository to the current active one appears to be dead. Cloog's active repo is now at Switch to the latter. Commit head remains the same.
url = git://repo.or.cz/isl.git [submodule "cloog-isl"] path = cloog-isl - url = git://repo.or.cz/cloog.git + url = https://github.com/periscop/cloog.git [submodule "piplib"] path = piplib url = https://github.com/periscop/piplib.git
xive: Add locking to some API calls The interrupt allocation calls might happen from threaded inits and the EQ management can happen from Linux. The underlying cache management will require mutual exclusion.
@@ -1265,6 +1265,8 @@ uint32_t xive_alloc_hw_irqs(uint32_t chip_id, uint32_t count, uint32_t align) x = chip->xive; assert(x); + lock(&x->lock); + /* Allocate the HW interrupts */ base = x->int_hw_bot - count; base &= ~(align - 1); @@ -1272,6 +1274,7 @@ uint32_t xive_alloc_hw_irqs(uint32_t chip_id, uint32_t count, uint...
wireless: gs2200m: Fix to release a bound socket
@@ -90,6 +90,7 @@ enum sock_state_e { CLOSED, OPENED, + BOUND, CONNECTED, }; @@ -527,19 +528,12 @@ static int close_request(int fd, FAR struct gs2200m_s *priv, cid = usock->cid; - if (SOCK_STREAM == usock->type && CONNECTED != usock->state) + if ((BOUND != usock->state) && (CONNECTED != usock->state)) { ret = -EBADFD; ...
prov: update gmac to have additional init arguments
@@ -98,9 +98,30 @@ static size_t gmac_size(void) return EVP_GCM_TLS_TAG_LEN; } -static int gmac_init(void *vmacctx) +static int gmac_setkey(struct gmac_data_st *macctx, + const unsigned char *key, size_t keylen) { - return ossl_prov_is_running(); + EVP_CIPHER_CTX *ctx = macctx->ctx; + + if (keylen != (size_t)EVP_CIPHER...
Add test for training data with const target.
@@ -24,8 +24,15 @@ CATBOOST_PATH = yatest.common.binary_path("catboost/app/catboost") BOOSTING_TYPE = ['Ordered', 'Plain'] PREDICTION_TYPES = ['Probability', 'RawFormulaVal', 'Class'] -CLASSIFICATION_LOSSES = ['Logloss', 'CrossEntropy', 'MultiClass', 'MultiClassOneVsAll'] +BINCLASS_LOSSES = ['Logloss', 'CrossEntropy'] ...
OSSL_STORE: Prevent spurious error during loading private keys
@@ -206,34 +206,47 @@ static int der2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, ok = 0; /* Assume that we fail */ + ERR_set_mark(); if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { derp = der; if (ctx->desc->d2i_PKCS8 != NULL) { key = ctx->desc->d2i_PKCS8(NULL, &derp, der_len, ctx); - if (ctx->f...
Working on depends on decorator
#include <stdlib.h> #endif -#define BOOST_TEST_MODULE "hydqual" +#define BOOST_TEST_MODULE hydqual #include <boost/test/included/unit_test.hpp> #include <boost/filesystem.hpp> #include "test_fixtures.hpp" using namespace std; -using namespace boost; +using namespace utf = boost::unit_test; BOOST_AUTO_TEST_SUITE (test_h...
Cleanup Custom Event instance args after editing Fixes bug where Custom Event variables where still rendered in dialogue even after removing them from the parameter list.
@@ -608,21 +608,21 @@ const editCustomEvent = (state, action) => { "scenes", action.id, newState.entities.scenes, - patch.script + patch ); newState = updateEntitiesCustomEventScript( newState, "actors", action.id, newState.entities.actors, - patch.script + patch ); newState = updateEntitiesCustomEventScript( newState,...
Disable all resgroup spill tests. These tests were derived from the resqueue tests, however they did not work stable enough with resgroup. We'll disable them for now to make the pipeline green. Later we'll refactor and reenable them.
@@ -20,10 +20,10 @@ test: resgroup/resgroup_cancel_terminate_concurrency # memory spill tests #test: resgroup/resgroup_memory_hashagg_spill #test: resgroup/resgroup_memory_hashjoin_spill -test: resgroup/resgroup_memory_materialize_spill -test: resgroup/resgroup_memory_sisc_mat_sort +#test: resgroup/resgroup_memory_mate...
ExtendedTools: Fix building with legacy v142 toolset
#include "framemon.h" // d3dkmddi requires the WDK (dmex) +#if defined(NTDDI_WIN10_CO) && (NTDDI_VERSION >= NTDDI_WIN10_CO) #ifdef __has_include #if __has_include (<dxmini.h>) && \ __has_include (<d3dkmddi.h>) && \ @@ -48,6 +49,9 @@ __has_include (<d3dkmthk.h>) #else #include "d3dkmt/d3dkmthk.h" #endif +#else +#include...
Fixed segfault when attempting to process a malformed JSON string. This ensure we have a valid JSON key before processing value. Fixes
@@ -803,7 +803,7 @@ parse_json_string (void *ptr_data, const char *str, int (*cb) (void *, char *, c ws_append_str (&key, json_get_string (&json, &len)); } /* val */ - else if (ctx == JSON_ARRAY || ((level % 2) == 0 && ctx != JSON_ARRAY)) { + else if (key && (ctx == JSON_ARRAY || ((level % 2) == 0 && ctx != JSON_ARRAY)...
pg_stat_activity: document client_port being null As suggested by Stephen Frost. Discussion:
@@ -652,7 +652,8 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <entry><structfield>client_port</structfield></entry> <entry><type>integer</type></entry> <entry>TCP port number that the client is using for communication - with this backend, or <literal>-1</literal> if a Unix socket is used + with th...
mem-leak in stats handling
@@ -363,6 +363,9 @@ exit: return elts; } +/* + * Return a copy of the clients list. + */ vpe_client_registration_t * get_clients_for_stat (u32 reg, u32 item) { @@ -381,10 +384,13 @@ get_clients_for_stat (u32 reg, u32 item) registration = pool_elt_at_index (sm->stats_registrations[reg], p[0]); vec_reset_length (clients)...
Include the process PID in assertion-failure messages. This should help to identify what happened when studying the postmaster log after-the-fact. While here, clean up some old comments in the same function. Discussion:
/*------------------------------------------------------------------------- * * assert.c - * Assert code. + * Assert support code. * * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * IDENTIFICATION * src/backend/utils/error/a...
README.md: simplify the description of the installation location of all components
@@ -85,7 +85,7 @@ After build Inclavare Containers on your system, you can use the following comma sudo make install ``` -`rune` will be installed to `/usr/local/bin/rune` on your system. `shim-rune` will be installed to `/usr/local/bin/containerd-shim-rune-v2`. `epm` will be installed to `/usr/local/bin/epm`. `sgx-too...
Fix treeview settings abstraction regression
*/ #include <ph.h> -#include <settings.h> #include <treenew.h> #include <uxtheme.h> @@ -5356,7 +5355,7 @@ VOID PhTnpPaint( textRect.right = viewRect.right - 20; textRect.bottom = viewRect.bottom - 5; - if (PhGetIntegerSetting(L"EnableThemeSupport")) + if (Context->ThemeSupport) { SetTextColor(hdc, RGB(0xff, 0xff, 0xff)...
misc: Initial 20.09-rc0 commit Type:docs
# Release Notes {#release_notes} +* @subpage release_notes_2009 * @subpage release_notes_2005 * @subpage release_notes_2001 * @subpage release_notes_19082 * @subpage release_notes_1609 * @subpage release_notes_1606 +@page release_notes_2005 Release notes for VPP 20.09 + +TBD + @page release_notes_2005 Release notes for...
Filters always have to use \ regardless of target platform.
p.push() tree.traverse(tr, { onbranch = function(node, depth) - p.push('<Filter Include="%s">', path.translate(node.path)) + p.push('<Filter Include="%s">', path.translate(node.path, '\\')) p.w('<UniqueIdentifier>{%s}</UniqueIdentifier>', os.uuid(node.path)) p.pop('</Filter>') end for _, file in ipairs(files) do if fil...
Pass scrcpy-noconsole arguments through to scrcpy PR <https://github.com/Genymobile/scrcpy/pull/2052>
-CreateObject("Wscript.Shell").Run "cmd /c scrcpy.exe", 0, false +strCommand = "cmd /c scrcpy.exe" + +For Each Arg In WScript.Arguments + strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """" +Next + +CreateObject("Wscript.Shell").Run strCommand, 0, false
new bv of pidx
@@ -49,11 +49,11 @@ function bv_pidx_initialize_vars function bv_pidx_info { - export PIDX_VERSION=${PIDX_VERSION:-"1.0beta"} - export PIDX_FILE=${PIDX_FILE:-"PIDX-${PIDX_VERSION}.tgz"} + export PIDX_VERSION=${PIDX_VERSION:-"0.9.1"} + export PIDX_FILE=${PIDX_FILE:-"PIDX-${PIDX_VERSION}.tar.gz"} export PIDX_COMPATIBILIT...
mpi-families/openmpi: alternate approach to silence pbs linkage warning - add to modulefile
@@ -195,11 +195,6 @@ export BASEFLAGS %{__cp} %{SOURCE3} . %{__chmod} 700 pbs-config export PATH="./:$PATH" - -# temporarily disable dynamic linkage for pbs -if [ -e /opt/pbs/lib/libpbs.la ]; then - mv /opt/pbs/lib/libpbs.la /tmp -fi %endif ./configure ${BASEFLAGS} || { cat config.log && exit 1; } @@ -211,13 +206,6 @@ ...
omit idle up for controls_override
@@ -403,8 +403,13 @@ void control() { } else { // CONDITION: idle up is turned ON + if (flags.controls_override) { + // override is active, set throttle to input + state.throttle = state.rx_filtered.throttle; + } else { // throttle range is mapped from idle throttle value to 100% state.throttle = (float)IDLE_THR + inpu...
HV: Remove dead code wrapped by #if 0
@@ -296,12 +296,6 @@ int cr_access_vmexit_handler(struct vcpu *vcpu) /* mov to cr4 */ vmx_write_cr4(vcpu, *regptr); break; -#if 0 - case 0x14: - /* mov from cr4 (this should not happen) */ - case 0x10: - /* mov from cr0 (this should not happen) */ -#endif case 0x08: /* mov to cr8 */ vlapic_set_cr8(vcpu->arch_vcpu.vlapi...
BugID:17646731:Add yloop summary in mk
@@ -4,7 +4,7 @@ $(NAME)_COMPONENTS := kernel.fs.vfs $(NAME)_MBINS_TYPE := kernel $(NAME)_VERSION := 0.0.1 -$(NAME)_SUMMARY := +$(NAME)_SUMMARY := yloop provides the event schedule mechanism for resource constrained devices. $(NAME)_SOURCES := src/yloop.c $(NAME)_SOURCES += src/local_event.c
refix typo see
@@ -854,7 +854,7 @@ void splitCacheStoreState (KDB * handle, Split * split, KeySet * global, Key * p ELEKTRA_LOG_DEBUG ("SIZE STORAGE STORE STUFF"); for (size_t i = 0; i < split->size; ++i) { - // TODO: simplify this code below, seems like this effects only the last split anyway + // TODO: simplify this code below, see...
hw/hal: Define a set of I2C error codes HAL I2C implementations currently return MCU-specific status code. This commit introduces a generic set of I2C error codes for all implementations to return.
@@ -62,6 +62,23 @@ extern "C" { * :c:func:`hal_i2c_read()`; --- read back data, setting 'last_op' to '1' */ +/*** I2C status codes (0=success). */ + +/** Unknown error. */ +#define HAL_I2C_ERR_UNKNOWN 1 + +/** Invalid argument. */ +#define HAL_I2C_ERR_INVAL 2 + +/** MCU failed to report result of I2C operation. */ +#de...
[build] add headers for sendfile() detect on MacOS (thx ryandesign) x-ref:
@@ -1612,6 +1612,9 @@ if test "$ac_cv_func_sendfile" = yes; then #include <sys/sendfile.h> #endif /* HAVE_SYS_SENDFILE_H */ #include <errno.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <sys/uio.h> int main() { int o = 0; if (-1 == sendfile(-1, 0, &o, 0) && errno == ENOSYS) return -1;
[fix] Align in TUnalignedArrayBuf and TUnalignedMemoryIterator have slighty different semantics. Remove unneeded sizeWithoutPadding param.
@@ -16,13 +16,14 @@ namespace NCB { template <class T, unsigned Align = alignof(T)> class TUnalignedArrayBuf { public: - TUnalignedArrayBuf(void* begin, size_t sizeInBytes, bool sizeWithoutPadding = true) + TUnalignedArrayBuf(void* begin, size_t sizeInBytes) : Begin(begin) - , SizeInBytes(sizeWithoutPadding ? sizeInByt...
Use localtime() to format time_t in cvtTimeToZ(). Using gmtime() produced output skewed by the local timezone. Since this function is currently only used for debug logging this is not a live bug in the field.
@@ -395,7 +395,7 @@ cvtTimeToZ(time_t value, char *buffer, size_t bufferSize) ASSERT(buffer != NULL); - size_t result = strftime(buffer, bufferSize, "%s", gmtime(&value)); + size_t result = strftime(buffer, bufferSize, "%s", localtime(&value)); if (result == 0) THROW(AssertError, "buffer overflow");
Add deprecation note to the README-ENGINES file
-ENGINES +Engines ======= -With OpenSSL 0.9.6, a new component was added to support alternative -cryptography implementations, most commonly for interfacing with external -crypto devices (eg. accelerator cards). This component is called ENGINE, -and its presence in OpenSSL 0.9.6 (and subsequent bug-fix releases) -cause...
NN: fix mean values for GS images.
@@ -28,6 +28,8 @@ def get_mean_values(mean_file): blob.ParseFromString(data) arr = np.array(caffe.io.blobproto_to_array(blob))[0] mean_vals = [int(x.mean().round()) for x in arr] + if (len(mean_vals) < 3): + mean_vals += [mean_vals[0]] * (3 - len(mean_vals)) return mean_vals def convert_to_x4_weights(weights):
Debug: Update readme file
@@ -124,7 +124,7 @@ reload-uefi b DebugBreak ``` -For simplicitly `macgdb.tool` performs them all. Note, that you need to run `reload-uefi` +For simplicitly `rungdb.tool` performs them all. Note, that you need to run `reload-uefi` after any new binary loads. #### CLANGDWARF @@ -146,9 +146,9 @@ export EFI_SYMBOL_PATH="$...
update monitor flow
@@ -90,7 +90,7 @@ static void alink_set_sta_mode() //Check if in AP mode wext_get_mode(WLAN0_NAME, &mode); - if(mode == IW_MODE_MASTER) { + if(1) { #if CONFIG_LWIP_LAYER dhcps_deinit(); #endif @@ -534,12 +534,10 @@ static void stop_monitor(hal_wifi_module_t *m) { DBG_8195A("stop_monitor\r\n"); - wifi_set_promisc(RTW_PR...
Continue though fail to get log
@@ -249,6 +249,15 @@ ShowErrorCommand( for(Index = 0; Index < DimmIdsNum; Index++) { ReturnedCount = RequestedCount; + ReturnCode = GetDimmHandleByPid(pDimmIds[Index], pDimms, DimmCount, &DimmHandle, &DimmIndex); + if (EFI_ERROR(ReturnCode)) { + goto Finish; + } + ReturnCode = GetPreferredDimmIdAsString(DimmHandle, pDi...
Minor additon to previous sanitizer commit.
@@ -94,7 +94,7 @@ int dynlink_impl_interface_unload_beos(dynlink handle, dynlink_impl impl) { (void)handle; -#if defined(__ADDRESS_SANITIZER__) || defined(__THREAD_SANITIZER__) || defined(__MEMORY_SANITIZER__) +#if defined(__ADDRESS_SANITIZER__) || defined(__THREAD_SANITIZER__) || defined(__MEMORY_SANITIZER__) || defin...
add note on usage of OIDC_SET_COOKIE_APPEND in the sample config/doc
# state cookie: Lax # session cookie: first time set Lax, updates (e.g. after inactivity timeout) Strict # x_csrf discovery: Strict: +# +# The default `SameSite=None` cookie appendix on `Set-Cookie` response headers can be +# conditionally overridden using an environment variable in the Apache config as in: +# SetEnvIf...
Adding tests to 'if' in parser_spec
@@ -450,6 +450,27 @@ describe("Titan parser", function() assert.are.same("ExpRepeat", err.label) end) + it("Expected an expression after 'if'.", function() + local program, err = + parse_file("./testfiles/parser/expIf.titan") + assert.falsy(program) + assert.are.same("ExpIf", err.label) + end) + + it("Expected 'then' i...
fixed png cart saving
@@ -1756,6 +1756,8 @@ static void renderStudio() tic_core_tick_start(impl.studio.tic); } + processShortcuts(); + switch(impl.mode) { case TIC_START_MODE: impl.start->tick(impl.start); break; @@ -1901,7 +1903,6 @@ static void studioTick() tic_net_start(impl.net); #endif - processShortcuts(); processMouseStates(); proces...
Fix CLI terminal text coloring
@@ -115,13 +115,14 @@ static void fio_cli_set(const char *aliases, const char *desc, cli_type type) { fiobj_hash_set(arg_type, arg_name, fiobj_null()); break; case CLI_NUM: - fiobj_str_write2(help_str, "\t\x1B[1m-%s\x1B[0m\x1B[2 ###\x1B[0m\t%s\n", + fiobj_str_write2(help_str, + "\t\x1B[1m-%s\x1B[0m\x1B[2m ###\x1B[0m\t%...
Avoid random warning message in test case. change client_min_messages to error to avoid printing warning in test case gp_interconnect_min_retries_before_timeout when network jitter.
@@ -19,6 +19,11 @@ SELECT ROUND(foo.rval * foo.rval)::INT % 30 AS rval2, COUNT(*) AS count, SUM(len GROUP BY rval2 ORDER BY rval2; +-- start_ignore +-- Set client_min_messages to error to avoid warning message printed by network jitter +set client_min_messages='ERROR'; +-- end_ignore + -- Set GUC value to its min value...
wifi_manager UTC bug fix change tc error type
@@ -120,7 +120,7 @@ static void utc_wifi_manager_init_n(void) ret = wifi_manager_init(NULL); - TC_ASSERT_EQ("wifi_manager_init_n", ret, WIFI_MANAGER_FAIL); + TC_ASSERT_EQ("wifi_manager_init_n", ret, WIFI_MANAGER_INVALID_ARGS); TC_SUCCESS_RESULT(); } @@ -186,7 +186,7 @@ static void utc_wifi_manager_get_mode_n(void) ret ...
Fix windows build with JANET_NO_NET
@@ -2212,9 +2212,9 @@ typedef struct { JanetReadMode mode; #ifdef JANET_WINDOWS OVERLAPPED overlapped; + DWORD flags; #ifdef JANET_NET WSABUF wbuf; - DWORD flags; struct sockaddr from; int fromlen; #endif @@ -2288,8 +2288,8 @@ JanetAsyncStatus ev_machine_read(JanetListenerState *s, JanetAsyncEvent event) { state->overl...
Fixed seed variable concatenation pointer.
@@ -394,7 +394,7 @@ static int mbedtls_ctr_drbg_reseed_internal( mbedtls_ctr_drbg_context *ctx, /* Gather entropy for a nonce if requested. */ if( nonce_len != 0 ) { - if( 0 != ctx->f_entropy( ctx->p_entropy, seed, nonce_len ) ) + if( 0 != ctx->f_entropy( ctx->p_entropy, seed + seedlen, nonce_len ) ) { return( MBEDTLS_...
made hall newdm flow idempotent
^- (list {security name cord}) :~ [%mailbox %inbox 'default home'] [%journal %public 'visible activity'] + [%mailbox %i 'dm invites'] == |: [[typ=*security nom=*name des=*cord] ta] (ta-action [%create nom des typ]) ++ action-newdm :: copy all behavior of create, permit, and source in that order :: - |= {sis/(set ship)}...
Make test_nsalloc_long_context() robust vs allocation pattern changes
@@ -11275,26 +11275,9 @@ START_TEST(test_nsalloc_long_context) { NULL, NULL } }; int i; -#define MAX_ALLOC_COUNT 40 - int repeat = 0; +#define MAX_ALLOC_COUNT 70 for (i = 0; i < MAX_ALLOC_COUNT; i++) { - /* Repeat some counts to defeat allocation caching */ - if ((i == 4 && repeat == 3) || - (i == 13 && repeat == 9) ||...
Increase heap size for Nuvoton tests project MQTT_System tests are failing because of allocation failure. This change increase the heap size to address the failure.
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 ) #define configMAX_PRIORITIES ( 7 ) #define configMINIMAL_STACK_SIZE ( ( uint16_t ) 100 ) -#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 247 * 512 ) ) +#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 256 * 512 ) ) #define configMAX_TASK_NAME_LEN ( 16 ) #define configUSE_TRA...
doc: fix typo in GSG missing a trailing backslash on a command continuation
@@ -659,7 +659,7 @@ Build ACRN scp ~/acrn-work/acrn-hypervisor/build/acrn-my_board-MyConfiguration*.deb \ ~/acrn-work/*acrn-service-vm*.deb \ ~/acrn-work/MyConfiguration/launch_user_vm_id1.sh \ - ~/acrn-work/acpica-unix-20210105/generate/unix/bin/iasl + ~/acrn-work/acpica-unix-20210105/generate/unix/bin/iasl \ acrn@10....
input: do not lock buffer to allow writes (realloc() problems)
@@ -786,8 +786,8 @@ struct flb_input_dyntag *flb_input_dyntag_create(struct flb_input_instance *in, /* Destroy an dyntag node */ int flb_input_dyntag_destroy(struct flb_input_dyntag *dt) { - flb_debug("[dyntag %s] %p destroy (tag=%s)", - dt->in->name, dt, dt->tag); + flb_warn("[dyntag %s] %p destroy (tag=%s, bytes=%lu)...
apply autopep8 formatter
@@ -480,7 +480,6 @@ void h2o_raw_tracer::do_handle_event(const void *data, int data_len) { handle_event_func += ' json_write_pair_c(out_, STR_LIT("%s"), event->%s, strlen(event->%s));\n' % ( json_field_name, event_t_name, event_t_name) - if metadata["provider"] == "h2o": handle_event_func += ' json_write_pair_c(out_, S...
Disable all composite ciphers with LibreSSL These cipher isn't planned to be well supported in LibreSSL for TLS usage.
static const EVP_CIPHER *s2n_evp_aes_128_cbc_hmac_sha1(void) { /* Symbols for AES-SHA1-CBC composite ciphers were added in Openssl 1.0.1: - * See https://www.openssl.org/news/cl101.txt. LibreSSL defines OPENSSL_VERSION_NUMBER to be - * 0x20000000L but AES-SHA1-CBC is in LibreSSL since first major release(2.0.0). + * Se...
vere: remove 'new' from header comments 'New' is relative; some of these subsystems were 'new' in 2015.
void (*bot_f)(); // call when chis is up } u3_host; // host == computer == process - /** New pier system. + /** Pier system. **/ /* u3_ovum_news: u3_ovum lifecycle events */ c3_d u3_time_gap_ms(u3_noun now, u3_noun wen); - /** ward: common structure lifecycle + /** Common structure lifecycle. **/ /* u3_dent_init(): ini...
print warning if driver is not able to send packets from hcxdumptool - increment error count after a tot of one second
@@ -1290,7 +1290,7 @@ if(FD_ISSET(txsocket, &txfds)) { if(write(txsocket, packetoutptr, txsize) < 0) { - printf("\n%s - driver doesn't respond\n", errormessage); + printf("\ndriver is busy: %s\n", errormessage); errorcount++; return; } @@ -1299,7 +1299,7 @@ if(FD_ISSET(txsocket, &txfds)) } else { - printf("\n%s - drive...
Changed order on which we verify bots to be the first thing we check.
@@ -553,6 +553,9 @@ verify_browser (char *str, char *type) { if (str == NULL || *str == '\0') return NULL; + if ((match = check_http_crawler (str)) && (token = parse_crawler (str, match, type))) + return token; + /* check user's list */ for (i = 0; i < conf.browsers_hash_idx; ++i) { if ((match = strstr (str, conf.user_...
DOC:Correct IP_EVENT_STA_LOST_IP name Fix the name of the IP_EVENT_STA_LOST_IP event (was IP_STA_LOST_IP) Closes
@@ -206,11 +206,11 @@ IP_EVENT_GOT_IP6 ++++++++++++++++++++++++++++++++++++ This event arises when the IPV6 SLAAC support auto-configures an address for the {IDF_TARGET_NAME}, or when this address changes. The event means that everything is ready and the application can begin its tasks (e.g., creating sockets). -IP_STA...
ci: Add raspberrypi-armv7 to the build matrix
@@ -27,6 +27,7 @@ jobs: - raspberrypi4 - raspberrypi-cm3 - raspberrypi-cm + - raspberrypi-armv7 image: [rpi-test-image] distro: [poky] runs-on: [self-hosted, Linux]
python2 only library is deprecated
@@ -235,6 +235,9 @@ ALLOW ads/libs/py_notifier -> contrib/deprecated/python/xmpppy ALLOW yql/udfs/common/python/python_arc -> contrib/deprecated/python/xmpppy DENY .* -> contrib/deprecated/python/xmpppy +ALLOW contrib/python/fancycompleter -> contrib/python/pyrepl +DENY .* -> contrib/python/pyrepl + ALLOW addappter/bac...
Fix v4l2 AVFrame memory leak Unref frame immediately once encoded. Fixes <https://github.com/Genymobile/scrcpy/pull/2279>
@@ -125,6 +125,7 @@ run_v4l2_sink(void *data) { video_buffer_consume(&vs->vb, vs->frame); bool ok = encode_and_write_frame(vs, vs->frame); + av_frame_unref(vs->frame); if (!ok) { LOGE("Could not send frame to v4l2 sink"); break;
libmemif: set data offset for memif buffer Update descriptor offset based on data pointer in memif_buffer_t. Slave only, master will not modify the descriptor. Type: feature
@@ -2492,7 +2492,10 @@ memif_tx_burst (memif_conn_handle_t conn, uint16_t qid, memif_queue_t *mq = &c->tx_queues[qid]; memif_ring_t *ring = mq->ring; uint16_t mask = (1 << mq->log2_ring_size) - 1; + uint32_t offset_mask = c->run_args.buffer_size - 1; memif_buffer_t *b0; + memif_desc_t *d; + int64_t data_offset; *tx = 0...
openssl-x509.pod.in: fix description of certificate serial number storage
@@ -496,18 +496,18 @@ See L<openssl-format-options(1)> for details. Sets the CA serial number file to use. -When the B<-CA> option is used to sign a certificate it uses a serial -number specified in a file. This file consists of one line containing -an even number of hex digits with the serial number to use. After each...
tls: add start_listen openssl API return value check Type: improvement Check SSL_CTX_use_* API return value and exit on error. Check BIO_new return code. Release allocated BIO on error cases.
@@ -753,25 +753,47 @@ openssl_start_listen (tls_ctx_t * lctx) * Set the key and cert */ cert_bio = BIO_new (BIO_s_mem ()); + if (!cert_bio) + { + clib_warning ("unable to allocate memory"); + return -1; + } BIO_write (cert_bio, ckpair->cert, vec_len (ckpair->cert)); srvcert = PEM_read_bio_X509 (cert_bio, NULL, NULL, NU...
cmake: update path where man pages are generated
@@ -495,7 +495,7 @@ function (generate_manpage NAME) set (MDFILE ${CMAKE_CURRENT_SOURCE_DIR}/${NAME}.md) endif () - set (OUTFILE ${CMAKE_SOURCE_DIR}/doc/man/${NAME}.${SECTION}) + set (OUTFILE ${CMAKE_SOURCE_DIR}/doc/man/man${SECTION}/${NAME}.${SECTION}) if (RONN_LOC) add_custom_command (OUTPUT ${OUTFILE}
Write correct vcs command name out to stdout, when pulling and cloning.
@@ -693,7 +693,7 @@ if "!V_LINK_PARTS[%LINK_CLASSIFIER%]!" EQU "vcs" ( REM Does not exist, fetch it. echo .. !L_VCS_CMD_CLONE! for /F "usebackq tokens=*" %%i in (`!L_VCS_CMD_CLONE!`) do ( - echo .. %L_VCS_EXE%: %%i + echo .. !L_VCS_EXE!: %%i ) REM The subsequent VCS update needs to be within the repository directory. c...
Tutorial: Fix minor spelling mistakes
@@ -14,7 +14,7 @@ will be preferred over any stored values in a cascading lookup. To use `elektraGetOpts` you need to link against `elektra-opts`, `elektra-meta` and `elektra-ease`. ## Options -To define a command-line option either set the `opt` meta-key to the short option you want to use, or set `opt/long` to +To de...
Compute correct size of knot vector in bspline constructor.
@@ -325,13 +325,13 @@ void ts_internal_bspline_new(size_t n_ctrlp, size_t dim, size_t deg, tsBSplineType type, tsBSpline *_spline_, jmp_buf buf) { const size_t order = deg + 1; - const size_t n_knots = n_ctrlp + order; + const size_t num_knots = n_ctrlp + order; const size_t len_ctrlp = n_ctrlp * dim; const size_t sof_...
Change how we detect pull requests.
@@ -2,7 +2,7 @@ stages: - compile # Don't run the combine stage in pull requests, because deploy is disabled there. - name: combine - if: env(TRAVIS_PULL_REQUEST) = false + if: type != pull_request jobs: include:
coverity out-of-bounds access: allocate \0 terminator byte to be safe
@@ -289,10 +289,10 @@ static int run_cert(X509 *crt, const char *nameincert, for (; *pname != NULL; ++pname) { int samename = strcasecmp(nameincert, *pname) == 0; size_t namelen = strlen(*pname); - char *name = OPENSSL_malloc(namelen); + char *name = OPENSSL_malloc(namelen + 1); int match, ret; - memcpy(name, *pname, n...