message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix PileupColumn.get_query_sequences documentation Fix mark_matches ./, documentation to match pileup documentation. Fixes
@@ -2939,7 +2939,7 @@ cdef class PileupColumn: mark_matches: bool - If True, output bases matching the reference as "," or "." + If True, output bases matching the reference as "." or "," for forward and reverse strand, respectively. This mark requires the reference sequence. If no reference is present, this option is ...
decisions: small clarification
@@ -98,7 +98,8 @@ We remove the parent key of `kdbGet` and `kdbSet` and always return the keyset o We keep a duplicated keyset in-memory and tag the keys as copy-on-write (COW). From this keyset, we use `ksBelow` to return the correct keyset. -If the user tries to change the keys, the value or metadata gets duplicated,...
pack: do not add empty space on JSON formatting map keys
@@ -509,7 +509,7 @@ static int msgpack2json(char *buf, int *off, size_t left, const msgpack_object * goto msg2json_end; } for (i=1; i<loop; i++) { - if (!try_to_write(buf, off, left, ", ", 2) || + if (!try_to_write(buf, off, left, ",", 1) || !msgpack2json(buf, off, left, p+i)) { goto msg2json_end; } @@ -533,7 +533,7 @@...
Update enc_flash to use erased val
@@ -162,7 +162,7 @@ enc_flash_is_empty(const struct hal_flash *h_dev, uint32_t addr, uint32_t len) if (h_dev->hf_itf->hff_is_empty) { return h_dev->hf_itf->hff_is_empty(h_dev, addr, len); } else { - return hal_flash_is_ones(h_dev, addr, len); + return hal_flash_is_erased(h_dev, addr, len); } } @@ -183,6 +183,7 @@ enc_f...
rejects automatic %peer /sole from lib/drum
%- create-tapp-poke-peer |_ [=bowl:gall state=state-type] ++ handle-poke ~(handle-poke handler bowl state) - ++ handle-peer |=(* (async-fail:async-lib %no-peer-handler >path< ~)) + ++ handle-peer + |= * + ~| %default-tapp-no-sole + ?< ?=([%sole *] +<) + (async-fail:async-lib %no-peer-handler >path< ~) -- :: :: The form...
VM: init thread context ( required by JNI )
@@ -548,6 +548,11 @@ ruby_thread_init_stack(rb_thread_t *th) native_thread_init_stack(th); } +//RHO +void *rho_nativethread_start(); +void rho_nativethread_end(void *); +//RHO + static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_start) { @@ -568,6 +573,9 @@ thread_start_func_2(rb_...
Coding style changes per feedback on PR.
@@ -189,9 +189,9 @@ log_reboot_write(const struct log_reboot_info *info) return rc; } - memset(cbor_enc_buf, 0, sizeof(cbor_enc_buf)); + memset(cbor_enc_buf, 0, sizeof cbor_enc_buf); - cbor_buf_writer_init(&writer, cbor_enc_buf, sizeof(cbor_enc_buf)); + cbor_buf_writer_init(&writer, cbor_enc_buf, sizeof cbor_enc_buf); ...
fix missing t in xgemmt rule
@@ -1337,7 +1337,7 @@ cgemmt.$(SUFFIX) cgemmt.$(PSUFFIX) : gemmt.c ../param.h zgemmt.$(SUFFIX) zgemmt.$(PSUFFIX) : gemmt.c ../param.h $(CC) -c $(CFLAGS) $< -o $(@F) -xgemmt.$(SUFFIX) xgemm.$(PSUFFIX) : gemmt.c ../param.h +xgemmt.$(SUFFIX) xgemmt.$(PSUFFIX) : gemmt.c ../param.h $(CC) -c $(CFLAGS) $< -o $(@F) ssymm.$(SUF...
dm: virtio-block: extend the max iov number of virtio block It is found that windows will issue blkio operation with amount of sectors in one request. This patch extends the max iov number of virtio block to 256. Acked-by: Yin Fengwei
#include <sys/uio.h> #include <sys/unistd.h> -#define BLOCKIF_IOV_MAX 33 /* not practical to be IOV_MAX */ +#define BLOCKIF_IOV_MAX 256 /* not practical to be IOV_MAX */ struct blockif_req { struct iovec iov[BLOCKIF_IOV_MAX];
README: switch decoder example to simplified version
- Should compile on any platform with a working C11 compiler - Tested on Windows, macOS, FreeBSD, Linux and UEFI, both user and kernel mode -## Decoder Example +## Examples -The following example program uses Zydis to disassemble a given memory buffer and prints the output to the console ([more examples here](./example...
Use both getrandom() and /dev/urandom by default on Linux. getrandom() is now used on Linux by default when using Linux >= 3.17 and glibc >= 2.25 GH:
#include "rand_lcl.h" #include <stdio.h> -#ifdef OPENSSL_RAND_SEED_GETRANDOM -# include <linux/random.h> -#endif - #if (defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI)) && \ !defined(OPENSSL_RAND_SEED_NONE) # error "UEFI and VXWorks only support seeding NONE" @@ -123,11 +119,19 @@ size_t RAND_POOL_acquire_ent...
baseboard/grunt/baseboard.h: Format with clang-format BRANCH=none TEST=none
#ifndef __CROS_EC_BASEBOARD_H #define __CROS_EC_BASEBOARD_H -#if (defined(VARIANT_GRUNT_TCPC_0_ANX3429) \ - + defined(VARIANT_GRUNT_TCPC_0_ANX3447)) != 1 +#if (defined(VARIANT_GRUNT_TCPC_0_ANX3429) + \ + defined(VARIANT_GRUNT_TCPC_0_ANX3447)) != 1 #error Must choose VARIANT_GRUNT_TCPC_0_ANX3429 or VARIANT_GRUNT_TCPC_0_...
Dockerfile: update to ccache v4.7.2
@@ -157,8 +157,8 @@ RUN wget -nv https://sourceforge.net/projects/doxygen/files/rel-1.9.4/doxygen-1. tar zxf doxygen-1.9.4.linux.bin.tar.gz -C ${HOME}/.local && \ rm -rf ${HOME}/.local/doxygen-1.9.4/html ${HOME}/.local/doxygen-1.9.4/*.pdf doxygen-1.9.4.linux.bin.tar.gz && \ (cd ${HOME}/.local/bin && ln -s ../doxygen-1....
SOVERSION bump to version 1.2.9
@@ -51,7 +51,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 2) -set(LIBNETCONF2_MICRO_SOVERSION 8) +set(LIBN...
Add routine to add intra scc edges in FCG
@@ -859,8 +859,10 @@ void update_fcg_between_sccs(Graph *fcg, int scc1, int scc2, PlutoProg *prog) return; } + if(options->scc_cluster) { update_scc_cluster_fcg_between_sccs(fcg, scc1, scc2, prog); + return; } /* Assumes that the DDG has already been cut. */ if (options->fuse == NO_FUSE) { @@ -901,6 +903,26 @@ void upd...
BugID:25714458:modify cli default to rm ota cmd from default cmds; core
@@ -132,11 +132,6 @@ static void uptime_cmd(char *buf, int32_t len, int32_t argc, char **argv) cli_printf("UP time %ld ms\r\n", (long)krhino_sys_time_get()); } -void tftp_ota_thread(void *arg) -{ - cli_task_exit(); -} - #if (CLI_MINIMUM_MODE <= 0) static void echo_cmd(char *buf, int32_t len, int32_t argc, char **argv)
add default NONE flag for bd_flags
@@ -320,6 +320,7 @@ manual_print manual_endian define bridge_domain_details /** \brief Flags that can be changed on a bridge domain */ enum bd_flags { + BRIDGE_API_FLAG_NONE = 0x0, BRIDGE_API_FLAG_LEARN = 0x1, BRIDGE_API_FLAG_FWD = 0x2, BRIDGE_API_FLAG_FLOOD = 0x4,
[chainmaker]modify response init
@@ -458,9 +458,9 @@ BOAT_RESULT BoatChainmakerContractInvoke(BoatChainmakerTx *tx_ptr, char *method, response_data->contract_result.contract_message = BoatMalloc(strlen(transaction_info_with_rwset->transaction->result->contract_result->message)); strcpy(response_data->contract_result.contract_message , transaction_info...
hoon: updates +muk to truncate seed and removes spurious assertion
++ muk :: standard murmur3 ~% %muk ..muk ~ =+ ~(. fe 5) - |= {syd/@ len/@ key/@} - ?> &((lte (met 5 syd) 1) (lte (met 0 len) 31)) + |= [syd=@ len=@ key=@] + =. syd (end 5 1 syd) =/ pad (sub len (met 3 key)) =/ data (weld (rip 3 key) (reap pad 0)) =/ nblocks (div len 4) :: intentionally off-by-one
Makefile -DCPU_INTEL
@@ -2,8 +2,8 @@ CC = gcc INC_DIRS = -I. -I./3rdparty # Temporarily disable optimizations to debug crashes -CFLAGS = -g -Wall -c -fPIC -maes -O2 -fpermissive -Wno-fpermissive -Wno-strict-aliasing -Wno-sign-compare $(INC_DIRS) -CXXFLAGS = -g -Wall -maes -O2 -Wno-unused-function -fPIC -fpermissive -Wno-strict-aliasing -Wn...
config_tools: update scenario xml file on ehl-crb-b platform for ehl-crb-b platform, update sos rootfs from "dev/sda3" to "/dev/nvme0n1p3" in hybrid.xml file.
<pci_dev/> </pci_devs> <board_private> - <rootfs>/dev/sda3</rootfs> + <rootfs>/dev/nvme0n1p3</rootfs> <bootargs> rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3 i915.nuclear_pageflip=1 swiotlb=131072
metadata-push-hook: stop syncing dms
:: /- *group, *invite-store, store=metadata-store /+ default-agent, verb, dbug, grpl=group, push-hook, - resource, mdl=metadata, gral=graph + resource, mdl=metadata, gral=graph, agentio ~% %group-hook-top ..part ~ |% +$ card card:agent:gall == :: +$ agent (push-hook:push-hook config) +:: ++$ state-null ~ ++$ state-zero...
UserNotes: Add check for image type when configuring IFEO priority
#include "usernotes.h" #include <toolstatusintf.h> #include <commdlg.h> +#include <mapimg.h> VOID SearchChangedHandler( _In_opt_ PVOID Parameter, @@ -417,7 +418,7 @@ VOID NTAPI MainMenuInitializingCallback( } PPH_STRING ShowFileDialog( - _In_ HWND ParentHandle + _In_ HWND ParentWindowHandle ) { static PH_FILETYPE_FILTE...
parser json BUGFIX assert should be an if
@@ -364,7 +364,6 @@ lydjson_check_list(struct lyjson_ctx *jsonctx, const struct lysc_node *list) uint32_t i, status_count; assert(list && (list->nodetype == LYS_LIST)); - assert(status == LYJSON_OBJECT); /* get all keys into a set (keys do not have if-features or anything) */ snode = NULL; @@ -373,10 +372,10 @@ lydjson...
highlevel: Add documentation for specProperlyMounted()
@@ -189,7 +189,27 @@ void elektraFatalError (Elektra * elektra, ElektraError * fatalError) elektra->fatalErrorHandler (fatalError); } - +/** + * + * Check whether the specification for @p application was properly mounted using "kdb mount" and "kdb spec-mount". + * + * There is currently no way to check this with full c...
Fix CID Integer handling issues (evp_extra_test.c)
@@ -802,7 +802,7 @@ static int test_privatekey_to_pkcs8(void) EVP_PKEY *pkey = NULL; BIO *membio = NULL; char *membuf = NULL; - size_t membuf_len = 0; + long membuf_len = 0; int ok = 0; if (!TEST_ptr(membio = BIO_new(BIO_s_mem())) @@ -810,9 +810,9 @@ static int test_privatekey_to_pkcs8(void) || !TEST_int_gt(i2d_PKCS8Pr...
YAML: Fix minor spelling mistake in ReadMe
@@ -18,7 +18,7 @@ This plugin reads configuration data specified in a **very limited** subset of ### Basic Usage ```sh -# Mount mini plugin to cascading namespace `/examples/yaml` +# Mount yaml plugin to cascading namespace `/examples/yaml` kdb mount config.yaml /examples/yaml yaml kdb set /examples/yaml/key value
Preparation for decode support
@@ -182,6 +182,20 @@ espi_tcpip_process_send_data(void) { esp.msg->msg.conn_send.sent = esp.msg->msg.conn_send.btw > 2048 ? 2048 : esp.msg->msg.conn_send.btw; number_to_str(esp.msg->msg.conn_send.sent, str); ESP_AT_PORT_SEND_STR(str); + + if (esp.msg->msg.conn_send.conn->type == ESP_CONN_TYPE_UDP) { + const uint8_t* ip...
Added S2N_DEBUG env var which enables DEBUG_CFLAGS
@@ -56,6 +56,10 @@ CFLAGS += ${DEFAULT_CFLAGS} DEBUG_CFLAGS = -g3 -ggdb -fno-omit-frame-pointer -fno-optimize-sibling-calls +ifdef S2N_DEBUG + CFLAGS += ${DEBUG_CFLAGS} +endif + FUZZ_CFLAGS = -fsanitize-coverage=trace-pc-guard -fsanitize=address,undefined,leak ifeq ($(S2N_UNSAFE_FUZZING_MODE),1)
faq: improvements
@@ -40,20 +40,29 @@ to see how useful it can be. Longer answer: -Elektra abstracts [configuration settings](elektra-glossary.md), something -desperately needed within configuration management. Instead of rewriting -complete configuration files, which might create security problems, -Elektra operates precisely on the co...
Work CI-CD Fix condition in nightly pipeline. ***NO_CI***
@@ -208,14 +208,7 @@ jobs: ############################## - job: Check_Code_Style - condition: >- - or( - eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true), - eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_CHIBIOS'], true), - eq(dependencies.Check_Build_Options.outputs['T...
Tinyalsa: Fix apb and wav header setting
@@ -926,7 +926,12 @@ struct pcm *pcm_open(unsigned int card, unsigned int device, unsigned int flags, oops(pcm, ENOMEM, "Could not allocate buffer %d\n", x); goto fail_cleanup_buffers; } + pcm->pBuffers[x]->nbytes = 0; + pcm->pBuffers[x]->curbyte = 0; + pcm->pBuffers[x]->flags = 0; } + +#ifdef CONFIG_AUDIO_FORMAT_PCM i...
life_mngr: Makefile: Fix install path creation of CONF_DIR
@@ -82,7 +82,7 @@ endif .PHONY: install install: - [ -d $(CONF_DIR) ] || mkdir -p $(CONF_DIR) + install -d $(DESTDIR)$(CONF_DIR) install -d $(DESTDIR)$(bindir) install -t $(DESTDIR)$(bindir) $(OUT_DIR)/life_mngr install -t $(DESTDIR)$(CONF_DIR) $(OUT_DIR)/life_mngr.conf
fix PROTO_NAMESPACE for GO_PROTO_CMD
@@ -43,14 +43,10 @@ def main(arcadia_prefix, contrib_prefix, proto_namespace, args): print >>sys.stderr, e.output return e.returncode - if proto_namespace != '.': - out_dir_src = out_dir_temp - out_dir_dst = out_dir_orig - else: # All Arcadia GO projects should have 'a.yandex-team.ru/' namespace prefix. # If the namesp...
py/mkenv.mk: Add GDB variable.
@@ -49,6 +49,7 @@ PYTHON = python3 AS = $(CROSS_COMPILE)as CC = $(CROSS_COMPILE)gcc CXX = $(CROSS_COMPILE)g++ +GDB = $(CROSS_COMPILE)gdb LD = $(CROSS_COMPILE)ld OBJCOPY = $(CROSS_COMPILE)objcopy SIZE = $(CROSS_COMPILE)size
Improved static diff handling
@@ -108,24 +108,29 @@ namespace Miningcore.Blockchain.Cryptonote context.IsSubscribed = result; context.IsAuthorized = result; - // Nicehash support - double? staticDiff = null; + // extract control vars from password + var passParts = loginRequest.Password?.Split(PasswordControlVarsSeparator); + var staticDiff = GetSt...
gso: fix the metadata for gro packets Type: fix
@@ -384,6 +384,7 @@ gro_fixup_header (vlib_main_t *vm, vlib_buffer_t *b0, u32 ack_number, u8 is_l2) 1 /* is_ip6 */ ); vnet_buffer2 (b0)->gso_size = b0->current_length - gho0.hdr_sz; + vnet_buffer (b0)->l2_hdr_offset = b0->current_data; if (gho0.gho_flags & GHO_F_IP4) { @@ -412,6 +413,7 @@ gro_fixup_header (vlib_main_t ...
fix memcheck don't work
#include <util/thread/pool.h> void RunGpuProgram(std::function<void()> func) { - auto queue = CreateThreadPool(1); + TThreadPool queue; + queue.Start(1); NThreading::TFuture<void> future = NThreading::Async( func, - *queue + queue ); future.Wait(); }
rand: include the CPU source in a build.
@@ -41,7 +41,7 @@ jobs: env: CONFIG_OPTS="" DESTDIR="_install" - os: linux compiler: clang - env: CONFIG_OPTS="no-asm no-makedepend enable-buildtest-c++ --strict-warnings -D_DEFAULT_SOURCE" BUILDONLY="yes" CHECKDOCS="yes" CPPFLAGS="-ansi" + env: CONFIG_OPTS="no-asm no-makedepend enable-buildtest-c++ --strict-warnings -...
add convertor for TM1650
@@ -571,25 +571,61 @@ pbc.objectFunctionD.get('show_fill')['monitor'] = function(py2block, func, args, })]; } -// function display_tm_stat(mode){ -// function converter(py2block, func, args, keywords, starargs, kwargs, node) { -// if (args.length !== 0) { -// throw new Error("Incorrect number of arguments"); -// } -// ...
doc: clarify sample app instructions Clarify commands that needed to be run on the target and not the dev system
@@ -457,7 +457,9 @@ Copy files from the development system to your target system acpica-unix-20210105/generate/unix/bin/iasl \ acrn@10.0.0.200:~/acrn-work - sudo mv ~/acrn-work/iasl /usr/sbin + Then on the target system run these commands:: + + sudo cp ~/acrn-work/iasl /usr/sbin sudo ln -s /usr/sbin/iasl /usr/bin/iasl ...
TravisCI CHANGE pcre2 should be already installed, do not install it
@@ -94,7 +94,6 @@ jobs: - tar -xf cmocka-1.1.2.tar.xz - cd cmocka-1.1.2 && mkdir build && cd build && cmake .. && make -j2 && sudo make install && cd ../.. - brew update - - brew install pcre2 script: - mkdir build && cd build && cmake -DENABLE_VALGRIND_TESTS=OFF .. && make -j2 && ctest --output-on-failure && cd -
Doc: Fix documentation of Magick::Image#crop This patch will fix wrong description of documentation of Magick::Image#crop .
@@ -4681,26 +4681,26 @@ Image_init_copy(VALUE copy, VALUE orig) /** * Extract a region of the image defined by width, height, x, y. * - * @overload crop(reset = false, x, y, width, height) - * @param reset [Boolean] true if reset the cropped image page canvas and position + * @overload crop(x, y, width, height, reset =...
vlib: add max-size configuration parameter for pmalloc Enable 'max-size' configuration parameter to set maximum size of memory space allocated for pmalloc module. This parameter along with existing 'base-addr' falls into physmem section. Both are dedicated parameters to pmalloc module. Type: feature
@@ -178,6 +178,9 @@ vlib_physmem_config (vlib_main_t * vm, unformat_input_t * input) { if (unformat (input, "base-addr 0x%lx", &vpm->base_addr)) ; + else if (unformat (input, "max-size %U", + unformat_memory_size, &vpm->max_size)) + ; else return unformat_parse_error (input); }
Increment version to 4.5.14.
#define MOD_WSGI_MAJORVERSION_NUMBER 4 #define MOD_WSGI_MINORVERSION_NUMBER 5 #define MOD_WSGI_MICROVERSION_NUMBER 13 -#define MOD_WSGI_VERSION_STRING "4.5.13" +#define MOD_WSGI_VERSION_STRING "4.5.14" /* ------------------------------------------------------------------------- */
BugID:17711683: Fix network compile error when no cli module
@@ -584,6 +584,7 @@ static void read_persistent_conf(void) get_wifi_ssid(); } +#ifdef CONFIG_AOS_CLI static void handle_netmgr_cmd(char *pwbuf, int blen, int argc, char **argv) { const char *rtype = argc > 1 ? argv[1] : ""; @@ -610,6 +611,7 @@ static struct cli_command ncmd = { .help = "netmgr [start|clear|connect ssid...
graphics/nxwidgets: Change CONFIG_USER_ENTRYPOINT to CONFIG_INIT_ENTRYPOINT
@@ -120,7 +120,7 @@ NXWidgets.: see that setting like: ```conf - CONFIG_USER_ENTRYPOINT="nsh_main" + CONFIG_INIT_ENTRYPOINT="nsh_main" ``` If you are not using in NSH, then each unit test has a unique entry point. @@ -129,13 +129,13 @@ NXWidgets.: `UnitTests/CButton` would be: ```conf - CONFIG_USER_ENTRYPOINT="cbutton_...
Apply main modifier to pb.h outputs
@@ -387,11 +387,11 @@ module BASE_UNIT { DEFAULT(BUILD_PROTO_AS_EVLOG no) when ($OPTIMIZE_PY_PROTOS_FLAG == "yes") { - CPP_PROTO_OUTS=${output;hide;norel;noext;noauto:File.pb.cc} ${output;hide;norel;noext;noauto:File.pb.h} + CPP_PROTO_OUTS=${output;hide;norel;noext;noauto:File.pb.cc} ${output;main;hide;norel;noext;noau...
Configuration: fixed comments parsing. Unclosed multi-line comments and "/" at the end of JSON shouldn't be allowed.
@@ -1269,6 +1269,7 @@ nxt_conf_json_skip_space(u_char *start, u_char *end) case '\r': continue; case '/': + start = p; state = sw_after_slash; continue; } @@ -1285,7 +1286,6 @@ nxt_conf_json_skip_space(u_char *start, u_char *end) continue; } - p--; break; case sw_single_comment: @@ -1318,6 +1318,10 @@ nxt_conf_json_ski...
platform/primehub: revert interrupt change This partially reverts commit to make dual boot work again.
@@ -689,19 +689,14 @@ extern uint32_t *_fw_isr_vector_src; // Called from assembly code in startup.s void SystemInit(void) { - // enable 8-byte stack alignment for IRQ handlers, in accord with EABI - SCB->CCR |= SCB_CCR_STKALIGN_Msk; - - // since the firmware starts at 0x08008000, we need to set the vector table offset...
use SIOCGIWNAME to detect presence of Wireless Extensions
@@ -7125,7 +7125,7 @@ memset(&iwr, 0, sizeof(iwr)); memcpy(&iwr.ifr_name, interfacename, IFNAMSIZ); if(ioctl(fd_socket, SIOCGIWNAME, &iwr) < 0) { - perror("failed to detect wlan interface"); + perror("failed to detect wlan interface - kernel possible complied without Wireless Extensions (CONFIG_CFG80211_WEXT=y and CONF...
fix:fix ethereum test case(test_001CreateWallet_0012CreateOnetimeWalletWithLoadExistedWallet)
@@ -349,6 +349,7 @@ END_TEST START_TEST(test_001CreateWallet_0012CreateOnetimeWalletWithLoadExistedWallet) { BSINT32 rtnVal; + BoatIotSdkInit(); BoatEthWalletConfig wallet = get_ethereum_wallet_settings(); extern BoatIotSdkContext g_boat_iot_sdk_context; wallet.prikeyCtx_config.load_existed_wallet = BOAT_TRUE;
FIX: travis ci test failure detection
@@ -17,10 +17,16 @@ if ($script_type eq "big") { # common engine test script : ./t if (grep $_ eq $engine_name, @engine_list) { - system("prove $opt - < $srcdir/t/tlist/engine_$engine_name\_$ext\.txt :: $engine_name"); + my $returnCode = system("prove $opt - < $srcdir/t/tlist/engine_$engine_name\_$ext\.txt :: $engine_n...
silence makefile warning on ubuntu shell error on ubuntu when OS_VERSION_ID == 16.04: /bin/sh: 1: [: Illegal number: 16.04
@@ -78,7 +78,7 @@ ifeq ($(OS_ID)-$(OS_VERSION_ID),fedora-25) RPM_DEPENDS += python-devel RPM_DEPENDS += python2-virtualenv RPM_DEPENDS_GROUPS = 'C Development Tools and Libraries' -else ifeq ($(shell if [ "$(OS_VERSION_ID)" -gt "25" ] ; then echo "y" ; fi),"y") +else ifeq ($(shell if [ $(echo "$(OS_VERSION_ID) > 25" | ...
dbug fe: remember summary fold state correctly By manually providing a key, we avoid auto-assigned keys, which would cause the nth summary item to remain unfolded, even if its contents changed.
@@ -37,7 +37,7 @@ export class SearchableList extends Component { if (items.length === 0) { items = 'none'; } else { - items = items.map(item => (<div style={{marginTop: '4px'}}>{item.jsx}</div>)); + items = items.map(item => (<div key={item.key} style={{marginTop: '4px'}}>{item.jsx}</div>)); } return (<div style={{bor...
please let super + tab be fixed
@@ -5057,15 +5057,17 @@ view(const Arg *arg) int i; selmon->seltags ^= 1; /* toggle sel tagset */ - if (ui & TAGMASK) { selmon->tagset[selmon->seltags] = ui & TAGMASK; - selmon->pertag->prevtag = selmon->pertag->curtag; - if (ui == ~0) + if (ui == ~0) { + selmon->pertag->prevtag = selmon->pertag->curtag; selmon->pertag...
[net][sal_socket] improve closesocke/shutdown error handling
@@ -78,29 +78,39 @@ RTM_EXPORT(bind); int shutdown(int s, int how) { - int socket; + int error = 0; + int socket = -1; struct dfs_fd *d; + socket = dfs_net_getsocket(s); + if (socket < 0) + { + rt_set_errno(-ENOTSOCK); + return -1; + } + d = fd_get(s); if (d == NULL) { rt_set_errno(-EBADF); - return -1; } - socket = df...
Produce a more coherent error message when creating an abstract method with a body
@@ -1278,6 +1278,11 @@ static void method(Compiler *compiler) { // Setup function and parse parameters beginFunction(compiler, &fnCompiler, TYPE_ABSTRACT); endCompiler(&fnCompiler); + + if (check(compiler, TOKEN_LEFT_BRACE)) { + error(compiler->parser, "Abstract methods can not have an implementation."); + return; + } ...
Fix typo in OPENSSL_malloc.pod CLA: trivial
@@ -101,7 +101,7 @@ before ultimately calling OPENSSL_free(). OPENSSL_cleanse() fills B<ptr> of size B<len> with a string of 0's. Use OPENSSL_cleanse() with care if the memory is a mapping of a file. -If the storage controller uses write compression, then its possible +If the storage controller uses write compression, ...
Restrict namespace length to 128 instead of 1024
@@ -408,7 +408,7 @@ static grib_accessor* _grib_find_accessor(grib_handle* h, const char* name) while ( *p != '.' && *p != '\0' ) p++; if ( *p == '.' ) { int i=0,len=0; - char name_space[1024]; + char name_space[128]; char* basename=NULL; basename=p+1; p--; @@ -502,7 +502,7 @@ grib_accessor* grib_find_accessor_fast(gri...
fix very old memory leak in ASCII multigets if using gets/cas or -o modern, and a key after the first key is too long (> KEY_MAX_LENGTH), the suffixes used for the previous keys are leaked. hopefully this solves the mystery memory leaks folks have had on and off over the years...
@@ -3279,6 +3279,9 @@ static inline void process_get_command(conn *c, token_t *tokens, size_t ntokens, out_string(c, "CLIENT_ERROR bad command line format"); while (i-- > 0) { item_remove(*(c->ilist + i)); + if (return_cas || !settings.inline_ascii_response) { + do_cache_free(c->thread->suffix_cache, *(c->suffixlist + ...
export ipv4/ipv6 nodes to equal parts
@@ -523,39 +523,35 @@ int kad_blacklist( const IP* addr ) { } // Export known nodes; the maximum is 200 nodes -int kad_export_nodes( IP addr_array[], size_t num ) { - IP4 *addr4; - IP6 *addr6; +int kad_export_nodes( IP addrs[], size_t num ) { + IP4 addr4[150]; + IP6 addr6[150]; int num4; int num6; - int n; + int n = 0;...
Make CBMC type header script use absolute paths. The type header script runs goto-instrument in a temporary directory, so the script must construct absolute paths to the inputs before changing directory to run the command.
@@ -93,7 +93,7 @@ def make_header_file(goto_binary, fyle, target_folder): drop_header_cmd = ["goto-instrument", "--dump-c-type-header", module, - goto_binary, + os.path.abspath(goto_binary), header_file] res = subprocess.run(drop_header_cmd, stdout=subprocess.PIPE,
fix vs2017 pipeline vmimage
@@ -12,7 +12,7 @@ jobs: displayName: Windows-2017 pool: vmImage: - windows-2017 + vs2017-win2016 strategy: matrix: Debug: @@ -82,7 +82,7 @@ jobs: displayName: Linux pool: vmImage: - ubuntu-16.04 + ubuntu-18.04 strategy: matrix: Debug:
Set /oic/p and /oic/d not observable
@@ -865,6 +865,12 @@ register_resources(void) // only local device registration oc_add_resource(res_d2dserverlist); oc_cloud_add_resource(res_d2dserverlist); + + oc_resource_t *device_resource = oc_core_get_resource_by_index(OCF_D, DEVICE); + oc_resource_set_observable(device_resource, false); + + oc_resource_t *platfo...
Fix incorrect test param.
@@ -312,7 +312,7 @@ storageGcsAuth(StorageGcs *this, HttpHeader *httpHeader) { FUNCTION_TEST_BEGIN(); FUNCTION_TEST_PARAM(STORAGE_GCS, this); - FUNCTION_TEST_PARAM(KEY_VALUE, httpHeader); + FUNCTION_TEST_PARAM(HTTP_HEADER, httpHeader); FUNCTION_TEST_END(); ASSERT(this != NULL);
Test: add sdk_config at the end
/* Include BLE default config at bottom to set the default values for the configurations which are not overridden */ #include "iot_ble_config_defaults.h" +#include "sdk_config.h" + #endif /* _IOT_BLE_CONFIG_H_ */
Add HelloRetryRequest text to s_client/s_server
@@ -527,6 +527,7 @@ static STRINT_PAIR handshakes[] = { {", ServerHello", 2}, {", HelloVerifyRequest", 3}, {", NewSessionTicket", 4}, + {", HelloRetryRequest", 6}, {", EncryptedExtensions", 8}, {", Certificate", 11}, {", ServerKeyExchange", 12},
Fix parsing parameters
#include <nanoCLR_Application.h> #include <target_common.h> #include <iostream> +#include <locale> +#include <codecvt> +#include <string> // // UNDONE: Feature configuration @@ -68,7 +71,7 @@ bool Target_GetReleaseInfo(NFReleaseInfo &releaseInfo) /////////////////////////////////////////////////////////////////////////...
config_tools: clear schema files Clear schema files of config tools when 'make clean'.
@@ -240,6 +240,8 @@ def clean_configurator_deb(version, build_dir): add_cmd_list(cmd_list, 'bash -c "find -name "build" -prune -exec rm -rf {} \;"', config_tools_path) add_cmd_list(cmd_list, 'bash -c "find -name "target" -prune -exec rm -rf {} \;"', config_tools_path) add_cmd_list(cmd_list, 'bash -c "rm -rf dist"', con...
vlib: switch when frames are different [ebari] no need to switch if next2, next3 are equal to next_index [dbarach] change fix_speculation calculaton to a branch-free xor/or tree
@@ -138,8 +138,8 @@ do { \ #define vlib_validate_buffer_enqueue_x4(vm,node,next_index,to_next,n_left_to_next,bi0,bi1,bi2,bi3,next0,next1,next2,next3) \ do { \ /* After the fact: check the [speculative] enqueue to "next" */ \ - u32 fix_speculation = next_index != next0 || next_index != next1 \ - || next_index != next2 |...
esp32/machine_hw_spi: Fix large HW SPI transfers by splitting them up. Breaks up HW SPI transfers into maximum chunks of 32736 bits (4092 bytes), because this is the maximum that the underlying ESP IDF will accept.
#include "driver/spi_master.h" +#define MP_HW_SPI_MAX_XFER_BYTES (4092) +#define MP_HW_SPI_MAX_XFER_BITS (MP_HW_SPI_MAX_XFER_BYTES * 8) // Has to be an even multiple of 8 + typedef struct _machine_hw_spi_obj_t { mp_obj_base_t base; spi_host_device_t host; @@ -227,35 +230,52 @@ STATIC void machine_hw_spi_deinit(mp_obj_b...
dm: apl-mrb: launch_uos: remove mei debug flags Acked-by: Acked-by: Yu Wang
@@ -93,7 +93,7 @@ if [ $cse_passthrough == 1 ]; then echo "0000:00:0f.0" > /sys/bus/pci/drivers/pci-stub/bind boot_cse_option="$boot_cse_option"" -s 15,passthru,0/0f/0 " else - boot_cse_option="$boot_cse_option"" -s 15,virtio-heci,d1 " + boot_cse_option="$boot_cse_option"" -s 15,virtio-heci,0/0f/0 " fi # for sd card pa...
casta : remove rev0 configuration casta doesn't support rev0 board. BRANCH=firmware-octopus-11297.B TEST=None
@@ -143,17 +143,6 @@ static void cbi_init(void) } DECLARE_HOOK(HOOK_INIT, cbi_init, HOOK_PRIO_INIT_I2C + 1); -/* TODO: Casta: remove this routine after rev0 is not supported */ -static void board_init(void) -{ - uint32_t val; - if (cbi_get_board_version(&val) == EC_SUCCESS && val > 0) - return; - - gpio_set_flags(GPIO_...
move reset to common hmac_init function
@@ -93,7 +93,6 @@ static int s2n_sslv3_mac_init(struct s2n_hmac_state *state, s2n_hmac_algorithm a GUARD(s2n_hash_update(&state->outer_just_key, key, klen)); GUARD(s2n_hash_update(&state->outer_just_key, state->xor_pad, state->xor_pad_size)); - memset(&state->xor_pad, 0, sizeof(state->xor_pad)); /* Copy inner_just_key ...
zephyr/drivers/cros_flash/cros_flash_xec.c: Format with clang-format BRANCH=none TEST=none
@@ -303,8 +303,7 @@ static int flash_set_status_for_prot(const struct device *dev, int reg1) flash_set_status(dev, reg1); - spi_flash_reg_to_protect(reg1, 0, &addr_prot_start, - &addr_prot_length); + spi_flash_reg_to_protect(reg1, 0, &addr_prot_start, &addr_prot_length); return EC_SUCCESS; } @@ -392,7 +391,6 @@ static ...
component/bt: Fix BLE printf missing problem
@@ -186,7 +186,7 @@ void esp_log_write(esp_log_level_t level, const char* tag, const char* format, . */ #define ESP_LOG_BUFFER_HEX(tag, buffer, buff_len) \ do { \ - if (LOG_LOCAL_LEVEL > ESP_LOG_INFO) { \ + if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO) { \ ESP_LOG_BUFFER_HEX_LEVEL( tag, buffer, buff_len, ESP_LOG_INFO ); \ }\ } ...
Adding VS 2017 64 bit to Appveyor build matrix
version: 2.0.{build} -image: - - Visual Studio 2013 +matrix: + allow_failures: + #GROUP: (SUPPORTED/EXPERIMENTAL) + #EXPERIMENTAL is allowed to fail under build matrix + - GROUP: "EXPERIMENTAL" + +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + VS_VERSION: "10 2010" + ARCH: Win32 + GROUP: "...
Make coverall happy.
@@ -609,6 +609,9 @@ def check_cls(cosmo): nc3 = ccl.NumberCountsTracer(cosmo, True, dndz=(z,n), bias=(z,b), mag_bias=(z,b)) cmbl=ccl.CMBLensingTracer(cosmo, 1100.) + assert_raises(ValueError, ccl.WeakLensingTracer, cosmo, None) + assert_raises(ValueError, ccl.NumberCountsTracer, cosmo, False, (z,n), None) + # Check val...
[libc] fix the extension routine that adds entropy to the random pool Worked for short entropy but actually would end up zeroing out the new entropy word.
@@ -20,7 +20,8 @@ void rand_add_entropy(const void *buf, size_t len) { uint32_t enp = 0; for (size_t i = 0; i < len; i++) { - enp ^= ((enp << 8) | (enp >> 24)) ^ ((const uint8_t *)buf)[i]; + uint32_t c = ((const uint8_t *)buf)[i]; + enp = ((enp << 8) | (enp >> 24)) ^ c; } randseed ^= enp;
[mechanisms] remove pointer relatd to dimensionless arrays
//! The maximal number of contacts. #define MBTB_MAX_CONTACTS_NUMBER 100 //!The dynamical bodies. -extern SP::MBTB_Body sDS[]; +extern SP::MBTB_Body sDS[MBTB_MAX_BODIES_NUMBER]; //!The joint relations. -extern MBTB_JointR * sJointRelations[]; +extern MBTB_JointR * sJointRelations[MBTB_MAX_JOINTS_NUMBER]; //!The contact...
sync: Remove use of ACCEL_INTERRUPTS sync sensor assume a hardware interrupt exists. BRANCH=asurada,dedede,brya TEST=Build all. Check Zephyr with herobrine. Check on bugzzy.
#error This driver needs CONFIG_ACCEL_FIFO #endif -#ifndef CONFIG_ACCEL_INTERRUPTS -#error This driver needs CONFIG_ACCEL_INTERRUPTS -#endif - struct sync_event_t { uint32_t timestamp; int counter;
Define the FP register size on PPC to be double According to GLIBC headers those are in fact double (8 Byte) not long double (16 Byte)
@@ -72,7 +72,7 @@ typedef uint64_t unw_word_t; typedef int64_t unw_sword_t; #endif -typedef long double unw_tdep_fpreg_t; +typedef double unw_tdep_fpreg_t; /* * Vector register (in PowerPC64 used for AltiVec registers)
Add a main vs 1.7 plot
@@ -249,7 +249,7 @@ def main(): int: The process return code. """ - absoluteXLimit = 35 + absoluteXLimit = 40 charts = [ # -------------------------------------------------------- @@ -320,6 +320,17 @@ def main(): ], # -------------------------------------------------------- # Latest main vs last stable release charts +...
improved detection of empty blocks
@@ -5448,6 +5448,12 @@ while(1) printf("unsupported pcapng version: %d\n", pcapngshb.major_version); break; } + if(pcapngbh.total_length == 0) + { + pcapreaderrors++; + printf("empty block detected\n"); + break; + } aktseek = lseek(fd, 0, SEEK_CUR); if(aktseek < 0) { @@ -5459,6 +5465,7 @@ while(1) { pcapngoptionwalk(fd...
libcupsfilters: In rastertopwg() removed unneeded marking of options in PPD
@@ -113,12 +113,7 @@ cups_file_t *inputfp; /* Print file */ back = ppdFindAttr(data->ppd, "cupsBackSide", NULL); - if (data->ppd) - { - ppdMarkDefaults(data->ppd); - ppdMarkOptions(data->ppd, data->num_options, data->options); - } - else + if (!data->ppd) { if (log) log(ld, FILTER_LOGLEVEL_DEBUG, "rastertopwg: PPD file...
doc: fix doxy for hiding internal symbols Docyten syntax for EXCLUDE_SYMBOLS is with spaces for separator, not commas.
@@ -866,7 +866,7 @@ EXCLUDE_PATTERNS = # Exclude internal names (starting with an _) and doxygen-added __unnamed__ # names given to unnamed nested unions -EXCLUDE_SYMBOLS = _*, *.__unnamed__ +EXCLUDE_SYMBOLS = _* *.__unnamed__ # The EXAMPLE_PATH tag can be used to specify one or more files or directories # that contain...
Namespaces: Update man page
.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "ELEKTRA\-NAMESPACES" "7" "March 2019" "" "" +.TH "ELEKTRA\-NAMESPACES" "7" "May 2019" "" "" . .SH "NAME" \fBelektra\-namespaces\fR \- namespaces @@ -128,7 +128,7 @@ The configuration is typically located below \fBKDB_DB_SYSTEM\fR\. Ot...
BugID:21829515: Dump of WDG When >15s set timeout to 15s when >15s
@@ -29,7 +29,7 @@ int32_t hal_wdg_init(wdg_dev_t *wdg) to = wdg->config.timeout/1000; if(0x00U != (to & 0xF0U)) { - return EIO; + to = 0x0F; /*Fixme Timeout <= 15s. set 15s to void crash when > 15s.*/ } wdt = (RDA_WDT_TypeDef *)WDT_0;
options/ansi: Implement wmem{cpy,move}
@@ -259,8 +259,15 @@ wchar_t *wcsncpy(wchar_t *__restrict dest, const wchar_t *__restrict src, size_t return a; } -wchar_t *wmemcpy(wchar_t *__restrict, const wchar_t *__restrict, size_t) MLIBC_STUB_BODY -wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t) MLIBC_STUB_BODY +wchar_t *wmemcpy(wchar_t *__restrict dest, c...
Change to use oso strings for osc hostname/port
@@ -2548,7 +2548,7 @@ void print_loading_message(char const *s) { typedef struct { Ged ged; oso *file_name; - char const *osc_hostname, *osc_port; + oso *osc_hostname, *osc_port; int undo_history_limit; int softmargin_y, softmargin_x; int hardmargin_y, hardmargin_x; @@ -2816,10 +2816,10 @@ int main(int argc, char **arg...
doc: Update acrnctrl readme Update broken link and minor editorial changes
@@ -11,8 +11,6 @@ The ``acrnctl`` tool helps users create, delete, launch, and stop a User VM (aka UOS). The tool runs under the Service VM, and User VMs should be based on ``acrn-dm``. The daemon for acrn-manager is `acrnd`_. - - Usage ===== @@ -32,7 +30,7 @@ You can see the available ``acrnctl`` commands by running: ...
Enable css parser testcase
@@ -25,8 +25,8 @@ int main(void) Logger_SetHandlerW( LoggerHandlerW ); #endif ret |= test_string(); - ret |= test_image_reader();/* - ret |= test_css_parser(); + ret |= test_image_reader(); + ret |= test_css_parser();/* ret |= test_widget_render(); ret |= test_char_render(); ret |= test_string_render();*/
Fix fast sending of multiple group commands The limit is 6 parallel in a 'burst'. Each command needs ~1 second to be processed. Mainly addresses
@@ -6419,7 +6419,7 @@ void DeRestPluginPrivate::processTasks() return; } - if (runningTasks.size() > 4) + if (runningTasks.size() >= MAX_BACKGROUND_TASKS) { std::list<TaskItem>::iterator j = runningTasks.begin(); std::list<TaskItem>::iterator jend = runningTasks.end(); @@ -6460,7 +6460,7 @@ void DeRestPluginPrivate::pr...
Properly initialize file pointers to null If in `init_cpu_power_data_k10temp` we fail to initialize all paths, and fail initialization, then in the destructor, we will most likely pass invalid value to the `fclose`.
@@ -68,10 +68,10 @@ struct CPUPowerData_k10temp : public CPUPowerData { fclose(this->socCurrentFile); }; - FILE* coreVoltageFile; - FILE* coreCurrentFile; - FILE* socVoltageFile; - FILE* socCurrentFile; + FILE* coreVoltageFile {nullptr}; + FILE* coreCurrentFile {nullptr}; + FILE* socVoltageFile {nullptr}; + FILE* socCu...
alpha_processing_neon.c: fix Dispatch/ExtractAlpha_NEON the trailing width % 8 bytes would clear the upper bytes of alpha_mask as they're done one at a time since: NEON: implement several alpha-processing functions
@@ -83,7 +83,7 @@ static void ApplyAlphaMultiply_NEON(uint8_t* rgba, int alpha_first, static int DispatchAlpha_NEON(const uint8_t* WEBP_RESTRICT alpha, int alpha_stride, int width, int height, uint8_t* WEBP_RESTRICT dst, int dst_stride) { - uint32_t alpha_mask = 0xffffffffu; + uint32_t alpha_mask = 0xffu; uint8x8_t mas...
CMake: always move libraries; Instead of only moving them when lovr is rebuilt. That way plugins get moved into bin when their source changes.
@@ -321,7 +321,6 @@ if(NOT LOVR_BUILD_EXE) target_compile_definitions(lovr PUBLIC LOVR_OMIT_MAIN) # specifically for win32 WinMain endif() - set_target_properties(lovr PROPERTIES C_VISIBILITY_PRESET ${LOVR_SYMBOL_VISIBILITY}) set_target_properties(lovr PROPERTIES C_STANDARD 11) set_target_properties(lovr PROPERTIES C_S...
Fix code that was generating vtkError messages. Per Allen Sanderson, surround the code with the proper if-condition, but comment out as it is not presently needed.
@@ -381,8 +381,14 @@ avtLCSFilter::SingleBlockSingleCalc( vtkDataSet *in_ds, { // Save the times/distances so that points that do not fully // advect can be culled. - for(size_t j = 0; j < (size_t) nTuples; ++j) - outputArray->SetTuple1(j, remapTimes[j]); +#if 0 +// Commented out because the code was used in avtLCSFilt...
Make SerializeHeader virtual
@@ -279,19 +279,12 @@ namespace MiningCore.Blockchain.Bitcoin return true; } - protected virtual BitcoinShare ProcessShareInternal(StratumClient<BitcoinWorkerContext> worker, string extraNonce2, uint nTime, uint nonce) + protected virtual byte[] SerializeHeader(byte[] coinbaseHash, uint nTime, uint nonce) { - var extra...
peview: Add missing setting (Fixes
* * Authors: * - * dmex 2017-2022 + * dmex 2017-2023 * */ @@ -25,6 +25,7 @@ VOID PvAddDefaultSettings( PhpAddIntegerSetting(L"EnableLegacyPropertiesDialog", L"0"); PhpAddIntegerSetting(L"EnableSecurityAdvancedDialog", L"1"); PhpAddIntegerSetting(L"EnableThemeSupport", L"0"); + PhpAddIntegerSetting(L"EnableThemeAcrylicS...