message
stringlengths
6
474
diff
stringlengths
8
5.22k
README.md: Use version 2.04.70
@@ -24,19 +24,19 @@ Packages for Qt4 and Raspbian Wheezy are available but not described here. ##### Install deCONZ and development package 1. Download deCONZ package - wget http://www.dresden-elektronik.de/rpi/deconz/beta/deconz-2.04.67-qt5.deb + wget http://www.dresden-elektronik.de/rpi/deconz/beta/deconz-2.04.70-qt5...
Update: should be dep var
*setopname 9 ^say //how to calculate bird view area of car -<((<(car * $x) --> length> &/ <(car * $y) --> width>) &/ <({SELF} * ($x * $y)) --> ^mul>) =/> <mul --> [executed]>>. +<((<(car * #1) --> length> &/ <(car * #2) --> width>) &/ <({SELF} * (#1 * #2)) --> ^mul>) =/> <mul --> [executed]>>. //comparison with parking...
Fix for CVE-2019-20056, assertion failure problem(#126). Thanks to
@@ -5045,13 +5045,13 @@ static int stbi__shiftsigned(int v, int shift, int bits) static unsigned int shift_table[9] = { 0, 0,0,1,0,2,4,6,0, }; + if (bits < 0 || bits > 8) return (0); /* error */ if (shift < 0) v <<= -shift; else v >>= shift; - STBI_ASSERT(v >= 0 && v < 256); + if (v < 0 || v >= 256) return (0); v >>= (...
Encoding with packingType=grid_complex via codes_grib_util_set_spec (Part 1)
@@ -1413,8 +1413,10 @@ grib_handle* grib_util_set_spec2(grib_handle* h, SET_STRING_VALUE("packingType", "grid_simple"); break; case GRIB_UTIL_PACKING_TYPE_GRID_COMPLEX: - if (strcmp(input_packing_type, "grid_complex") && !strcmp(input_packing_type, "grid_simple")) + if (!STR_EQUAL(input_packing_type, "grid_complex")) {...
Fix typo in msvc warnings patch
@@ -600,7 +600,8 @@ if(WIN32) set_target_properties(lovr PROPERTIES COMPILE_FLAGS "/wd4244 /MP") else() set_target_properties(lovr PROPERTIES COMPILE_FLAGS "-MP") - # Excuse anonymous union for type punning set_source_files_properties(src/util.c PROPERTIES COMPILE_FLAGS /wd4146) + # Excuse anonymous union for type punn...
Update aomp version back to 16.0-2 after rebase.
@@ -19,7 +19,7 @@ ROCM_VERSION=${ROCM_VERSION:-5.3.0} # Set the AOMP VERSION STRING AOMP_VERSION=${AOMP_VERSION:-"16.0"} -AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"3"} +AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"2"} AOMP_VERSION_STRING=${AOMP_VERSION_STRING:-"$AOMP_VERSION-$AOMP_VERSION_MOD"} export AOMP_VERSION_STRING AOMP_VER...
remove debug stuff from example
@@ -10,7 +10,6 @@ require 'iodine' if ENV["REDIS_URL"] Iodine::PubSub.default = Iodine::PubSub::Redis.new(ENV["REDIS_URL"], ping: 10) # Iodine.run_every(10000) { Iodine::Base.db_print_protected_objects } - Iodine::PubSub.default.cmd("SET", "mycounter", 1) {|result| p result } else puts "* No Redis, it's okay, pub/sub w...
Fix optional params support
@@ -544,7 +544,7 @@ sol::variadic_results RTTIHelper::ExecuteFunction(RED4ext::CBaseFunction* apFunc std::vector<RED4ext::CStackType> callArgs(apFunc->params.size); std::vector<uint32_t> callArgToParam(apFunc->params.size); - auto callArgOffset = 0; + uint32_t callArgOffset = 0u; for (auto i = 0u; i < apFunc->params.si...
stm32/boards/NUCLEO_F767ZI: Fix up comments about HCLK computation.
#define MICROPY_BOARD_EARLY_INIT NUCLEO_F767ZI_board_early_init void NUCLEO_F767ZI_board_early_init(void); -// HSE is 25MHz -// VCOClock = HSE * PLLN / PLLM = 25 MHz * 432 / 25 = 432 MHz -// SYSCLK = VCOClock / PLLP = 432 MHz / 2 = 216 MHz -// USB/SDMMC/RNG Clock = VCOClock / PLLQ = 432 MHz / 9 = 48 MHz +// HSE is 8MHz...
Replace tabs with spaces in examples
/* Request data are sent to server once we are connected */ -uint8_t req_data[] = "" +static const uint8_t +req_data[] = "" "GET / HTTP/1.1\r\n" "Host: example.com\r\n" "Connection: close\r\n" @@ -31,7 +32,7 @@ conn_evt(esp_evt_t* evt) { } /* Connection closed event */ - case ESP_EVT_CONN_CLOSED: { + case ESP_EVT_CONN_...
Android: update API levels
@@ -56,8 +56,8 @@ JAVA_PACKAGE_NAME = 'com.rhomobile.rhodes' # For complete list of android API levels and its mapping to # market names (such as "Android-1.5" etc) see output of # command "android list targets" -ANDROID_MIN_SDK_LEVEL = 19 -ANDROID_SDK_LEVEL = 26 +ANDROID_MIN_SDK_LEVEL = 21 #21 is the minimum API that ...
vlib: fix cli process stack overflow Type: fix Some cli processes, including configuring an test flow on an i40e interface consume more than the currently available stack space.
@@ -2864,7 +2864,7 @@ unix_cli_file_add (unix_cli_main_t * cm, char *name, int fd) static vlib_node_registration_t r = { .function = unix_cli_process, .type = VLIB_NODE_TYPE_PROCESS, - .process_log2_n_stack_bytes = 17, + .process_log2_n_stack_bytes = 18, }; r.name = name;
profile: round corners of view fixes urbit/landscape#510
@@ -10,7 +10,12 @@ export default function ProfileScreen(props: any) { return ( <> <Helmet defer={false}> - <title>{ props.notificationsCount ? `(${String(props.notificationsCount) }) `: '' }Landscape - Profile</title> + <title> + {props.notificationsCount + ? `(${String(props.notificationsCount)}) ` + : ''} + Landscap...
Use explicit pointer casting for c++ compatibility
@@ -121,12 +121,12 @@ static void redisLibevCleanup(void *privdata) { static void redisLibevTimeout(EV_P_ ev_timer *timer, int revents) { ((void)revents); - redisLibevEvents *e = timer->data; + redisLibevEvents *e = (redisLibevEvents*)timer->data; redisAsyncHandleTimeout(e->context); } static void redisLibevSetTimeout(...
Release: Add information about Travis update
@@ -124,7 +124,13 @@ These notes are of interest for people developing Elektra: - <<TODO>> - <<TODO>> - <<TODO>> -- Travis now builds all (applicable) bindings by default again. +- Our Travis build job now + - builds all (applicable) bindings by default again, and + - checks the formatting of CMake code via [`cmake-for...
Fix clang++-8 warning
@@ -3300,7 +3300,7 @@ int alpn_select_proto_cb(SSL *ssl, const unsigned char **out, } if (!config.quiet) { - std::cerr << "Client did not present ALPN " << NGTCP2_ALPN_H3 + 1 + std::cerr << "Client did not present ALPN " << &NGTCP2_ALPN_H3[1] << std::endl; }
Use consistent syntax for referencing functions Since this is used in some places but not all, we should probably use backticks here. Or better yet, use proper links for doxygen or sphinx.
/// /// Therefore the host should give a context hint for the operation it executes. /// -/// Scenarios for save() function: +/// Scenarios for the state save() function: /// /// - Context `CLAP_STATE_CONTEXT_PROJECT`: The plugin stores all aound settings including /// the project specific settings (like the hardware's...
Fix ccache documentation: environment variable is IDF_CCACHE_ENABLE Merges
@@ -113,7 +113,7 @@ Here is a list of some useful options: - ``-B <dir>`` allows overriding the build directory from the default ``build`` subdirectory of the project directory. - ``--ccache`` flag can be used to enable CCache_ when compiling source files, if the CCache_ tool is installed. This can dramatically reduce ...
Catch modules importing at startup
@@ -105,10 +105,12 @@ webbrowser.register("mobile-safari", None, MobileSafari("MobileSafari.app")) for importer in (NumpyImporter, MatplotlibImporter, PandasImporter): sys.meta_path.insert(0, importer()) -# Pre-import modules +# MARK: - Pre-import modules +try: import matplotlib, numpy, pandas - +except: + pass # MARK:...
show information if BEACON or PROBERESPONSE frames are missing
@@ -867,6 +867,24 @@ if(radiotappresent == false) "from the driver to userspace applications.\n" "https://www.radiotap.org/\n"); } +if(beaconcount == 0) + { + fprintf(stdout, "\nInformation: missing frames!\n" + "This dump file does not contain BEACON frames.\n" + "A BEACON frame contain the ESSID which is mandatory to...
SOVERSION bump to version 2.2.1
@@ -63,7 +63,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 2) -set(LIBYANG_MICRO_SOVERSION 0) +set(LIBYANG_MICRO_SOVERSION 1) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_MI...
Mozprefs: Adapt Markdown Shell Recorder test We do not assume that a non-root user executes the test any more.
@@ -41,16 +41,16 @@ will all result in `lockPref("a.lock.key", "lock");` ## Example ```sh -# Backup-and-Restore:/tests/mozprefs +# Backup-and-Restore:user/tests/mozprefs -sudo kdb mount prefs.js /tests/mozprefs mozprefs +sudo kdb mount prefs.js user/tests/mozprefs mozprefs kdb setmeta user/tests/mozprefs/lock/a/lock/ke...
Fix Wasm3 Cosmopolitan build config
@@ -26,8 +26,9 @@ fi echo "Building Wasm3..." gcc -g -O -static -fno-pie -no-pie -mno-red-zone -nostdlib -nostdinc \ - -Wl,--oformat=binary -Wl,--gc-sections -Wl,-z,max-page-size=0x1000 -fuse-ld=bfd \ + -Wl,--gc-sections -Wl,-z,max-page-size=0x1000 -fuse-ld=bfd \ -Wl,-T,cosmopolitan/ape.lds -include cosmopolitan/cosmop...
Bugfix: For Linux/OSX, remove GBC header when not needed If a Linux/OSX user has deselected the custom color replacement, then we need to remove the GBC code from the header.
@@ -104,6 +104,17 @@ const makeBuild = ({ fs.writeFile(`${buildRoot}/include/game.h`, result, 'utf8'); }); + // Modify Linux / OSX makefile as needed + if (process.platform != "win32" && data.CustomColorsEnabled == false) + { + fs.readFile(`${buildRoot}/makefile`, 'utf8', function (err, filedata) { + + const result = f...
os/net/lwip/src/core/tcp.c : Update determine determin -> determine
@@ -1815,7 +1815,7 @@ u32_t tcp_next_iss(struct tcp_pcb *pcb) #if TCP_CALCULATE_EFF_SEND_MSS /** * Calculates the effective send mss that can be used for a specific IP address - * by using ip_route to determin the netif used to send to the address and + * by using ip_route to determine the netif used to send to the add...
publish: add flex-auto to skeleton m viewports had overflow out of parent containers; this uses flex-auto to ensure the skeleton stays within its flex container.
@@ -31,7 +31,7 @@ export class Skeleton extends Component { path={props.path} invites={props.invites} /> - <div className={"h-100 w-100 relative white-d " + rightPanelHide} style={{ + <div className={"h-100 w-100 relative white-d flex-auto " + rightPanelHide} style={{ flexGrow: 1, }}> {props.children}
vlib: fix an issue with show pci The fix has been received over e-mail from Lijian Zhang. Type: fix Ticket:
@@ -110,7 +110,7 @@ show_pci_fn (vlib_main_t * vm, format_vlib_pci_link_speed, d, d->driver_name ? (char *) d->driver_name : "", d->product_name, - format_vlib_pci_vpd, d->vpd_r, 0); + format_vlib_pci_vpd, d->vpd_r, (u8 *) 0); vlib_pci_free_device_info (d); } /* *INDENT-ON* */
tests: remove failing test case, will be introduced in a later commit that fixes the underlying bug
@@ -342,22 +342,6 @@ static void test_copy (void) keyDel (key1); keyDel (key2); - - succeed_if (key1 = keyNew ("/", KEY_END), "could not create key"); - succeed_if (key2 = keyNew ("/", KEY_END), "could not create key"); - - succeed_if (keySetMeta (key2, "mymeta", "a longer metavalue") == sizeof ("a longer metavalue"), ...
[Rust] View sets up a parent link when adding sub elements
@@ -52,6 +52,10 @@ impl View { printf!("Adding component to view: {:?}\n", elem.frame()); // Ensure the component has a frame by running its sizer elem.handle_superview_resize(self.current_inner_content_frame.borrow().size); + + // Set up a link to the parent + elem.set_parent(Rc::downgrade(&(Rc::clone(&self) as _))); ...
Fix preprocessor indentation. Rework main() to be in the style of the other conditional tests.
/* - * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -499,9 +499,11 @@ static i...
btc-provider: removed some extraneous printfs
:: ++ on-init ^- (quip card _this) - ~& > '%btc-provider initialized successfully' =| wl=^whitelist :- ~ %_ this ++ on-load |= old-state=vase ^- (quip card _this) - ~& > '%btc-provider recompiled successfully ' `this(state !<(versioned-state old-state)) :: ++ on-poke ^- (quip card _state) :_ state ?. ?|(connected.host-...
Remap hidden windows when exiting (issue
@@ -1238,8 +1238,9 @@ void RemoveClient(ClientNode *np) np->x, np->y, np->width, np->height); } GravitateClient(np, 1); - if(!(np->state.status & STAT_MAPPED) - && (np->state.status & (STAT_MINIMIZED | STAT_SHADED))) { + if((np->state.status & STAT_HIDDEN) + || (!(np->state.status & STAT_MAPPED) + && (np->state.status ...
Simplify parser error messages.
@@ -73,11 +73,11 @@ func (p *parser) parseTopLevelDecl() (*a.Node, error) { flags |= a.FlagsSuspendible p.src = p.src[1:] } - inParams, err := p.parseList("parameter", (*parser).parseParam) + inParams, err := p.parseList((*parser).parseParam) if err != nil { return nil, err } - outParams, err := p.parseList("parameter"...
ocvalidate: Return number of errors detected
@@ -135,7 +135,7 @@ int ENTRY_POINT(int argc, const char *argv[]) { OcConfigurationFree (&Config); FreePool (ConfigFileBuffer); - return 0; + return ErrorCount; } INT32 LLVMFuzzerTestOneInput(CONST UINT8 *Data, UINTN Size) {
amd_r19me4070: Set GPU temp to 0 when read failed This avoids returning bogus temperature that caused thermal shutdown. BRANCH=none TEST=no more thermal shutdown when suspend
@@ -53,17 +53,21 @@ int get_temp_R19ME4070(int idx, int *temp_ptr) * We shouldn't read the GPU temperature when the state * is not in S0, because GPU is enabled in S0. */ - if ((power_get_state()) != POWER_S0) + if ((power_get_state()) != POWER_S0) { + *temp_ptr = C_TO_K(0); return EC_ERROR_BUSY; + } /* if no INIT GPU,...
LogChannel color changes
@@ -251,7 +251,7 @@ void LuaVM::HookLogChannel(RED4ext::IScriptable*, RED4ext::CStackFrame* apStack, if (channel == s_debugChannel) spdlog::get("gamelog")->debug("[{}] {}", channelSV, ref.ref->c_str()); else if (channel == s_assertionChannel) - spdlog::get("gamelog")->warn("[{}] {}", channelSV, ref.ref->c_str()); + spd...
Enable scan-build
@@ -82,6 +82,26 @@ jobs: name: ethereum_nanox path: ./ethereum_nanox.elf + scan-build: + name: Clang Static Analyzer + runs-on: ubuntu-latest + + container: + image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest + + steps: + - uses: actions/checkout@v2 + + - name: Build with Clang Static Analyzer + run:...
[lib][unittest] tweak the command line to let you list and selectively run individual tests
@@ -73,14 +73,43 @@ bool run_all_tests(void) { } static int do_unittests(int argc, const console_cmd_args *argv) { + + if (argc < 2) { +usage: + printf("usage:\n"); + printf("%s all : run all unit tests\n", argv[0].str); + printf("%s list : list all test cases\n", argv[0].str); + printf("%s <test name> : run specific t...
added if defs around version dependent calls
@@ -366,7 +366,7 @@ avtUintahFileFormat::avtUintahFileFormat(const char *filename, EXCEPTION1(InvalidDBTypeException, "The function getGridData could not be located in the library!!!"); } -#if (1 <= UINTAH_MAJOR_VERSION && 7 <= UINTAH_MINOR_VERSION ) +#if (2 <= UINTAH_MAJOR_VERSION && 0 <= UINTAH_MINOR_VERSION ) variab...
Modify strncmp to starts_with
@@ -20,15 +20,15 @@ static int get_long_integer_from_char_array (const char *const str, uint64_t *re char *tail; // hexadecimal - if ((strncmp ("0x", str, 2) == 0) || (strncmp ("0X", str, 2) == 0)) { + if (starts_with (str, "0x") || starts_with (str, "0X")) { value = strtoul (str + 2, &tail, 16); } // binary - else if ...
dev/release.sh: Adjust release branch names to votes The OTC voted today that the release branch for OpenSSL 3.0 should be openssl-3.0 rather than openssl-3.0.x. The release script is changed accordingly.
@@ -20,7 +20,7 @@ Usage: release.sh [ options ... ] --final Get out of "alpha" or "beta" and make a final release. Implies --branch. ---branch Create a release branch 'openssl-{major}.{minor}.x', +--branch Create a release branch 'openssl-{major}.{minor}', where '{major}' and '{minor}' are the major and minor version n...
changed time pointer from control->Evolve.dTime to body[iBody].dAge
@@ -558,7 +558,11 @@ double fdDSurfTemp(BODY *body,CONTROL *control, SYSTEM *system, int *iaBody) { } double fdDWaterMassMOAtm(BODY *body,CONTROL *control, SYSTEM *system, int *iaBody) { - return TOMASS; /* * sin(1e-8 * control->Evolve.dTime); */ + int iBody = iaBody[0]; + printf("dAge %lf \n", body[iBody].dAge/YEARSEC...
zeromqsend plugin: fix timeout bug
@@ -67,6 +67,22 @@ static int getMonitorEvent (void * monitor) return event; } +static struct timespec ts_diff (struct timespec now, struct timespec start) +{ + struct timespec diff; + if ((now.tv_nsec - start.tv_nsec) < 0) + { + diff.tv_sec = now.tv_sec - start.tv_sec - 1; + diff.tv_nsec = 1000000000 + now.tv_nsec - s...
Update hcxdumptool.c Fix Typo CLEINTs -> CLIENTs
@@ -8385,7 +8385,7 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n" " $ hcxdumptool -m <interface>\n" " create BPF to protect a MAC\n" " $ tcpdump -i <interface> not wlan addr3 11:22:33:44:55:66 and not wlan addr2 11:22:33:44:55:66 -ddd > protect.bpf\n" - " where addr3 protect ACCESS POINTs and addr2 protect CLEINTs\n" + "...
harness: fix confusion about whether no kernel/boot driver args is None or an empty list
@@ -33,9 +33,12 @@ class BootModules(object): self.kernel = None else: self.kernel = os.path.join(self.prefix, kernel) + if args is None: + args = [] self.kernelArgs = args def add_kernel_args(self, args): + if args: self.kernelArgs.extend(args) def set_cpu_driver(self, cpu_driver, args=[]): @@ -44,6 +47,8 @@ class Boo...
bonding: drop traffic on backup interface for active-backup mode For active-backup mode, we transmit on one and only one interface. However, we might still receive traffic on the backup interface. We should drop them and strictly process incoming traffic on only the active interface. Type: fix
@@ -28,6 +28,7 @@ bond_main_t bond_main; #define foreach_bond_input_error \ _(NONE, "no error") \ _(IF_DOWN, "interface down") \ + _(PASSIVE_IF, "traffic received on passive interface") \ _(PASS_THRU, "pass through (CDP, LLDP, slow protocols)") typedef enum @@ -158,10 +159,20 @@ bond_update_next (vlib_main_t * vm, vlib...
Documentation change only: add iPerf instructions to NETWORK.md.
@@ -16,3 +16,4 @@ This document describes the network arrangements of the automated test system. - When moving a KMTronic Ethernet-based relay box onto the network, reset it and first connect it to a PC/laptop where you have disabled Wifi and \[temporarily\] hard-coded the laptop's Ethernet interface to 192.168.1.1; op...
Ensure no 'cleaning up resources' message is displayed if --no-progress is passed. Closes
@@ -210,7 +210,9 @@ cleanup (int ret) { if (!conf.output_stdout) endwin (); + if (!conf.no_progress) fprintf (stdout, "Cleaning up resources...\n"); + /* unable to process valid data */ if (ret) output_logerrors ();
resource graph
@@ -10,5 +10,6 @@ namespace FFXIVClientStructs.FFXIV.Client.System.Resource.Handle [StructLayout(LayoutKind.Explicit, Size = 0x1728)] public unsafe struct ResourceManager { + [FieldOffset(0x8)] public ResourceGraph* ResourceGraph; } }
group-on-leave: poke %graph-pull-hook to allow resubscription
:- %graph-update !> ^- update:gra [%0 now.bowl [%archive-graph (de-path:res app-path.m.i.entries)]] +;< ~ bind:m + %+ raw-poke + [our.bowl %graph-pull-hook] + :- %pull-hook-action + !>([%remove (de-path:res app-path.m.i.entries)]) loop(entries t.entries)
Fix x86 compile issue
@@ -1368,7 +1368,7 @@ size_t picoquic_log_qoe_frame(FILE* F, const uint8_t* bytes, size_t bytes_max) } fprintf(F, "\n"); - byte_index = (bytes - bytes0) + length; + byte_index = (bytes - bytes0) + (size_t)length; } return byte_index;
ipsec: bug fix ipsec-init sequence ipsec_tunnel_if_init might be called before ipsec_init this memset in ipsec-init therefore zero the memory allocated by ipsec_tunnel_if_init
@@ -224,8 +224,6 @@ ipsec_init (vlib_main_t * vm) ipsec_main_t *im = &ipsec_main; ipsec_main_crypto_alg_t *a; - clib_memset (im, 0, sizeof (im[0])); - im->vnet_main = vnet_get_main (); im->vlib_main = vm;
rtdl: change value of RTDL_LAZY to be non-zero
#ifndef _DLFCN_H #define _DLFCN_H -// RTLD_LAZY and RTLD_LOCAL have the same value. See issue #450. -#define RTLD_LAZY 0 +#define RTLD_LOCAL 0 #define RTLD_NOW 1 #define RTLD_GLOBAL 2 #define RTLD_NOLOAD 4 #define RTLD_NODELETE 8 #define RTLD_DEEPBIND 16 -#define RTLD_LOCAL 0 +#define RTLD_LAZY 32 #define RTLD_NEXT ((v...
virtio: Support legacy and transitional virtio devices
@@ -586,7 +586,7 @@ virtio_pci_read_caps (vlib_main_t * vm, virtio_if_t * vif) clib_error_t *error = 0; virtio_main_t *vim = &virtio_main; struct virtio_pci_cap cap; - u8 pos, common_cfg = 0, notify_base = 0, dev_cfg = 0, isr = 0; + u8 pos, common_cfg = 0, notify_base = 0, dev_cfg = 0, isr = 0, pci_cfg = 0; vlib_pci_de...
Add missing migration_guide API mappings.
@@ -581,6 +581,14 @@ L<ASN1_item_d2i_bio(3)>, L<ASN1_item_sign(3)> and L<ASN1_item_verify(3)> =item - +L<BIO_new(3)> + +=item - + +b2i_RSA_PVK_bio() and i2b_PVK_bio() + +=item - + L<BN_CTX_new(3)> and L<BN_CTX_secure_new(3)> =item - @@ -627,6 +635,10 @@ L<EVP_PBE_CipherInit(3)>, L<EVP_PBE_find(3)> and L<EVP_PBE_scrypt(...
Provide 32 bit architecture fallback
@@ -159,7 +159,15 @@ void websocket_xmask(void *msg, uint64_t len, uint32_t mask) { msg = (void *)((uintptr_t)msg + offset); len -= offset; } - /* handle 4 byte XOR alignment */ +#if !defined(__SIZEOF_SIZE_T__) || __SIZEOF_SIZE_T__ == 4 + /* handle 4 byte XOR alignment in 32 bit mnachine*/ + while (len >= 4) { + *((uin...
vppinfra: silence coverity warnings related to clib_memcpy_u32() Type: fix
#ifndef included_memcpy_h #define included_memcpy_h +#ifndef __COVERITY__ + static_always_inline void clib_memcpy_u32_x4 (u32 *dst, u32 *src) { @@ -152,4 +154,12 @@ clib_memcpy_u32 (u32 *dst, u32 *src, u32 n_left) } } +#else /* __COVERITY__ */ +static_always_inline void +clib_memcpy_u32 (u32 *dst, u32 *src, u32 n_left)...
Use void in prototypes
@@ -19,7 +19,7 @@ extern SdbKv* sdb_kv_new(const char *k, const char *v); extern ut32 sdb_hash(const char *key); extern void sdb_kv_free(SdbKv *kv); -SdbHash* sdb_ht_new(); +SdbHash* sdb_ht_new(void); // Destroy a hashtable and all of its entries. void sdb_ht_free(SdbHash* ht); void sdb_ht_free_deleted(SdbHash* ht);
Fix `-h` typo (ses->secs)
@@ -39,7 +39,7 @@ option "max-targets" n "Cap number of targets to probe (as a number o typestr="n" optional string option "max-runtime" t "Cap length of time for sending packets" - typestr="ses" + typestr="secs" optional int option "max-results" N "Cap number of results to return" typestr="n"
Modified 'install' rule in Makefile to use the standard 'install' command
@@ -29,6 +29,8 @@ else CFLAGS += -fPIC -D_XOPEN_SOURCE=700 endif +PREFIX ?= /usr/local + .PHONY : all mkdir install clean purge all : mkdir $(OBJS) $(LIBDISCORD_SLIB) @@ -70,7 +72,10 @@ $(LIBDISCORD_SLIB) : $(OBJS) # @todo better install solution install : all - cp $(INCLUDE) /usr/local/include + install -d $(PREFIX)/l...
Prepare debian changelog for v0.6.0 tag
+bcc (0.6.0-1) unstable; urgency=low + + * Support for kernel up to 4.17 + * Many bugfixes + * Many new tools + * Improved python3 support + + -- Brenden Blanco <bblanco@gmail.com> Wed, 13 Jun 2018 17:00:00 +0000 + bcc (0.5.0-1) unstable; urgency=low * Support for USDT in ARM64
scripts: remove mistaken update
@@ -16,7 +16,11 @@ mknod /dev/ksched c 280 0 chmod uga+rwx /dev/ksched # reserve huge pages -echo 5192 > /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages +echo 5192 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages +echo 0 > /sys/devices/system/node/node1/hugepages/hugepages...
iokernel: MIS get good results with this tuning:' 1) Use high/low watermark to decide when to delete/add kthreads. 2) Tune some parameters to make congestion control more reactive.
@@ -29,13 +29,18 @@ static DEFINE_BITMAP(mis_sampled_cores, NCPU); PMC_ESEL_ANY | PMC_ESEL_ENABLE) /* poll the global (system-wide) memory bandwidth over this time interval */ -#define MIS_BW_MEASURE_INTERVAL 50 +#define MIS_BW_MEASURE_INTERVAL 25 /* wait for performance counter results over this time interval */ #defi...
fix freebsd compilation
@@ -404,14 +404,18 @@ TCurrentThreadLimits::TCurrentThreadLimits() noexcept : StackBegin(nullptr) , StackLength(0) { -#if defined(_linux_) || defined(_cygwin_) +#if defined(_linux_) || defined(_cygwin_) || defined(_freebsd_) pthread_attr_t attr; pthread_attr_init(&attr); +#if defined(_linux_) || defined(_cygwin_) Y_VER...
validate gen thraed safe
#define AES_KEY_BYTES 16 static int inited = 0; -static uint32_t aes_input[AES_BLOCK_WORDS]; static uint32_t aes_sched[(AES_ROUNDS + 1) * 4]; void validate_init() { - for (int i = 0; i < AES_BLOCK_WORDS; i++) { - aes_input[i] = 0; - } uint8_t key[AES_KEY_BYTES]; if (!random_bytes(key, AES_KEY_BYTES)) { log_fatal("valid...
Update hardware README with notes about simulation configuration [ci skip]
@@ -5,7 +5,7 @@ three directories: associativity, number of cores) are in core/config.sv - fpga/ Components of a quick and dirty system-on-chip test environment. These - are not part of the Nyuzi core, but are put here to allow testing on FPGA. + are not part of the Nyuzi core, but are here to allow testing on FPGA. In...
Added somme crawlers
@@ -281,6 +281,10 @@ static const char *browsers[][2] = { {"Jorgee", "Crawlers"}, {"PxBroker", "Crawlers"}, {"Seekport", "Crawlers"}, + {"adscanner", "Crawlers"}, + {"linkdexbot", "Crawlers"}, + {"Cliqzbot", "Crawlers"}, + {"AfD-Verbotsverfahren_JETZT!","Crawlers"}, /* Podcast fetchers */ {"Downcast", "Podcasts"},
Only send available cipher suites in ClientHello Previously, we were unconditionally sending all of the suites in our preference list. This will not work if some of the suites are unavailable. For example, when an older libcrypto version is used to build s2n.
@@ -138,11 +138,26 @@ int s2n_client_hello_send(struct s2n_connection *conn) GUARD(s2n_stuffer_write_bytes(out, client_protocol_version, S2N_TLS_PROTOCOL_VERSION_LEN)); GUARD(s2n_stuffer_copy(&client_random, out, S2N_TLS_RANDOM_DATA_LEN)); GUARD(s2n_stuffer_write_uint8(out, session_id_len)); - GUARD(s2n_stuffer_write_u...
Avoid bgwriter sending statistics to stat collector when mirror is not in hot standby mode Stat collector is not started when mirror is not in hot standby mode. Sending statistics would cause the kernel Recv-Q buffer to be filled up.
#include "access/transam.h" #include "access/twophase_rmgr.h" #include "access/xact.h" +#include "access/xlog.h" #include "catalog/pg_database.h" #include "catalog/pg_proc.h" #include "executor/instrument.h" @@ -4519,6 +4520,15 @@ pgstat_send_bgwriter(void) /* We assume this initializes to zeroes */ static const PgStat...
Remove FIXME in reindexdb.c We are testing PG server version, so we should remain consistent with upstream and report the PostgreSQL version to the user, otherwise we would be carrying significant diffs across the codebase with upstream forward. Authored-by: Brent Doil
@@ -292,10 +292,6 @@ reindex_one_database(const char *name, const char *dbname, const char *type, conn = connectDatabase(dbname, host, port, username, prompt_password, progname, echo, false, false); - /* - * GPDB_12_MERGE_FIXME: do we still report this as PostgreSQL 12 or should - * it say Greenplum 7? - */ if (concurr...
Corrected CoinbaseMinConfimations
@@ -69,7 +69,7 @@ namespace MiningCore.Blockchain.Bitcoin public static readonly BigInteger Diff1 = BigInteger.Parse("00ffff0000000000000000000000000000000000000000000000000000", NumberStyles.HexNumber); - public const int CoinbaseMinConfimations = 101; + public const int CoinbaseMinConfimations = 102; } public class K...
examples/spiffs: increase test timeout This is to address frequent CI test failure where test most likely timeouts during SPIFFS formatting operation.
@@ -16,7 +16,7 @@ def test_examples_spiffs(env, extra_data): 'example: Reading file', 'example: Read from file: \'Hello World!\'', 'example: SPIFFS unmounted', - timeout=20) + timeout=60) if __name__ == '__main__':
interface: fix tsc error
@@ -14,7 +14,7 @@ interface ResourceRouteProps { name: string; } -export function PermalinkRoutes(props: {}) { +export function PermalinkRoutes(props: unknown) { const groups = useGroupState(s => s.groups); const { query, toQuery } = useQuery(); @@ -70,7 +70,7 @@ function GroupRoutes(props: { group: string; url: string...
grunt: Disable ec_feature kbbacklit by SKUID for barla Disable kbbacklit support for barla. BRANCH=grunt TEST=make buildall -j.
@@ -516,7 +516,8 @@ uint32_t board_override_feature_flags0(uint32_t flags0) * check if the current device is one of them and return * the default value - with backlight here. */ - if (sku == 16 || sku == 17 || sku == 20 || sku == 21) + if (sku == 16 || sku == 17 || sku == 20 || sku == 21 || sku == 32 + || sku == 33) re...
Fix incorrect release folder name in docs
@@ -27,13 +27,13 @@ $ make You could install to a user folder e.g `$HOME`: ``` -$ cd release; make install DESTDIR=$HOME +$ cd build/Release; make install DESTDIR=$HOME ``` Or system wide: ``` -$ cd release; sudo make install +$ cd build/Release; sudo make install ``` ## Linux
README: general legibility changes Describes what's literally in this repository.
# Urbit -A personal server operating function. +[Urbit](https://urbit.org) is a personal server stack built from scratch. It +has an identity layer (Azimuth), virtual machine (Vere), and operating system +(Arvo). -> The Urbit address space, Azimuth, is now live on the Ethereum blockchain. You -> can find it at [`0x223c...
windows: Support word-based move/delete key sequences for REPL. Translate common Ctrl-Left/Right/Delete/Backspace to the EMACS-style sequences (i.e. Alt key based) for forward-word, backward-word, forwad-kill and backward-kill. Requires MICROPY_REPL_EMACS_WORDS_MOVE to be defined so the readline implementation interpr...
@@ -141,7 +141,7 @@ typedef struct item_t { const char *seq; } item_t; -// map virtual key codes to VT100 escape sequences +// map virtual key codes to key sequences known by MicroPython's readline implementation STATIC item_t keyCodeMap[] = { {VK_UP, "[A"}, {VK_DOWN, "[B"}, @@ -153,10 +153,19 @@ STATIC item_t keyCodeM...
remove duplicate release
Summary: A general purpose library and file format for storing scientific data Name: p%{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} Version: 1.10.0 -Release: 1 Release: 1%{?dist} License: Hierarchical Data Format (HDF) Software Library and Utilities License Group: %{PROJ_NAME}/io-libs
Change log message level for FPGA_NO_DAEMON It should not be a critical error if fpgad is not started. This change prevents spurious error messages when running fpgadiag or similar apps without the fpgad daemon.
@@ -133,7 +133,7 @@ static fpga_result daemon_register_event(fpga_handle handle, } if (connect(_handle->fdfpgad, (struct sockaddr *)&addr, sizeof(addr)) < 0) { - FPGA_ERR("connect: %s", strerror(errno)); + FPGA_DBG("connect: %s", strerror(errno)); result = FPGA_NO_DAEMON; goto out_close_conn; }
travis: update macOS, Xcode and ruby versions
language: cpp dist: bionic -osx_image: xcode11.3 +osx_image: xcode11.4 # # Define the build matrix @@ -211,8 +211,8 @@ matrix: before_install: - | if [ "$TRAVIS_OS_NAME" = 'osx' ]; then - rvm install 2.6.4 - rvm use 2.6.4 + rvm install 2.6.5 + rvm use 2.6.5 gem install test-unit --no-document if [ "$CC" = 'gcc' ]; then...
[core] do not send Connection: close if h2
@@ -75,6 +75,7 @@ int http_response_write_header(request_st * const r) { if ((r->resp_htags & HTTP_HEADER_UPGRADE) && r->http_version == HTTP_VERSION_1_1) { http_header_response_set(r, HTTP_HEADER_CONNECTION, CONST_STR_LEN("Connection"), CONST_STR_LEN("upgrade")); } else if (0 == r->keep_alive) { + if (r->http_version ...
http_server: metrics: add Content-Type
#include <fluent-bit/flb_http_server.h> #include <msgpack.h> -#define PROMETHEUS_HEADER "text/plain; version=0.0.4" - #define null_check(x) do { if (!x) { goto error; } else {sds = x;} } while (0) pthread_key_t hs_metrics_key; @@ -515,9 +513,7 @@ void cb_metrics_prometheus(mk_request_t *request, void *data) buf->users-...
performance improvements for normals only work in 2018 alas.
@@ -1600,9 +1600,10 @@ OutputGeometryPart::computeMesh( { vertexLockedNormal = &lockedNormal; } - +#if MAYA_API_VERSION >= 201800 MIntArray edgeIds; MIntArray edgeSmoothing; +#endif size_t polygonVertexOffset = 0; for(MItMeshPolygon itMeshPolygon(meshDataObj); !itMeshPolygon.isDone(); itMeshPolygon.next()) @@ -1631,15 ...
filter_rewrite_tag: use proper logging API
@@ -40,7 +40,8 @@ static int emitter_create(struct flb_rewrite_tag *ctx) ret = flb_input_name_exists(ctx->emitter_name, ctx->config); if (ret == FLB_TRUE) { - flb_plg_error(ctx->ins, "emitter_name '%s' already exists"); + flb_plg_error(ctx->ins, "emitter_name '%s' already exists", + ctx->emitter_name); return -1; } @@ ...
Access data after obtaining the lock not before. It isn't completely clear that this constitutes a race condition, but it will always be conservative to access the locked data after getting the lock.
@@ -49,8 +49,8 @@ static EX_CALLBACKS *get_and_lock(OPENSSL_CTX *ctx, int class_index) return NULL; } - ip = &global->ex_data[class_index]; CRYPTO_THREAD_write_lock(global->ex_data_lock); + ip = &global->ex_data[class_index]; return ip; }
add one unit test case for warmstart
@@ -293,3 +293,46 @@ static bool test_iter_irgnm_l1(void) UT_REGISTER_TEST(test_iter_irgnm_l1); + +static bool test_iter_lsqr_warmstart(void) +{ + enum { N = 3 }; + long dims[N] = { 4, 2, 3 }; + + complex float* src1 = md_alloc(N, dims, CFL_SIZE); + complex float* dst1 = md_alloc(N, dims, CFL_SIZE); + complex float* ds...
lpc: Migrate BAR assignment to phys_map_get() Keeps existing address. No functional change.
#include <ccan/str/str.h> #include <interrupts.h> #include <inttypes.h> +#include <phys-map.h> +#include <chip.h> #include "hdata.h" @@ -316,12 +318,9 @@ static void bmc_create_node(const struct HDIF_common_hdr *sp) return; #define GB (1024ul * 1024ul * 1024ul) -#define MMIO_LPC_BASE_P9 0x6030000000000ul -#define MMIO_...
Prevent to turn screen off if no control If --no-control is set, then the controller is not initialized (both in the client and the server), so it is not possible to control the device to turn its screen off. See <https://github.com/Genymobile/scrcpy/issues/608>.
@@ -414,6 +414,11 @@ parse_args(struct args *args, int argc, char *argv[]) { } } + if (args->no_control && args->turn_screen_off) { + LOGE("Cannot request to turn screen off if control is disabled"); + return false; + } + return true; }
Correct IP mask code for class A, B and C networks
@@ -313,11 +313,11 @@ void DeRestPluginPrivate::configToMap(const ApiRequest &req, QVariantMap &map) continue; } - if ((ipv4 & 0xa0000000UL) != 0xa0000000UL && - (ipv4 & 0xb0000000UL) != 0xb0000000UL && - (ipv4 & 0xc0000000UL) != 0xc0000000UL) + if ((ipv4 & 0x80000000UL) != 0x00000000UL && // class A 0xxx xxxx + (ipv4 ...
Write payload if given
@@ -271,7 +271,15 @@ class SBP(object): self.parser.build_stream(payload, self.stream_payload) return self.stream_payload.length + def _write_payload(self, buf, offset, payload): + self.stream_payload.reset(buf, offset) + self.stream_payload.write(payload) + return self.stream_payload.length + def into_buffer(self, buf...
do not encode heaps management tuple
@@ -103,6 +103,7 @@ static void init_kernel_heaps_management(tuple root) set(heaps, sym(physical), heap_management((heap)heap_physical(kh))); set(heaps, sym(general), heap_management((heap)heap_general(kh))); set(heaps, sym(locked), heap_management((heap)heap_locked(kh))); + set(heaps, sym(no_encode), null_value); set(...
Fix abstract comment in quic_platform_posix.h that just claims it's for linux
Abstract: - This file contains linux platform implementation. + This file contains POSIX platform implementations of the + QUIC Platform Interfaces. Environment: - Linux user mode + POSIX user mode --*/
fix version flags for hilighting new menu items so they work for versions other than 2018
@@ -567,7 +567,7 @@ houdiniEngineCreateUI() global string $gMainWindow; setParent $gMainWindow; - + string $mayaVersion = `about -version`; menu -label "Houdini Engine" -tearOff true houdiniEngineMenu; @@ -598,13 +598,13 @@ houdiniEngineCreateUI() menuItem -label "Sync Asset" -command "houdiniEngine_syncSelectedAsset";...
Really fix zlib build with GCC 4. Note: mandatory check (NEED_CHECK) was skipped
@@ -433,15 +433,19 @@ typedef uLong FAR uLongf; #ifdef __GNUC__ # define Z_HAVE_UNISTD_H -#elif __has_include(<unistd.h>) +#else +# if __has_include(<unistd.h>) # define Z_HAVE_UNISTD_H # endif +#endif #ifdef __GNUC__ # define Z_HAVE_UNISTD_H -#elif __has_include(<stdarg.h>) +#else +# if __has_include(<stdarg.h>) # def...
Use i3's dimensions for initial scratchpad views See
@@ -16,8 +16,8 @@ static swayc_t *fetch_view_from_scratchpad() { wlc_view_set_output(view->handle, swayc_active_output()->handle); } if (!view->is_floating) { - view->width = swayc_active_workspace()->width/2; - view->height = swayc_active_workspace()->height/2; + view->width = swayc_active_workspace()->width * 0.5; + ...
Changelog note for Fix Undefine-shift in sldns_str2wire_hip_buf.
+25 January 2022: Wouter + - Fix #610: Undefine-shift in sldns_str2wire_hip_buf. + 19 January 2022: George - For dnstap, do not wakeupnow right there. Instead zero the timer to force the wakeup callback asap.
[bsp][stm32] add more stm32 bsp to ci
@@ -81,11 +81,17 @@ env: - RTT_BSP='stm32l475-iot-disco' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32l476-nucleo' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32h743-nucleo' RTT_TOOL_CHAIN='sourcery-arm' + - RTT_BSP='stm32/stm32f091-nucleo' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32f103-atk-nano' RTT_TOOL_CH...
pbdrv/nxtcolor: Support all ports
@@ -30,12 +30,30 @@ typedef struct { } pbdrv_nxtcolor_pininfo_t; static const pbdrv_nxtcolor_pininfo_t pininfo[4] = { + [PBIO_PORT_1 - PBIO_PORT_1] = { + .digi0 = 2, + .digi1 = 15, + .adc_val = 5, + .adc_con = 6, + }, [PBIO_PORT_2 - PBIO_PORT_1] = { .digi0 = 14, .digi1 = 13, .adc_val = 7, .adc_con = 8, }, + [PBIO_PORT_...
[chainmaker][#436]add longsize test case
@@ -207,6 +207,25 @@ START_TEST(test_001CreateWallet_0006_CreateOneTimeWalletFailureShortSize) } END_TEST +START_TEST(test_001CreateWallet_0007_CreateOneTimeWalletSucessLongSize) +{ + BSINT32 rtnVal; + BoatHlchainmakerWallet *g_chaninmaker_wallet_ptr; + BoatHlchainmakerWalletConfig wallet_config = get_chainmaker_wallet...
DDF: Remove old read/write/parse array function code
@@ -318,43 +318,19 @@ static DeviceDescription::Item DDF_ParseItem(const QJsonObject &obj) } const auto parse = obj.value(QLatin1String("parse")); - if (parse.isArray()) - { - const auto arr = parse.toArray(); - for (const auto &i : arr) - { - result.parseParameters.push_back(i.toVariant()); - } - } - else if (parse.is...