message
stringlengths
6
474
diff
stringlengths
8
5.22k
The -q option no longer disables repl output.
(if-not *quiet* (print "Janet " janet/version "-" janet/build " Copyright (C) 2017-2020 Calvin Rose")) (flush) - (defn noprompt [_] "") (defn getprompt [p] (def [line] (parser/where p)) (string "janet:" line ":" (parser/state p :delimiters) "> ")) - (def prompter (if *quiet* noprompt getprompt)) (defn getstdin [prompt ...
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
@@ -160,17 +160,12 @@ static void adc_power_on_internal(void) void adc_power_acquire(void) { - bool powered_on = false; ADC_POWER_ENTER(); s_adc_power_on_cnt++; if (s_adc_power_on_cnt == 1) { adc_power_on_internal(); - powered_on = true; } ADC_POWER_EXIT(); - if (powered_on) { - ESP_LOGV(ADC_TAG, "%s: ADC powered on", ...
Change regression suite delay to post results to 10 hours.
@@ -558,6 +558,6 @@ if test "$testHost" = "pascal" ; then subTag=`date +%Y-%m-%d-%H:%M` ssh pascal "./checkout_pascal $subTag" ssh pascal "msub -l nodes=1:ppn=16 -l gres=ignore -l walltime=10:00:00 -o pascal_testit_$subTag.out -q pvis -A wbronze -z ./runit_pascal $subTag" - sleep 28800 + sleep 36000 ssh pascal "./posti...
testutil.h: Remove duplicate test macros A block of six TEST_int_xy() macro definitions was duplicated.
@@ -294,13 +294,6 @@ void test_perror(const char *s); # define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) # define TEST_int_ge(a, b) test_int_ge(__FILE__, __LINE__, #a, #b, a, b) -# define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) -# define TEST_int_ne(a, b) test_int_ne(__FILE...
spec: fix memleak
@@ -409,7 +409,7 @@ static void validateEmptyArray (KeySet * ks, Key * arraySpecParent, Key * parent } bool immediate = arrayParent == NULL; - if (arrayParent == NULL) + if (immediate) { arrayParent = keyNew (keyName (parentLookup), KEY_END); } @@ -450,15 +450,18 @@ static void validateEmptyArray (KeySet * ks, Key * ar...
sp: on fd event, initialize instance variable
@@ -2349,8 +2349,7 @@ int flb_sp_fd_event(int fd, struct flb_sp *sp) struct mk_list *tmp; struct mk_list *head; struct flb_sp_task *task; - struct flb_input_instance *in; - + struct flb_input_instance *in = NULL; /* Lookup Tasks that matches the incoming event */ mk_list_foreach_safe(head, tmp, &sp->tasks) { @@ -2371,6...
linalg.dot : also accepts 2 vectors of same dimension
@@ -146,6 +146,19 @@ static mp_obj_t linalg_dot(mp_obj_t _m1, mp_obj_t _m2) { } ndarray_obj_t *m1 = MP_OBJ_TO_PTR(_m1); ndarray_obj_t *m2 = MP_OBJ_TO_PTR(_m2); + + if ((m1->m == 1) && (m2->m == 1)) { + // 2 vectors + if (m1->array->len != m2->array->len) { + mp_raise_ValueError(translate("vectors must have same dimensi...
chat fe: disable advanced groupify Introduced in the new functionality seems able to induce weird behavior causing messages to be processed twice. Disabling this functionality on the frontend until that has been fixed.
@@ -222,6 +222,7 @@ export class SettingsScreen extends Component { Convert this chat into a group with associated chat, or select a group to add this chat to. </p> + {/* <InviteSearch groups={props.groups} contacts={props.contacts} @@ -235,8 +236,9 @@ export class SettingsScreen extends Component { setInvite={this.cha...
Use fputs when changing the terminal color
@@ -54,10 +54,10 @@ void term_doSetTextColor(int color) }; if (color >= 0 && color < 16) { - puts(colorTable[color]); + fputs(colorTable[color], stdout); } else { - puts("\x1B[0m"); + fputs("\x1B[0m", stdout); } #endif }
Replace GPL-2.0+ license with BSD-3.0+ license
@@ -10,7 +10,7 @@ Release: @CPACK_PACKAGE_RELEASE@ Summary: @PACKAGE_SUMMARY@ Vendor: @PACKAGE_VENDOR@ URL: @PACKAGE_URL@ -License: GPL-2.0+ +License: BSD-3.0+ Group: unknown BuildArch: x86_64
add channel info in packet.
@@ -25,7 +25,7 @@ end of frame event), it will turn on its error LED. //=========================== defines ========================================= -#define LENGTH_PACKET 30+LENGTH_CRC ///< maximum length is 127 bytes +#define LENGTH_PACKET 125+LENGTH_CRC ///< maximum length is 127 bytes #define LEN_PKT_TO_SEND 20+LE...
Don't accept FORWARD-TSN chunks when I-FORWARD-TSN was negotiated and vice versa
#if defined(__FreeBSD__) && !defined(__Userspace__) #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 363008 2020-07-08 12:25:19Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 363010 2020-07-08 15:49:30Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -5549,7 +5549,8 @@ sctp_...
Removed unused delta %quit.
nos/(set naem) :: dif/diff-status :: == :: - {$quit ost/bone} ::< force unsubscribe == :: ++ delta-story ::> story delta $? diff-story ::< both in & outward $init da-init $observe (da-observe +.det) $present (da-present +.det) - $quit (da-emit [ost.det %quit ~]) == :: ++ da-init ::< startup side-effects
observe-hook: warm up caches in +on-init also, not just +on-load
(act [%watch %group-store /groups %group-on-leave]) (act [%watch %group-store /groups %group-on-remove-member]) (act [%watch %metadata-store /updates %md-on-add-group-feed]) + (act [%warm-cache-all ~]) == :: ++ act
dojo: print %help hints with ??
[%face ^] a(q $(a q.a)) [%cell ^] a(p $(a p.a), q $(a q.a)) [%fork *] a(p (silt (turn ~(tap in p.a) |=(b=type ^$(a b))))) - [%hint *] ?. ?=(%know -.q.p.a) $(a q.a) + [%hint *] ?+ -.q.p.a $(a q.a) + %know ?@ p.q.p.a [(cat 3 '#' mark.p.q.p.a)]~ [(rap 3 '#' auth.p.q.p.a (spat type.p.q.p.a) ~)]~ + :: + %help + [summary.cri...
Avoid some unsupported xterm code on WIN32.
@@ -200,10 +200,12 @@ static void xterm_handle_input_escape() { static int xterm_handle_input(void *arg) { while (true) { int ch = getchar(); +#ifndef _WIN32 if (ch == '\x1b') { xterm_handle_input_escape(); continue; } +#endif int sym = ch; int mod = KMOD_NONE; if (isupper(ch)) { @@ -243,6 +245,7 @@ static int xterm_ha...
DEV: Always process state.enter event in new event queue run
@@ -839,10 +839,6 @@ Device::Device(DeviceKey key, deCONZ::ApsController *apsCtrl, QObject *parent) : addItem(DataTypeString, RAttrModelId); d->setState(DEV_InitStateHandler); - - static int initTimer = 1000; - d->startStateTimer(initTimer, StateLevel0); - initTimer += 300; // hack for the first round init, so that eac...
Remove +define+ from front of defines since sim plugin does that already
@@ -112,7 +112,7 @@ $(SIM_CONF): $(VLSI_RTL) $(HARNESS_FILE) $(HARNESS_SMEMS_FILE) $(sim_common_file done echo " options_meta: 'append'" >> $@ echo " defines:" >> $@ - for x in $(VCS_DEFINE_OPTS); do \ + for x in $(subst +define+,,$(VCS_DEFINE_OPTS)); do \ echo ' - "'$$x'"' >> $@; \ done echo " defines_meta: 'append'" ...
Allow table.remove to work with the hash part too
@@ -1460,12 +1460,13 @@ local function generate_exp_builtin_table_remove(exp, ctx) ${UI_DECL} = luaH_getn(${CVALUE_T}); if (TITAN_LIKELY(${UI} > 0)) { ${UI} = ${UI} - 1; - ${SLOT_DECL} = &${CVALUE_T}->array[${UI}]; - setempty(${SLOT}); - ${HALFSIZE_DECL} = ${CVALUE_T}->sizearray / 2; - if (${UI} < ${HALFSIZE}) { - luaH...
docs(logging): Update documentation on USB logging
@@ -20,8 +20,8 @@ It is recommended to only enable logging when needed, and not leaving it on by d ## Kconfig -The following KConfig values need to be set, either by copy and pasting into the `app/prj.conf` file, or by running -`west build -t menuconfig` and manually enabling the various settings in that UI. +The `CONF...
indexcmds.c: reorder function prototypes ... out of an overabundance of neatnikism, perhaps.
/* non-export function prototypes */ +static bool CompareOpclassOptions(Datum *opts1, Datum *opts2, int natts); static void CheckPredicate(Expr *predicate); static void ComputeIndexAttrs(IndexInfo *indexInfo, Oid *typeOidP, @@ -87,13 +88,11 @@ static char *ChooseIndexNameAddition(List *colnames); static List *ChooseInd...
add onekey ilock
@@ -152,6 +152,7 @@ static const char *instantpacmancmd[] = {"instantpacman", NULL}; static const char *instantsharecmd[] = {"instantshare", "snap", NULL}; static const char *nautiluscmd[] = {".config/instantos/default/filemanager", NULL}; static const char *slockcmd[] = {".config/instantos/default/lockscreen", NULL}; ...
Makefile tweaks to fix out-of-the-box building
@@ -20,7 +20,7 @@ CFLAGS = -g -ffreestanding -std=gnu99 -Wall -Wextra -fstack-protector-all -I ./s LDFLAGS = -ffreestanding -nostdlib -lgcc -T $(RESOURCES)/linker.ld # Tools -ISO_MAKER = $(TOOLCHAIN)/bin/grub-mkrescue --directory=$(TOOLCHAIN)/lib/grub/i386-pc +ISO_MAKER = $(TOOLCHAIN)/bin/grub-mkrescue EMULATOR = qemu-...
Improve update of cmake target property
@@ -104,9 +104,7 @@ celix_deprecated_utils_headers(<target_name>)) function(celix_deprecated_utils_headers) list(GET ARGN 0 TARGET_NAME) target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/libs/utils/include_deprecated) - get_target_property(TARGETS celix-deprecated "UTIL_TARGETS") - list(APPEND TARGE...
Switch to master branch of rocm-device-libs and comgr to support hip updates in the master
@@ -82,7 +82,8 @@ AOMP_LLD_REPO_BRANCH=${AOMP_LLD_REPO_BRANCH:-release_80} AOMP_OPENMP_REPO_NAME=${AOMP_OPENMP_REPO_NAME:-openmp} AOMP_OPENMP_REPO_BRANCH=${AOMP_OPENMP_REPO_BRANCH:-release_80_AOMP_063} AOMP_LIBDEVICE_REPO_NAME=${AOMP_LIBDEVICE_REPO_NAME:-rocm-device-libs} -AOMP_LIBDEVICE_REPO_BRANCH=${AOMP_LIBDEVICE_RE...
Fix signature of lua_checkstack The number of extra slots should not be typed as StackIndex.
@@ -104,7 +104,7 @@ foreign import capi SAFTY "lua.h lua_replace" -- | See <https://www.lua.org/manual/5.3/manual.html#lua_checkstack lua_checkstack> foreign import capi SAFTY "lua.h lua_checkstack" - lua_checkstack :: Lua.State -> StackIndex -> IO LuaBool + lua_checkstack :: Lua.State -> CInt -> IO LuaBool -- lua_xmov...
Example ip64-router: only meant for platform Zoul/Orion
@@ -2,4 +2,8 @@ CONTIKI_PROJECT = ip64-router all: $(CONTIKI_PROJECT) CONTIKI=../.. +# Currently only supported on Orion, the only platform with 802.15.4 + Ethernet +PLATFORMS_ONLY = zoul +BOARD = orion + include $(CONTIKI)/Makefile.include
ci: Add version tag to release artifacts.
@@ -693,7 +693,13 @@ jobs: name: Release ${{ github.ref }} - name: Get all artifacts. uses: actions/download-artifact@v2 - - name: Upload Gadget Release *-gadget-*-*.tar.gz + - name: Rename all artifacts to *-${{ env.GITHUB_REF_NAME }}.tar.gz + shell: bash + run: | + for i in *-gadget-*-*-tar-gz/*-gadget-*-*.tar.gz; do...
fixing rampsmooth bug
@@ -66,7 +66,7 @@ static t_int *rampsmooth_perform(t_int *w) else if (nleft > 0) { *out++ = (last += incr); - if (--nleft == 0) + if (--nleft == 1) { incr = 0.; last = target;
VERSION bump to version 2.0.259
@@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 258) +set(LIBYANG_MICRO_VERSION 259) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}...
YAML Smith: Add function returning plugin contract
@@ -23,6 +23,25 @@ using CppKeySet = kdb::KeySet; // -- Functions ---------------------------------------------------------------------------------------------------------------------------- +namespace +{ + +/** + * @brief This function returns a key set containing the contract of the plugin. + * + * @return A contract...
arch/arm/amebad_reboot_reason.c : Change initialization value 1) In up_reboot_reason_init, write REBOOT_REASON_INITIALIZED instead of 0. 2) In up_reboot_reason_clear, set the backup_reg to REBOOT_REASON_INITIALIZED also.
@@ -68,7 +68,7 @@ void up_reboot_reason_init(void) { /* Read the same backup register for the boot reason */ backup_reg = BKUP_Read(BKUP_REG1); - BKUP_Write(BKUP_REG1, 0); + BKUP_Write(BKUP_REG1, REBOOT_REASON_INITIALIZED); } @@ -76,7 +76,7 @@ reboot_reason_code_t up_reboot_reason_read(void) { u32 boot_reason = 0; - if...
Fix find_template bug.
@@ -87,15 +87,16 @@ static float find_block_ncc(image_t *f, image_t *t, i_image_t *sum, int t_mean, if (u < 0) { u = 0; } + if (v < 0) { v = 0; } - if (u+t->w >= f->w) { + if (u+w >= f->w) { w = f->w - u; } - if (v+t->h >= f->h) { + if (v+h >= f->h) { h = f->h - v; } @@ -150,8 +151,7 @@ float imlib_template_match_ds(im...
kernel/binary_manager: fix typo, infomation -> information infomation -> information
@@ -177,7 +177,7 @@ void binary_manager_register_kpart(int part_num, int part_size) * Name: binary_manager_scan_kbin * * Description: - * This function scans kernel binaries and update infomation. + * This function scans kernel binaries and update information. * *********************************************************...
minor changes to VDP_resetScreen()
@@ -122,20 +122,8 @@ void VDP_init() VDP_setAPlanAddress(0xE000); */ - // reset video memory (len = 0 is a special value to define 0x10000) - DMA_doVRamFill(0, 0, 0, 1); - // wait for DMA completion - VDP_waitDMACompletion(); - - // system tiles (16 plain tile) - i = 16; - while(i--) VDP_fillTileData(i | (i << 4), TILE...
framework/media : Handling errors according to fwrite return value Compares whether the size returned by fwrite is equal to the size of the data to be written.
@@ -536,7 +536,7 @@ bool createWavHeader(FILE *fp) memset(header, 0xff, WAVE_HEADER_LENGTH); int ret; ret = fwrite(header, sizeof(unsigned char), WAVE_HEADER_LENGTH, fp); - if (ret < 0) { + if (ret != WAVE_HEADER_LENGTH) { meddbg("file write failed error %d\n", errno); return false; } @@ -612,7 +612,7 @@ bool writeWavH...
Flatten md_parallel_nary flatten all parallel dimensions into one parallel loop
@@ -85,27 +85,51 @@ void md_parallel_nary(unsigned int C, unsigned int D, const long dim[D], unsigne return; } + long dimc[D]; + md_select_dims(D, ~flags, dimc, dim); + + // Collect all parallel dimensions + long parallel_dim[D]; + int parallel_b[D]; + int nparallel = 0; + long total_iterations = 0L; + while(0 != flags...
board/poppy/base_detect_lux.c: Format with clang-format BRANCH=none TEST=none
@@ -181,8 +181,7 @@ static void base_detect_deferred(void) retry: print_base_detect_value("status unclear", v); /* Unclear base status, schedule again in a while. */ - hook_call_deferred(&base_detect_deferred_data, - BASE_DETECT_RETRY_US); + hook_call_deferred(&base_detect_deferred_data, BASE_DETECT_RETRY_US); } void b...
tree data BUGFIX init fractions with zero chars
@@ -866,7 +866,7 @@ API LY_ERR ly_time_str2ts(const char *value, struct timespec *ts) { LY_ERR rc; - char *fractions_s, frac_buf[10] = {'0'}; + char *fractions_s, frac_buf[10]; int frac_len; LY_CHECK_ARG_RET(NULL, value, ts, LY_EINVAL); @@ -876,6 +876,10 @@ ly_time_str2ts(const char *value, struct timespec *ts) /* conv...
Use Clang built on Ubuntu 12. Note: mandatory check (NEED_CHECK) was skipped
}, "clang7": { "formula": { - "sandbox_id": [290050315, 290144580], + "sandbox_id": [296874093, 290144580], "match": "CLANG" }, "executable": {
shelter/dist: fix unrecognized option '-Wl,-Bsymbolic-functions' error
@@ -36,6 +36,6 @@ fi # build_deb_package cp -rf $SCRIPT_DIR/debian $DEB_BUILD_FOLDER cd $DEB_BUILD_FOLDER -dpkg-buildpackage -us -uc +DEB_CFLAGS_SET="-std=gnu11 -fPIC" DEB_CXXFLAGS_SET="-std=c++11 -fPIC" DEB_LDFLAGS_SET="-fPIC" dpkg-buildpackage -us -uc cp $DEBBUILD_DIR/*.*deb $PROJECT_DIR rm -rf $DEBBUILD_DIR
Comment why encoding check in appendAttributeValue is never true Also add comment tag so lcov can ignore unreachable code
@@ -5595,8 +5595,26 @@ appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, break; } if (entity->open) { - if (enc == encoding) - eventPtr = ptr; + if (enc == encoding) { + /* It does not appear that this line can be executed. + * + * The "if (entity->open)" check catches recursive entity + * ...
options/posix: Stubbed fchmod().
@@ -11,10 +11,13 @@ int chmod(const char *, mode_t) { << frg::endlog; return 0; } + int fchmod(int, mode_t) { - __ensure(!"Not implemented"); - __builtin_unreachable(); + mlibc::infoLogger() << "\e[31mmlibc: fchmod() is not implemented correctly\e[39m" + << frg::endlog; + return 0; } + int fchmodat(int, const char *, m...
flash:patch for clearing WEL in ROM
@@ -101,11 +101,13 @@ esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void) while (REG_READ(SPI_CMD_REG(SPI_IDX)) != 0) { } esp_rom_spiflash_wait_idle(&g_rom_spiflash_chip); - if (esp_rom_spiflash_write_status(&g_rom_spiflash_chip, new_status) != ESP_ROM_SPIFLASH_RESULT_OK) { - return ESP_ROM_SPIFLASH_RESULT_ERR; + e...
appveyor vs2017 test
version: '{build}' skip_tags: true +image: Visual Studio 2017 configuration: Release install: - cmd: >- git submodule update --init --recursive - premake5 vs2015 + premake.bat build: project: build/WidescreenFixesPack.sln verbosity: minimal
Stub out dcd_edpt_close for samd Not having this prevents the device from finishing the mounting process. Tested on a SAMD51 and didn't seem to need to actually do anything in the close function.
@@ -250,6 +250,13 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_edpt) return true; } +void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) { + (void) rhport; + (void) ep_addr; + + // TODO: implement if necessary? +} + void dcd_edpt_close_all (uint8_t rhport) { (void) rhport;
use `kdb ls -0` to prevent issues with newlines in keynames
@@ -161,8 +161,8 @@ const version = () => // list available paths under a given `path` const ls = (path) => - safeExec(escapeValues`kdb ls ${path}`) - .then(stdout => stdout && stdout.split('\n')) + safeExec(escapeValues`kdb ls -0 ${path}`) + .then(stdout => stdout && stdout.split('\0')) // get value from given `path` ...
fix: double free
@@ -124,8 +124,6 @@ orka_config_cleanup(struct orka_config *config) { if (config->fcontents) free(config->fcontents); - if (config->tag) - free(config->tag); if (config->f_http_dump) fclose(config->f_http_dump); }
tsoding#1225 don't init SDL haptic subsystem
@@ -106,7 +106,7 @@ int main(int argc, char *argv[]) } } - if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { + if (SDL_Init(SDL_INIT_EVERYTHING & ~SDL_INIT_HAPTIC) < 0) { log_fail("Could not initialize SDL: %s\n", SDL_GetError()); RETURN_LT(lt, -1); }
Testing: Only run long test grib_padding if ENABLE_EXTRA_TESTS=1
@@ -130,7 +130,6 @@ list( APPEND tests_data_reqd tigge tigge_conversions read_any - grib_padding grib_dump grib_dump_debug grib_util_set_spec @@ -143,6 +142,7 @@ if( HAVE_FORTRAN AND ENABLE_EXTRA_TESTS ) list(APPEND tests_data_reqd bufr_dump_decode_fortran) endif() if( ENABLE_EXTRA_TESTS ) + list(APPEND tests_data_reqd...
os/compression/compress_read.c: Use kmm_malloc instead of malloc Use kmm_malloc for dynamic memory allocation from inside kernel
@@ -382,8 +382,8 @@ int compress_init(int filfd, uint16_t offset, off_t *filelen) #if CONFIG_COMPRESSION_TYPE == 1 /* Allocating memory for read and out buffer to be used for LZMA decompression */ if (compression_header.compression_format == COMPRESSION_TYPE_LZMA) { - buffers.read_buffer = (unsigned char *)malloc(compr...
pem_password_cb: Clarify the documentation on passphrases
@@ -335,7 +335,7 @@ I<klen> bytes at I<kstr> are used as the passphrase and I<cb> is ignored. If the I<cb> parameters is set to NULL and the I<u> parameter is not -NULL then the I<u> parameter is interpreted as a null terminated string +NULL then the I<u> parameter is interpreted as a NUL terminated string to use as th...
Remove the LICENSE and NOTICE files from clients installer Authored-by: Tingfang Bao
@@ -515,10 +515,6 @@ endif mkdir -p $(CLIENTSINSTLOC) cp -f client/scripts/greenplum_$@_path$(SCRIPT) $(CLIENTSINSTLOC)/ - # ---- copy license files ---- - cp ${BLD_TOP}/../LICENSE $(CLIENTSINSTLOC) - cp ${BLD_TOP}/../NOTICE $(CLIENTSINSTLOC) - # ---- updating the version in required packages ---- @$(MAKE) set_scripts_...
[ctr/lua] bug fix - changed base58 to base58check at aergoluac
@@ -18,12 +18,12 @@ import ( "bytes" "encoding/binary" "fmt" + "github.com/aergoio/aergo/types" "io/ioutil" "log" "os" "unsafe" - "github.com/mr-tron/base58/base58" "github.com/spf13/cobra" ) @@ -91,7 +91,7 @@ func dumpFromFile(srcFileName string) { if errMsg := C.vm_stringdump(L); errMsg != nil { log.Fatal(C.GoString(...
[mod_openssl] remove erroneous SSL_set_shutdown() remove erroneous call to SSL_set_shutdown() (historical from commit:3888c103) (erroneous since lighttpd 1.4.40 moved to bidirectional input/output) x-ref: "wstunnel sample config"
@@ -1193,17 +1193,9 @@ static int connection_write_cq_ssl (server *srv, connection *con, chunkqueue *cq, off_t max_bytes) { - /* the remote side closed the connection before without shutdown request - * - IE - * - wget - * if keep-alive is disabled */ handler_ctx *hctx = con->plugin_ctx[plugin_data_singleton->id]; SSL ...
neon/padd: vpadd_f32 was buggy in older clang versions I can't find any details on when this was fixed.
@@ -40,7 +40,7 @@ SIMDE_BEGIN_DECLS_ SIMDE_FUNCTION_ATTRIBUTES simde_float32x2_t simde_vpadd_f32(simde_float32x2_t a, simde_float32x2_t b) { - #if defined(SIMDE_ARM_NEON_A32V7_NATIVE) + #if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && !SIMDE_DETECT_CLANG_VERSION_NOT(9,0,0) return vpadd_f32(a, b); #else return simde_vadd_f32...
Fix legacy board build
@@ -91,6 +91,7 @@ void set_can_mode(int canid, int use_gmlan) { set_gpio_alternate(GPIOB, 13, GPIO_AF9_CAN2); } else if (revision == PANDA_REV_C && canid == 2) { + #ifdef CAN3 // A8,A15: disable normal mode set_gpio_mode(GPIOA, 8, MODE_INPUT); set_gpio_mode(GPIOA, 15, MODE_INPUT); @@ -98,6 +99,7 @@ void set_can_mode(in...
wfas description
1057 efas European Flood Awareness System (EFAS) 1058 efse European Flood Awareness System (EFAS) seasonal forecasts 1059 efra European Flood Awareness System (EFAS) reanalysis -1060 wfas World Flood Awareness System +1060 wfas Global flood awareness system 1070 msdc Monthly standard deviation and covariance 1071 moda ...
Filter out preloader directory
@@ -25,7 +25,7 @@ class RunAll static function filter(inName:String):Bool { - return inName!="android" && inName!="native" && inName!="html5" && inName!="watchos" && inName!="SwfAssetLib.hx" && inName!="ios" && inName!="compat"; + return inName!="android" && inName!="native" && inName!="html5" && inName!="watchos" && i...
input: use new config_map api prototype
@@ -436,7 +436,7 @@ int flb_input_instance_init(struct flb_input_instance *ins, * Create a dynamic version of the configmap that will be used by the specific * instance in question. */ - config_map = flb_config_map_create(p->config_map); + config_map = flb_config_map_create(config, p->config_map); if (!config_map) { fl...
azimuth: add updated naive ropsten contract
0x3e8c.a510.354b.c2fd.bbd6.1502.52d9.3105.c9c2.7bbe :: ++ naive - 0xb581.01cd.3bbb.cc6f.a40b.cdb0.4bb7.1623.b5c7.d39b + 0xe7cf.4b83.06d3.11ba.ca15.585f.e3f0.7cd0.441c.21d1 :: ++ launch 4.601.630 ++ public launch
Refactor macro-spanning if in ssl_msg.c
@@ -3851,8 +3851,8 @@ int mbedtls_ssl_read_record( mbedtls_ssl_context *ssl, if( ssl_record_is_in_progress( ssl ) == 0 ) { + int dtls_have_buffered = 0; #if defined(MBEDTLS_SSL_PROTO_DTLS) - int have_buffered = 0; /* We only check for buffered messages if the * current datagram is fully consumed. */ @@ -3860,11 +3860,1...
Added support for Sylvania/LEDVance RT 5/6 RBGW
@@ -2671,6 +2671,7 @@ void DeRestPluginPrivate::setLightNodeStaticCapabilities(LightNode *lightNode) if (lightNode->manufacturerCode() == VENDOR_LEDVANCE && (lightNode->modelId() == QLatin1String("BR30 RGBW") || + lightNode->modelId() == QLatin1String("RT RGBW") || lightNode->modelId() == QLatin1String("A19 RGBW"))) { ...
restrict rank calcs properly
@@ -518,6 +518,8 @@ bool GetFortunastakeRanks(CBlockIndex* pindex) vecFortunastakeScores.clear(); int i; if (vecFortunastakeScoresListHash == pindex->GetBlockHash()) { + // if ScoresList was calculated for the current pindex hash, then just use that list + // TODO: make a vector of these somehow BOOST_FOREACH(CFortunaS...
Fix the adjusting of the time when there is a rollover
@@ -43,7 +43,8 @@ static void gpio_intr_callback_task (task_param_t param, uint8 priority) // Now must be >= then . Add the missing bits if (then > (now & 0xffffff)) { - then += 0x1000000; + // Now must have rolled over since the interrupt -- back it down + now -= 0x1000000; } then = (then + (now & 0x7f000000)) & 0x7ff...
bugID:18002625:[bt] rm BT releated maroco.
@@ -12,7 +12,6 @@ bz_en_awss = 0 $(NAME)_COMPONENTS := breeze cli GLOBAL_DEFINES += DEBUG -#GLOBAL_DEFINES += CONFIG_BLE_LINK_PARAMETERS GLOBAL_DEFINES += BUILD_AOS BREEZEAPP_CONFIG_EN_OTA ?= 0
MacOS prior to 10.12 does not support random API correctly Fixes
# if defined(__APPLE__) && !defined(OPENSSL_NO_APPLE_CRYPTO_RANDOM) # include <Availability.h> -# if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000) || \ +# if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \ (defined(__IPHONE_OS_VERSIO...
NVMe: Adding snap_conf.sv generation again
@@ -183,6 +183,7 @@ prepare_project: check_snap_settings prepare_logs @ln -f -s $(SNAP_HDL_CORE)/dma_types_$(CAPI_VER).vhd_source $(SNAP_HDL_CORE)/dma_types.vhd; @ln -f -s $(SNAP_HDL_CORE)/dma_buffer_$(CAPI_VER).vhd_source $(SNAP_HDL_CORE)/dma_buffer.vhd; @ln -f -s $(SNAP_HDL_CORE)/dma_rams_$(CAPI_VER).vhd_source $(SNA...
Uses latest ci image
@@ -12,7 +12,7 @@ parameters: executors: main-env: docker: - - image: ucbbar/chipyard-ci-image:34e56d5 + - image: ucbbar/chipyard-ci-image:84cfc73 environment: JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
Feat:Update boat_demo.c for MA510
@@ -16,6 +16,7 @@ DESCRIPTION #include "boatconfig.h" #include "boatlog.h" #include "my_contract.cpp.abi.h" +#include "web3intf.h" BoatPlatoneWallet *g_platone_wallet_ptr; @@ -183,6 +184,7 @@ BOAT_RESULT platone_call_mycontract(BoatPlatoneWallet *wallet_ptr) BCHAR *result_str; BoatPlatoneTx tx_ctx; BOAT_RESULT result; ...
docs for option to not update parm anim for parallel or serial eval
@@ -80,4 +80,10 @@ Add attributes to flag locked normals on inputs, and set normals for the corresp Discard the top level group node when baking an asset. +@subsection Maya_Assets_Options_ Update Parms for Eval Mode + +When evaluating in DG mode parm animation is always evaluated as expected during playback. When the E...
remove old version of u3r_mug()
@@ -1554,42 +1554,6 @@ u3r_mug_cell(u3_noun hed, return u3r_mug_both(lus_w, biq_w); } -/* u3r_mug(): MurmurHash3 on a noun. -*/ -c3_w -u3r_mug_old(u3_noun veb) -{ - c3_assert(u3_none != veb); - - if ( _(u3a_is_cat(veb)) ) { - c3_w len_w = u3r_met(3, veb); - return u3r_mug_bytes((c3_y*)&veb, len_w); - } - else { - c3_w ...
fix ranking accuracy 00
@@ -11,7 +11,7 @@ class RankingAccuracy(ARankingScreen): super().__init__(dummy) maxscore = (replayinfo.number_300s + replayinfo.number_100s + replayinfo.number_50s + replayinfo.misses) * 300 score = replayinfo.number_300s * 300 + replayinfo.number_100s * 100 + replayinfo.number_50s * 50 - self.accuracy = str(round(sco...
Don't enable datapath queued sends when shared ec is enabled
@@ -320,8 +320,10 @@ endif() if(QUIC_TLS STREQUAL "schannel") message(STATUS "Enabling Schannel configuration tests") list(APPEND QUIC_COMMON_DEFINES QUIC_TEST_SCHANNEL_FLAGS=1) + if (NOT QUIC_SHARED_EC) message(STATUS "Enabling UDP Send Queuing") list(APPEND QUIC_COMMON_DEFINES CXPLAT_DATAPATH_QUEUE_SENDS=1) + endif()...
Correct fix for direct receive streams.
@@ -1826,6 +1826,7 @@ int picoquic_mark_direct_receive_stream(picoquic_cnx_t* cnx, uint64_t stream_id, while ((data = (picoquic_stream_data_node_t*)picosplay_first(&stream->stream_data_tree)) != NULL) { size_t length = data->length; uint64_t offset = data->offset; + uint8_t* bytes = data->bytes; if (offset < stream->co...
Support ZCL attribute reporting configuration on multiple endpoints
@@ -685,7 +685,12 @@ void DeRestPluginPrivate::checkLightBindingsForAttributeReporting(LightNode *lig /*! Creates binding for attribute reporting to gateway node. */ void DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *sensor) { - if (!apsCtrl || !sensor || !sensor->address().hasExt()) + if (!apsC...
X11 icon change xbm to xpm
#include "gtk2/gtk_keyboard.h" #include "gtk2/gtk_menu.h" -#include "resources/np2.xbm" +#include "resources/np2.xpm" #define APPNAME "NP2" @@ -210,12 +210,15 @@ main_loop_quit(gpointer p) static void set_icon_bitmap(GtkWidget *w) { - GdkPixmap *icon_pixmap; + GdkPixbuf *icon_pixbuf; + GList *pixbufs = NULL; gdk_window...
django1.9 was removed as useless
@@ -31,8 +31,6 @@ ALLOW mds -> contrib/deprecated/uriparser ALLOW devtools/experimental/mds -> contrib/deprecated/uriparser DENY .* -> contrib/deprecated/uriparser -ALLOW travel/rasp -> contrib/python/django/django-1.9 -DENY .* -> contrib/python/django/django-1.9 ALLOW contrib/python/.*/tests? -> contrib/python/django/...
fix(shields): added right alt and layer quick tap to Jian
#define RSE 2 #define ADJ 3 +&lt { quick_tap_ms = <200>; }; +&mt { quick_tap_ms = <200>; }; + / { keymap { compatible = "zmk,keymap"; bindings = < &kp LWIN &kp GRAVE &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &mt RWIN RBKT &kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEM...
Update product info for Danfoss Ally thermostat
"manufacturername": "Danfoss", "modelid": "eTRV0100", "vendor": "Danfoss", - "product": "Ally", + "product": "Ally thermostat", "sleeper": false, "status": "Gold", "subdevices": [
Optimize Ikea Tredansen DDF
"product": "TREDANSEN block-out cellul blind", "sleeper": false, "status": "Gold", - "path": "/devices/tredansen_block-out_cellul_blind.json", "subdevices": [ { "type": "$TYPE_WINDOW_COVERING_DEVICE", }, { "name": "state/bri", - "refresh.interval": 5 + "parse": { + "at": "0x0008", + "cl": "0x0102", + "ep": 1, + "eval":...
Adjusted and verified acc values on HMD
@@ -173,16 +173,12 @@ int survive_load_htc_config_format(SurviveObject *so, char *ct0conf, int len) { // Handle device-specific sacling. if (strcmp(so->codename, "HMD") == 0) { if (so->acc_scale) { - so->acc_scale[0] *= -1. / 8192.0; - so->acc_scale[1] *= -1. / 8192.0; - so->acc_scale[2] *= 1. / 8192.0; + scale3d(so->a...
Add missing dependency for Cyrpess Psoc64.
@@ -272,6 +272,12 @@ function(cy_add_link_libraries) "${ARG_BSP_DIR}" ) + target_link_libraries( + AFR::kernel::mcu_port + INTERFACE + 3rdparty::tinycrypt + ) + add_library(CyObjStore INTERFACE) target_sources(CyObjStore INTERFACE "${cy_port_support_dir}/objstore/cyobjstore.c"
Don't lock what is already locked.
@@ -646,13 +646,13 @@ _papplPrinterDelete( snprintf(prefix, sizeof(prefix), "%s/", printer->uriname); prefixlen = strlen(prefix); - pthread_rwlock_wrlock(&printer->system->rwlock); for (r = (_pappl_resource_t *)cupsArrayFirst(printer->system->resources); r; r = (_pappl_resource_t *)cupsArrayNext(printer->system->resour...
CI: Cache CMake build
@@ -18,7 +18,7 @@ jobs: name: Linux cache-key: linux cmake-args: '-DPICO_SDK_PATH=$GITHUB_WORKSPACE/pico-sdk -DPICO_SDK_POST_LIST_DIRS=$GITHUB_WORKSPACE/pico-extras' - apt-packages: clang-tidy gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib + apt-packages: ccache gcc-arm-none-eabi runs-on: ${{m...
Base64: Fix problem reported by OCLint
@@ -57,17 +57,12 @@ static int unescape (Key * key, Key * parent) */ static bool shouldDecode (Key * key, bool metaMode) { - if (metaMode) - { - return keyGetMeta (key, "type") && strcmp (keyValue (keyGetMeta (key, "type")), "binary") == 0; - } - else - { + if (metaMode) return keyGetMeta (key, "type") && strcmp (keyVa...
Support exporting monthly statistics
++ node-url (need (de-purl:html 'http://eth-mainnet.urbit.org:8545')) :: ++ prep - |= old=(unit *) ::state) - :: ?~ old + |= old=(unit state) + ?~ old [~ ..prep] - :: [~ ..prep(+<+ u.old)] + [~ ..prep(+<+ u.old)] :: ++ poke-noun |= a=?(%kick-watcher %regaze %debug) |= pax=path ^- (unit (unit [mark *])) ?~ pax ~ - ?. =(...
feat(venachain):annotate useless variable
@@ -184,7 +184,7 @@ BOAT_RESULT venachain_call_mycontract(BoatVenachainWallet *wallet_ptr) BCHAR *result_str; BoatVenachainTx tx_ctx; BOAT_RESULT result; - venachain_nodesResult result_out = {0,NULL}; +// venachain_nodesResult result_out = {0,NULL}; /* Set Contract Address */ result = BoatVenachainTxInit(wallet_ptr, &t...
ports/stm32: Disable lwip dispatch first before deinit.
@@ -633,13 +633,15 @@ soft_reset: // Disable all other IRQs except Systick irq_set_base_priority(IRQ_PRI_SYSTICK+1); - #if MICROPY_PY_BLUETOOTH - mp_bluetooth_deinit(); - #endif #if MICROPY_PY_LWIP systick_disable_dispatch(SYSTICK_DISPATCH_LWIP); #endif + #if MICROPY_PY_BLUETOOTH + mp_bluetooth_deinit(); + #endif + #if...
Fix test_alloc_set_base() to work for builds
@@ -8817,7 +8817,7 @@ END_TEST /* Test robustness of XML_SetBase against a failing allocator */ START_TEST(test_alloc_set_base) { - const XML_Char *new_base = "/local/file/name.xml"; + const XML_Char *new_base = XCS("/local/file/name.xml"); int i; const int max_alloc_count = 5;
Correct a typo in some C comments.
* Name: netlib_ipv4router * * Description: - * Given a destination address that is no on a local network, query the + * Given a destination address that is not on a local network, query the * IPv4 routing table, and return the IPv4 address of the routing that * will provide access to the correct sub-net. *
ipip: Don't crash when showing non-existant tunnel index Type: fix
@@ -232,6 +232,8 @@ static clib_error_t *show_ipip_tunnel_command_fn(vlib_main_t *vm, ({vlib_cli_output(vm, "%U", format_ipip_tunnel, t); })); /* *INDENT-ON* */ } else { + if (pool_is_free_index (gm->tunnels, ti)) + return clib_error_return(0, "unknown index:%d", ti); t = pool_elt_at_index(gm->tunnels, ti); if (t) vlib...
pyapi CHANGE support SSH channels netconf2.Session.newChannel() to connect to the server via another SSH channel.
typedef struct { PyObject_HEAD struct ly_ctx *ctx; + unsigned int *ctx_counter; struct nc_session *session; } ncSessionObject; @@ -115,7 +116,12 @@ ncSessionFree(ncSessionObject *self) PyErr_Fetch(&err_type, &err_value, &err_traceback); nc_session_free(self->session, NULL); + + (*self->ctx_counter)--; + if (!(*self->ct...
admin/meta-packages: reenable pdsh-mod-slurm in slurm server metapackage
@@ -279,8 +279,7 @@ Requires: slurm-slurmctld%{PROJ_DELIM} Requires: munge%{PROJ_DELIM} Requires: munge-libs%{PROJ_DELIM} Requires: munge-devel%{PROJ_DELIM} -# (1/19/2018) - pdsh slurm module not yet compatabile with newer slurm, removing for now -#Requires: pdsh-mod-slurm%{PROJ_DELIM} +Requires: pdsh-mod-slurm%{PROJ_D...
bugfix in Diemer15, Prada12
@@ -132,8 +132,8 @@ class ConcentrationDiemer15(Concentration): def _check_mdef(self, mdef): if isinstance(mdef.Delta, str): return True - elif (int(mdef.Delta) != 200) and \ - (mdef.rho_type != 'critical'): + elif not ((int(mdef.Delta) == 200) and \ + (mdef.rho_type == 'critical')): return True return False @@ -239,8 ...
[Realtek][RTL8721CSM] apps/examples/nettest/ :1st commit for Netork manager porting in apps Porting network manager on RTL8721CSM board. 1st commit for the changes in apps, nettest example modification, setsockopt before bind.
@@ -381,6 +381,12 @@ void ipmcast_sender_thread(int num_packets, uint32_t sleep_time, const char *int groupSock.sin_addr.s_addr = inet_addr(g_app_target_addr); groupSock.sin_port = htons(g_app_target_port); + if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, (char *)&localInterface, sizeof(localInterface)) < 0) { + print...
Added doxygen script for audio framework
*/ /** -* @ingroup TinyAlsa * @defgroup TinyAlsa TinyAlsa -* @brief All macros, structures and functions that make up the PCM interface. +* @ingroup TinyAlsa +* @brief Provides APIs for Audio Framework * @{ */ +/** + * @file tinyalsa.h + * @brief All macros, structures and functions that make up the PCM interface. + */...
Fix FateContext XZY -> XYZ -> Vec3
+using System.Numerics; using System.Runtime.InteropServices; using FFXIVClientStructs.FFXIV.Client.System.String; @@ -13,9 +14,7 @@ namespace FFXIVClientStructs.FFXIV.Client.Game.Fate [FieldOffset(0x3AC)] public byte State; [FieldOffset(0x3B8)] public byte Progress; [FieldOffset(0x3F9)] public byte Level; - [FieldOffs...
Tentative IPsec test case
#include "test.h" -fake_cmd_t t4p4s_testcase_test[][RTE_MAX_LCORE] = { - { - FAST(0,0, hETH4("DDDDDDDD0000", ETH01), "0000000000000000000029f0", "12345678", "0a006363", "abcd"), - - FEND, - }, - - { - FEND, - }, -}; +fake_cmd_t t4p4s_testcase_test[][RTE_MAX_LCORE] = SINGLE_LCORE( + #define cHMAC12B "00000000800800df670...
Replace string literals in src/vcf/validator.cpp
@@ -162,11 +162,11 @@ namespace ebi std::string provided_version{line.substr(common_substring.size())}; util::remove_end_of_line(provided_version); - if (provided_version == "VCFv4.1") { + if (provided_version == VCF_V41) { return Version::v41; - } else if (provided_version == "VCFv4.2") { + } else if (provided_version...