message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix Makefile to correctly enable running uao with storage schedule.
@@ -89,7 +89,7 @@ storage_queryfinish_and_transactionmanagement: $(TESTER) $(DISCOVER) -t tincrepo/mpp/gpdb/tests \ -s dispatch/queryfinish \ -s storage/transaction_management \ - -s storage/basic + -s storage/basic \ -s storage/uao storage_persistent_filerep_accessmethods_and_vacuum:
Line: Adapt Markdown Shell Recorder test We do not assume that a non-root user executes the test any more. This update fixes part of issue
@@ -76,14 +76,10 @@ cat `kdb file /tests/line` #> here kdb ls /tests/line -#> user/tests/line -#> user/tests/line/#0 -#> user/tests/line/#1 -#> user/tests/line/#2 +# STDOUT-REGEX: line.+line/#0.+line/#1.+line/#2 kdb set /tests/line/#1 huhu -#> Using name user/tests/line/#1 -#> Set string to "huhu" +# STDOUT-REGEX: .+Se...
pagecache_write_sg: apply error to merge in case of alloc failure; completion added to page in READING state should be from runqueue, not bhqueue
@@ -643,7 +643,9 @@ closure_function(1, 3, void, pagecache_write_sg, pp = allocate_page_nodelocked(pn, pi); if (pp == INVALID_ADDRESS) { pagecache_unlock_node(pn); - apply(completion, timm("result", "failed to allocate pagecache_page")); + const char *err = "failed to allocate pagecache_page"; + apply(sh, timm("result"...
Expose mach_absolute_time and mach_timebase_info. Fixes trollius on Darwin. Note: mandatory check (NEED_CHECK) was skipped
@@ -93,29 +93,13 @@ namespace { } BEGIN_SYMS("c") -#if defined(_linux_) -SYM(prctl) -SYM(sched_getaffinity) -SYM(sched_setaffinity) -SYM(inotify_init) -SYM(inotify_add_watch) -SYM(inotify_rm_watch) -#endif -#if defined(_darwin_) -SYM(sysctlbyname) -#endif -SYM(ftok) -#if __has_include(<aio.h>) -SYM(aio_error) -SYM(aio_...
Docker tag/push fix.
@@ -38,5 +38,5 @@ build:dockerimage: - docker pull $CI_BUILD_IMAGE:latest || true - docker build --cache-from $CI_BUILD_IMAGE:latest -t $CI_BUILD_IMAGE:$CI_COMMIT_SHORT_SHA . - docker push $CI_BUILD_IMAGE:$CI_COMMIT_SHORT_SHA - - docker tag $CI_BUILD_IMAGE:$CI_COMMIT_SHORT_SHA $CI_BUILD_IMAGE:latest && git push $CI_BUI...
fskframesync: adding noise back into example
@@ -47,8 +47,8 @@ int main(int argc, char*argv[]) srand( time(NULL) ); // options - float SNRdB = 40.0f; // signal-to-noise ratio - float noise_floor = -30.0f; // noise floor + float SNRdB = 20.0f; // signal-to-noise ratio + float noise_floor = -20.0f; // noise floor float dphi = 0.01f; // carrier frequency offset floa...
Documentation: Use American English spelling
@@ -170,7 +170,7 @@ verified or added to build Elektra correctly: added to exclude the `debian` branch from being build. The reason for this is that the `debian` branch is not providing a Jenkinsfile. -* `Advanced clone behaviours` should be added and the path to the git mirror +* `Advanced clone behaviors` should be a...
add development guides
@@ -153,3 +153,52 @@ authenticate users, e.g. by [username/password auth](https://www.digitalocean.co - `src/containers/` - contains components that are connected to Redux - `src/css/` - contains CSS styles - `src/reducers/` - contains Redux reducers (used to process actions) + + +## Development Guides + +### Updating ...
Benchmark: Use warmup phase for YAML benchmark
@@ -26,7 +26,7 @@ for PLUGIN in "${PLUGINS[@]}"; do cp "$DATA_DIRECTORY/test.yaml" "$DATA_DIRECTORY/test.$PLUGIN.in" done -hyperfine \ +hyperfine --warmup 3 \ "\"$BENCHMARK_TOOL\" \"$DATA_DIRECTORY\" user ${PLUGINS[0]} get" \ "\"$BENCHMARK_TOOL\" \"$DATA_DIRECTORY\" user ${PLUGINS[1]} get" \ "\"$BENCHMARK_TOOL\" \"$DAT...
[mod_magnet] set script env in func first upvalue set script env in first upvalue (_ENV upvalue) for func once, upon script init, since script-env table is preserved and reused (and script-env is cleared between script invocations)
@@ -2510,6 +2510,9 @@ static handler_t magnet_attract(request_st * const r, plugin_data * const p, scr lua_createtable(L, 0, 1); /* (sp += 1) */ magnet_mainenv_metatable(L); /* (sp += 1) */ lua_setmetatable(L, -2); /* (sp -= 1) */ + /* set script env in first upvalue (_ENV upvalue) for func */ + lua_pushvalue(L, env_nd...
[net][sal] Delete the judgment of the default network interface device when socket is created
@@ -387,14 +387,7 @@ static int socket_init(int family, int type, int protocol, struct sal_socket **r sock->type = type; sock->protocol = protocol; - /* get socket operations from network interface device */ - if (netdv_def == RT_NULL) - { - LOG_E("not find default network interface device for socket create."); - retur...
Fix few ereport calls to properly set errcode in url_curl.c
@@ -1214,7 +1214,7 @@ url_curl_fopen(char *url, bool forwrite, extvar_t *ev, CopyState pstate) if (!is_file_exists(extssl_cer_full)) ereport(ERROR, - (errcode(errcode_for_file_access()), + (errcode_for_file_access(), errmsg("could not open certificate file \"%s\": %m", extssl_cer_full))); @@ -1235,7 +1235,7 @@ url_curl...
just removed SystemTap from build requirements
@@ -24,7 +24,6 @@ For convenience, you can alternatively run the `make.sh` script. - CMake for generating the build files - Python 3 for the [code generator](https://github.com/toru/h2olog/blob/v2/misc/gen-quic-bpf.py) - [BCC](https://iovisor.github.io/bcc/) (>= 0.11.0) [installed](https://github.com/iovisor/bcc/blob/m...
Changed functions to pre/post actions when forking.
@@ -4345,8 +4345,13 @@ static void wsgi_python_child_init(apr_pool_t *p) * do it if Python was initialised in parent process. */ - if (wsgi_python_initialized && !wsgi_python_after_fork) + if (wsgi_python_initialized && !wsgi_python_after_fork) { +#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >...
update sniffer project.
@@ -162,7 +162,7 @@ void cb_timer(opentimers_id_t id) { cb_timer // callback ); app_vars.outputOrInput = (app_vars.outputOrInput+1)%2; - openserial_triggerDebugprint(); // FIXME: replace by task + scheduler_push_task(task_openserial_debugPrint,TASKPRIO_OPENSERIAL); } // ================================ task ===========...
build: add missing dnf-plugins-core package on centos-8 Type: fix
@@ -285,7 +285,7 @@ ifeq ($(OS_ID),rhel) @sudo -E yum install $(CONFIRM) $(RPM_DEPENDS) @sudo -E debuginfo-install $(CONFIRM) glibc openssl-libs mbedtls-devel zlib else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8) - @sudo -E dnf install $(CONFIRM) epel-release + @sudo -E dnf install $(CONFIRM) dnf-plugins-core epel-releas...
[BSP] correct stm32l412-st-nucleo capacity info
/* Program Entry, set to mark it as "used" and avoid gc */ MEMORY { - ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256k /* 256KB flash */ - RAM1 (rw) : ORIGIN = 0x20000000, LENGTH = 48k /* 48K sram */ - RAM2 (rw) : ORIGIN = 0x10000000, LENGTH = 16k /* 16K sram */ + ROM (rx) : ORIGIN = 0x08000000, LENGTH = 128k /* 128KB fla...
py/objexcept: With PRINT_EXC gone, refactor/optimize code.
@@ -103,18 +103,10 @@ mp_obj_t mp_alloc_emergency_exception_buf(mp_obj_t size_in) { void mp_obj_exception_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind) { mp_obj_exception_t *o = MP_OBJ_TO_PTR(o_in); mp_print_kind_t k = kind & ~PRINT_EXC_SUBCLASS; - bool is_subclass = kind & PRINT_EXC_SUBCLASS; - i...
Fix coverity unchecked return value Just extending the comment so coveriety knows as well.
@@ -252,6 +252,7 @@ static int ssl_set_cert(CERT *c, X509 *x) /* * The return code from EVP_PKEY_copy_parameters is deliberately * ignored. Some EVP_PKEY types cannot do this. + * coverity[check_return] */ EVP_PKEY_copy_parameters(pkey, c->pkeys[i].privatekey); ERR_clear_error();
Tests: temporary dir removed after tests execution.
@@ -671,4 +671,10 @@ def pytest_sessionfinish(session): option.restart = True unit_stop() + + public_dir(option.cache_dir) shutil.rmtree(option.cache_dir) + + if not option.save_log: + public_dir(option.temp_dir) + shutil.rmtree(option.temp_dir)
When freezing an asset, if a mesh output is connected to auxiliary nodes or downstream history rather than a mesh shape, insert an upstream mesh so that there is a node to freeze the mesh data on.
@@ -22,9 +22,25 @@ houdiniEngine_freezeAsset(string $assetNode) int $attrIndex = 0; for($con in $outputObjCon) { string $src = `connectionInfo -sfd $con`; + string $discon = $con; + + // if a mesh output has auxiliary nodes or downstream history + // need a temporary mesh shape to backstop the history + if(endsWith($sr...
webp-container-spec.txt,cosmetics: normalize formatting prefer Exif to EXIF when not referring to the chunk normalize use of code format for canvas / frame width & height
@@ -36,7 +36,7 @@ for: * **Lossless compression.** An image can be losslessly compressed, using the WebP Lossless Format. - * **Metadata.** An image may have metadata stored in EXIF or XMP formats. + * **Metadata.** An image may have metadata stored in Exif or XMP formats. * **Transparency.** An image may have transpar...
Add some links to README
@@ -26,7 +26,6 @@ data. Its main features and design principles are: Jansson is licensed under the `MIT license`_; see LICENSE in the source distribution for details. - Compilation and Installation ---------------------------- @@ -74,6 +73,14 @@ Then, point your browser to ``doc/_build/html/index.html``. Sphinx_ 1.0 or...
correct the sac and dac value.
@@ -116,8 +116,6 @@ owerror_t forwarding_send(OpenQueueEntry_t* msg) { dac = IPHC_DAC_STATELESS; } else { myprefix = idmanager_getMyID(ADDR_PREFIX); - sac = IPHC_SAC_STATEFUL; - dac = IPHC_DAC_STATEFUL; } memcpy(&(msg->l3_sourceAdd.addr_128b[0]),myprefix->prefix,8); memcpy(&(msg->l3_sourceAdd.addr_128b[8]),myadd64->add...
Fixed the return code of RAND_query_egd_bytes when connect fails.
@@ -133,6 +133,7 @@ int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) break; # endif default: + ret = -1; goto err; /* failure */ } } @@ -230,9 +231,7 @@ int RAND_egd_bytes(const char *path, int bytes) int num, ret = 0; num = RAND_query_egd_bytes(path, NULL, bytes); - if (num < 1) - goto err; - ...
pipeline: extract pre-run test setup to it's own separate task. Ideally, pretest setup should be explicit for their own jobs, so we extracted out the setup to be more modularized. Any tests should be able to use this pattern instead of having to add it in run_tinc.yml or run_behave.yml
@@ -2600,6 +2600,25 @@ jobs: <<: *ccp_gen_cluster_default_params on_failure: <<: *ccp_destroy + - task: pre_run_test_setup + tags: ["ccp"] + image: centos-gpdb-dev-6 + config: + platform: linux + inputs: + - name: ccp_src + - name: cluster_env_files + run: + path: bash + args: + - -c + - | + set -ex + ccp_src/aws/setup...
Makefile.include: add rules to generate preprocessed versions of C files, or assembly code, for any file
@@ -287,12 +287,35 @@ $(OBJECTDIR)/%.o: %.S | $(OBJECTDIR) $(Q)$(AS) $(ASFLAGS) -o $@ $< endif +ifndef CUSTOM_RULE_C_TO_OBJECTDIR_S +$(OBJECTDIR)/%.s: %.c | $(OBJECTDIR) + $(TRACE_CC) + $(Q)$(CC) $(CFLAGS) -S $< -o $@ +endif + +ifndef CUSTOM_RULE_C_TO_OBJECTDIR_E +$(OBJECTDIR)/%.e: %.c | $(OBJECTDIR) + $(TRACE_CC) + $(...
Test some basic lua functions
@@ -34,7 +34,7 @@ main = defaultMain $ testGroup "hslua" tests tests :: [TestTree] tests = [ testGroup "Base tests" HsLuaSpec.tests - , testGroup "Monadic functions" [Foreign.Lua.FunctionsTest.tests] + , Foreign.Lua.FunctionsTest.tests , testGroup "Sendings and receiving values from the stack" [ Foreign.Lua.TypesTest.t...
Update IoT Esp8266 sample readme with latest versions verified
@@ -32,7 +32,7 @@ This is a "to-the-point" guide outlining how to run an Azure SDK for Embedded C - Configuration instructions for the Arduino IDE to compile a sample using the Azure SDK for Embedded C. - Configuration, build, and run instructions for the IoT Hub telemetry sample. -_The following was run on Windows 10 ...
fix yndexing for cpp source files compiled with extra flags $YNDEXER_OUTPUT must be the last in the list of arguments for C/C++ command line since yndexer.py expects the last argument defines yndexer output file
@@ -1230,8 +1230,8 @@ class GnuCompiler(Compiler): append('EXTRA_OUTPUT') style = ['${hide;kv:"p CC"} ${hide;kv:"pc green"}'] - cxx_args = ['$GCCFILTER', '$YNDEXER_ARGS', '$CXX_COMPILER', '$C_FLAGS_PLATFORM', '$GCC_COMPILE_FLAGS', '$CXXFLAGS', '$EXTRA_OUTPUT', '$TOOLCHAIN_ENV', '$YNDEXER_OUTPUT', '$SRCFLAGS'] + style -...
BugID:17865306: Remove warnings about MBINS
@@ -19,9 +19,9 @@ config AOS_BUILD_APP help This option holds the name of the application that is going to build. -config MBINS - string - option env="MBINS" +#config MBINS +# string +# option env="MBINS" ## --- Generated Automatically --- source "board/Config.in"
mINI: Remove `preview` and `unfinished` tags
- infos/provides = storage/ini - infos/recommends = - infos/placements = getstorage setstorage -- infos/status = experimental limited maintained nodep preview unfinished +- infos/status = experimental limited maintained nodep - infos/metadata = - infos/description = A minimal plugin for simple INI files
fix kappa metric
@@ -29,12 +29,12 @@ static TVector<TVector<int>> GetWeights(EKappaMetricType type, int classCount) { } } -static TVector<TVector<double>> GetExpectedMatrix(TConstArrayRef<TVector<int>> matrix, int classCount) { +static TVector<TVector<double>> GetExpectedMatrix(TConstArrayRef<TVector<double>> matrix, int classCount) { ...
RHEL8: README.Linux.md update on master Updating RHEL8 installation steps on README.Linux.md, as few additional RHEL8 specific steps needs to be updated.
echo 'source scl_source enable devtoolset-7' >> ~/.bashrc ``` -## For RHEL +## For RHEL: -Use dependency script for CentOS. +- Install Development Tools. + - For RHEL 8: Install `Development Tools`: -- If you want to install `devtoolset-7`: + ```bash + sudo yum group install -y "Development Tools" + ``` + + - For RHEL ...
fix various code format issues
@@ -395,17 +395,12 @@ static int ssl_tls13_write_selected_identity_ext( mbedtls_ssl_context *ssl, MBEDTLS_SSL_DEBUG_MSG( 3, ( "server hello, adding pre_shared_key extension" ) ); MBEDTLS_SSL_CHK_BUF_PTR( p, end, 6 ); - /* Extension Type */ MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_PRE_SHARED_KEY, p, 0 ); - - /* Extension ...
metadata-pull-hook: disabling remove on nack
++ on-pull-nack |= [=resource =tang] ^- (quip card _this) - =/ =associations:metadata - (metadata-for-group:met resource) - :_ this - %+ turn ~(tap by associations) - |= [=md-resource:metadata =association:metadata] - %+ poke-our:pass:io:hc %metadata-store - :- %metadata-update-2 - !> ^- update:metadata - [%remove reso...
include/debug.h: Modify debug defines of task manager Add missing task manager debug defines at debug.h and modify task manager debug defines.
@@ -733,20 +733,19 @@ Once LOGM is approved, each module should have its own index #define medllvdbg(...) #endif -#ifdef CONFIG_DEBUG_TASK_MANAGER #ifdef CONFIG_DEBUG_TASK_MANAGER_ERROR #define tmdbg(format, ...) dbg(format, ##__VA_ARGS__) +#define tmlldbg(format, ...) lldbg(format, ##__VA_ARGS__) #else #define tmdbg(....
fix error in Display readme
@@ -163,7 +163,7 @@ picodisplay.rectangle(x, y, w, h) Draws a circle filled with the current pen colour to the buffer. The `x` and `y` parameters specify the centre of the circle, `r` specifies the radius in pixels. ```python -picodisplay.rectangle(x, y, w, h) +picodisplay.circle(x, y, r) ``` ![Circle function explanat...
Remove deadlock that was caused by calling pthread_rwlock_wrlock() on same thread twice. This can be reproduce only with musl. CLA: trivial
@@ -108,7 +108,7 @@ static int dummy_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, int crypto_free_ex_index_ex(OPENSSL_CTX *ctx, int class_index, int idx) { - EX_CALLBACKS *ip = get_and_lock(ctx, class_index); + EX_CALLBACKS *ip; EX_CALLBACK *a; int toret = 0; OSSL_EX_DATA_GLOBAL *global = openssl_ctx_get_ex_data...
Create-operator timings to wshfl
@@ -719,14 +719,40 @@ int main_wshfl(int argc, char* argv[]) coeff_dims[4] = md; coeff_dims[6] = tk; - debug_printf(DP_INFO, "Creating linear operators... "); + debug_printf(DP_INFO, "Creating linear operators: \n"); + + double t1; + double t2; + + t1 = timestamp(); const struct linop_s* E = linop_espirit_create(sx, sy...
Configure: fixed posix_spawn() detection with glic 2.30. In particular, it was previously broken on Ubuntu 19.10 and Fedora 31. See for details: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2ab5741
@@ -186,8 +186,8 @@ nxt_feature_libs= nxt_feature_test="#include <spawn.h> #include <unistd.h> - int main() { - (void) posix_spawn(NULL, NULL, NULL, NULL, NULL, NULL); + int main(int argc, char *argv[]) { + (void) posix_spawn(NULL, \"\", NULL, NULL, argv, NULL); return 0; }" . auto/feature
vere: bypass terminal logging on lmdb worker thread
@@ -96,7 +96,7 @@ c3_o _perform_put_on_database_raw(MDB_txn* transaction_u, c3_w ret_w = mdb_put(transaction_u, database_u, &key_val, &value_val, flags); if (ret_w != 0) { - u3l_log("lmdb: write failed: %s\n", mdb_strerror(ret_w)); + fprintf(stderr, "lmdb: write failed: %s\n", mdb_strerror(ret_w)); return c3n; } @@ -11...
added a check for valid time step to assure the file is and H5part file
@@ -145,6 +145,17 @@ avtH5PartFileFormat::avtH5PartFileFormat(const char *filename, EXCEPTION1(InvalidFilesException, filename); } + // Check for the first time step - if it does not exit bailout as + // the file is not a H5Part file. + activeTimeStep = 0; + if (!H5PartHasStep(file, activeTimeStep)) + { + H5PartCloseFi...
doc: add info about GSOC 2018
This page is the first point for anyone interested in contributing to Elektra! +## GSoC 2018 + +This page is also the central point for students interested in contributing to Elektra during +[Google Summer of Code 2018](https://summerofcode.withgoogle.com). + +Google Summer of Code is a opportunity for you to get paid ...
Update the link for the nightly test status. Update the link for the nightly test status to the web site on github.io.
Source code repository for the VisIt Scientific Visualization and Data Analysis Application -[Project Website](https://visit.llnl.gov) | [Nightly Test Status](http://portal.nersc.gov/project/visit/) +[Project Website](https://visit.llnl.gov) | [Nightly Test Status](https://visit-dav.github.io/dashboard/) ## Documentati...
Add `---` <hr> parsing
++ flow marl:dynamic :: node or generator ++ mite :: context $? $down :: outer embed + $rule :: horizontal ruler $list :: unordered list $lime :: list item $lord :: ordered list ++ trig-style :: $? $fini :: terminator $done :: end of input + $rule :: --- horizontal ruler $lint :: + line item $lite :: - line item $head ...
Update CHANGELOG.md with the logger function setup api name change
@@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 `oeapkman --optee exec gcc -c file.c` cross-compile `file.c` to target OP-TEE. - See [samples/apkman](samples/apkman) for a complete example demonstrating use of the `sqlite` database library within enclaves. - Support fo...
Fix logging with module loading support
@@ -797,10 +797,12 @@ static oe_result_t _link_elf_image( else { if ((symbol->st_info >> 4) != STB_WEAK) - OE_RAISE( + OE_RAISE_MSG( OE_UNSUPPORTED_ENCLAVE_IMAGE, "symbol %s not found\n", name); + else + OE_TRACE_WARNING("Weak symbol %s is not resolved\n"); } } /* Patch non-symbolic relocation records */
Fix i2c return value when it fails to read Assign I/O error when i2c fails to read bytes, and jump to fail laber with -EIO return value.
@@ -765,7 +765,7 @@ int s5j_i2c_transfer(struct i2c_dev_s *dev, struct i2c_msg_s *msgv, int msgc) ret = readbytes(priv, pmsg); if (ret < pmsg->length) { if (ret >= 0) { - return -EIO; + ret = -EIO; } goto fail; }
Tighten up SSL_get1_supported_ciphers() docs This function is really emulating what would happen in client mode, and does not necessarily reflect what is usable for a server SSL. Make this a bit more explicit, and do some wordsmithing while here.
@@ -29,16 +29,16 @@ is returned. SSL_CTX_get_ciphers() returns the stack of available SSL_CIPHERs for B<ctx>. SSL_get1_supported_ciphers() returns the stack of enabled SSL_CIPHERs for -B<ssl>, sorted by preference. +B<ssl> as would be sent in a ClientHello (that is, sorted by preference). The list depends on settings l...
sim: Remove complexity from an if Clippy suggests that having a closure in the condition of an if can be confusing in regards to code formatting. Move the conditional outside of the if into a temp variable.
@@ -1564,11 +1564,14 @@ fn install_ptable(flash: &mut SimMultiFlash, areadesc: &AreaDesc) { // aren't marked as the BootLoader partition, avoid adding the // partition table. This makes it harder to view the image, but // avoids messing up images already written. - if areadesc.iter_areas().any(|area| { + let skip_ptabl...
core/test/run-buddy: add one more test to get to 100% lines covered We're now only missing some assert() branches in buddy testing.
-/* Copyright 2016 IBM Corp. +/* Copyright 2016-2017 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ int main(void) buddy_reserve(b, 127, 0); buddy_reserve(b, 0, 4); + assert(buddy_reserve(b, 0, 4) == fals...
deep sleep: fix sleep gpio wakeup fail issue
@@ -585,6 +585,9 @@ esp_err_t gpio_wakeup_disable(gpio_num_t gpio_num) #endif portENTER_CRITICAL(&gpio_context.gpio_spinlock); gpio_hal_wakeup_disable(gpio_context.gpio_hal, gpio_num); +#if SOC_GPIO_SUPPORT_SLP_SWITCH && CONFIG_ESP32C3_LIGHTSLEEP_GPIO_RESET_WORKAROUND + gpio_hal_sleep_sel_en(gpio_context.gpio_hal, gpio...
examples/png: msan poison for input data
@@ -55,6 +55,12 @@ void png_user_free(png_structp png_ptr, png_voidp ptr) void png_user_read_data(png_structp png_ptr, png_bytep data, png_size_t length) { +#if defined(__clang__) +#if __has_feature(memory_sanitizer) + __msan_poison(data, length); +#endif /* __has_feature(memory_sanitizer) */ +#endif /* defined(__clang...
add test timeout with ctx lock
******************************************************************************/ #include "selftest.h" +#include "context.h" +#include "stdbool.h" #include "luos_hal.h" /******************************************************************************* @@ -78,11 +80,18 @@ result_t selftest_com(void) uint32_t tickstart = Lu...
switch entries in announcements list entries
@@ -56,8 +56,8 @@ void announces_debug(FILE *fp) { fprintf(fp, "Announcements:\n" ); while (value) { - fprintf(fp, " id: %s\n", str_id( value->id)); fprintf(fp, " query: %s\n", value->query); + fprintf(fp, " id: %s\n", str_id( value->id)); fprintf(fp, " port: %d\n", value->port); if (value->refresh < now) { fprintf(fp,...
fix error 'undefined reference to entry' after menuconfig
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L4R5ZI bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers"
OcMachoLib: Revert incorrect changes from last commit
@@ -288,13 +288,8 @@ MachoGetClassNameFromMetaClassPointer ( PrefixSize = L_STR_LEN (OSOBJ_PREFIX); SuffixSize = L_STR_LEN (METACLASS_TOKEN); - BodySize = AsciiStrLen (MetaClassName); - if (PrefixSize + SuffixSize > BodySize) { - return FALSE; - } - - ClassNameLength = (BodySize - PrefixSize - SuffixSize); + ClassNameL...
Add support for ROCm AOMP compilation with additional paths to resolve hip libs.
@@ -7,8 +7,8 @@ ifeq ($(AOMP),) endif CFLAGS = -c -std=c++11 -D__HIP_PLATFORM_HCC__ -I$(AOMP)/../include -I$(AOMP)/include -# Set the rpath to pick up AOMP libs in case rocm was installed. -LFLAGS = -L$(AOMP)/lib -lhip_hcc -Wl,-rpath,$(AOMP)/lib +# Set the rpath to pick up AOMP libs in case rocm was installed. Also sup...
board/plankton/usb_pd_pdo.c: Format with clang-format BRANCH=none TEST=none
#include "usb_pd.h" #include "usb_pd_pdo.h" -#define PDO_FIXED_FLAGS (PDO_FIXED_DATA_SWAP | PDO_FIXED_UNCONSTRAINED |\ - PDO_FIXED_COMM_CAP) +#define PDO_FIXED_FLAGS \ + (PDO_FIXED_DATA_SWAP | PDO_FIXED_UNCONSTRAINED | PDO_FIXED_COMM_CAP) /* Source PDOs */ const uint32_t pd_src_pdo[] = {
Cost function for Valhalla wheelchair routing
#include <valhalla/proto/trippath.pb.h> #include <valhalla/proto/tripdirections.pb.h> +namespace valhalla { namespace sif { + + cost_ptr_t CreateWheelchairCost(const boost::property_tree::ptree& config) { + boost::property_tree::ptree wheelchairConfig(config); + wheelchairConfig.put("type", "wheelchair"); + return Crea...
filter_modify: condition key_value_matches regex bug In configuring Condition 'Key_Value_Matches' KEY REGEX Accidentally KEY is consired regex not REGEX parameter. This can crash program.
@@ -169,7 +169,7 @@ static int setup(struct filter_modify_ctx *ctx, } else if (strcasecmp(sentry->value, "key_value_matches") == 0) { condition->conditiontype = KEY_VALUE_MATCHES; - condition->a_is_regex = true; + condition->b_is_regex = true; } else if (strcasecmp(sentry->value, "key_value_does_not_match") == 0) {
ExtendedTools: Remove duplicate PhGetTaskbarDpi for tray icons
@@ -291,12 +291,6 @@ VOID EtpGpuIconUpdateCallback( HANDLE maxGpuProcessId; PPH_PROCESS_ITEM maxGpuProcessItem; PH_FORMAT format[8]; - LONG dpiValue; - - dpiValue = PhGetTaskbarDpi(); - - drawInfo.Width = PhGetSystemMetrics(SM_CXSMICON, dpiValue); - drawInfo.Height = PhGetSystemMetrics(SM_CYSMICON, dpiValue); // Icon @...
reference: fix test_baseName
@@ -184,14 +184,14 @@ static void test_getArrayNext (void) ksDel (array); } -void test_baseName () +static void test_baseName (void) { printf ("Test validate base name"); succeed_if (elektraArrayValidateBaseNameString ("#") == 0, "Start not detected correctly"); succeed_if (elektraArrayValidateBaseNameString ("#0") == ...
Fix spelling and formatting consistency
This guide details the steps required to migrate from Mbed TLS version 2.x to Mbed TLS version 3.0 or greater. Unlike normal releases, Mbed TLS 3.0 breaks -compatibility with previous versions, so users (and alt implementors) might +compatibility with previous versions, so users (and alt implementers) might need to cha...
Fix effort calculation
@@ -175,11 +175,7 @@ namespace MiningCore.Blockchain.Bitcoin public Task CalculateBlockEffortAsync(Block block, ulong accumulatedBlockShareDiff) { - // adjust diff - var coinProps = BitcoinProperties.GetCoinProperties(poolConfig.Coin.Type, poolConfig.Coin.Algorithm); - var adjusted = accumulatedBlockShareDiff / coinPro...
[threads smoke test]-Added clang version logic. Clang 9 now considers this to be SPMD instead of Generic (Clang 8)
#include <stdio.h> #include <omp.h> #include <string.h> +#include <stdlib.h> +/*Starting with clang version 9 this test is considered to be SPMD mode. Previously, clang 8 considered this to be generic, +so now this test determines the clang version to verify the results.*/ int main() { + FILE * file; + char ln[256]; + ...
[core] do not remove pid-file in test mode do not remove pid-file in test mode (whether test passes or fails) (thx m4t)
#endif static int oneshot_fd = 0; -static volatile int pid_fd = -1; +static volatile int pid_fd = -2; static server_socket_array graceful_sockets; static volatile sig_atomic_t graceful_restart = 0; static volatile sig_atomic_t graceful_shutdown = 0; @@ -417,7 +417,7 @@ static void server_free(server *srv) { } static vo...
Fix check of cpuid_asm_src config attribute The contents of that attribute is C file names, not object file names. This went undetected because quite a lot of systems have assembler implementations anyway, so setting OPENSSL_CPUID_OBJ was correct for them.
@@ -1290,7 +1290,7 @@ if ($target{sys_id} ne "") unless ($disabled{asm}) { $target{cpuid_asm_src}=$table{DEFAULTS}->{cpuid_asm_src} if ($config{processor} eq "386"); - push @{$config{defines}}, "OPENSSL_CPUID_OBJ" if ($target{cpuid_asm_src} ne "mem_clr.o"); + push @{$config{defines}}, "OPENSSL_CPUID_OBJ" if ($target{cp...
drivers: Fix compiler errors riscv64-unknown-elf-ld: staging/libdrivers.a(rwbuffer.o): in function `rwb_flush': rwbuffer.c:(.text.rwb_flush+0x12): undefined reference to `rwb_forcetake'
@@ -71,18 +71,20 @@ static ssize_t rwb_read_(FAR struct rwbuffer_s *rwb, off_t startblock, * Name: rwb_semtake ****************************************************************************/ -#if defined(CONFIG_DRVR_WRITEBUFFER) && CONFIG_DRVR_WRDELAY != 0 +#if defined(CONFIG_DRVR_WRITEBUFFER) static int rwb_semtake(FAR ...
Minor fix to wifi documentation Another fix
@@ -604,7 +604,7 @@ wifi.sta.config(station_cfg) - [`wifi.sta.clearconfig()`](#wifistaclearconfig) - [`wifi.sta.connect()`](#wifistaconnect) - [`wifi.sta.disconnect()`](#wifistadisconnect) -- [`wifi.sta.apinfo()`](#wifistaapinfo) +- [`wifi.sta.getapinfo()`](#wifistagetapinfo) ## wifi.sta.connect() @@ -768,8 +768,8 @@ p...
Fix final warnigns on OSX builds. The OSX deployment target should also be set for building rt/_myrrt.o
@@ -55,6 +55,7 @@ case $OS in sysinit='setenv("MACOSX_DEPLOYMENT_TARGET", "10.6", 0)' echo 'export SYS=osx' >> config.mk echo export INST_MAN=$prefix/share/man/man >> config.mk + echo export MACOSX_DEPLOYMENT_TARGET=10.6 >> config.mk echo 'const Sys = "OSX"' >> mbld/config.myr echo 'const Linkcmd = ["ld", ' \ '"-pageze...
Bug fix for 2Comp and LIFO tank mixing models (issue
@@ -32,6 +32,7 @@ double mixtank(Project *, int, double, double ,double); // Imported functions extern void addseg(Project *, int, double, double); +extern void reversesegs(Project *, int); // Local functions static double piperate(Project *, int); @@ -539,7 +540,7 @@ void tankmix2(Project *pr, int i, double vin, doubl...
Adjust leap mobile height
@@ -216,7 +216,7 @@ export class Omnibox extends Component { renderResults() { const { props, state } = this; return <Box - maxHeight="400px" + maxHeight={['200px', "400px"]} overflowY="auto" overflowX="hidden" borderBottomLeftRadius='2'
Debug: Mention early environment setup
@@ -16,6 +16,8 @@ The general approach is as follows: #### Preparing Source Code +To get started, the compilation environment should be set up. Such commands can be found in `Docs/Configuratio.pdf`, section `3.3 Contribution`. + By default EDK II optimises produced binaries, so to build a "real" debug binary one should...
posix: Add cfgetispeed()/cfgetospeed()
#include <bits/ensure.h> #include <mlibc/sysdeps.hpp> -speed_t cfgetispeed(const struct termios *) { - __ensure(!"Not implemented"); - __builtin_unreachable(); +speed_t cfgetispeed(const struct termios *tios) { + return tios->ibaud; } -speed_t cfgetospeed(const struct termios *) { - __ensure(!"Not implemented"); - __bu...
Compiler friendlier
### Ver. 0.4.4 (next) +**Fix**: (`facil`) Fixed compiling error on older `gcc` v.4.8.4, discovered on Ubuntu trusty/64. + **Fix**: Fix enhanced CPU cycles introduced in the v.0.4.3 update. Now CPU cycles are lower and thread throttling handles empty queues more effectively. ### Ver. 0.4.3
make test: remove excessive prints
@@ -78,8 +78,6 @@ class TestL2Flood(VppTestCase): for i in self.pg_interfaces[1:12]: rx0 = i.get_capture(65, timeout=1) - self.logger.error(self.vapi.cli("sh trace")) - # # input on pg4 (SHG=1) expect copies on pg0->3 (SHG=0) # and pg8->11 (SHG=2)
core/minute-ia/interrupts.c: Format with clang-format BRANCH=none TEST=none
@@ -228,15 +228,10 @@ DEFINE_EXN_HANDLER(20); * watchdog timer expiration. However, this time, hardware does not * push errorcode, and we must account for that by pushing zero. */ -noreturn __keep -void exception_panic_wdt(uint32_t cs) +noreturn __keep void exception_panic_wdt(uint32_t cs) { - exception_panic( - CONFIG...
ssse3: add NEON implementation of simde_mm_mulhrs_pi16
@@ -808,10 +808,25 @@ simde_mm_mulhrs_pi16 (simde__m64 a, simde__m64 b) { a_ = simde__m64_to_private(a), b_ = simde__m64_to_private(b); + #if defined(SIMDE_ARM_NEON_A32V7_NATIVE) + // Has issues due to saturation + // r_.neon_i16 = vqrdmulh_s16(a, b); + + // Multiply + int32x4_t mul = vmull_s16(a_.neon_i16, b_.neon_i16...
test NEW deviation causing submodule prefix to be used Refs
@@ -3102,6 +3102,24 @@ test_deviation(void **state) assert_int_equal(LY_TYPE_IDENT, leaf->type->basetype); assert_string_equal("ident", ((struct lysc_type_identityref *)leaf->type)->bases[0]->name); + assert_int_equal(LY_SUCCESS, lys_parse_mem(ctx, "module v {namespace urn:v;prefix v;" + "identity ident; identity ident...
test(ethereum): Add test_001CreateWallet_0012CreateOnetimeWalletWithLoadExistedWallet
@@ -347,6 +347,24 @@ START_TEST(test_001CreateWallet_0011CreateSevenWallet) } END_TEST +START_TEST(test_001CreateWallet_0012CreateOnetimeWalletWithLoadExistedWallet) +{ + BSINT32 rtnVal; + BoatEthWalletConfig wallet = get_ethereum_wallet_settings(); + extern BoatIotSdkContext g_boat_iot_sdk_context; + wallet.prikeyCtx_...
esp32/modsocket: Make socket.accept return a tuple: (client, addr).
#include "py/runtime.h" #include "py/mphal.h" #include "py/stream.h" +#include "lib/netutils/netutils.h" #include "lwip/sockets.h" #include "lwip/netdb.h" @@ -117,14 +118,30 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(socket_listen_obj, socket_listen); STATIC mp_obj_t socket_accept(const mp_obj_t arg0) { socket_obj_t *self = M...
Added dummy support for ARB_fog_linear
@@ -3588,6 +3588,8 @@ void parseToken(sCurStatus* curStatusPtr, int vertex, char **error_msg) { case TOK_END_OF_INST: if (!strcmp(curStatusPtr->curValue.newOpt.optName, "ARB_precision_hint_fastest")) { // Nothing to do + } else if (!strcmp(curStatusPtr->curValue.newOpt.optName, "ARB_fog_linear")) { + // To do? } else {...
Renamed slightly misleading parameter names
@@ -73,9 +73,9 @@ typedef enum { S2N_SERVER, S2N_CLIENT } s2n_mode; extern struct s2n_connection *s2n_connection_new(s2n_mode mode); extern int s2n_connection_set_config(struct s2n_connection *conn, struct s2n_config *config); -extern int s2n_connection_set_fd(struct s2n_connection *conn, int readfd); +extern int s2n_c...
py_tf: fix headers when module is disabled.
#include "py/objlist.h" #include "py/objtuple.h" +#include "imlib_config.h" #include "py_helper.h" +#ifdef IMLIB_ENABLE_TF #include "py_assert.h" #include "py_image.h" #include "ff_wrapper.h" #include "libtf_person_detect_model_data.h" #include "py_tf.h" -#ifdef IMLIB_ENABLE_TF - #define PY_TF_PUTCHAR_BUFFER_LEN 1023 v...
u3: print errors while deleting snapshot patch
@@ -433,10 +433,16 @@ _ce_patch_delete(void) c3_c ful_c[8193]; snprintf(ful_c, 8192, "%s/.urb/chk/control.bin", u3P.dir_c); - c3_unlink(ful_c); + if ( unlink(ful_c) ) { + fprintf(stderr, "loom: failed to delete control.bin: %s\r\n", + strerror(errno)); + } snprintf(ful_c, 8192, "%s/.urb/chk/memory.bin", u3P.dir_c); - c...
Bump actions checkout version
@@ -15,7 +15,7 @@ jobs: os: [ubuntu-latest, ubuntu-16.04] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Make dictu and run tests (No HTTP) run: | make debug DISABLE_HTTP=1 @@ -36,7 +36,7 @@ jobs: os: [macOS-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: M...
vulkan: Remove unused VkPhysicalDeviceFeatures
@@ -1749,7 +1749,6 @@ static VkResult overlay_CreateDevice( // Advance the link info for the next element on the chain chain_info->u.pLayerInfo = chain_info->u.pLayerInfo->pNext; - VkPhysicalDeviceFeatures device_features = {}; std::vector<const char*> enabled_extensions(pCreateInfo->ppEnabledExtensionNames, pCreateInf...
UWP: uninstalling application before installing
@@ -651,14 +651,37 @@ namespace "run" do end namespace "uwp" do + def uninstallApplication(deviceGuid, targetAppxFN) + args = [] + args << "uninstall" + args << "-file" + args << "\""+targetAppxFN+"\"" + args << "-g" + args << "\"" + deviceGuid + "\"" + puts Jake.run($winAppDeploy, args) + end - def deployApplication(d...
Fix print-color-mode-default support so that it can be configured and defaults to the printer's value (Issue
@@ -4,6 +4,8 @@ CHANGES - OpenPrinting CUPS 2.4.0 - 2021-11-29 Changes in CUPS v2.4.1 (TBA) ---------------------------- +- The default color mode now is now configurable and defaults to the printer's + reported default mode (Issue #277) - Configuration script now checks linking for -Wl,-pie flags (Issue #303) - Fixed ...
Added more SceLsdb NIDs
@@ -6001,13 +6001,18 @@ modules: kernel: false nid: 0x6BC25E17 functions: + sceLsdbGetAttribute: 0xD494B2C3 sceLsdbGetAppVer: 0x63AB6A8F sceLsdbGetBootable: 0x46BF2766 sceLsdbGetCategory: 0x6469796F sceLsdbGetDiscId: 0x1F569CFC sceLsdbGetGameDataId: 0x2FFE0E3F + sceLsdbGetMetaContentsPath: 0x9117289F sceLsdbGetName: 0x...
Add a new job to run icw with gpos using gpdb memory allocation functions
@@ -10,6 +10,7 @@ groups: - compile_gpdb_aix7_remote - icw_planner_centos6 - icw_gporca_centos6 + - icw_gporca_centos6_gpos_memory - icw_gporca_centos7 - icw_gporca_sles11 - icw_planner_ictcp_centos6 @@ -783,6 +784,25 @@ jobs: TEST_OS: centos CONFIGURE_FLAGS: {{configure_flags}} +- name: icw_gporca_centos6_gpos_memory ...
complete AUTHORS
@@ -55,6 +55,5 @@ reporting bugs, providing fixes, suggesting useful features or other: Ricardo Martin Camarero <https://github.com/rickyepoderi> Filip Vujicic <https://github.com/FilipVujicic> Janusz Ulanowski <https://github.com/janul> - AIMOTO Norihito + Aimoto Norihito <https://github.com/oss-aimoto> Andy Lindeman ...
Don't activate paths more than once when writting MPCIDs
@@ -77,9 +77,11 @@ protoop_arg_t write_mp_new_connection_id_frame(picoquic_cnx_t* cnx) consumed = byte_index; + if (p->state < path_active) { /* Now that we sent the MP NEW CONNECTION ID frame, we should be active to receive packets */ mp_receive_path_active(cnx, p, picoquic_current_time()); } + } /* Do not freem mncic...
parsers: conf: remove typo of Time_Format in syslog-rfc3164 parser config
Regex /^\<(?<pri>[0-9]+)\>(?<time>[^ ]* {1,2}[^ ]* [^ ]*) (?<host>[^ ]*) (?<ident>[a-zA-Z0-9_\/\.\-]*)(?:\[(?<pid>[0-9]+)\])?(?:[^\:]*\:)? *(?<message>.*)$/ Time_Key time Time_Format %b %d %H:%M:%S - Time_Format %Y-%m-%dT%H:%M:%S.%L Time_Keep On [PARSER]
contributing / interface: 'confirm' -> 'apply'
@@ -23,7 +23,7 @@ this folder, [pkg/interface][interface]. You can find an `urbitrc-sample` here for reference. Then `cd` into the application's folder and `npm install` the dependencies, then `gulp watch` to watch for changes. -On your development ship, ensure you `|commit %home` to confirm your changes. +On your deve...
groups-js: seperate user's ship from rest of contacts
@@ -20,8 +20,11 @@ export class ContactSidebar extends Component { let responsiveClasses = props.activeDrawer === "contacts" ? "db" : "dn db-ns"; - let me = (window.ship in props.defaultContacts) ? - props.defaultContacts[window.ship] : { color: '0x0', nickname: null}; + let me = (window.ship in props.contacts) + ? pro...
Work CI-CD Fix condition for WIN builds so they publish to nuget only on builds from main. ***NO_CI***
@@ -855,12 +855,16 @@ jobs: ArtifactName: deployables ArtifactType: Container - # push NuGet packages to Azure Artifacts feed (always happens except on PR builds) + # push NuGet packages to Azure Artifacts feed (always happens when building from main, except on PR builds) - task: NuGetCommand@2 condition: >- and( succe...
Tests: more timeout tests.
@@ -25,6 +25,31 @@ Connection: close self.assertEqual(resp['status'], 408, 'status header read timeout') + @unittest.expectedFailure + def test_settings_header_read_timeout_update(self): + self.load('empty') + + self.conf({'http': { 'header_read_timeout': 4 }}, '/settings') + + (resp, sock) = self.http(b"""GET / HTTP/1...