message
stringlengths
6
474
diff
stringlengths
8
5.22k
examles/netlink: Fix a typo that resulted in build breakage.
@@ -103,7 +103,7 @@ static void dump_devices(sa_family_t family) FAR struct netlib_device_s *dev = &devlist[i]; #ifdef CONFIG_NETDEV_IFINDEX - printf(" Index: %2d ," dev->ifindex); + printf(" Index: %2d ", dev->ifindex); #else printf(" "); #endif
dsp.h: enable NEON w/VS2019+ ARM64 targets Visual Studio added ARM64 support, but requires arm64_neon.h to be included rather than arm_neon.h. Visual Studio 2019 addressed this so we'll start with that version and leave a local adapter include for a follow up.
@@ -119,7 +119,12 @@ extern "C" { #define WEBP_USE_NEON #endif -#if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM) +// Note: ARM64 is supported in Visual Studio 2017, but requires the direct +// inclusion of arm64_neon.h; Visual Studio 2019 includes this file in +// arm_neon.h. +#if defined(_MSC_VER) && \ + (...
server session BUGFIX set umask before mkstemp
#include <stdlib.h> #include <string.h> #include <sys/types.h> +#include <sys/stat.h> #include <pwd.h> #include <shadow.h> #include <crypt.h> @@ -34,13 +35,16 @@ base64der_key_to_tmp_file(const char *in, int rsa) { char path[12] = "/tmp/XXXXXX"; int fd, written; + mode_t umode; FILE *file; if (in == NULL) { return NULL...
Fix i vs. i iterator collidation
@@ -1059,6 +1059,7 @@ void DeRestPluginPrivate::addLightNode(const deCONZ::Node *node) lightNode2->setManufacturerCode(node->nodeDescriptor().manufacturerCode()); ResourceItem *reachable = lightNode2->item(RStateReachable); + DBG_Assert(reachable != 0); if (!reachable->toBool()) { // the node existed before @@ -1078,9 ...
Use correct attribute number in updating aoseg tuplecounts Spotted while reading.
@@ -1059,7 +1059,7 @@ AOCSFileSegInfoAddCount(Relation prel, int32 segno, d[Anum_pg_aocs_varblockcount - 1] = fastgetattr(oldtup, Anum_pg_aocs_varblockcount, tupdesc, &null[Anum_pg_aocs_varblockcount - 1]); Assert(!null[Anum_pg_aocs_varblockcount - 1]); d[Anum_pg_aocs_varblockcount - 1] += varblockadded; - repl[Anum_pg...
fixed small binary output bug
@@ -1038,8 +1038,9 @@ void WriteCBPInsol(BODY *body,CONTROL *control,OUTPUT *output,SYSTEM *system,UNI if(iBody < 2 || body[iBody].iBodyType != 0) { *dTmp = -1; } - + else{ *dTmp = fndApproxInsol(body,iBody); + } // Always in units of insolation received by Earth strcpy(cUnit,"F/F_Earth");
filter: add casting
@@ -173,7 +173,7 @@ void flb_filter_do(struct flb_input_chunk *ic, /* Point back the 'data' pointer to the new address */ ret = cio_chunk_get_content(ic->chunk, - &work_data, &cur_size); + (char **) &work_data, &cur_size); work_data += (cur_size - out_size); work_size = out_size;
Ruby: Fix version check Before this change the Ruby bindings were excluded if we installed Swig 3.0.10 or any later version of Swig 3.0.
@@ -11,7 +11,7 @@ find_package(Ruby) if (NOT RUBY_FOUND) remove_binding(swig_ruby "ruby interpreter or ruby header files not found (package ruby-dev/ruby-devel installed?)") -elseif (SWIG_VERSION MATCHES "^([12]\\.)|(3\\.0\\.[01234567])") +elseif (SWIG_VERSION MATCHES "^([12]\\.)|(3\\.0\\.[01234567])$") remove_binding(...
update packaged files; add selinux post scripts
@@ -142,11 +142,22 @@ usermod -a -G warewulf www >/dev/null 2>&1 || : %else usermod -a -G warewulf apache >/dev/null 2>&1 || : %endif -service httpd restart >/dev/null 2>&1 || : -chkconfig httpd on >/dev/null 2>&1 || : -chkconfig tftp on >/dev/null 2>&1 || : -chkconfig xinetd on >/dev/null 2>&1 || : -killall -1 xinetd ...
fixed file handling
@@ -5148,7 +5148,7 @@ if(nmeaoutname != NULL) errorcount++; globalclose(); } - if((fh_nmea = fopen(nmeaoutname, "a+")) == NULL) + if((fh_nmea = fopen(nmeaoutname, "a")) == NULL) { perror("failed to open NMEA 0183 dump file"); errorcount++;
do nothing but print in %wake error case
~|([%bad-channel-wire wire] !!) :: %timeout + ?> ?=([%b %wake *] sign) + ?^ error.sign + [[duct %slip %d %flog %crud %wake u.error.sign]~ http-server-gate] =/ on-channel-timeout on-channel-timeout:by-channel:(per-server-event event-args) =^ moves server-state.ax (on-channel-timeout i.t.t.wire) - ?> ?=([%b %wake *] sign...
Rust: Add example usage for BinaryKey
@@ -53,7 +53,7 @@ fn main() { ### Key -An example for using a key. For a full example, see the [examples](elektra/src/examples.rs). +An example for using a `StringKey`. For a full example, see the [examples](elektra/src/examples.rs). ```rust extern crate elektra; @@ -72,6 +72,28 @@ fn main() -> Result<(), Box<dyn std::...
re-enable dependency change detection in makefile
@@ -106,4 +106,4 @@ flash: $(BUILD_DIR)/$(BINARY).bin (echo -n 'R' > /dev/ttyACM0 && sleep 2) || true dfu-util -a 0 -s 0x08000000:leave -D $(BUILD_DIR)/$(BINARY).bin -#-include $(DEPS) \ No newline at end of file +-include $(DEPS) \ No newline at end of file
Unregister file from workset even it's not "delete at close" SharedFileSet files are automatically closed at end of transaction, but are not automatically deleted on close because they are intended to be shared between cooperating backends. By that, unregister file from workset just as unregister from resource owner th...
@@ -1961,9 +1961,6 @@ FileClose(File file) else stat_errno = 0; - if (vfdP->fdstate & FD_WORKFILE) - WorkFileDeleted(file, true); - /* in any case do the unlink */ if (unlink(vfdP->fileName)) elog(DEBUG1, "could not unlink file \"%s\": %m", vfdP->fileName); @@ -1982,6 +1979,10 @@ FileClose(File file) if (vfdP->resowner...
Add sk_lookup to kernel-versions.md sk_lookup programs allow intercepting socket lookup per namespace.
@@ -81,6 +81,7 @@ BPF cgroup sysctl | 5.2 | [`7b146cebe30c`](https://github.com/torvalds/linux/com BPF raw tracepoint writable | 5.2 | [`9df1c28bb752`](https://github.com/torvalds/linux/commit/9df1c28bb75217b244257152ab7d788bb2a386d0) BPF trampoline | 5.5 | [`fec56f5890d9`](https://github.com/torvalds/linux/commit/fec5...
Leave a note for future me.
@@ -38,8 +38,13 @@ command_fails( [ 'pg_basebackup', '-D', "$tempdir/backup" ], 'pg_basebackup fails because of WAL configuration'); +# +# TODO: When we re-enable pg_basebackup TAP tests, we need to make sure +# this configuration variable matches the actual default guc value for +# max_wal_senders, which increased wit...
Change bro filetype support to zeek.
@@ -15,7 +15,6 @@ lang_spec_t langs[] = { { "batch", { "bat", "cmd" } }, { "bazel", { "bazel" } }, { "bitbake", { "bb", "bbappend", "bbclass", "inc" } }, - { "bro", { "bro", "bif" } }, { "cc", { "c", "h", "xs" } }, { "cfmx", { "cfc", "cfm", "cfml" } }, { "chpl", { "chpl" } }, @@ -142,6 +141,7 @@ lang_spec_t langs[] = {...
vell: Fix thermal high/halt point version 3 BRANCH=none TEST=Thermal team verified thermal policy is expected.
@@ -210,11 +210,11 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); #define THERMAL_CPU \ { \ .temp_host = { \ - [EC_TEMP_THRESH_HIGH] = C_TO_K(85), \ + [EC_TEMP_THRESH_HIGH] = C_TO_K(90), \ [EC_TEMP_THRESH_HALT] = C_TO_K(95), \ }, \ .temp_host_release = { \ - [EC_TEMP_THRESH_HIGH] = C_TO_K(90), \ + [EC_...
[core] set socket perms after bind, before listen (it is still recommended to create sockets in protected directories) x-ref: "Feature request: add server config for setting permissions on Unix domain socket"
@@ -271,11 +271,6 @@ static int network_server_init(server *srv, buffer *host_token, size_t sidx) { goto error_free_socket; } - if (-1 == listen(srv_socket->fd, s->listen_backlog)) { - log_error_write(srv, __FILE__, __LINE__, "ss", "listen failed: ", strerror(errno)); - goto error_free_socket; - } - if (srv_socket->add...
fix:fix ethereum test case(test_001CreateWallet_0002CreateOneTimeWalletFailureNullConfig)
@@ -119,7 +119,6 @@ START_TEST(test_001CreateWallet_0002CreateOneTimeWalletFailureNullConfig) /* 3-2. verify the global variables that be affected */ ck_assert(g_boat_iot_sdk_context.wallet_list[0].is_used == false); - BoatIotSdkDeInit(); } END_TEST
Fixed memory leak in xfpga sysobject test.
@@ -261,6 +261,7 @@ TEST_P(sysobject_mock_p, xfpga_fpgaGetSize) { uint32_t value = 0; EXPECT_EQ(xfpga_fpgaObjectGetSize(object, &value, 0), FPGA_OK); EXPECT_EQ(value, DATA.size()); + EXPECT_EQ(xfpga_fpgaDestroyObject(&object), FPGA_OK); } INSTANTIATE_TEST_CASE_P(sysobject_c, sysobject_mock_p,
hdata/spira: Add missing newline to prlog() call We're missing a \n here.
@@ -1374,7 +1374,7 @@ static void add_npu(struct dt_node *xscom, const struct HDIF_array_hdr *links, * this is going to break. */ - prlog(PR_DEBUG, "NPU: %04x:%d: Link (%d) targets slot %u", + prlog(PR_DEBUG, "NPU: %04x:%d: Link (%d) targets slot %u\n", chip_id, link_count, link_count, slot_id); if (link_count >= 6) {
BugID: update link address in README.md
@@ -56,7 +56,7 @@ AliOS Things can help you connect your devices to [Alibaba Cloud IoT platform](h ## Community * [DingTalk Group](https://img.alicdn.com/tfs/TB1X2HOhYPpK1RjSZFFXXa5PpXa-970-1280.png) -* [Alibaba Cloud IoT Community](https://dev.iot.aliyun.com/) +* [Alibaba Cloud IoT Community](https://developer.aliyun....
avx512bw: define and use SIMDE_AVX512BW_ENABLE_NATIVE_ALIASES
@@ -50,6 +50,10 @@ SIMDE_DISABLE_UNWANTED_DIAGNOSTICS # include <altivec.h> # endif +#if !defined(SIMDE_AVX512BW_NATIVE) && defined(SIMDE_ENABLE_NATIVE_ALIASES) + #define SIMDE_AVX512BW_ENABLE_NATIVE_ALIASES +#endif + SIMDE__BEGIN_DECLS SIMDE__FUNCTION_ATTRIBUTES @@ -75,7 +79,7 @@ simde_mm512_add_epi8 (simde__m512i a, ...
BugID:16917891: fix the build error of keil project
@@ -23,4 +23,4 @@ if aos_global_config.get('sal', 1) == 1: component.set_enable_vfp() linux_only_targets="blink coapapp helloworld http2app linkkit_gateway linkkitapp modbus_demo mqttapp otaapp tls udataapp yts" -windows_only_targets="helloworld|COMPILER=armcc helloworld|COMPILER=iar blink|COMPILER=armcc blink|COMPILER...
build: bump wlroots dependency to 0.17.0
@@ -36,7 +36,7 @@ if is_freebsd endif # Execute the wlroots subproject, if any -wlroots_version = ['>=0.16.0', '<0.17.0'] +wlroots_version = ['>=0.17.0', '<0.18.0'] subproject( 'wlroots', default_options: ['examples=false'],
proc: kill if a thread cannot handle signal_segv or signal_illegal
@@ -1152,6 +1152,7 @@ time_t proc_nextWakeup(void) int threads_sigpost(process_t *process, thread_t *thread, int sig) { int sigbit = 1 << sig; + int kill = 0; switch (sig) { case signal_segv: @@ -1174,6 +1175,12 @@ int threads_sigpost(process_t *process, thread_t *thread, int sig) hal_spinlockSet(&threads_common.spinlo...
doc: remove out-dated recommendation
@@ -650,20 +650,6 @@ applications to link against plugins. ## Troubleshooting -### Missing Links/Libraries - -If you get errors that `libelektra-resolver.so` or `libelektra-storage.so` are missing, -or the links do not work, you can use as workaround: - -```sh -cmake -DBUILD_SHARED=OFF -DBUILD_FULL=ON .. -``` - -This i...
constants: add ENABLE_ASAN see
@@ -156,6 +156,7 @@ static void elektraAddConstants (KeySet * ks, Key * parentKey) elektraAddKeyValue (ks, parentKey, "cmake/ENABLE_DEBUG", "@ENABLE_DEBUG@"); elektraAddKeyValue (ks, parentKey, "cmake/ENABLE_LOGGER", "@ENABLE_LOGGER@"); + elektraAddKeyValue (ks, parentKey, "cmake/ENABLE_ASAN", "@ENABLE_ASAN@"); elektra...
add ifdef TLS
struct gconf_t *gconf = NULL; static const char *g_announce_args[64] = { 0 }; +#ifdef TLS static const char *g_tls_client_args[16] = { 0 }; static const char *g_tls_server_args[16] = { 0 }; +#endif const char *kadnode_version_str = "KadNode v"MAIN_VERSION" (" #ifdef BOB @@ -616,6 +618,7 @@ void conf_apply() { args += 1...
fix copy updates
@@ -90,9 +90,9 @@ if( !$skipCopy) { if ($micro) { #TODO: support update repo merge print "\nCopying updates\n"; - "$tmp_dir/updates" || warn "Unable to remove updates link: $!"; - "$tmp_dir/empty" || warn "Unable to remove empty dir: $!"; - ("$base_repo_path/$base_release:/Update$micro/*", "$tmp_dir/updates") || + unli...
BugID:21191325: Decouple LwM2M app and linkkit sdk
#include <signal.h> #include "aos/cli.h" #include "ulog/ulog.h" - -#include "utils_hmac.h" +#include "infra_md5.h" #define MAX_PACKET_SIZE 1024 #define DEFAULT_SERVER_IPV6 "[::1]"
Update Xiaomi Light sensor GZCGQ01LM DDF to use deviating manufacturer
"schema": "devcap1.schema.json", "doc:path": "xiaomi/xiaomi_gzcgq01lm_light_sensor.md", "doc:hdr": "Light sensor GZCGQ01LM", - "manufacturername": "$MF_XIAOMI", - "modelid": "lumi.sen_ill.mgl01", + "manufacturername": ["$MF_XIAOMI", "$MF_LUMI"], + "modelid": ["lumi.sen_ill.mgl01", "lumi.sen_ill.mgl01"], "vendor": "Xiao...
Fix rare segfault during shutdown Sometimes player-sdl segfaults during shutdown. By reordering the shutdown sequence the segfault seem to have disappeared.
@@ -206,11 +206,11 @@ s32 runCart(void* cart, s32 size) tic80_delete(tic); + SDL_CloseAudioDevice(audioDevice); + SDL_DestroyMutex(state.mutex); SDL_DestroyTexture(texture); SDL_DestroyRenderer(renderer); SDL_DestroyWindow(window); - SDL_CloseAudioDevice(audioDevice); - SDL_DestroyMutex(state.mutex); } SDL_free(cart);
Unpause clients earlier during manual cluster failover Unpause clients after manual failover ends instead of the timed offset
@@ -3536,8 +3536,10 @@ void clusterHandleSlaveMigration(int max_slaves) { * The function can be used both to initialize the manual failover state at * startup or to abort a manual failover in progress. */ void resetManualFailover(void) { - if (server.cluster->mf_end) { - checkClientPauseTimeoutAndReturnIfPaused(); + if...
doc: clarify about name in toml
@@ -155,11 +155,16 @@ example= [internal/<plugin>/*] status= implemented -usedby/plugin= (ini) -description= Internal metadata to be ignored by other plugins. -example=internal/ini/parent could be the name for internal parent - information of the ini plugin. - +usedby/plugin= +description= Internal metadata that must b...
dprint: arms calling other arms dont steal doccord i thought this would be a neat feature but ted called it too clever and probably not what you really want. this code is atrocious though and needs some serious cleanup
?~ doc-one ~? > debug %doc-one-empty ~ :: no need to look for a second doc if there is no first one + ?: =(~ links.u.doc-one) + :: doc-one is a product-doc + [~ [~ `crib.u.doc-one]] + ?: !=([%funk name] -.links.u.doc-one) + :: link on doc-one doesnt match arm name, so that means its calling a + :: different arm and try...
Amend missing resume token tests for wire version 8+
@@ -513,6 +513,7 @@ _test_resume_token_error (const char *id_projection) client = test_framework_client_new (); ASSERT (client); + mongoc_client_set_error_api (client, MONGOC_ERROR_API_VERSION_2); coll = drop_and_get_coll (client, "db", "coll_missing_resume"); ASSERT (coll); @@ -544,6 +545,12 @@ _test_resume_token_erro...
Update obsolete file name bitesize -> bitehist Update tutorial to change the file name.
@@ -326,7 +326,7 @@ This may be improved in future bcc versions. Eg, the Python data struct could be Rewrite sync_timing.py, from a prior lesson, to use ```BPF_PERF_OUTPUT```. -### Lesson 9. bitesize.py +### Lesson 9. bitehist.py The following tool records a histogram of disk I/O sizes. Sample output: @@ -345,7 +345,7 ...
[style] proper place for operator==
@@ -32,6 +32,24 @@ namespace NCB { Groups = std::move(groups); } + bool operator==(const TObjectsGrouping& rhs) const { + if (IsTrivial()) { + if (rhs.IsTrivial()) { + return GroupCount == rhs.GroupCount; + } + return (GroupCount == rhs.GroupCount) && + !FindIfPtr( + rhs.Groups, + [](TGroupBounds groupBounds) { + retur...
OcAppleKernelLib: Add ParseFatArchitecture status check
@@ -145,6 +145,9 @@ ParseFatArchitecture ( UINT32 FileSize; Status = GetFileSize (File, &FileSize); + if (EFI_ERROR (Status)) { + return Status; + } if (BufferSize >= FileSize) { return EFI_INVALID_PARAMETER; }
filter_modify: release leak on error (CID 183638)
@@ -223,6 +223,7 @@ static int setup(struct filter_modify_ctx *ctx, ("[filter_modify] Unable to create regex for condition %s %s", condition->raw_k, condition->raw_v); condition_free(condition); + flb_utils_split_free(split); return -1; } else { @@ -240,6 +241,7 @@ static int setup(struct filter_modify_ctx *ctx, "for c...
Fixed incorrect threads count on Linux
#include <sys/sysctl.h> #endif +#if defined(TUNDRA_LINUX) +#include <thread> +#endif + #if defined(TUNDRA_WIN32) #include <windows.h> #include <ctype.h> @@ -341,6 +345,8 @@ int GetCpuCount() SYSTEM_INFO si; GetSystemInfo(&si); return (int) si.dwNumberOfProcessors; +#elif defined(TUNDRA_LINUX) + return (int)std::thread:...
microbitv2: Reduce target SWD clock to 6 MHz
@@ -5,8 +5,7 @@ common: - MSC_LED_DEF=GPIO_LED_ON - USB_PROD_STR="BBC micro:bit CMSIS-DAP" - IO_CONFIG_OVERRIDE - - DELAY_FAST_CYCLES=2U # Fast delay needed to reach 8MHz SWD clock speed - - DAP_DEFAULT_SWJ_CLOCK=8000000 + - DAP_DEFAULT_SWJ_CLOCK=6000000 # Results in one slow delay of 3 cycles - BOARD_USB_BMAXPOWER=0x9...
updated date and added multicast to signaling
@@ -6,7 +6,7 @@ baresip README Baresip is a portable and modular SIP User-Agent with audio and video support. -Copyright (c) 2010 - 2020 Alfred E. Heggestad and Contributors +Copyright (c) 2010 - 2021 Alfred E. Heggestad and Contributors Distributed under BSD license @@ -44,6 +44,7 @@ Distributed under BSD license - DN...
AppVeyor: Install lua5.1 instead of 5.3.
@@ -45,7 +45,7 @@ $CMAKE_FLAGS = "$CMAKE_FLAGS -G ""$GENERATOR""" ### Install dependencies and setup system. ############################################################################### choco install -y -r swig --version 3.0.9 -choco install -y -r lua53 +choco install -y -r lua choco install -y -r python3 if ($Env:C...
Enhance UAO templating to recognize "aoseg" and "aocsseg" keywords. This is useful if a test wants to use gp_toolkit.__gp_{aoseg|aocsseg}* functions.
@@ -428,7 +428,13 @@ convert_line(char *line, replacements *repls) replace_string(line, "@DLSUFFIX@", repls->dlsuffix); replace_string(line, "@bindir@", repls->bindir); if (repls->orientation) + { replace_string(line, "@orientation@", repls->orientation); + if (strcmp(repls->orientation, "row") == 0) + replace_string(l...
Update python port readme.
@@ -10,7 +10,11 @@ Abstract **METACALL** Python Port is the port of **METACALL** to Python Programming Language. With **METACALL** Python Port you can transparently execute code from Python to any programming language, for -example, calling JavaScript (NodeJS) code from Python. +example, calling JavaScript, NodeJS, Rub...
Small cleanup of some build.info files
@@ -268,7 +268,6 @@ INCLUDE_MAIN___test_libtestutil_OLB = /INCLUDE=MAIN INCLUDE[cipherlist_test]=../include DEPEND[cipherlist_test]=../libcrypto ../libssl libtestutil.a - INCLUDE[testutil.o]=.. INCLUDE[ssl_test_ctx.o]=../include INCLUDE[handshake_helper.o]=../include INCLUDE[ssltestlib.o]=.. ../include @@ -371,7 +370,6...
Return errors PKCS#7/CMS enveloped data ctrls and PSS
@@ -526,14 +526,18 @@ static int pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) return rctx->oaep_labellen; case EVP_PKEY_CTRL_DIGESTINIT: - case EVP_PKEY_CTRL_PKCS7_ENCRYPT: - case EVP_PKEY_CTRL_PKCS7_DECRYPT: case EVP_PKEY_CTRL_PKCS7_SIGN: +#ifndef OPENSSL_NO_CMS + case EVP_PKEY_CTRL_CMS_SIGN: +#endif r...
disable eigen test for aarch64
@@ -136,6 +136,10 @@ tx2=test_static } @test "[$tname] run eigen under resource manager ($rm/$LMOD_FAMILY_COMPILER)" { + # karl.w.schulz@intel.com (6/8/17) - disable test on aarch64 as precision assumptions + # within GSL are tuned for x86 and 80-bit extended precision + [[ "$ARCH" == "aarch64" ]] && skip "Skipping eig...
Router configuration retention count fixed.
@@ -262,7 +262,6 @@ nxt_router_temp_conf(nxt_task_t *task) } rtcf->mem_pool = mp; - rtcf->count = 1; tmp = nxt_mp_create(1024, 128, 256, 32); if (nxt_slow_path(tmp == NULL)) { @@ -693,6 +692,7 @@ nxt_router_conf_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, skcf->listen.handler = nxt_router_conn_init; skcf->ro...
subproc: don't change nice-ness, until all effects are understood
@@ -260,13 +260,6 @@ static bool subproc_PrepareExecv(run_t* run) { } #endif /* ifdef RLIMIT_STACK */ - /* Increase nice-ness by one */ - errno = 0; - int pval = nice(1); - if (errno != 0 && pval != 19) { - PLOG_W("nice(1) failed, prev:%d", pval); - } - if (run->global->exe.clearEnv) { environ = NULL; }
hwloc also needs libltdl
@@ -52,7 +52,7 @@ BuildRequires: opensm-devel BuildRequires: numactl BuildRequires: libevent-devel BuildRequires: pmix%{PROJ_DELIM} -BuildRequires: hwloc hwloc-devel +BuildRequires: hwloc-devel libtool-ltdl %if 0%{with_slurm} BuildRequires: slurm-devel%{PROJ_DELIM} #!BuildIgnore: slurm%{PROJ_DELIM}
Java: added java module in configure help.
@@ -58,4 +58,7 @@ cat << END nodejs OPTIONS configure Node.js module run "./configure nodejs --help" to see available options + java OPTIONS configure Java module + run "./configure java --help" to see available options + END
sh prefix renamed to sb
@@ -12,7 +12,7 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_cblas_helper.sh foreach(float_type ${FLOAT_TYPES}) string(SUBSTRING ${float_type} 0 1 float_char_upper) string(TOLOWER ${float_char_upper} float_char) - if (${float_char} STREQUAL "h") + if (${float_char} STREQUAL "b") continue() endif() #level1
tweaks event reference counting and fixes mis-fixed memory leak
@@ -773,7 +773,7 @@ _worker_poke(void* vod_p, u3_noun mat) goto error; } - u3_noun entry = u3ke_cue(u3k(jammed_entry)); + u3_noun entry = u3qe_cue(jammed_entry); if ( (c3y != u3du(entry)) || (c3n == u3r_cell(entry, &mug, &job)) || (c3n == u3ud(mug)) || @@ -818,7 +818,6 @@ _worker_poke(void* vod_p, u3_noun mat) } evt_d ...
appveyor.yml: Let 'nmake' run by defaut silently (/S), using MAKEVERBOSE like .travis.yml
@@ -50,13 +50,19 @@ before_build: Select-String "\[extended tests\]") ) { $env:EXTENDED_TESTS="yes" } + - ps: >- + If ($env:BUILDONLY -or $env:MAKEVERBOSE) { + $env:NMAKE="nmake" + } Else { + $env:NMAKE="nmake /S" + } build_script: - cd _build - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { -...
Do variable replacements for cmd-extra in documentation.
@@ -176,7 +176,7 @@ sub executeKey if (defined($oCommand->fieldGet('exe-cmd-extra', false))) { - $$hCacheKey{'cmd-extra'} = $oCommand->fieldGet('exe-cmd-extra'); + $$hCacheKey{'cmd-extra'} = $self->{oManifest}->variableReplace($oCommand->fieldGet('exe-cmd-extra')); } if (defined($oCommand->paramGet('err-expect', false)...
reduced excess of hashes
@@ -46,6 +46,7 @@ char *hcxoutname = NULL; char *wdfhcxoutname = NULL; char *nonwdfhcxoutname = NULL; +hcx_t oldhcxrecord; /*===========================================================================*/ void printhex(uint8_t channel, const uint8_t *macaddr1, const uint8_t *macaddr2, int destflag) { @@ -119,6 +120,18 @@...
testutil: teach test_mk_file_path() how to merge VMS file specs This isn't a full solution, it only handles current use cases.
@@ -436,13 +436,36 @@ char *test_mk_file_path(const char *dir, const char *file) const char *sep = "/"; # else const char *sep = ""; + char *dir_end; + char dir_end_sep; # endif size_t len = strlen(dir) + strlen(sep) + strlen(file) + 1; char *full_file = OPENSSL_zalloc(len); if (full_file != NULL) { + if (dir != NULL &...
test: add build ssc job for esp32c6
@@ -472,6 +472,12 @@ build_ssc_esp32s3: variables: TARGET_NAME: "ESP32S3" +build_ssc_esp32c6: + extends: .build_ssc_template + parallel: 3 + variables: + TARGET_NAME: "ESP32C6" + .build_esp_idf_tests_cmake_template: extends: - .build_cmake_template
add Scroll networks
@@ -48,7 +48,10 @@ const network_info_t NETWORK_MAPPING[] = { {.chain_id = 7341, .name = "Shyft", .ticker = "SHFT "}, {.chain_id = 19, .name = "Songbird", .ticker = "SGB "}, {.chain_id = 73799, .name = "Volta", .ticker = "VOLTA "}, - {.chain_id = 25, .name = "Cronos", .ticker = "CRO "}}; + {.chain_id = 25, .name = "Cro...
Fix check for roughness coefficient Fix check for roughness coefficient
@@ -302,7 +302,7 @@ int pipedata(Project *pr) if (!getfloat(parser->Tok[4], &diam)) return setError(parser, 4, 202); if (diam <= 0.0) return setError(parser, 4, 211); if (!getfloat(parser->Tok[5], &rcoeff)) return setError(parser, 5, 202); - if (rcoeff <= 0.0) setError(parser, 5, 211); + if (rcoeff <= 0.0) return setEr...
Show info if your game has problems with sync removed minDelay, and soundblit() calls after screen is rendered
@@ -2429,8 +2429,6 @@ static void renderStudio() studio.tic->api.tick_end(studio.tic); - blitSound(); - if(studio.mode != TIC_RUN_MODE) useSystemPalette(); @@ -2546,6 +2544,8 @@ static void tick() SDL_SetCursor(SDL_CreateSystemCursor(studio.mouse.system)); SDL_RenderPresent(studio.renderer); + + blitSound(); } static v...
Add theme support to selection dialog
#include <phapp.h> #include <settings.h> +#include <phsettings.h> typedef struct _CHOICE_DIALOG_CONTEXT { @@ -259,6 +260,8 @@ INT_PTR CALLBACK PhpChoiceDlgProc( SWP_NOACTIVATE | SWP_NOZORDER); } + PhInitializeWindowTheme(hwndDlg, PhEnableThemeSupport); + PhSetDialogFocus(hwndDlg, comboBoxHandle); } break;
CAN: Fix critical section compliance This commit makes the CAN driver ISR use the ISR version of critical section.
@@ -151,6 +151,8 @@ typedef struct { static can_obj_t *p_can_obj = NULL; static portMUX_TYPE can_spinlock = portMUX_INITIALIZER_UNLOCKED; +#define CAN_ENTER_CRITICAL_ISR() portENTER_CRITICAL_ISR(&can_spinlock) +#define CAN_EXIT_CRITICAL_ISR() portEXIT_CRITICAL_ISR(&can_spinlock) #define CAN_ENTER_CRITICAL() portENTER_C...
bin: on listing help, put the pipeline in the right order
@@ -147,6 +147,13 @@ static void flb_help(int rc, struct flb_config *config) } printf(" %-22s%s\n", in->name, in->description); } + + printf("\n%sFilters%s\n", ANSI_BOLD, ANSI_RESET); + mk_list_foreach(head, &config->filter_plugins) { + filter = mk_list_entry(head, struct flb_filter_plugin, _head); + printf(" %-22s%s\n...
abi build parameter for xamarin
@@ -127,6 +127,7 @@ def buildXamarinNuget(args, target): parser = argparse.ArgumentParser() parser.add_argument('--profile', dest='profile', default='standard', type=validProfile, help='Build profile') +parser.add_argument('--android-abi', dest='androidabi', default=[], choices=ANDROID_ABIS + ['all'], action='append', ...
doc: PG 12 relnotes - add item about amcheck index root check Reported-by: Peter Geoghegan Discussion: Backpatch-through: 12
@@ -3228,6 +3228,18 @@ Author: Tom Lane <tgl@sss.pgh.pa.us> <listitem> <!-- +Author: Peter Geoghegan <pg@bowt.ie> +2019-03-20 [c1afd175b] Allow amcheck to re-find tuples using new search. +--> + + <para> + Add a parameter to a <xref linkend="amcheck"/> function to check + each index tuple from the root of the tree. + <...
rpi-base.inc: Split overlays and dtbs from KERNEL_DEVICETREE This is helpful for example in the cases where the kernel doesn't provide all the dtbs in arm64 as in arm.
@@ -14,16 +14,7 @@ XSERVER = " \ ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \ " -KERNEL_DEVICETREE ?= " \ - bcm2708-rpi-0-w.dtb \ - bcm2708-rpi-b.dtb \ - bcm2708-rpi-b-plus.dtb \ - bcm2709-rpi-2-b.dtb \ - bcm2710-rpi-3-b.dtb \ - bcm2710-rpi-3-b-plus.dtb \ -...
Changed 'dot' to 'source' Running Section changed the period to the word "source"
@@ -228,7 +228,7 @@ Murl is not supported in windows at this time. ## Running 1. `export LD_LIBRARY_PATH="<path to ssl lib;path to curl lib>"` -2. Modify and run `. 6scripts/nist_setup.sh` +2. Modify scripts/nist_setup.sh and run `source scripts/nist_setup.sh` 3. `./app/acvp_app --<options>` Use `./app/acvp_app --help`...
gstoraster: ".setfilladjust2" needs two zeros as arguments.
@@ -895,7 +895,7 @@ main (int argc, char **argv, char *envp[]) (t && (!strcasecmp(t, "true") || !strcasecmp(t, "on") || !strcasecmp(t, "yes")))) { fprintf(stderr, "DEBUG: Ghostscript using Center-of-Pixel method to fill paths.\n"); - cupsArrayAdd(gs_args, strdup("0 .setfilladjust2")); + cupsArrayAdd(gs_args, strdup("0 ...
tests CHANGE enhance type compilation tests
@@ -768,8 +768,19 @@ test_type_pattern(void **state) assert_int_equal(3, ((struct lysc_type_str*)type)->patterns[0]->refcount); assert_int_equal(1, ((struct lysc_type_str*)type)->patterns[1]->refcount); + assert_non_null(mod = lys_parse_mem(ctx, "module c {namespace urn:c;prefix c;typedef mytype {type string {pattern '...
[hardware] Cut ready path in TCDM adapter
@@ -103,19 +103,29 @@ module tcdm_adapter #( ); // Store response if it's not accepted immediately - fall_through_register #( - .T(logic[DataWidth-1:0]) - ) i_rdata_register ( + logic rdata_full, rdata_empty; + logic rdata_usage; + + // assign rdata_ready = !rdata_full; + assign rdata_ready = !rdata_usage && !rdata_ful...
engine: dispatch: always set chunk up before to dispatch a retry
int flb_engine_dispatch_retry(struct flb_task_retry *retry, struct flb_config *config) { + size_t buf_size; struct flb_thread *th; struct flb_task *task; struct flb_input_instance *i_ins; @@ -41,6 +42,13 @@ int flb_engine_dispatch_retry(struct flb_task_retry *retry, task = retry->parent; i_ins = task->i_ins; + /* Set f...
Remove resumption and ecn tests from interop until fully supported.
if [ -n "$TESTCASE" ]; then case "$TESTCASE" in # TODO: add supported test cases here - "versionnegotiation"|"handshake"|"transfer"|"retry"|"resumption"|\ - "multiconnect"|"ecn"|"keyupdate") + "versionnegotiation"|"handshake"|"transfer"|"retry"|"multiconnect"|"keyupdate") ;; *) exit 127
Ensure we simply update the TUI once after tailing multiple files.
@@ -983,20 +983,20 @@ static void term_tail_logs (Logs * logs) { struct timespec ts = {.tv_sec = 0,.tv_nsec = 200000000 }; /* 0.2 seconds */ uint32_t offset = 0; - int i; + int i, ret; - for (i = 0; i < logs->size; ++i) { - if (perform_tail_follow (&logs->glog[i]) != 0) - continue; + for (i = 0, ret = 0; i < logs->size...
Reenable logs
#include "kdbprivate.h" #include "elektra_private.h" #include "elektra_error_private.h" +#include <kdblogger.h> #include "stdio.h" @@ -378,7 +379,7 @@ void setValueAsString (Elektra * elektra, const char * name, const char * value, Key * problemKey = ksCurrent (elektra->config); if (problemKey != NULL) { -// ELEKTRA_LO...
Build libs with MinGW.
@@ -14,6 +14,10 @@ docker build -t ${IMAGE_NAME} -f - "${ROOT_DIR}" <<-END WORKDIR /tinyspline END +MINGW_LIBS="\ +/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/libstdc++-6.dll\ +\;/usr/lib/gcc/x86_64-w64-mingw32/6.3-win32/libgcc_s_seh-1.dll" + docker run \ --rm \ --volume "${VOLUME}:${STORAGE}" \ @@ -223,6 +227,35 @@ dock...
fix: actor-gen.exe needs -lm and delete the generated files in clean
@@ -128,7 +128,7 @@ $(OBJDIR)/%.cc.o: %.cc $(CXX) $(CXXFLAGS) $(LIBS_CFLAGS) $(GENFLAGS) -c -o $@ $< actor-gen.exe: mkdir $(ACTOR_GEN_OBJS) - $(CC) -o $@ $(ACTOR_GEN_OBJS) + $(CC) -o $@ $(ACTOR_GEN_OBJS) -lm mv $@ ./bin #generic compilation @@ -151,7 +151,7 @@ clean_specs : rm -f specs/*.cc specs/*.h clean : clean_spec...
fixed code size condition on saving
@@ -206,7 +206,7 @@ s32 tic_cart_save(const tic_cartridge* cart, u8* buffer) buffer = SAVE_CHUNK(CHUNK_FLAGS, cart->banks[i].flags, i); } - if(strlen(cart->code.data) > TIC_CODE_BANK_SIZE) + if(strlen(cart->code.data) >= TIC_CODE_BANK_SIZE) { char* dst = malloc(TIC_CODE_BANK_SIZE); s32 size = tic_tool_zip(dst, TIC_CODE...
VERSION bump to version 2.2.17
@@ -65,7 +65,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 2) set(SYSREPO_MINOR_VERSION 2) -set(SYSREPO_MICRO_VERSION 16) +set(SYSREPO_MICRO_VERSION 17) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
jenkins: add CentOS test stage
@@ -368,11 +368,18 @@ def dockerInit() { /* openSUSE Leap 15.3 image*/ DOCKER_IMAGES.opensuse_15_3 = dockerUtils.createDockerImageDesc( - "opensuse_15.3", dockerUtils.&idTesting, + "opensuse-15-3", dockerUtils.&idTesting, "./scripts/docker/opensuse/15.3", "./scripts/docker/opensuse/15.3/Dockerfile" ) + /* CentOS Stream...
sicslowpan: fix compilation with fragmentation disabled
@@ -1461,6 +1461,7 @@ send_packet(linkaddr_t *dest) watchdog know that we are still alive. */ watchdog_periodic(); } +#if SICSLOWPAN_CONF_FRAG /*--------------------------------------------------------------------*/ /** * \brief This function is called by the 6lowpan code to copy a fragment's @@ -1501,6 +1502,7 @@ frag...
esp-tls: Added support for fragmenting outgoing data in tls_write(), for cases of out data being larger than the maximum out buffer of underlying tls-stack.
@@ -551,15 +551,32 @@ static ssize_t tcp_write(esp_tls_t *tls, const char *data, size_t datalen) static ssize_t tls_write(esp_tls_t *tls, const char *data, size_t datalen) { - ssize_t ret = mbedtls_ssl_write(&tls->ssl, (unsigned char*) data, datalen); - if (ret < 0) { - if (ret != MBEDTLS_ERR_SSL_WANT_READ && ret != MB...
Better tag size default for m-aead finish
@@ -3772,7 +3772,7 @@ psa_status_t psa_aead_finish( psa_aead_operation_t *operation, psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; *ciphertext_length = 0; - *tag_length = 0; + *tag_length = tag_size; if( operation->id == 0 ) {
buildrequire libstdc++
@@ -45,6 +45,7 @@ BuildRequires: perl BuildRequires: python BuildRequires: pkgconfig BuildRequires: binutils-devel +BuildRequires: libstdc++-devel Requires: binutils Requires: gnu-compilers%{PROJ_DELIM} = %{gnuver} %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?rhel}
Modules: show path and args in LIST reply
@@ -8667,11 +8667,19 @@ void addReplyLoadedModules(client *c) { while ((de = dictNext(di)) != NULL) { sds name = dictGetKey(de); struct RedisModule *module = dictGetVal(de); - addReplyMapLen(c,2); + sds path = module->loadmod->path; + addReplyMapLen(c,4); addReplyBulkCString(c,"name"); addReplyBulkCBuffer(c,name,sdslen...
Modfify dummy test to work on hw
@@ -457,11 +457,15 @@ TEST(pluginmgr_c_p, dummy_plugin) { EXPECT_STREQ(output.c_str(), "hello plugin!\n"); uint32_t matches = 0; - EXPECT_EQ(fpgaEnumerate(nullptr, 0, nullptr, 0, &matches), FPGA_OK); + fpga_properties filter = NULL; + uint16_t device_id = 49178; + EXPECT_EQ(fpgaGetProperties(nullptr, &filter), FPGA_OK)...
LICENSE: add license for ubloxmodem document the license in the LICENSE file
@@ -1320,3 +1320,37 @@ apps/system/telnet/telnet_client.c LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +apps/system/ubloxmodem/ubloxmodem_main.c +apps/system/ubloxmodem/ubloxmodem.h +======================...
Fix dsaparam -genkey with DER outform
@@ -195,6 +195,9 @@ int dsaparam_main(int argc, char **argv) OPENSSL_free(data); } + if (outformat == FORMAT_ASN1 && genkey) + noout = 1; + if (!noout) { if (outformat == FORMAT_ASN1) i = i2d_DSAparams_bio(out, dsa);
arvo: improves faces in vane install/upgrade
%= ..pith van %+ roll van.job - |= [[(cask hoof)] =_van] + |= [[nam=term txt=hoof] =_van] ^+ van - =/ way (wilt p) - =/ nex (create:va zus way /sys/vane/[p]/hoon q) + =/ way (wilt nam) + =/ nex (create:va zus way /sys/vane/[nam]/hoon txt) =/ nav (~(get by van) way) =? nex ?=(^ nav) (update:va vase.u.nav nex) (~(put by ...
[cmake] come back to default options
# mechanisms is "off" by default. # Check https://nonsmooth.gricad-pages.univ-grenoble-alpes.fr/siconos/install_guide/install_guide.html#id6 # for details about components. -# set(COMPONENTS externals numerics kernel control mechanics io CACHE INTERNAL "List of siconos components to build and install") -set(COMPONENTS ...
Update some exp cone params to ensure greater accuracy (though slower).
#include "scs_blas.h" /* contains BLAS(X) macros and type info */ #include "util.h" -#define CONE_RATE (2) -#define CONE_TOL (1e-8) -#define CONE_THRESH (1e-6) +/* #define CONE_RATE (2) */ +#define CONE_TOL (1e-10) +#define CONE_THRESH (1e-8) #define EXP_CONE_MAX_ITERS (100) #define POW_CONE_MAX_ITERS (20) @@ -257,6 +2...
examples:dns_matching: added pragma directive for loop unrolling Loop unrolling was not working because of if-condition in the loop. Added #pragma unroll directive.
@@ -84,7 +84,7 @@ int dns_matching(struct __sk_buff *skb) u16 i = 0; struct dns_char_t *c; - // This unroll worked not in latest BCC version. + #pragma unroll for(i = 0; i<255;i++){ if (cursor == sentinel) goto end; c = cursor_advance(cursor, 1); key.p[i] = c->c; }
Fix tiny typo in Yara.Match docs
@@ -437,7 +437,7 @@ Reference .. py:attribute:: tags - Array of strings containig the tags associated to the matching rule. + Array of strings containing the tags associated to the matching rule. .. py:attribute:: meta
Delete null check before mrb_gc_unregister receivers for channel
@@ -38,9 +38,7 @@ static void on_gc_dispose_channel(mrb_state *mrb, void *_ctx) { struct st_h2o_mruby_channel_context_t *ctx = _ctx; assert(ctx != NULL); /* ctx can only be disposed by gc, so data binding has been never removed */ - if (!mrb_nil_p(ctx->receivers)) { mrb_gc_unregister(mrb, ctx->receivers); - } free(ctx)...
Fix missing braces from previous commit (PR3600)
@@ -6,7 +6,7 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL GNU) set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-tree-vectorize") endif() if (CMAKE_Fortran_COMPILER_ID STREQUAL Flang) - set(CMAKE_Fortran_FLAGS "$CMAKE_Fortran_FLAGS -O2") + set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2") endif() if (BUILD_SINGLE)
update kernel requirement
@@ -109,7 +109,7 @@ Requirements * detailed knowledge of 802.11 protocol * detailed knowledge of key derivation functions * detailed knowledge of Linux -* operatingsystem: Linux distribution, Kernel >= 5.10 +* operatingsystem: Linux distribution, Kernel >= 5.15 * recommended: Arch Linux on notebooks and desktop systems...