message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix mqtt example documentation
@@ -256,13 +256,13 @@ void IotMqtt_ReceiveCallback( void * pNetworkConnection, * * // Example network abstraction types. * IotNetworkServerInfo_t serverInfo = { ... }; - * IotNetworkCredentialInfo_t credentialInfo = { ... }; + * IotNetworkCredentials_t credentialInfo = { ... }; * IotNetworkInterface_t networkInterface ...
subscription: clear opened subs before restart
@@ -49,6 +49,7 @@ export default class GlobalSubscription extends BaseSubscription<StoreState> { } restart() { - this.start(); + this.openSubscriptions = {}; + super.restart(); } }
Improved code when action is busy
@@ -80,6 +80,7 @@ struct dnut_data { uint16_t device_id; uint32_t action_type; /* Action Type */ uint32_t sat; /* short Action Type */ + bool action_attach_busy; int mode; uint16_t seq; /* Seq Number */ int afu_fd; @@ -157,7 +158,8 @@ static void *hw_dnut_card_alloc_dev(const char *path, uint16_t vendor_id, } else dnut...
gall: fix the %doff conditional No comment.
|- ^+ ap-core ?~ subs ap-core =+ [wyr dok]=i.subs - ?: =(ship `ship.dok) + ?: &(?=(^ ship) !=(u.ship ship.dok)) $(subs t.subs) :: kill old-style subscription wire with no nonce ::
add new delay function
@@ -20,6 +20,7 @@ var MSG = { catVar: "Variables", catFun: "Functions", catNetwork:"Network", + catEthernet:"Ethernet", catEthernet_init:"Init", catEthernet_clinet:"Client", tab_blocks: "Blocks", @@ -2706,3 +2707,9 @@ Blockly.MIXLY_AipOcr_drivingLicense = 'Driver\'s license identification'; Blockly.MIXLY_RESOLUTION='re...
admin/meta-packages: typo in intel-perf-tools
@@ -537,7 +537,7 @@ Requires: imb-intel-impi%{PROJ_DELIM} Requires: imb-intel-mpich%{PROJ_DELIM} Requires: imb-intel-mvapich2%{PROJ_DELIM} Requires: imb-intel-openmpi%{openmpi_major_ver}%{PROJ_DELIM} -Requires: likwid-intel-%{PROJ_DELIM} +Requires: likwid-intel%{PROJ_DELIM} Requires: mpiP-gnu%{gnu_major_ver}-impi%{PROJ...
ngtcp2_ksl: Fix missing descending node
@@ -508,9 +508,11 @@ void ngtcp2_ksl_remove(ngtcp2_ksl *ksl, ngtcp2_ksl_it *it, if (i > 0 && ksl_nth_node(ksl, blk, i - 1)->blk->n > NGTCP2_KSL_MIN_NBLK) { ksl_shift_right(ksl, blk, i - 1); + blk = node->blk; } else if (i + 1 < blk->n && ksl_nth_node(ksl, blk, i + 1)->blk->n > NGTCP2_KSL_MIN_NBLK) { ksl_shift_left(ksl,...
update mixpy_skulpt
@@ -442,7 +442,7 @@ function init() { </shadow> </value> </block>--> - <block type="base_type"> + <block type="controls_type"> <value name="DATA"> <shadow type="math_number"> <field name="NUM">1000</field> @@ -1283,7 +1283,13 @@ function init() { </shadow> </value> </block> - +- <block type="turtle_pos"> + <value name=...
Fix relation descriptor leak. We missed closing the relation descriptor while sending changes via the root of partitioned relations during logical replication. Author: Amit Langote and Mark Zhao Backpatch-through: 13, where it was introduced Discussion: Discussion:
@@ -502,6 +502,7 @@ pgoutput_change(LogicalDecodingContext *ctx, ReorderBufferTXN *txn, MemoryContext old; RelationSyncEntry *relentry; TransactionId xid = InvalidTransactionId; + Relation ancestor = NULL; if (!is_publishable_relation(relation)) return; @@ -552,7 +553,8 @@ pgoutput_change(LogicalDecodingContext *ctx, R...
Fixes offset issues leading to segmentation faults
@@ -1597,7 +1597,7 @@ static void writePageImage(cups_raster_t *raster, poppler::document *doc, case CUPS_CSPACE_CMY: case CUPS_CSPACE_RGBW: default: - im = pr.render_page(current_page,header.HWResolution[0],header.HWResolution[1],0,0,header.cupsWidth,header.cupsHeight); + im = pr.render_page(current_page,header.HWReso...
meson: Fix -print-search-dirs invocation
@@ -52,6 +52,7 @@ if not headers_only gccdir = run_command('/bin/sh', '-c', ' '.join(c_compiler.cmd_array()) + ' -print-search-dirs | sed -n -e "s/install: \(.*\)/\\1/p"', + env: ['LANG=C'], check: true).stdout().strip() rtdl_include_dirs += include_directories(gccdir / 'include')
Fixing armor calculations for damage reduction CAREFUL: This should make the armor calculation correct, but will dramatically change the armor effect
@@ -1710,7 +1710,7 @@ int CChar::OnTakeDamage(int iDmg, CChar *pSrc, DAMAGE_TYPE uType, int iDmgPhysic int iArMax = (pCharDef->m_defense + m_defense) * Calc_GetRandVal(7, 35) / 100; int iArMin = iArMax / 2; - int iDef = Calc_GetRandVal(iArMin, (iArMax - iArMin) + 1); + int iDef = Calc_GetRandVal(iArMin, iArMax); if ( u...
ci: update update repo workflow
@@ -12,12 +12,23 @@ jobs: run: | git config user.name "OPAE Bot" git config user.email opae_robot@intel.com - git checkout -b auto/update-libs - git remote add opae-libs https://github.com/OPAE/opae-libs.git - git fetch --all - git subtree pull --prefix opae-libs opae-libs master --squash + git subtree pull --prefix op...
Update frontpage.hoon Swapped "p.bek" for "our" and uncommented line 22.
== ;body ;h1:"Ran generator" - :: ;p:"Executing on {<(scot %p our)>}." + ;p:"Executing on {<(scot %p p.bek)>}." ;p:"The method was {<(trip method)>}." ;p:"The url was {<(trip url)>}." ==
rm old 2x2 psd projection code
@@ -436,53 +436,13 @@ static scs_int set_up_sd_cone_work_space(ScsConeWork *c, const ScsCone *k) { } return 0; #else - scs_printf("FATAL: Cannot solve SDPs with > 2x2 matrices without linked " - "blas+lapack libraries\n"); + scs_printf("FATAL: Cannot solve SDPs without linked blas+lapack libraries\n"); scs_printf("Inst...
upstream: replaced timeout wakeup mechanism
@@ -842,46 +842,12 @@ int flb_upstream_conn_timeouts(struct mk_list *list) } if (drop == FLB_TRUE) { - /* - * Shutdown the connection, this is the safest way to indicate - * that the socket cannot longer work and any co-routine on - * waiting for I/O will receive the notification and trigger - * the error to it caller....
osx: another change in rhodes
@@ -67,8 +67,8 @@ macx { UI_DIR = ../../../osx/bin/RhoSimulator/generated_files OBJECTS_DIR = ../../../osx/bin/RhoSimulator/tmp RCC_DIR = ../../../osx/bin/RhoSimulator/resources - HEADERS += - SOURCES +=\ + HEADERS += impl/SSLImpl.h + SOURCES += impl/SSLImpl.cpp\ ../../../../lib/commonAPI/coreapi/ext/platform/qt/src/CS...
Fix RPM package URL tag...
@@ -15,6 +15,7 @@ set( CPACK_RPM_PACKAGE_DESCRIPTION "${CPACK_PACKAGE_DESCRIPTION}" ) set( CPACK_RPM_PACKAGE_ARCHITECTURE "${BUILD_PKG_ARCH}" ) set( CPACK_RPM_PACKAGE_VENDOR "${CPACK_PACKAGE_VENDOR}" ) set( CPACK_RPM_PACKAGE_VERSION "${PROJECT_VERSION}${BUILD_PKG_VQUAL}" ) +set( CPACK_RPM_PACKAGE_URL "${PROJECT_HOMEPAG...
main shm BUGFIX clear conn state when it is added to SHM There can be some leftover data causing an invalid lock or similar.
@@ -749,20 +749,19 @@ sr_shmmain_state_add_conn(sr_conn_ctx_t *conn) main_shm->conn_state.conn_count * sizeof *conn_s); main_shm->conn_state.conns = conn_state_off; - /* add new connection */ + /* add new clear connection state */ conn_s = (sr_conn_state_t *)(conn->ext_shm.addr + main_shm->conn_state.conns); conn_s += ...
Added commit warning
#include "pico/stdlib.h" +//DO NOT COMMIT THIS FILE!!! + +//Your wireless network's name and password static const char NETWORK[] = "network name here"; static const char PASSWORD[] = "network password here";
Fix parse function of OIDCRequestObject configuration option.
@@ -2430,7 +2430,7 @@ const command_rec oidc_config_cmds[] = { RSRC_CONF|ACCESS_CONF|OR_AUTHCFG, "Pass the refresh token in a header and/or environment variable (On or Off)"), AP_INIT_TAKE1("OIDCRequestObject", - ap_set_string_slot, + oidc_set_string_slot, (void *)APR_OFFSETOF(oidc_cfg, provider.request_object), RSRC_C...
Refactor test_harness.py to remove duplicated code
@@ -170,7 +170,8 @@ def run_program( dump_length=None, timeout=60, flush_l2=False, - trace=False): + trace=False, + executable=None): """Run test program. This uses the hex file produced by build_program. @@ -193,6 +194,8 @@ def run_program( TestException if emulated program crashes or the program cannot execute for so...
runtimes/charliecloud: bump to v0.9.0
Summary: Lightweight user-defined software stacks for high-performance computing Name: %{pname}%{PROJ_DELIM} -Version: 0.2.4 +Version: 0.9.0 Release: %{?dist} License: Apache-2.0 Group: %{PROJ_NAME}/runtimes
cleanup / fix makefile
@@ -672,7 +672,7 @@ create_picobj_dir_structure: $(PICOBJDIR) # Cleaners .PHONY: clean -clean: cleanobj cleanapi cleanpackage cleantest +clean: cleanobj cleanapi cleantest .PHONY: cleanobj cleanobj: @@ -693,7 +693,7 @@ cleanapi: @$(rm) -r $(APILIB) .PHONY: remove -remove: cleanobj cleanapi cleanpackage cleantest distcl...
README: change godbolt link to use MSVC instead of -DSIMDE_NO_NATIVE DSIMDE_NO_NATIVE takes a bit of explanation, and MSVC support is a big deal to a lot of people.
@@ -48,7 +48,7 @@ implementations using one (or more) of the following: For an example of a project using SIMDe, see [LZSSE-SIMDe](https://github.com/nemequ/LZSSE-SIMDe). -You can [try SIMDe online](https://godbolt.org/z/5gpF97) using Compiler +You can [try SIMDe online](https://godbolt.org/z/xkT8MA) using Compiler Exp...
cmp_ctx.c: fix wrong comments on OSSL_CMP_CTX_set1_{recipient,issuer}
@@ -602,13 +602,13 @@ DEFINE_OSSL_set1_up_ref(ossl_cmp_ctx, validatedSrvCert, X509) */ DEFINE_OSSL_set1_up_ref(OSSL_CMP_CTX, srvCert, X509) -/* Set the X509 name of the recipient. Set in the PKIHeader */ +/* Set the X509 name of the recipient to be placed in the PKIHeader */ DEFINE_OSSL_CMP_CTX_set1(recipient, X509_NAM...
crypto: state error message more precisely in gpgagent_teardown.h
@@ -13,7 +13,7 @@ static inline void test_teardown (void) { // try to gracefully shut down the gpg-agent int status = system ("gpg-connect-agent --quiet KILLAGENT /bye"); - warn_if_fail (status == 0, "failed to stop the gpg-agent"); + warn_if_fail (status == 0, "failed to stop the gpg-agent, trying to kill it"); if (st...
ChatEditor: removing unused code preventing slashes
@@ -177,9 +177,6 @@ const ChatEditor = React.forwardRef<CodeMirrorShim, ChatEditorProps>(({ inCodeMo }, [inCodeMode, placeholder]); function messageChange(editor, data, value) { - if(value.endsWith('/')) { - editor.showHint(['test', 'foo']); - } if (message !== '' && value == '') { setMessage(value); }
Modified some function in distrot.c to facilitate easier debugging.
@@ -1321,7 +1321,15 @@ C(p,q) function in obliquity evol equations if RD4 orbital model is used @return C(p,q) function */ double fndObliquityCRD4(BODY *body, SYSTEM *system, int *iaBody) { - return body[iaBody[0]].dQinc*fndDistOrbRD4DpDt(body,system,iaBody) - body[iaBody[0]].dPinc*fndDistOrbRD4DqDt(body,system,iaBody)...
include/usb_pd_tcpm.h: Format with clang-format BRANCH=none TEST=none
@@ -58,8 +58,8 @@ enum tcpc_drp { /** * Returns whether the polarity without the DTS extension */ -static inline enum tcpc_cc_polarity polarity_rm_dts( - enum tcpc_cc_polarity polarity) +static inline enum tcpc_cc_polarity +polarity_rm_dts(enum tcpc_cc_polarity polarity) { BUILD_ASSERT(POLARITY_COUNT == 4); return (enu...
server: HTTP2: fix sched read func prototype
@@ -276,7 +276,8 @@ static inline int mk_http2_frame_run(struct mk_sched_conn *conn, } static int mk_http2_sched_read(struct mk_sched_conn *conn, - struct mk_sched_worker *worker) + struct mk_sched_worker *worker, + struct mk_server *server) { int bytes; int new_size; @@ -284,6 +285,7 @@ static int mk_http2_sched_read(...
net/lwip: Generalize lwip mem init logic Use globally declared ram_heap instaed of malloc inside mem_init()
@@ -299,8 +299,8 @@ struct mem { * how that space is calculated). */ #ifndef LWIP_RAM_HEAP_POINTER /** the heap. we need one struct mem at the end and some room for alignment */ -//LWIP_DECLARE_MEMORY_ALIGNED(ram_heap, MEM_SIZE_ALIGNED + (2U * SIZEOF_STRUCT_MEM)); -//#define LWIP_RAM_HEAP_POINTER ram_heap +LWIP_DECLARE...
Fix stb_vorbis bug with empty comment list files;
@@ -3299,6 +3299,7 @@ static int start_decoder(vorb *f) f->vendor[len] = (char)'\0'; //user comments f->comment_list_length = get32_packet(f); + if (f->comment_list_length > 0) { f->comment_list = (char**)setup_malloc(f, sizeof(char*) * (f->comment_list_length)); if (f->comment_list == NULL) return error(f, VORBIS_outo...
Python 2 Plugin: Require Python 2 bindings
@@ -3,10 +3,11 @@ include (LibAddBinding) if (DEPENDENCY_PHASE) find_package(Python2Libs 2.7 QUIET) find_swig() + check_binding_included ("swig_python2" BINDING_WAS_ADDED SUBDIRECTORY "swig/python2" SILENT) if (PYTHON2LIBS_VERSION_STRING MATCHES "^3\\.[0-9]+") remove_plugin (python2 "python2 is for python 2.7 only and ...
sim: Make `find_image` dynamic instead of cfg Change the `find_image` to use a dynamic query instead of compile time configuration.
@@ -811,31 +811,19 @@ fn make_tlv() -> TlvGen { } } -#[cfg(feature = "enc-rsa")] fn find_image(images: &[Option<Vec<u8>>; 2], slot: usize) -> &Vec<u8> { - match &images[slot] { - Some(image) => return image, - None => panic!("Invalid image"), - } -} + let slot = if Caps::EncRsa.present() || Caps::EncKw.present() { + sl...
Restore alphabetical order of SHA definitions
@@ -462,9 +462,6 @@ static const char * const features[] = { #if defined(MBEDTLS_SHA512_SMALLER) "MBEDTLS_SHA512_SMALLER", #endif /* MBEDTLS_SHA512_SMALLER */ -#if defined(MBEDTLS_SHA384_C) - "MBEDTLS_SHA384_C", -#endif /* MBEDTLS_SHA384_C */ #if defined(MBEDTLS_SSL_ALL_ALERT_MESSAGES) "MBEDTLS_SSL_ALL_ALERT_MESSAGES",...
Suppress Clang12 -Watomic-implicit-seq-cst warning
@@ -118,6 +118,7 @@ macro(astcenc_set_properties NAME) $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-c++98-c++11-compat-pedantic> $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-float-equal> $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated-declarations> + $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-atomic-implicit-seq-cst> # Clang 10 also thr...
build: detect if timespec_get() is supported
@@ -326,6 +326,17 @@ if(FLB_MTRACE) endif() endif() +# timespec_get() support +check_c_source_compiles(" + #include <time.h> + int main() { + struct tm tm; + return timespec_get(&tm, TIME_UTC); + }" FLB_HAVE_TIMESPEC_GET) +if(FLB_HAVE_TIMESPEC_GET) + FLB_DEFINITION(FLB_HAVE_TIMESPEC_GET) +endif() + if(FLB_TD) FLB_DEFIN...
wps: Relax the check on older config methods in case of WPS2.0 Some APs incorrectly advertize newer WPS2.0 config method bits without setting bits for the corresponding older methods. This results in failures during 8-way handshake. Add a workaround to relax this check so that WPS handshake can proceed.
@@ -96,23 +96,11 @@ static int wps_validate_response_type(const u8 *response_type, int mandatory) static int valid_config_methods(u16 val, int wps2) { if (wps2) { - if ((val & 0x6000) && !(val & WPS_CONFIG_DISPLAY)) { - wpa_printf(MSG_INFO, "WPS-STRICT: Physical/Virtual " - "Display flag without old Display flag " - "s...
Add samples capturing to file in dbfs
@@ -476,6 +476,25 @@ void fftviewer_frFFTviewer::StreamingLoop(fftviewer_frFFTviewer* pthis, const un } fout << endl; } + fout.close(); + + string filename = pthis->captureFilename+".absdbfs"; + fout.open(filename.c_str()); + fout << "AI\tAQ"; + if(channelsCount > 1) + fout << "\tBI\tBQ"; + fout << endl; + + for(int i=...
landscape: widen popover menu
@@ -80,7 +80,7 @@ export function PopoverRoutes( <Box display="grid" gridTemplateRows={["32px 1fr", "100%"]} - gridTemplateColumns={["100%", "150px 1fr"]} + gridTemplateColumns={["100%", "250px 1fr"]} height="100%" width="100%" >
Improve PhCreateProcessIgnoreIfeoDebugger handle usage, Remove legacy win32 debug wrappers
@@ -1314,16 +1314,10 @@ BOOLEAN PhCreateProcessIgnoreIfeoDebugger( ) { BOOLEAN result; - BOOL (NTAPI *debugSetProcessKillOnExit)(BOOL); - BOOL (NTAPI *debugActiveProcessStop)(ULONG); BOOLEAN originalValue; STARTUPINFO startupInfo; PROCESS_INFORMATION processInfo; - if (!(debugSetProcessKillOnExit = PhGetDllProcedureAdd...
Finer grained locking for VarDiffManager
@@ -8,7 +8,7 @@ namespace Miningcore.VarDiff; public class VarDiffManager { - private const int BufferSize = 10; // Last 10 shares is always enough + private const int BufferSize = 10; // Last 10 shares should be enough public double? Update(WorkerContextBase context, VarDiffConfig options, IMasterClock clock) { @@ -17...
adds +headers arm to top-level provider interface
:: ++ fcloud => |% - ++ headers - |= aut=authority - ?> ?=(%fcloud -.pro.aut) - %- ~(gas by *math:eyre) - :~ ['Content-Type' ['application/json' ~]] - ['X-Auth-Email' [email.auth.pro.aut ~]] - ['X-Auth-Key' [key.auth.pro.aut ~]] - == - :: ++ parse-raw-record |= aut-dom=turf ^- $- json ++ base ^- purl:eyre (need (de-pur...
api: handling 000000 hexToUX
@@ -168,7 +168,7 @@ export const hexToUx = (hex: string): string => { f.map(x => x.reverse().join('')), f.reverse, f.join('.') - )(hex.split('')); + )(hex.split('')) || '0'; return `0x${ux}`; };
encoding/base64: Remove unused code in hex_format The variable dst_len was being decremented but not used.
@@ -49,7 +49,6 @@ hex_format(void *src_v, int src_len, char *dst, int dst_len) tgt[0] = hex_bytes[(src[i] >> 4) & 0xf]; tgt[1] = hex_bytes[src[i] & 0xf]; tgt += 2; - dst_len -= 2; } *tgt = '\0'; return dst;
Add NV50_2D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP mthd Update rnndb with documented Nvidia cl502d.h (NV50_2D) mthd NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP. This is sourced from:
@@ -226,9 +226,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> <reg32 offset="0x0884" name="UNK0884"> <doc>Accepts 0-0x3f, initialised to 4</doc> </reg32> - <reg32 offset="0x0888" name="UNK0888"> - <doc>Accepts 0,1</doc> - </reg32> + <reg32 offset="0x0888" name="SET_PIXELS_FROM_MEMORY_SAFE_OVERL...
arch/xtensa: Fix broad clock frequency to 2 times XTAL frequency. Keep the broad clock frequency same to the bootloader. Otherwise, the clock in ESP32 would not be accurate.
#define BOARD_XTAL_FREQUENCY 40000000 #endif -/* Clock reconfiguration is currently disabled, so the CPU will be running - * at the XTAL frequency or at two times the XTAL frequency, depending upon - * how we load the code: - * - * - If we load the code into FLASH at address 0x1000 where it is started by - * the second...
SOVERSION bump to version 1.3.1
@@ -52,7 +52,7 @@ set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION # with backward compatible change and micro version is connected with any internal change of the library. set(LIBNETCONF2_MAJOR_SOVERSION 1) set(LIBNETCONF2_MINOR_SOVERSION 3) -set(LIBNETCONF2_MICRO_SOVERSION 0) +set(LIBN...
YAML CPP: Support writing of nested arrays
@@ -46,15 +46,33 @@ NameIterator relativeKeyIterator (Key const & key, Key const & parent) /** * @brief This function checks if a key name specifies an array key. * + * If the key name contains a valid array index that is smaller than `unsigned long long`, then the function will also return this index. + * * @param nam...
make errBuffer pointer, avoid memory bug by not using janet_buffer_init
@@ -160,7 +160,7 @@ static const char* const JanetKeywords[] = }; static JanetFiber* GameFiber = NULL; -static JanetBuffer errBuffer; +static JanetBuffer *errBuffer; static tic_core* CurrentMachine = NULL; @@ -1011,8 +1011,8 @@ static Janet janet_fset(int32_t argc, Janet* argv) static void reportError(tic_core* core, J...
server: cast type to format pid_t
@@ -31,7 +31,7 @@ void mk_server_info(struct mk_server *server) struct mk_plugin *p; struct mk_config_listener *l; - printf(MK_BANNER_ENTRY "Process ID is %i\n", getpid()); + printf(MK_BANNER_ENTRY "Process ID is %ld\n", (long) getpid()); mk_list_foreach(head, &server->listeners) { l = mk_list_entry(head, struct mk_con...
[core] remove some duplicative code in log.c
@@ -73,49 +73,28 @@ static void log_buffer_append_printf(buffer *out, const char *fmt, va_list ap) { off_t o; switch(*fmt) { - case 's': /* string */ - s = va_arg(ap, char *); - buffer_append_string_c_escaped(out, s, (NULL != s) ? strlen(s) : 0); - buffer_append_string_len(out, CONST_STR_LEN(" ")); - break; - case 'b':...
suppresses %clay file-change printfs for initial filesystem
{$warp p/ship q/riff} :: {$werp p/ship q/ship r/riff} :: == == :: - $: $d :: - $% {$flog p/{$crud p/@tas q/(list tank)}} :: to %dill + $: $d :: to %dill + $% $: $flog :: + $% {$crud p/@tas q/(list tank)} :: + {$text p/tape} :: + == == :: == == :: $: $f :: $% [%build live=? schematic=schematic:ford] :: ++ print-changes ...
change expect exit value
@@ -9798,7 +9798,7 @@ run_test "TLS 1.3: CertificateRequest check - openssl" \ "$O_NEXT_SRV -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache -Verify 10" \ "$P_CLI debug_level=4 force_version=tls13 crt_file=data_files/cli2.crt \ key_file=data_files/cli2.key" \ - 1 \ + 0 \ -c "=> parse certificate request" \ -c...
BugID:23922942:Fix http client app strncpy buf size error
@@ -559,7 +559,7 @@ static void httpc_cmd_handle(char *buf, int blen, int argc, char **argv) } else if (strncmp(type, "up", strlen(type)) == 0) { if (argc > 2) { memset(up_url, 0, sizeof(up_url)); - strncpy(up_url, argv[2], sizeof(up_url)) - 1; + strncpy(up_url, argv[2], sizeof(up_url) - 1); command = HTTP_DYNAMIC_UP; ...
lossless_neon: harmonize function suffixes
@@ -505,7 +505,7 @@ static const uint8_t kGreenShuffle[16] = { 1, 255, 1, 255, 5, 255, 5, 255, 9, 255, 9, 255, 13, 255, 13, 255 }; -static WEBP_INLINE uint8x16_t DoGreenShuffle(const uint8x16_t argb, +static WEBP_INLINE uint8x16_t DoGreenShuffle_NEON(const uint8x16_t argb, const uint8x16_t shuffle) { return vcombine_u8...
fix the memory cross boundary bug in tcmu_rbd_detect_device_class the length of the rados_mon_command return mon_buf in memory is mon_buf_len, So like "mon_buf[mon_buf_len] ='\0'"will memory transboundary.
@@ -271,7 +271,7 @@ static void tcmu_rbd_detect_device_class(struct tcmu_device *dev) rados_buffer_free(mon_status_buf); /* expected JSON output: "{..."crush_rule":"<rule name>"...}" */ - mon_buf[mon_buf_len] = '\0'; + mon_buf[mon_buf_len - 1] = '\0'; crush_rule = strstr(mon_buf, "\"crush_rule\":\""); if (!crush_rule) ...
integration: Skip top ebpf test on AKS Ubuntu 18.04 amd64.
@@ -472,6 +472,10 @@ func TestDns(t *testing.T) { } func TestEbpftop(t *testing.T) { + if *k8sDistro == K8sDistroAKSUbuntu && *k8sArch == "amd64" { + t.Skip("Skip running top ebpf gadget on AKS Ubuntu amd64: see issue #931") + } + t.Parallel() ebpftopCmd := &command{
Add clean_ext command to clean Cython pysam/libc*.c outputs
@@ -29,7 +29,8 @@ import subprocess import sys import sysconfig from contextlib import contextmanager -from setuptools import setup +from distutils import log +from setuptools import setup, Command from cy_build import CyExtension as Extension, cy_build_ext as build_ext try: import cython @@ -140,6 +141,24 @@ def get_p...
push-hook: do not kick subs if versioning same
inner-state=vase == :: ++$ base-state-1 + $: prev-version=@ud + prev-min-version=@ud + base-state-0 + == +:: +$ state-0 [%0 base-state-0] :: +$ state-1 [%1 base-state-0] ++$ state-2 [%2 base-state-1] :: +$ versioned-state $% state-0 state-1 + state-2 == ++ push-hook |* =config ++ agent |* =config |= =(push-hook config)...
cmake: explicitly add policy
+cmake_policy (PUSH) +cmake_policy (SET CMP0078 OLD) set (SWIG_COMPILE_FLAGS "-Wno-shadow -Wno-old-style-cast -Wno-unused-variable") find_swig () @@ -56,3 +58,4 @@ check_binding_included ("swig_ruby" if (IS_INCLUDED) add_subdirectory (ruby) endif () +cmake_policy (POP)
fix xmakever cache
local io = require("base/io") local os = require("base/os") local utils = require("base/utils") +local xmake = require("base/xmake") local option = require("base/option") local semver = require("base/semver") local sandbox = require("sandbox/sandbox") @@ -480,19 +481,16 @@ end -- get xmake version function sandbox_os.x...
Convert the filetype blacklist into a whitelist The old version was running into trouble if it found a ".s" file in the directory.
@@ -51,9 +51,11 @@ end local function benchmark(test_dir, no_lua) local file_names = {} for file_name in lfs.dir(test_dir) do - if not string.find(file_name, "^%.") and - not string.find(file_name, "%.so$") and - file_name ~= "main.lua" then + local _, ext = util.split_ext(file_name) + if (ext == "titan" or ext == "c" ...
garden spider: (testing) correctly validate just need to properly store the desk in `serving:spider` now.
^- [[(list card) =eval-result] _eval-form] =* take-loop $ =/ validated-input=^strand-input - =. in.strand-input + =/ pox %+ ^bind in.strand-input |= in=input - ?. ?=(%sign -.in) in - ?. ?=(%fact sign-arvo.in) in + ~& input+-.in + ?. ?=(%agent -.in) ~& sign+-.in in + ?. ?=(%fact -.sign.in) ~& sign+-.sign.in in :: TODO l...
modifed scan range
@@ -328,7 +328,7 @@ bool DynamixelDriver::scan(uint8_t *get_id, uint8_t *get_the_number_of_id, uint8 bool DynamixelDriver::scan(uint8_t *get_id, uint8_t *get_the_number_of_id, uint8_t range, const char **log) { - return scan(get_id, get_the_number_of_id, 1, range, log); + return scan(get_id, get_the_number_of_id, 0, ra...
docs: Typo fixes and suggestions from mbolivar To be squashed after review.
@@ -25,8 +25,8 @@ There are a couple of ways to fix this: generated. These tools are all written in higher-level languages and this change should not be difficult. - However, this will also break compatibility with older version, - significantly in that images generated with newer tools will not + However, this will al...
enclave-tls/README.md: add sgx local report instance usage
@@ -20,7 +20,7 @@ make install `{enclave-tls-server,enclave-tls-client}` will be installed to `/opt/enclave-tls/bin/{enclave-tls-server,enclave-tls-client}` on your system. All instances are placed in `/opt/enclave-tls/lib`. -If you want to build instances related to sgx(wolfssl\_sgx, sgx\_ecdsa, wolfcrypt\_sgx), pleas...
sensor_shell: add wakeup notify support
@@ -589,6 +589,22 @@ static struct sensor_notifier double_tap = { .sn_arg = NULL, }; + +static int +sensor_wakeup_notif(struct sensor *sensor, void *data, + sensor_event_type_t type) +{ + console_printf("wakeup happend\n"); + + return 0; +}; + +static struct sensor_notifier wakeup = { + .sn_sensor_event_type = SENSOR_E...
fix spelling of Camellia in comment
/* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * EC * PSK * SRP (within...
dpdk: fix include directories with system dpdk Add the DPDK_INCLUDE_DIRS variable which is set by pkg_check_modules to the include directories to allow use of system DPDK where the headers aren't under standard include directories. Type: fix Fixes:
@@ -20,6 +20,7 @@ if(VPP_USE_SYSTEM_DPDK) pkg_check_modules(DPDK REQUIRED libdpdk) message(WARNING "-- linking dpdk plugin against system libdpdk, version ${DPDK_VERSION}") set(DPDK_LINK_FLAGS ${DPDK_LDFLAGS}) + include_directories (${DPDK_INCLUDE_DIRS}) else() ##########################################################...
make test: save + dump VPP api trace log;
@@ -142,6 +142,7 @@ class VppTestCase(unittest.TestCase): debug_cli = "cli-listen localhost:5002" cls.vpp_cmdline = [cls.vpp_bin, "unix", "{", "nodaemon", debug_cli, "}", + "api-trace", "{", "on", "}", "api-segment", "{", "prefix", cls.shm_prefix, "}"] if cls.plugin_path is not None: cls.vpp_cmdline.extend(["plugin_pat...
Robustify VmaStat Currently, VmaStat is not defined as typedef. With GCC, this is not compiling.
@@ -585,12 +585,12 @@ typedef struct VmaStatInfo } VmaStatInfo; /// General statistics from current state of Allocator. -struct VmaStats +typedef struct VmaStats { VmaStatInfo memoryType[VK_MAX_MEMORY_TYPES]; VmaStatInfo memoryHeap[VK_MAX_MEMORY_HEAPS]; VmaStatInfo total; -}; +} VmaStats; /// Retrieves statistics from ...
input: resize file to max before reading into it
@@ -341,6 +341,7 @@ bool input_prepareStaticFile(run_t* run, bool rewind) { } snprintf(run->origFileName, sizeof(run->origFileName), "%s", fname); + input_setSize(run, run->global->mutate.maxFileSz); ssize_t fileSz = files_readFileToBufMax(fname, run->dynamicFile, run->global->mutate.maxFileSz); if (fileSz < 0) { LOG_E...
dojo ???: handle threads
:: XX needs filter :: ?: ?=({$show $3} -.mad) - (dy-rash %tan (dy-show-source q.mad) ~) :: XX separate command + (dy-rash %tan (dy-show-source q.mad) ~) ?: ?=($brev -.mad) =. var (~(del by var) p.mad) =< dy-amok {$sa mark} {$as mark dy-shown} {$do hoon dy-shown} + {$te term (list dy-shown)} {$ge path (list dy-shown) (m...
graph-store: internally cache all scried daises
++ orm orm:store ++ orm-log orm-log:store +$ debug-input [%validate-graph =resource:store] +:: ++$ cache + $: validators=(map mark dais:clay) + == +:: ++$ inflated-state + $: state-5 + cache + == -- :: -=| state-5 +=| inflated-state =* state - :: %- agent:dbug def ~(. (default-agent this %|) bowl) :: ++ on-init [~ this...
Fix first start Monit Docker mode
@@ -47,7 +47,7 @@ then GLOBAL_MONITOR_SCRIPT_FILE=/opt/datafari/bin/monitorUtils/global_monitor_script.sh if test -f "$GLOBAL_MONITOR_SCRIPT_FILE"; then sed -i -e '/^[[:space:]]*#Start Debian Glances conf/,/^[[:space:]]*#End Debian Glances conf/{/^[[:space:]]*#Start Debian Glances conf/!{/^[[:space:]]*#End Debian Glanc...
tools: Create the ".espressif" directory on the first run on clean system Closes
@@ -1054,6 +1054,9 @@ def export_targets_to_idf_env_json(targets): # type: (list[str]) -> None break try: + if global_idf_tools_path: # mypy fix for Optional[str] in the next call + # the directory doesn't exist if this is run on a clean system the first time + mkdir_p(global_idf_tools_path) with open(os.path.join(glob...
Use station MAC address for client ID
/* * MQTT client example with ESP device. * - * Once the device is ocnnected to network, + * Once device is connected to network, * it will try to connect to mosquitto test server and start the MQTT. * - * If successful, it will publish data to "esp8266_mqtt_topic" topic every second. + * If successfully connected, it ...
parallel-libs/trilinos: buildignore brp-check-suse
@@ -54,6 +54,7 @@ BuildRequires: openblas-%{compiler_family}%{PROJ_DELIM} %endif #!BuildIgnore: post-build-checks +#!BuildIgnore: brp-check-suse # Default library install path %define install_path %{OHPC_LIBS}/%{compiler_family}/%{mpi_family}/%{pname}/%version
CMakeLists.txt,cosmetics: break long line
@@ -564,7 +564,8 @@ if(WEBP_BUILD_WEBPMUX) add_executable(webpmux_app ${WEBPMUX_SRCS}) set_target_properties(webpmux_app PROPERTIES OUTPUT_NAME webpmux) target_link_libraries(webpmux_app exampleutil imageioutil webpmux webp) - target_include_directories(webpmux_app PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src) + target_incl...
Update using-clang-format.md Fix typo
@@ -9,7 +9,7 @@ Setup the build tools environment first. For Windows - cmd.exe command: ```call tools\setup-devenv.cmd``` -For POSIX (Linxu and Mac) - shell command: +For POSIX (Linux and Mac) - shell command: ```source tools/setup-devenv.sh``` Command will add the tools from repo *tools* directory to PATH environment ...
[CUDA] Whitelist more passing tests
@@ -302,4 +302,11 @@ set_property(TEST "kernel/test_shuffle_long" "kernel/test_shuffle_ulong" "kernel/test_shuffle_double" + "kernel/test_convert_type_1" + "kernel/test_convert_type_2" + "kernel/test_convert_type_4" + "kernel/test_convert_type_8" + "kernel/test_convert_type_16" + "kernel/test_as_type" + "kernel/test_si...
luci-app-dawn: Add zh-Hans translations
@@ -15,7 +15,7 @@ s:option(Value, "bandwidth_threshold", "Bandwidth Threshold") s:option(Value, "rssi_val", "RSSI Threshold") s:option(Value, "low_rssi_val", "Low RSSI Threshold") s:option(Value, "chan_util_val", "Channel Utilization Threshold") -s:option(Value, "max_chan_util_val", "Maximaum Channel Utilization Thresh...
ExtendedServices: Add Light (StoreApp)
@@ -56,7 +56,8 @@ static PH_KEY_VALUE_PAIR EspServiceLaunchProtectedPairs[] = SIP(L"None", SERVICE_LAUNCH_PROTECTED_NONE), SIP(L"Full (Windows)", SERVICE_LAUNCH_PROTECTED_WINDOWS), SIP(L"Light (Windows)", SERVICE_LAUNCH_PROTECTED_WINDOWS_LIGHT), - SIP(L"Light (Antimalware)", SERVICE_LAUNCH_PROTECTED_ANTIMALWARE_LIGHT) ...
Fix L2 flooding to BVI with error return not working
@@ -168,7 +168,7 @@ l2flood_node_fn (vlib_main_t * vm, bi0 = from[0]; from += 1; n_left_from -= 1; - next0 = L2FLOOD_NEXT_DROP; + next0 = L2FLOOD_NEXT_L2_OUTPUT; b0 = vlib_get_buffer (vm, bi0); @@ -263,7 +263,6 @@ l2flood_node_fn (vlib_main_t * vm, /* Do normal L2 forwarding */ vnet_buffer (c0)->sw_if_index[VLIB_TX] = ...
Add bpf_override_return to docs/kernel-versions.md
@@ -162,3 +162,4 @@ Helper | Kernel version | Commit `BPF_FUNC_trace_printk()` | 4.1 | [9c959c863f82](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9c959c863f8217a2ff3d7c296e8223654d240569) `BPF_FUNC_xdp_adjust_head()` | 4.10 | [17bedab27231](https://git.kernel.org/cgit/linux/kernel/git/tor...
ConnectionFX3: reset FX3 buffer on windows buffer reset on connect was only enebled on Linux changed it to do reset on both
@@ -191,8 +191,6 @@ int ConnectionFX3::Open(const std::string &vidpid, const std::string &serial, co bulkCtrlAvailable = true; break; } - isConnected = true; - return 0; #else const auto splitPos = vidpid.find(":"); const auto vid = std::stoi(vidpid.substr(0, splitPos), nullptr, 16); @@ -265,6 +263,7 @@ int ConnectionF...
tools: Warning about tool beiing installed but failed to run. idf_tool.py runs "<tool> --version" which returns the error message but it is not used This improves the error printing.
@@ -581,8 +581,8 @@ class IDFTool(object): # tool is not on the path raise ToolNotFound('Tool {} not found'.format(self.name)) except subprocess.CalledProcessError as e: - raise ToolExecError('Command {} has returned non-zero exit code ({})\n'.format( - ' '.join(self._current_options.version_cmd), e.returncode)) # type...
Properly handle http_endpoint malloc failure.
@@ -3152,11 +3152,19 @@ comm_point_create_http_handler(struct comm_base *base, if(harden_large_queries && bufsize > 512) c->http2_stream_max_qbuffer_size = 512; c->http2_max_streams = http_max_streams; - c->http_endpoint = strdup(http_endpoint); + if(!(c->http_endpoint = strdup(http_endpoint))) { + log_err("could not s...
Typo in #ifdef.
@@ -549,7 +549,7 @@ static Janet os_cryptorand(int32_t argc, Janet *argv) { n -= nread; } RETRY_EINTR(rc, close(randfd)); -#elif defined(JANET_BSD) || define(JANET_APPLE) +#elif defined(JANET_BSD) || defined(JANET_APPLE) (void) genericerr; arc4random_buf(buffer->data + offset, n);
zephyr/shim/include/usbc/bc12_rt9490.h: Format with clang-format BRANCH=none TEST=none
#define RT9490_BC12_COMPAT richtek_rt9490_bc12 -#define BC12_CHIP_RT9490(id) { .drv = &rt9490_bc12_drv, }, +#define BC12_CHIP_RT9490(id) \ + { \ + .drv = &rt9490_bc12_drv, \ + },
fixed saving rca_scan traffic
@@ -3484,6 +3484,7 @@ if(macfrx->type == IEEE80211_FTYPE_MGMT) if(macfrx->subtype == IEEE80211_STYPE_BEACON) process80211beacon_rca_scan(); else if(macfrx->subtype == IEEE80211_STYPE_PROBE_RESP) process80211probe_resp_rca_scan(); } + if(fd_pcapng > 0) writeepb(fd_pcapng); return; } /*===================================...
Dump timings
@@ -3,6 +3,7 @@ import tarfile import zipfile import os import sys +import time import subprocess @@ -13,11 +14,23 @@ def mkdir_p(path): pass +class Timer(object): + + def __init__(self): + self.start = time.time() + + def step(self, msg): + sys.stderr.write("{} ({}s)\n".format(msg, int(time.time() - self.start))) + se...
Added bindings to pose/base
"poses" : [ { "output" : "/actions/lovr/in/leftHandPose", "path" : "/user/hand/left/pose/raw" }, { "output" : "/actions/lovr/in/rightHandPose", "path" : "/user/hand/right/pose/raw" }, + { "output" : "/actions/lovr/in/leftHandPose", "path" : "/user/hand/left/pose/base" }, + { "output" : "/actions/lovr/in/rightHandPose",...
Bump version in aomp_common_vars for 14.0-2.
@@ -19,7 +19,7 @@ ROCM_VERSION=${ROCM_VERSION:-4.5.0} # Set the AOMP VERSION STRING and AOMP_PROJECT_REPO_BRANCH. AOMP_VERSION=${AOMP_VERSION:-"14.0"} -AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"1"} +AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"2"} AOMP_VERSION_STRING=${AOMP_VERSION_STRING:-"$AOMP_VERSION-$AOMP_VERSION_MOD"} expor...
freertos: adjust rsa test timeouts for SMP
@@ -434,27 +434,42 @@ static void print_rsa_details(mbedtls_rsa_context *rsa) * The allocations made by ESP32-S2 (944 bytes) and ESP32-S3 are the same, * except for the JTAG lock (92 + 944 > 1024). */ +#if CONFIG_FREERTOS_SMP // IDF-5260 +TEST_CASE("test performance RSA key operations", "[bignum][leaks=1088][timeout=60...
Added SCE_KERNEL_MUTEX_ATTR_RECURSIVE reference.
@@ -102,6 +102,10 @@ typedef enum SceThreadStatus { SCE_THREAD_KILLED = 32, /* Thread manager has killed the thread (stack overflow) */ } SceThreadStatus; +typedef enum SceKernelMutexAttribute { + SCE_KERNEL_MUTEX_ATTR_RECURSIVE = 0x02 +} SceKernelMutexAttribute + /** * Create a thread *
OcAppleKernelLib: Minor logging improvement to avoid confusion
@@ -1071,7 +1071,7 @@ PatchIncreasePciBarSize ( Status = PatcherApplyGenericPatch (Patcher, &mIncreasePciBarSizePatch); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_INFO, "OCAK: Failed to apply patch com.apple.iokit.IOPCIFamily IncreasePciBarSize - %r\n", Status)); + DEBUG ((DEBUG_INFO, "OCAK: Failed to apply patch com.ap...
bug_report.md: Add more guidance and hints; use comments and headings The HTML comments are inspired by the HA template. They can be erased or kept in the issue, but won't appear when viewing the issue. Descriptions, examples and links were added to provide further guidance.
--- name: Bug report -about: Create a report to help us improve +about: Report a bug within the deCONZ REST-API title: '' labels: Bug report assignees: '' --- -This report is used to report a issue with deCONZ. If you want to report a bug for Phoscon, please head over to: https://github.com/dresden-elektronik/phoscon-a...