message
stringlengths
6
474
diff
stringlengths
8
5.22k
fix aqua for alef
%^ slum installed.boot-ova.pil now.hid =/ vane ?+ v ~|([%unknown-vane v] !!) - %a %ames + %a %alef %b %behn %c %clay %d %dill
Fix runas regression from commit
@@ -1198,6 +1198,8 @@ INT_PTR CALLBACK PhpRunAsDlgProc( if (userPart) PhDereferenceObject(userPart); } else + { + if (context->ProcessId) { HANDLE processHandle = NULL; HANDLE newProcessHandle; @@ -1276,20 +1278,22 @@ INT_PTR CALLBACK PhpRunAsDlgProc( { NtClose(processHandle); } - - // TODO: Commented out while testing...
Map destination-uris to phone and faxPrefix options (Issue
@@ -3872,6 +3872,23 @@ get_options(cupsd_job_t *job, /* I - Job */ num_pwgppds = cupsAddOption("OutputOrder", "Reverse", num_pwgppds, &pwgppds); } + /* + * Map destination-uris value... + */ + + if ((job->printer->type & CUPS_PRINTER_FAX) && (attr = ippFindAttribute(job->attrs, "destination-uris", IPP_TAG_BEGIN_COLLECT...
Fix pluginVsInstall failure with Blueprint plugin. Added CONDUIT_HAVE_PARTITION_FLATTEN to PluginVsInstall.cmake.in.
# Use @filtered_VTKm_INCLUDE_DIRS@ for setting VTKm_INCLUDE_DIRS # instead of setting manually. # +# Kathleen Biagas, Mon Feb 28 13:48:42 PST 2022 +# Added CONDUIT_HAVE_PARTITION_FLATTEN. +# #****************************************************************************/ ## @@ -311,6 +314,7 @@ set(XDMF_LIB @XDMF_LIB@) se...
Do not skip locking the queue as the DPCs can be rebalanced across different cpus.
@@ -432,18 +432,15 @@ ENTER_FN(); if (!isr) { if (adaptExt->msix_enabled) { - if (!CHECKFLAG(adaptExt->perfFlags, STOR_PERF_ADV_CONFIG_LOCALITY)) { // Queue numbers start at 0, message ids at 1. NT_ASSERT(MessageID > VIRTIO_SCSI_REQUEST_QUEUE_0); NT_ASSERT(MessageID <= VIRTIO_SCSI_REQUEST_QUEUE_0 + adaptExt->num_queues...
Add configure-error for not allowed macros in ya.make
@@ -5,6 +5,7 @@ IF (AUTOCHECK) ELSE() UNITTEST() SIZE(MEDIUM) + ALLOCATOR(LF) ENDIF() SRCS( @@ -22,6 +23,4 @@ PEERDIR( INCLUDE(${ARCADIA_ROOT}/catboost/cuda/cuda_lib/default_nvcc_flags.make.inc) -ALLOCATOR(LF) - END()
Updated the translator spec to include tests for type aliases.
@@ -219,6 +219,54 @@ describe("Pallene to Lua translator", function () ]]) end) + it("Remove simple type aliases", function () + assert_translation([[ + local function a() + end + + typealias int = integer + + local function b() + end + ]], + [[ + local function a() + end + + + + local function b() + end + ]]) + end) +...
myaktrc = unit64_t
@@ -204,7 +204,7 @@ static uint8_t mac_myclient[6]; static uint8_t mac_myap[6]; static uint8_t mac_ack[6]; -static unsigned long long int myrc; +static uint64_t myrc; static uint8_t myanonce[32]; static uint8_t mysnonce[32]; @@ -3189,7 +3189,7 @@ snprintf(servermsg, SERVERMSG_MAX, "\e[?25l\nstart capturing (stop with c...
vmdk-image target to build ESXi image
@@ -18,6 +18,9 @@ CLEANDIRS+= $(OUTDIR)/image LWIPDIR= $(VENDORDIR)/lwip GITFLAGS+= --depth 1 https://github.com/nanovms/lwip.git -b STABLE-2_1_2_RELEASE +# VMware +QEMU_IMG= qemu-img + # GCE GCLOUD= gcloud GSUTIL= gsutil @@ -156,6 +159,14 @@ run-bridge: image run-noaccel: image $(QEMU) $(QEMU_COMMON) $(QEMU_USERNET) $...
Clarify adb requirements Since _scrcpy_ also supports `adb forward`, remove the part about `adb reverse`. Make explicit that _adb_ is included in the prebuilt application for Windows (many users manually download the platform-tools for no reason).
@@ -11,12 +11,12 @@ and _MacOS_. The Android part requires at least API 21 (Android 5.0). -You need [adb] (recent enough so that `adb reverse` is implemented, it works -with 1.0.36). It is available in the [Android SDK platform -tools][platform-tools], on packaged in your distribution (`android-adb-tools`). +You need [...
Update state/presence from 'On with timed off' command
@@ -6994,6 +6994,37 @@ void DeRestPluginPrivate::handleOnOffClusterIndication(TaskItem &task, const deC group = getGroupForId(ind.dstAddress().group()); } + if (zclFrame.commandId() == 0x42) // on with timed off + { + for (Sensor &s : sensors) + { + if ((s.address().hasExt() && s.address().ext() == ind.srcAddress().ext...
Directory Value: Add `const` modifiers
@@ -70,7 +70,7 @@ KeySetPair splitArrayLeavesOther (CppKeySet const & arrayParents, CppKeySet cons for (auto key : keys) { - bool isArrayLeaf = isFirstElement && key.isString () && key.getStringSize () > arrayValuePrefixSize && + bool const isArrayLeaf = isFirstElement && key.isString () && key.getStringSize () > array...
Add pinning tests for cancelUploadTask
@@ -32,8 +32,10 @@ class TransmissionPolicyManager4Test : public TransmissionPolicyManager { using TransmissionPolicyManager::addUpload; using TransmissionPolicyManager::removeUpload; using TransmissionPolicyManager::getCancelWaitTime; + using TransmissionPolicyManager::cancelUploadTask; using TransmissionPolicyManager...
OSX: force for compiler RB to ISEQ (fix LANG env issue)
@@ -3395,7 +3395,7 @@ namespace "build" do create_manifest cp compileERB, $srcdir puts "Running default.rb" - cmd_str = "#{$rubypath} -I#{rhodeslib} #{$srcdir}/default.rb" + cmd_str = "#{$rubypath} -E UTF-8 -I#{rhodeslib} #{$srcdir}/default.rb" if defined?(Bundler) Bundler.with_clean_env do puts `#{cmd_str}` @@ -3412,7...
Missing timer object initialization on Time_Initialize
@@ -24,6 +24,7 @@ static void NextEventTimer_Callback( void* arg ) HRESULT Time_Initialize() { // need to setup the timer at boot, but stoped + chVTObjectInit(&nextEventTimer); chVTSet(&nextEventTimer, TIME_INFINITE, NextEventTimer_Callback, nextEventCallbackDummyArg); return S_OK;
fuzz: don't fetch feedback if the process has been signaled, patch from nezetic
@@ -542,12 +542,14 @@ static void fuzz_fuzzLoop(honggfuzz_t * hfuzz, fuzzer_t * fuzzer) unlink(fuzzer->fileName); } + if (fuzzer->tmOutSignaled == false) { if (hfuzz->dynFileMethod != _HF_DYNFILE_NONE) { fuzz_perfFeedback(hfuzz, fuzzer); } if (hfuzz->useSanCov) { fuzz_sanCovFeedback(hfuzz, fuzzer); } + } if (hfuzz->use...
external/webserver: Fix svace issues: WGID 230303 and 230308
@@ -180,7 +180,7 @@ static int process_trailer_header(char *buf, unsigned int buf_len, struct http_r struct http_client_t *client, unsigned int sentence_start) { char *header_field_value = NULL; - unsigned int sentence_end; + int sentence_end; char *entity; unsigned int trailter_len;
Clarify comments on state test.
@@ -4002,7 +4002,8 @@ void aead_multipart_state_test( int key_type_arg, data_t *key_data, psa_aead_abort( &operation ); - /* Test for not sending any additional data or data (encrypt) */ + /* Test for not sending any additional data or data after setting non zero + * lengths for them. (encrypt) */ operation = psa_aead_...
posix: detecting cross-device linking
@@ -855,7 +855,7 @@ int posix_link(const char *path1, const char *path2) { TRACE("link(%s, %s)", path1, path2); - oid_t oid, dir; + oid_t oid, dev, dir; int err; char *name, *basename, *dirname; int namelen; @@ -875,13 +875,18 @@ int posix_link(const char *path1, const char *path2) if ((err = proc_lookup(dirname, NULL,...
Extend BF queue protection to cache device queue So far the only resource protected by backfill queue blocking was internal OCF request queue. Move unblock to backfill io completion to protect also queue of underlying cache device.
@@ -54,6 +54,8 @@ static void _ocf_backfill_complete(struct ocf_request *req, int error) if (env_atomic_dec_return(&req->req_remaining)) return; + backfill_queue_dec_unblock(req->cache); + /* We must free the pages we have allocated */ ctx_data_secure_erase(cache->owner, req->data); ctx_data_munlock(cache->owner, req->...
Fixed hud being wider than intended
@@ -2582,8 +2582,8 @@ static VkResult overlay_CreateInstance( instance_data->params.font_size > 0 ? font_size = instance_data->params.font_size : instance_data->params.font_size = 24; hudSpacing = font_size / 2; - hudFirstRow = font_size * 5; - hudSecondRow = font_size * 8; + hudFirstRow = font_size * 4.5; + hudSecondR...
Getting rid of critical warnings in create_nvme_host.tcl
@@ -36,7 +36,8 @@ puts " generating NVMe Host IP" ipx::infer_core -vendor IP -library user -taxonomy /UserIP $root_dir/hdl/nvme >> $log_file ipx::edit_ip_in_project -upgrade true -name edit_ip_project -directory $root_dir/ip/nvme/nvme_host_ip/nvme.tmp $root_dir/hdl/nvme/component.xml >> $log_file ipx::current_core $roo...
Add defines to indicate if intypes.h and stdint.h are unavailable Use the defines OPENSSL_NO_INTTYPES_H & OPENSSL_NO_STDINT_H to determine if the headers are unavailable for a platform.
@@ -228,6 +228,8 @@ extern "C" { # endif /* Standard integer types */ +# define OPENSSL_NO_INTTYPES_H +# define OPENSSL_NO_STDINT_H # if defined(OPENSSL_SYS_UEFI) typedef INT8 int8_t; typedef UINT8 uint8_t; @@ -241,6 +243,9 @@ typedef UINT64 uint64_t; defined(__osf__) || defined(__sgi) || defined(__hpux) || \ defined(O...
Fix compile warning in `lv_spinbox_set_style` discards 'const' qualifier from pointer
@@ -82,7 +82,7 @@ lv_obj_t * lv_spinbox_create(lv_obj_t * par, const lv_obj_t * copy); * @param type which style should be set * @param style pointer to a style */ -static inline void lv_spinbox_set_style(lv_obj_t * spinbox, lv_spinbox_style_t type, lv_style_t * style) +static inline void lv_spinbox_set_style(lv_obj_t ...
fix(docs) add static keyword to driver declaration Add missing static keyword to disp_drv and indev_drv declarations in the examples
@@ -35,7 +35,7 @@ lv_disp_draw_buf_init(&draw_buf, buf1, NULL, MY_DISP_HOR_RES * MY_DISP_VER_SER / ``` - Implement and register a function which can copy the rendered image to an area of your display: ```c -lv_disp_drv_t disp_drv; /*Descriptor of a display driver*/ +static lv_disp_drv_t disp_drv; /*Descriptor of a disp...
comment out stale warning
@@ -716,7 +716,7 @@ static scs_int validate(const ScsData *d, const ScsCone *k) { return -1; } if (d->m < d->n) { - scs_printf("WARN: m less than n, problem likely degenerate\n"); + /* scs_printf("WARN: m less than n, problem likely degenerate\n"); */ /* return -1; */ } if (SCS(validate_lin_sys)(d->A, d->P) < 0) {
Add ports to readme.
@@ -513,6 +513,7 @@ Available build options are the following ones. | **OPTION_BUILD_SCRIPTS** | Build scripts. | ON | | **OPTION_BUILD_SERIALS** | Build serials. | ON | | **OPTION_BUILD_DETOURS** | Build detours. | ON | +| **OPTION_BUILD_PORTS** | Build ports. | OFF | | **OPTION_FORK_SAFE** | Enable fork safety. | OFF...
add install support for alpine
@@ -93,7 +93,8 @@ install_tools() { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git readline-devel ccache && $sudoprefix yum groupinstall -y 'Development Tools'; } || { zypper --version >/dev/null 2>&1 && $sudoprefix zypper --non-interactive install git readline-devel ccache && $sudoprefix zypper --non-...
crypto: drop the frame if there is no handler If async engines are disbaled and async is turned on vpp tries to enqueue frame with nonexisting handler which leads to segfault. This patch checks for handler and drops the frame in case it doesn't exist. Type: fix
@@ -599,6 +599,12 @@ vnet_crypto_async_submit_open_frame (vlib_main_t * vm, frame->state = VNET_CRYPTO_FRAME_STATE_PENDING; frame->enqueue_thread_index = vm->thread_index; + if (PREDICT_FALSE (cm->enqueue_handlers == NULL)) + { + frame->state = VNET_CRYPTO_FRAME_STATE_ELT_ERROR; + return -1; + } + int ret = (cm->enqueu...
Restore certificate_request state
@@ -1527,7 +1527,7 @@ static int ssl_tls13_postprocess_encrypted_extensions( mbedtls_ssl_context *ssl if( mbedtls_ssl_tls1_3_some_psk_enabled( ssl ) ) mbedtls_ssl_handshake_set_state( ssl, MBEDTLS_SSL_SERVER_FINISHED ); else - mbedtls_ssl_handshake_set_state( ssl, MBEDTLS_SSL_SERVER_CERTIFICATE ); + mbedtls_ssl_handsha...
Solve minor bug in win32 implementation of threading atomic.
@@ -122,7 +122,7 @@ typedef LONG volatile atomic_flag; #undef __atomic_is_lock_free_power_of_2 -inline bool atomic_store_explicit8(CHAR volatile *obj, CHAR desired, memory_order order) +inline void atomic_store_explicit8(CHAR volatile *obj, CHAR desired, memory_order order) { if (order == memory_order_seq_cst) { @@ -13...
extmod/modframebuf: make_new: Support separate __new__ vs __init__ phases.
@@ -264,11 +264,18 @@ STATIC void fill_rect(const mp_obj_framebuf_t *fb, int x, int y, int w, int h, u } STATIC mp_obj_t framebuf_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) { + MP_MAKE_NEW_GET_ONLY_FLAGS(); + // __new__ ignores args. + if (!only_new) { mp_arg_check_num(n_args,...
check for sys/types.h
@@ -34,6 +34,7 @@ check_include_files(stdarg.h HAVE_STDARG_PROTOTYPES) check_include_files(sys/tree.h HAVE_SYS_TREE) check_include_files(sys/queue.h HAVE_SYS_QUEUE) check_include_files(sys/un.h HAVE_SYS_UN) +check_include_files(sys/types.h HAVE_SYS_TYPES_H) check_type_size("int" SIZEOF_INT) check_type_size("long" SIZEO...
Fix testclient handling of multiple threads.
@@ -85,9 +85,7 @@ main(int argc, /* I - Number of command-line arguments */ { int i; /* Looping var */ const char *opt; /* Current option */ - int num_clients = 0,/* Number of clients to simulate */ - clients_started = 0; - /* Number of clients that have been started */ + int num_clients = 0;/* Number of clients to sim...
Fix typo with checkrepo regex in aomp_common_vars.
@@ -392,7 +392,7 @@ function checkrepo(){ if [ "$COBRANCH" == "master" ] ; then echo "EXIT: Repository $REPO_DIR is on development branch: master" exit 1 - elif [[ "$COBRANCH" =~ $BRANCH_REEGEX ]] ; then + elif [[ "$COBRANCH" =~ $BRANCH_REGEX ]] ; then echo "we have an override $REPO_DIR" else echo "ERROR: The reposito...
ts: Simplify this bit of silliness out too.
@@ -148,7 +148,7 @@ lily_type *lily_ts_resolve(lily_type_system *ts, lily_type *type) static void unify_call(lily_type_system *ts, lily_type *left, lily_type *right, int num_subtypes) { - lily_class *cls = left->cls->id < right->cls->id ? left->cls : right->cls; + lily_class *cls = left->cls; int flags = (left->flags &...
fix {beak (unit silk)} -> (unit {beak silk})
=. +> (mo-give %mack ~) %+ mo-pass [%sys %rep (scot %p him) dap (scot %ud num) ~] - [%f %exec our (mo-beak dap) ~ %vale p.ron our q.ron] + [%f %exec our ~ (mo-beak dap) %vale p.ron our q.ron] :: $x =. +> (mo-give %mack ~) :: XX should crash (mo-give(hen (mo-ball him num)) %unto %quit ~)
silent error message if profile does not exist
@@ -18,13 +18,13 @@ int parseAndSetProfile(struct oidc_account* account, char* profile) { } secFree(profile); if (p == NULL) { - printError("Could not parse mytoken profile: %s\n", oidc_serror()); + // printError("Could not parse mytoken profile: %s\n", oidc_serror()); return 0; } cJSON* parsed = parseProfile(p); secFr...
checkpatch: Don't expect
# Don't expect SPDX tag in the first line of a file --ignore SPDX_LICENSE_TAG +# Don't expect Signed-off-by lines in commit messages +--no-signoff + # List of ignored rules # ---------------------
NewChannel: update links icon
@@ -154,7 +154,7 @@ export function NewChannel(props: NewChannelProps & RouteComponentProps) { name="moduleType" /> <IconRadio - icon="Links" + icon="Collection" label="Collection" id="link" name="moduleType"
Ensure the max_early_data option to s_server can be 0
@@ -918,7 +918,7 @@ const OPTIONS s_server_options[] = { {"engine", OPT_ENGINE, 's', "Use engine, possibly a hardware device"}, #endif {"keylogfile", OPT_KEYLOG_FILE, '>', "Write TLS secrets to file"}, - {"max_early_data", OPT_MAX_EARLY, 'p', + {"max_early_data", OPT_MAX_EARLY, 'n', "The maximum number of bytes of earl...
Fix potential null deref in htp__strndup_
@@ -227,6 +227,8 @@ htp__strndup_(const char * str, size_t len) if ((p = malloc_(len + 1)) != NULL) { memcpy(p, str, len + 1); + } else { + return NULL; } p[len] = '\0';
doc FEATURE details on session datastore and subscriptions
@@ -21,6 +21,12 @@ These are the most common kinds of subscriptions. A callback can be set to be ca changes occur so that it can appropriately react and adjust the system or whatever it manages accordingly. There can be many subscribers for the same data and arbitrary XPath filters can be applied. +Any datastore can be...
Fix bigalloc bugs. It was sometimes not unmapping things right, and sometimes being overly pessimistic about caching.
@@ -171,7 +171,11 @@ const bigalloc = {sz var p p = Failmem - sz = align(sz, Align) + /* + We need to round up to the page size so that unmapping + doesn't end up taking out the tail of another allocation. + */ + sz = align(sz, Pagesz) /* check our cache */ lock(memlck) @@ -180,9 +184,15 @@ const bigalloc = {sz continu...
actions: restart dbus before tests
@@ -49,7 +49,9 @@ jobs: run: | gem install test-unit --no-document pip2 install cheetah # Required by kdb-gen - brew services start dbus + brew tap homebrew/services + brew update # Work around for [Homebrew Services issue 206](https://github.com/Homebrew/homebrew-services/issues/206) + brew services restart dbus cmake...
Fix cmake option in README
@@ -136,7 +136,7 @@ Instead of building picotls separately, you can use an integrated option * Clone and compile Picoquic and Picotls in a single command: ~~~ - cmake -DPICOQUIC_FETCH_PTLS . + cmake -DPICOQUIC_FETCH_PTLS=Y . make ~~~
io: fix EINPROGRESS check, also check that errno is not zero
@@ -167,7 +167,7 @@ static int net_io_connect_async(struct flb_upstream *u, * means a failure. */ err = flb_socket_error(u_conn->fd); - if (!FLB_EINPROGRESS(err)) { + if (!FLB_EINPROGRESS(err) && err != 0) { flb_errno(); flb_error("[io] connection #%i failed to: %s:%i", u_conn->fd, u->tcp_host, u->tcp_port);
BFD: disable gcc6 warnings in helper macros
@@ -385,8 +385,19 @@ static const unsigned optional = 0; have_##n = 1; \ } +#if __GNUC__ >= 6 +#define PRAGMA_STR1 \ + _Pragma ("GCC diagnostic ignored \"-Wtautological-compare\""); +#define PRAGMA_STR2 _Pragma ("GCC diagnostic pop"); +#else +#define PRAGMA_STR1 +#define PRAGMA_STR2 +#endif + #define CHECK_MANDATORY(t,...
spelling correction in help text
@@ -505,7 +505,7 @@ SurviveContext *survive_init_internal(int argc, char *const *argv, void *userDat fprintf(stderr, " -h - shows help.\n"); fprintf(stderr, " -m - list parameters, for autocomplete.\n"); fprintf(stderr, " -p [poser] - use a specific poser.\n"); - fprintf(stderr, " -l [lighthouse count] - use a specific...
help: change listen to host for input net plugins.
@@ -201,7 +201,7 @@ int flb_help_input(struct flb_input_instance *ins, void **out_buf, size_t *out_s struct mk_list *tls_config; struct flb_config_map m_input_net_listen = { .type = FLB_CONFIG_MAP_STR, - .name = "listen", + .name = "host", .def_value = "0.0.0.0", .desc = "Listen Address", };
[chore] Resolve merge conflict(s)
@@ -53,8 +53,6 @@ var ( StakingMinimum *big.Int // ProposalPrice is default value of creating proposal ProposalPrice *big.Int - // NamePrice is default value of creating and updating name - NamePrice *big.Int lastIndexOfBH int )
Android: fix incorrect screen sizes
@@ -75,22 +75,42 @@ public class BaseActivity extends Activity implements ServiceConnection { public void reread(Context context) { Logger.T(TAG, "Updating screen properties"); - WindowManager wm = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE); + Activity actvt = null; - Display d = wm.getDefaultDispl...
update readme to include FreeBSD
@@ -91,6 +91,32 @@ $ ./build/Dictu Refer to [Dictu Docker](https://github.com/dictu-lang/Dictu/blob/develop/Docker/README.md) +### FreeBSD Installation + +For a full installation, make sure `curl` and `linenoise` are installed. They can be installed from the commands below: + +```bash +$ pkg install -y curl linenoise-n...
Various StatsRepository fixes
@@ -121,8 +121,9 @@ namespace MiningCore.Persistence.Postgres.Repositories var lastUpdate = con.QuerySingleOrDefault<DateTime?>(query, new { poolId, miner }, tx); - if (lastUpdate.HasValue) - { + if (!lastUpdate.HasValue) + return null; + // load rows rows by timestamp query = "SELECT * FROM minerstats WHERE poolid = @...
moba T1: make the real-constraint compatible with version 0.7.0 (thanks to Christian Holme)
#include "misc/misc.h" #include "misc/mri.h" #include "misc/debug.h" +#include "misc/version.h" #include "num/multind.h" #include "num/flpmath.h" @@ -194,7 +195,9 @@ static void T1_adj(const nlop_data_t* _data, unsigned int o, unsigned int i, com // sum (conj(R1s') * src, t) md_clear(data->N, data->map_dims, data->tmp_...
[io] KernelTest.cpp, fix an exception message.
@@ -406,7 +406,7 @@ void KernelTest::t6() } catch (...) { - cout << "Exception caught in BouncingBallTS.cpp" << endl; + cout << "Exception caught in KernelTest.cpp" << endl; CPPUNIT_ASSERT(false); }
tools/ci: Update RISC-V toolchain in Dockerfile to latest version The updated the toolchain, but only in the script used by MacOS CI runners.
@@ -177,7 +177,7 @@ RUN cd /tools/renesas-tools/build/gcc && \ FROM nuttx-toolchain-base AS nuttx-toolchain-riscv # Download the latest RISCV GCC toolchain prebuilt by SiFive RUN mkdir riscv64-unknown-elf-gcc && \ - curl -s -L "https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux...
Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option
@@ -269,8 +269,6 @@ void BTE_InitStack(void) if ((bta_gatts_cb_ptr = (tBTA_GATTS_CB *)osi_malloc(sizeof(tBTA_GATTS_CB))) == NULL) { return; } - memset((void *)bta_gattc_cb_ptr, 0, sizeof(tBTA_GATTC_CB)); - // memset((void *)bta_gatts_cb_ptr, 0, sizeof(tBTA_GATTS_CB)); #endif #if BTA_PAN_INCLUDED==TRUE
Remove appveyor debugging
@@ -30,9 +30,6 @@ test: off build_script: - cmd: .\build\CustomBuildTool.exe -on_finish: - - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) - # Setup build notifications. notifications: - provider: Email
tests: fix NoneType printing if VPP died early Make error message more meaningful. Type: fix
@@ -106,13 +106,16 @@ class VppDiedError(Exception): if testcase is None and method_name is None: in_msg = '' else: - in_msg = 'running %s.%s ' % (testcase, method_name) + in_msg = ' while running %s.%s' % (testcase, method_name) - msg = "VPP subprocess died %sunexpectedly with return code: %d%s." % ( - in_msg, - self....
added some pro builds to the CI
@@ -36,6 +36,29 @@ jobs: name: 'tic80-winxp-stub' path: build/bin/tic80*.exe +# === Windows XP PRO === + winxp-pro: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + fetch-depth: 0 + + - name: Build + shell: cmd + run: | + cd build + cmake -G "Visual Studio 16 2019" -A...
Fix copy-dlls.bat script.
:: Script to copy dependent DLLs to the named build directory copy packages\libcups2_native.redist.2.4.0.1\build\native\bin\x64\Debug\*.dll %1 copy packages\libjpeg-turbo-v142.2.0.4.3\build\native\bin\x64\v142\Debug\*.dll %1 -copy packages\libpng_native.redist.1.6.0\build\native\bin\x64\Debug\*.dll %1 -copy packages\li...
DDF support Danalock variant (V3-BTZB)
{ "schema": "devcap1.schema.json", - "manufacturername": "Danalock", - "modelid": "V3-BTZBE", + "manufacturername": ["Danalock", "Danalock"], + "modelid": ["V3-BTZBE", "V3-BTZB"], "product": "Danalock V3", "sleeper": true, "status": "Gold",
Update copyright year in mkerr.pl
#! /usr/bin/env perl -# Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved. +# Copyright 1999-2018 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 @@ -702,...
Node.js: reworked installation procedure. Now by default "make install" installs the module globally. The "--local" configure option added for local installation.
@@ -15,6 +15,7 @@ for nxt_option; do --node=*) NXT_NODE="$value" ;; --npm=*) NXT_NPM="$value" ;; --node-gyp=*) NXT_NODE_GYP="$value" ;; + --local=*) NXT_NODE_LOCAL="$value" ;; --help) cat << END @@ -22,6 +23,7 @@ for nxt_option; do --node=FILE set node executable --npm=FILE set npm executable --node-gyp=FILE set node-g...
build: fix broken debian dependencies on ubuntu-18.04 & debian-9 Installation vpp-plugin-core from packagecloud.io/master & packagecloud.io/2009 breaks due to invalid dependencies on newer versions of libmbedtls & libmbedcrypto Type: fix Fixes:
@@ -51,9 +51,9 @@ Description: Vector Packet Processing--runtime libraries Package: vpp-plugin-core Architecture: any Depends: vpp (= ${source:Version}), - libmbedtls12, + libmbedtls12 | libmbedtls10, libmbedx509-0, - libmbedcrypto3, + libmbedcrypto3 | libmbedcrypto1 | libmbedcrypto0, ${shlibs:Depends} Description: Vec...
sort -I output by physical interface, MAC, spoofed MAC (if detected), interface name, driver
@@ -7793,19 +7793,20 @@ else memset(&drivername, 0, 32); if(get_perm_addr(ifa->ifa_name, permaddr, virtaddr, drivername) == true) { - for (p = 0; p < 6; p++) fprintf(stdout, "%02x", (permaddr[p])); strncpy(interfacename, ifa->ifa_name, IFNAMSIZ); memset(phyinterfacename, 0 , PHYIFNAMESIZE); getphyifname(); if(phyinterf...
Fix case fall through. CID
@@ -27,6 +27,7 @@ static int on_config_debug_state(h2o_configurator_command_t *cmd, h2o_configurat switch (h2o_configurator_get_one_of(cmd, node, "minimum,hpack")) { case 0: /* minimum */ h2o_http2_debug_state_register(ctx->hostconf, 0); + return 0; case 1: /* with hpack state*/ h2o_http2_debug_state_register(ctx->host...
extmod/modrobotics: fix stop type object This was still using the legacy integer stop type.
@@ -141,10 +141,10 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_KW(robotics_DriveBase_drive_obj, 1, robotics_Driv STATIC mp_obj_t robotics_DriveBase_stop(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { PB_PARSE_ARGS_METHOD(n_args, pos_args, kw_args, robotics_DriveBase_obj_t, self, - PB_ARG_DEFAULT_INT(stop_type, PBI...
`endCapture` shouldn't handle `lexerState->atLineStart` `startCapture` did not initialize `lexerState->atLineStart`; its final value is a consequence of the separate but similar behaviors within `lexer_CaptureRept` and `lexer_CaptureMacroBody`.
@@ -2431,7 +2431,6 @@ static void endCapture(struct CaptureBody *capture) lexerState->captureBuf = NULL; lexerState->disableMacroArgs = false; lexerState->disableInterpolation = false; - lexerState->atLineStart = false; } bool lexer_CaptureRept(struct CaptureBody *capture) @@ -2490,6 +2489,8 @@ bool lexer_CaptureRept(s...
parallel-libs/slepc: update license file name
@@ -134,6 +134,6 @@ rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root,-) %{OHPC_PUB} -%doc COPYING COPYING.LESSER README docs/slepc.pdf +%doc LICENSE README docs/slepc.pdf %changelog
nx: Migrate P9 RNG BAR assignment to phys_map_get() Keeps existing address. No functional change.
#include <nx.h> #include <chip.h> #include <xscom-p9-regs.h> - -#define MMIO_CALC(__c, __b) \ - (MMIO_CHIP_STRIDE * (__c) | __b) +#include <phys-map.h> extern void nx_p9_rng_init(void); @@ -52,7 +50,7 @@ void nx_p9_rng_init(void) */ for_each_chip(chip) { /* 1) NX RNG BAR */ - bar = MMIO_CALC(chip->id, P9X_NX_MMIO_OFFSE...
iokernel: use larger IPI wait interval (pmc not ready ratio is nearly 0).
@@ -27,7 +27,7 @@ static DEFINE_BITMAP(mis_sampled_cores, NCPU); /* poll the global (system-wide) memory bandwidth over this time interval */ #define MIS_BW_MEASURE_INTERVAL 25 /* wait for performance counter results over this time interval */ -#define MIS_BW_PUNISH_INTERVAL 10 +#define MIS_BW_PUNISH_INTERVAL 20 /* FIX...
don't paint 0 coordinates
@@ -138,6 +138,9 @@ void * GuiThread( void * v ) // g = (g * (5-buffertimeto[i][nn])) / 5 ; // b = (b * (5-buffertimeto[i][nn])) / 5 ; CNFGColor( (b<<16) | (g<<8) | r ); + + if (bufferpts[i*2+0][nn] == 0 || bufferpts[i*2+1][nn]==0) continue; //do not draw if aither coordinate is 0 + CNFGTackRectangle( bufferpts[i*2+0][...
clarfications in mobafit
#endif -static const char help_str[] = "Pixel-wise fitting of sequence models."; +static const char help_str[] = "Pixel-wise fitting of physical signal models."; int main_mobafit(int argc, char* argv[argc]) { @@ -46,13 +46,13 @@ int main_mobafit(int argc, char* argv[argc]) const char* TE_file = NULL; const char* echo_f...
wireless: fix relative path CI error error: Path relative to repository other than nuttx must begin with the root directory
/**************************************************************************** - * wireless/ieee802154/i8shark/i8shark_main.c + * apps/wireless/ieee802154/i8shark/i8shark_main.c * * Copyright (C) 2017 Verge Inc. All rights reserved. * Author: Anthony Merlino <anthony@vergeaero.com>
Redirecting 7z output to nul
@@ -83,7 +83,7 @@ curl -fsSL -o benchmark.zip %BENCHFILES_URL% :: extract tests, benchmarks, and manifest 7z x examples.zip *\epanet-tests\* > nul 7z x benchmark.zip -obenchmark\ > nul -7z e benchmark.zip -o. manifest.json -r +7z e benchmark.zip -o. manifest.json -r > nul :: set up symlink for tests directory
parser: Properly drop depth after calling `__main__`.
@@ -5379,7 +5379,7 @@ static void main_func_setup(lily_parse_state *parser) static void main_func_teardown(lily_parse_state *parser) { parser->vm->call_chain = parser->vm->call_chain->prev; - parser->vm->call_depth = 1; + parser->vm->call_depth--; parser->executing = 0; }
Fix the check of UI_method_set_ex_data UI_method_set_ex_data returns 0 and 1 instead of negative numbers.
@@ -153,7 +153,7 @@ UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) || UI_method_set_writer(ui_method, ui_write) < 0 || UI_method_set_closer(ui_method, ui_close) < 0 || !RUN_ONCE(&get_index_once, ui_method_data_index_init) - || UI_method_set_ex_data(ui_method, ui_method_data_index, data) < 0)...
fix `git describe` We're getting a shallow clone of the repo from `actions/checkout` and when we use `git describe` in the build, it's failing because there's no history in the clone.
@@ -17,6 +17,7 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v2 + - run: git fetch --prune --unshallow - name: Install Go uses: actions/setup-go@v2
YAy PEG: Correct minor spelling mistake in ReadMe
@@ -57,7 +57,7 @@ sudo kdb mount config.yaml user/tests/yaypeg yaypeg # Manually add some values printf 'ponies:\n' > `kdb file user/tests/yaypeg` -printf ' - Flutter Shy # Yay!\n' >> `kdb file user/tests/yaypeg` +printf ' - Fluttershy # Yay!\n' >> `kdb file user/tests/yaypeg` printf ' - Pinkie Pie\n' >> `kdb file user...
I corrected the title placement for vertical axes. This resolves
@@ -516,6 +516,9 @@ void vtkVisItAxisActor2D::PrintSelf(ostream& os, vtkIndent indent) // Create a new vtkTextProperty when updating the properties // of the TitleActor. Fixes bug with triad letters. // +// Eric Brugger, Thu Jun 14 09:02:39 PDT 2018 +// Correct the title placement for vertical axes for the VTK8 upgrade...
fix issue Issue when running kernel created from binary (with a peeled loop) with local size (1,1,1)
@@ -251,19 +251,26 @@ WorkitemLoops::CreateLoopAround IRBuilder<> builder(forInitBB); - if (peeledFirst) - { + if (peeledFirst) { builder.CreateStore(builder.CreateLoad(localIdXFirstVar), localIdVar); builder.CreateStore (ConstantInt::get(IntegerType::get(C, size_t_width), 0), localIdXFirstVar); + + if (WGDynamicLocalS...
board/servo_v4p1/pi3usb9201.h: Format with clang-format BRANCH=none TEST=none
#ifndef __CROS_EC_PI3USB9201_H #define __CROS_EC_PI3USB9201_H -enum pi3usb9201_reg_t { - CTRL_REG1, - CTRL_REG2, - CLIENT_STATUS, - HOST_STATUS -}; +enum pi3usb9201_reg_t { CTRL_REG1, CTRL_REG2, CLIENT_STATUS, HOST_STATUS }; enum pi3usb9201_dat_t { POWER_DOWN = 0x0, @@ -22,7 +17,6 @@ enum pi3usb9201_dat_t { USB_PATH_ON...
travis: dump config.log when configure dies
@@ -16,7 +16,7 @@ matrix: script: # workaround git not retaining mtimes and bison/flex not being uptodate - touch conffile.yy.c conffile.tab.c conffile.tab.h - - ./configure + - ./configure || cat config.log - make check env:
SidebarList: fix comet rendering
@@ -78,7 +78,7 @@ function getItems(associations: Associations, workspace: Workspace, inbox: Graph } }); const direct: string[] = workspace.type !== 'messages' ? [] - : inbox.keys().map(x => patp(x.toJSNumber())) + : inbox.keys().map(x => patp(x.toString())) return [...filtered, ...direct];
graphics/pdcurs34: Fix compile error Fix a compile error when CONFIG_SYSTEM_TERMCURSES=y.
@@ -838,7 +838,7 @@ static void PDC_transform_line_term(FAR SCREEN *s, int lineno, int x, /* Move to the specified line / col */ - PDC_gotoyx_term(sp, lineno, x); + PDC_gotoyx_term(s, lineno, x); /* Loop through all characters to be displayed */
move max frag error to S2N_ERR_T_PROTO
@@ -79,6 +79,8 @@ typedef enum { S2N_ERR_RECORD_LIMIT, S2N_ERR_CERT_UNTRUSTED, S2N_ERR_CERT_TYPE_UNSUPPORTED, + S2N_ERR_INVALID_MAX_FRAG_LEN, + S2N_ERR_MAX_FRAG_LEN_MISMATCH, /* S2N_ERR_T_INTERNAL */ S2N_ERR_MADVISE = S2N_ERR_T_INTERNAL_START, S2N_ERR_ALLOC, @@ -141,8 +143,6 @@ typedef enum { S2N_ERR_INVALID_SCT_LIST, ...
[NFSC] motion blur readme update
@@ -852,7 +852,7 @@ The usage is as simple as inserting the files into game's root directory. Uninst ![](https://habrastorage.org/webt/d_/eg/ym/d_egymd6w_tem2erocab-e9ikna.png) Added an option to improve gamepad support (gamepad icons, fixed bindings etc) -![](https://habrastorage.org/webt/d_/eg/ym/d_egymd6w_tem2erocab...
king: my god, actually reverse ip addrs
@@ -25,7 +25,6 @@ module Urbit.Arvo.Common import Urbit.Prelude import Control.Monad.Fail (fail) -import Data.Bits import Data.Serialize import qualified Network.HTTP.Types.Method as H @@ -185,9 +184,9 @@ newtype Ipv4 = Ipv4 { unIpv4 :: N.HostAddress } deriving newtype (Eq, Ord, Enum) instance Serialize Ipv4 where - ge...
system/composite: Eliminate warning about dumptrace being defined but not used.
* Pre-processor Definitions ****************************************************************************/ +/* A lot of effort to avoid warning about dumptrace() not being used */ + +#undef NEED_DUMPTRACE +#ifdef CONFIG_USBDEV_TRACE +# if !defined(CONFIG_NSH_BUILTIN_APPS) && !defined(CONFIG_DISABLE_SIGNALS) +# define NE...
Used DEBUG instead of NDEBUG in common/stackTrace module. In some testing cases these might not be in sync, which causes unpredictable behavior.
@@ -53,10 +53,10 @@ Internal Functions LogLevel stackTracePush(const char *fileName, const char *functionName, LogLevel functionLogLevel); // Pop a function from the trace stack -#ifdef NDEBUG - void stackTracePop(void); -#else +#ifdef DEBUG void stackTracePop(const char *fileName, const char *functionName, bool test);...
Add Cygwin build test
@@ -87,3 +87,21 @@ jobs: - name: Run tests run: | ./build/hiredis-test.exe + + - name: Setup cygwin + uses: egor-tensin/setup-cygwin@v3 + with: + platform: x64 + packages: cmake gcc-core gcc-g++ + + - name: Build in cygwin + env: + HIREDIS_PATH: ${{ github.workspace }} + run: | + build_hiredis() { + cd $(cygpath -u $HI...
README.md: about using `+`
@@ -191,6 +191,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu | `blacklist` | Add a program to the blacklist. e.g `blacklist=vkcube,WatchDogs2.exe` | Example: `MANGOHUD_CONFIG=cpu_temp,gpu_temp,position=top-right,height=500,font_size=32` +Because comma is also used as option delim...
OGR wrapper fixes
#ifdef _CARTO_GDAL_SUPPORT -!proxy_imports(carto::OGRVectorDataSource, core.MapBounds, core.StringVector, datasources.VectorDataSource, datasources.components.VectorData, datasources.OGRVectorDataBase, datasources.OGRFieldType, datasources.OGRGeometryType, geometry.GeometrySimplifier, projections.Projection, renderers....
Fix for iHorn sensors not being created
@@ -3762,9 +3762,12 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node, const deCONZ:: QList<deCONZ::SimpleDescriptor>::const_iterator i = node->simpleDescriptors().constBegin(); QList<deCONZ::SimpleDescriptor>::const_iterator end = node->simpleDescriptors().constEnd(); - // Trust specific + // Trust a...
Switch to using Ninja to build toolchain in the setup script The instructions for building the toolchain standalone already use Ninja. Since that is what I do most of my testing on anyway, it has better coverage. [ci skip]
@@ -58,10 +58,10 @@ if [ ! -d tools/NyuziToolchain/Makefile ]; then # created, cmake will reconfigure on its own if necessary when make is # invoked. cd tools/NyuziToolchain/build - cmake -DCMAKE_BUILD_TYPE=Release .. || fail "Error configuring toolchain" + cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. || fail "Error co...
[mod_auth] close connection after bad password mitigation slows down brute force password attacks x-ref: "Possible feature: authentication brute force hardening"
@@ -601,6 +601,7 @@ static handler_t mod_auth_check_basic(server *srv, connection *con, void *p_d, c case HANDLER_ERROR: default: log_error_write(srv, __FILE__, __LINE__, "sbsBsB", "password doesn't match for", con->uri.path, "username:", username, ", IP:", con->dst_addr_buf); + con->keep_alive = 0; /*(disable keep-ali...
ci: retry download if catched IOError/EOFError
@@ -4,6 +4,7 @@ import argparse import tempfile import tarfile import zipfile +from functools import wraps import gitlab @@ -11,6 +12,8 @@ import gitlab class Gitlab(object): JOB_NAME_PATTERN = re.compile(r"(\w+)(\s+(\d+)/(\d+))?") + DOWNLOAD_ERROR_MAX_RETRIES = 3 + def __init__(self, project_id=None): config_data_from...
[viogpudo] clean up the scanour reset code
@@ -3217,16 +3217,10 @@ void VioGpuAdapter::DestroyFrameBufferObj(BOOLEAN bReset) if (m_pFrameBuf != NULL) { resid = (UINT)m_pFrameBuf->GetId(); - //if (bReset == TRUE) { - // m_CtrlQueue.SetScanout(0/*FIXME m_Id*/, resid, 1024, 768, 0, 0); - // m_CtrlQueue.TransferToHost2D(resid, 0, 1024, 768, 0, 0, NULL); - // m_Ctrl...