message
stringlengths
6
474
diff
stringlengths
8
5.22k
options/ansi: Add stub wcwidth() implementation
+#include <bits/ensure.h> #include <wchar.h> -#include <bits/ensure.h> +#include <frigg/debug.hpp> -int wcwidth(wchar_t wc) { - __ensure(!"Not implemented"); - __builtin_unreachable(); +int wcwidth(wchar_t) { + frigg::infoLogger() << "\e[35mmlibc: wcwidth() always returns 1\e[39m" << frigg::endLog; + return 1; }
Prototype check_range_waypoint_x().
@@ -2862,7 +2862,7 @@ int check_range_target_base(entity *ent, entity *target, s_anim *animation); int check_range_target_x(entity *ent, entity *target, s_anim *animation); int check_range_target_y(entity *ent, entity *target, s_anim *animation); int check_range_target_z(entity *ent, entity *target, s_anim *animation);...
Makefile: typo wrt LHFUZZ_OBJS
@@ -151,7 +151,7 @@ SRCS := $(COMMON_SRCS) $(ARCH_SRCS) OBJS := $(SRCS:.c=.o) LHFUZZ_SRCS := $(wildcard libhfuzz/*.c) -LHFUZZ_OBJS := $(LIBS_SRCS:.c=.o) +LHFUZZ_OBJS := $(LHFUZZ_SRCS:.c=.o) LHFUZZ_ARCH := libhfuzz/libhfuzz.a LCOMMON_SRCS := $(wildcard libcommon/*.c)
nat: remove duplicate line of code Type: fix
@@ -216,7 +216,6 @@ nat_free_session_data (snat_main_t * sm, snat_session_t * s, u32 thread_index, } else { - proto = snat_proto_to_ip_proto (s->in2out.protocol); l_port = s->in2out.port; r_port = s->ext_host_port; l_addr = &s->in2out.addr;
build: PackOne cosmetic changes Add single quotes to PackOne target description to match code style
@@ -149,8 +149,8 @@ Related features: </PropertyGroup> <PropertyGroup Condition="!$(Configuration.EndsWith('Debug'))"> - <PackOne_SourcePath Condition="$(PackOne_SourcePath)==''">objfre_$(TargetOS)_$(TargetArch)\$(PackOne_SourcePathArch)</PackOne_SourcePath> - <PackOne_DestinationPath Condition="$(PackOne_DestinationPa...
High-Level API: Add newline after code fence
@@ -148,6 +148,7 @@ Currently there is only one way to configure an `Elektra` instance: ```c void elektraFatalErrorHandler (Elektra * elektra, ElektraErrorHandler fatalErrorHandler); ``` + This allows you to set the callback called by Elektra, when a fatal error occurs. Technically a fatal error could occur at any time...
Remove bash syntax highlighting It's not helping. The text is example output, not a bash script.
@@ -61,7 +61,7 @@ index f878c5e..f10dcee 100644 } ``` -```bash +``` $ wuffs gen std/gif check: expression "(c + 1) as u8" bounds [1..256] is not within bounds [0..255] at /home/n/go/src/github.com/google/wuffs/std/gif/decode_lzw.wuffs:101. Facts: @@ -91,7 +91,7 @@ index f878c5e..b43443d 100644 } ``` -```bash +``` $ wuf...
stm32/boards/stm32f429.ld: Increase uPy heap size by 64k for F429 MCU. The F429 has 256k total RAM, with 64k already set aside for flash write cache, so the uPy heap can be increased this much.
@@ -26,4 +26,4 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); _ram_start = ORIGIN(RAM); _ram_end = ORIGIN(RAM) + LENGTH(RAM); _heap_start = _ebss; /* heap starts just after statically allocated memory */ -_heap_end = 0x2001c000; /* tunable */ +_heap_end = 0x2002c000; /* tunable */
adding libpthread pthread_attr_setguardsize and pthread_attr_getguardsize
GO(pthread_attr_destroy, iFp) // pthread_attr_getaffinity_np GO(pthread_attr_getdetachstate, iFpp) -// pthread_attr_getguardsize +GO(pthread_attr_getguardsize, iFpp) GO(pthread_attr_getinheritsched, iFpp) GO(pthread_attr_getschedparam, iFpp) GO(pthread_attr_getschedpolicy, iFpp) @@ -25,7 +25,7 @@ GO(pthread_attr_getsta...
Added update to release notes.
@@ -73,6 +73,7 @@ enhancements and bug-fixes that were added to this release.</p> <ul> <li>Changing the opacity for a Pseudocolor plot no longer affects the glyph type of glyphed points.</li> <li>Corrected an issue with installing host profiles after deleting or moving the .visit folder while VisIt is running.</li> + <...
evp_pmeth: free the MD reference correctly. The code was calling EVP_MD_meth_free which is incorrect. It should call EVP_MD_free. It happened to work but by luck rather than design.
@@ -834,7 +834,7 @@ static int legacy_ctrl_str_to_param(EVP_PKEY_CTX *ctx, const char *name, if (md == NULL) return 0; ret = EVP_PKEY_CTX_set_signature_md(ctx, md); - EVP_MD_meth_free(md); + EVP_MD_free(md); return ret; }
added github.com/go-sql-driver/mysql ([arc::pullid] 3bd975fe-de9563bc-fd701b73-4d7eb0c7)
@@ -24,6 +24,9 @@ ALLOW .* -> vendor/github.com/fsnotify/fsnotify # lightweight, idiomatic and composable router ALLOW .* -> vendor/github.com/go-chi/chi +# a pure Go MySQL driver +ALLOW .* -> vendor/github.com/go-sql-driver/mysql + # a pure Go implementation of Universally Unique Identifiers ALLOW .* -> vendor/github....
misc: update INFO.yaml Add Benoit Ganne to the committer list, remove committers who have resigned, list committers in alphabetical order. Type: fix
@@ -34,50 +34,35 @@ repositories: - 'vpp' committers: - <<: *vpp_ptl - - name: 'Keith Burns' - company: 'gmail' - email: 'alagalah@gmail.com' - id: 'alagalah' - timezone: '' - - name: 'Chris Luke' - company: 'comcast' - email: 'chris_luke@comcast.com' - id: 'chrisluke' - timezone: '' - name: 'Dave Barach' - company: 'b...
input: use calloc instead of malloc for dictionary entries
@@ -244,7 +244,7 @@ bool input_parseDictionary(honggfuzz_t* hfuzz) { LOG_D("Parsing word: '%s'", bufv); len = util_decodeCString(bufv); - struct strings_t* str = (struct strings_t*)util_Malloc(sizeof(struct strings_t) + len + 1); + struct strings_t* str = (struct strings_t*)util_Calloc(sizeof(struct strings_t) + len + ...
release: change package path context
@@ -442,7 +442,7 @@ def generateDebPackagePublishStages() { tasks << publish( 'debian-buster', - DOCKER_IMAGES.buster_installed.context, + 'buster', 'buster', 'buster', release.&publishDebPackages, @@ -451,7 +451,7 @@ def generateDebPackagePublishStages() { tasks << publish( 'debian-bullseye', - DOCKER_IMAGES.bullseye_...
Update docker build script. Remove versioned install of libgmp10 for sles15 and add 'zypper refresh' before prereq install.
@@ -56,7 +56,7 @@ prereq_array["centos7"]="yum install -y gcc-c++ git cmake wget vim openssl-devel prereq_array["centos8"]="yum install -y dnf-plugins-core && yum config-manager --set-enabled PowerTools && yum install -y gcc-c++ git cmake wget vim openssl-devel elfutils-libelf-devel pciutils-devel numactl-devel libffi-...
Update Travis to init examples submodule
@@ -63,6 +63,9 @@ jobs: - git clone --depth=10 --recursive https://github.com/pybricks/micropython - cd micropython/ports/pybricks - git checkout ${TRAVIS_COMMIT} + - cd examples + - git submodule update --init + - cd - - bricks/ev3dev/docker/setup.sh armel script: - docker exec --tty pybricks-ev3dev_armel make
Added SIMD exception for RV64 targets For compiling in SiFive Unmatched / Beagle V
@@ -83,6 +83,13 @@ else() set(X86 FALSE) endif() +if(CMAKE_SYSTEM_PROCESSOR MATCHES "riscv64") + set(RV64 TRUE) +else() + set(RV64 FALSE) +endif() + + if(CMAKE_COMPILER_IS_GNUCXX) #enable C++11 on older versions of cmake @@ -116,6 +123,9 @@ if(CMAKE_COMPILER_IS_GNUCXX) if ("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr" AND ...
build MAINTENANCE do not mix tests and source format
@@ -319,11 +319,6 @@ if(INSTALL_SYSCTL_CONF) install(FILES "${PROJECT_SOURCE_DIR}/66-sysrepo-disable-fs-protected_regular.conf" DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/sysctl.d/") endif() -# tests -if(ENABLE_TESTS) - find_package(CMocka 1.0.0) -endif() - if ("${BUILD_TYPE_UPPER}" STREQUAL "DEBUG") # enable before addi...
extmod/Matrix: add scale This allows us to take the negative or scale by a scalar without copying or modifying the matrix data.
@@ -279,6 +279,7 @@ STATIC const mp_obj_type_t robotics_DriveBase_type = { typedef struct _robotics_Matrix_obj_t { mp_obj_base_t base; float_t *data; + float_t scale; size_t m; size_t n; bool transposed; @@ -328,6 +329,9 @@ STATIC mp_obj_t robotics_Matrix_make_new(const mp_obj_type_t *type, size_t n_arg self->data[r * ...
bash: Update jjb version in jjb-sandbox-env function The version of jjb deployed in jenkins.fd.io was upgraded to 3.5.0. Make the sandbox setup function use the same version. Type: fix
@@ -230,7 +230,7 @@ jjb-sandbox-env() && python3 -m venv $VENV_DIR \ && source $VENV_DIR/bin/activate \ && pip3 install wheel \ - && pip3 install jenkins-job-builder==3.0.2 + && pip3 install jenkins-job-builder==3.5.0 alias jjsb='jenkins-jobs --conf $JENKINS_INI' function jjsb-test() {
test: fix generating random matrix
@@ -14,14 +14,14 @@ test_rand_mat4(mat4 dest) { /* random position */ dest[3][0] = drand48(); - dest[3][0] = drand48(); - dest[3][0] = drand48(); + dest[3][1] = drand48(); + dest[3][2] = drand48(); /* random rotatation around random axis with random angle */ glm_rotate(dest, drand48(), (vec3){drand48(), drand48(), dran...
add some defines to PIT driver
#include <std/common.h> #include <std/printf.h> +//channel 0 used for generating IRQ0 +#define PIT_PORT_CHANNEL0 0x40 +//channel 1 used for refreshing DRAM +#define PIT_PORT_CHANNEL1 0x41 +//channel 2 used for controlling speaker +#define PIT_PORT_CHANNEL2 0x42 +//command port for controlling PIT +#define PIT_PORT_COMM...
hv: vMSR: minor fix about rdmsr_vmexit_handler Specifying a reserved or unimplemented MSR address in ECX for rdmsr will cause a general protection exception. In this case, we should not change the contents of registers EDX:EAX.
@@ -713,9 +713,11 @@ int32_t rdmsr_vmexit_handler(struct acrn_vcpu *vcpu) } } + if (err == 0) { /* Store the MSR contents in RAX and RDX */ vcpu_set_gpreg(vcpu, CPU_REG_RAX, v & 0xffffffffU); vcpu_set_gpreg(vcpu, CPU_REG_RDX, v >> 32U); + } TRACE_2L(TRACE_VMEXIT_RDMSR, msr, v);
admin/examples: update template gmond.conf file to fix disk_total defaults
@@ -351,8 +351,8 @@ collection_group { /* Different than 2.5.x default since the old config made no sense */ collection_group { - collect_every = 1800 - time_threshold = 3600 + collect_every = 180 + time_threshold = 180 metric { name = "disk_total" value_threshold = 1.0
board/kano/led.c: Format with clang-format BRANCH=none TEST=none
@@ -19,22 +19,27 @@ __override const int led_charge_lvl_2 = 95; __override struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { - [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} }, - [STATE_CHARGING_LVL_2] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} }, - [STATE_CHARGING_FULL_CHARGE] ...
Check OCLint: Reformat file with `shfmt`
@@ -4,9 +4,15 @@ echo echo CHECK SOURCE WITH OCLINT echo -command -v oclint >/dev/null 2>&1 || { echo "Could not locate OCLint" >&2; exit 0; } +command -v oclint > /dev/null 2>&1 || { + echo "Could not locate OCLint" >&2 + exit 0 +} -test -f "@PROJECT_BINARY_DIR@/compile_commands.json" || { echo "Compilation database n...
nvbios/gpio: adjust input according to docs
@@ -258,15 +258,21 @@ static struct enum_val gpio_spec_in[] = { { 0x01, "AUXCH_HPD_1" }, { 0x02, "AUXCH_HPD_2" }, { 0x03, "AUXCH_HPD_3" }, + { 0x04, "AUXCH_HPD_4" }, + { 0x05, "AUXCH_HPD_5" }, + { 0x06, "AUXCH_HPD_6" }, - { 0x08, "NVIO_SLI_SENSE_0" }, - { 0x09, "NVIO_SLI_SENSE_1" }, + { 0x08, "RASTER_SYNC_0" }, + { 0x0...
build - Only find ivy lock file if /opt/releng/tools exists.
@@ -106,10 +106,12 @@ opt_write_test: # ---------------------------------------------------------------------- sync_tools: opt_write_test /opt/releng/apache-ant - @LCK_FILES=$$( find /opt/releng/tools -name "*.lck" ); \ + @if [ -d /opt/releng/tools ]; then \ + LCK_FILES=$$( find /opt/releng/tools -name "*.lck" ); \ if ...
Enable one test in 40http3-corrupted-scid-initial.t This one was accidentally commented out and committed.
@@ -51,7 +51,7 @@ wait_port({port => $quic_port, proto => 'udp'}); # Test 1: # Throw decryptable Initial first, then second-flight Initial with corrupted SCID # For the second packet, the correct behavior is to discard the packet. -#system("python", "t/udp-generator.py", "127.0.0.1", "$quic_port", "t/assets/quic-decryp...
tests: fix validation for new traceroute6 The "traceroute6" line goes into the log for some versions of traceroute6. Filter that line out when counting the number of hops.
@@ -35,7 +35,7 @@ echo "Running Traceroute" traceroute6 $IPADDR -m 5 | tee $BASENAME.scriptlog # Fetch traceroute6 status code (not $? because this is piped) STATUS=${PIPESTATUS[0]} -HOPS=`wc $BASENAME.scriptlog -l | cut -f 1 -d ' '` +HOPS=`grep -v traceroute $BASENAME.scriptlog | wc -l` echo "Closing simulation and tu...
Fix compile warnings;
@@ -147,7 +147,7 @@ static void openvrPoll() { lovrRetain(controller); lovrEventPush((Event) { .type = EVENT_CONTROLLER_ADDED, - .data.controller = { controller } + .data.controller = { controller, 0 } }); } break; @@ -160,7 +160,7 @@ static void openvrPoll() { lovrRetain(controller); lovrEventPush((Event) { .type = EV...
Move amd-stg-open builds to use aomp-dev for flang and aomp-extras
@@ -167,9 +167,9 @@ if [ "$AOMP_MAJOR_VERSION" == "12" ] ; then AOMP_PROJECT_REPO_NAME=${AOMP_PROJECT_REPO_NAME:-llvm-project} AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-amd-stg-open} AOMP_EXTRAS_REPO_NAME=${AOMP_EXTRAS_REPO_NAME:-aomp-extras} - AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-amd-stg-openm...
nimble/ll: Add proper verification for per adv enable hci We do not support ADI in periodic advertising so need to return proper error code if requested. Otherwise return an error if RFU bit is set. This fixes HCI/CCO/BI-34-C.
@@ -3962,6 +3962,18 @@ ble_ll_adv_periodic_enable(const uint8_t *cmdbuf, uint8_t len) return BLE_ERR_UNK_ADV_INDENT; } +#if MYNEWT_VAL(BLE_VERSION) >= 53 + if (cmd->enable & 0x02) { + return BLE_ERR_UNSUPPORTED; + } else if (cmd->enable & 0xfc) { + return BLE_ERR_INV_HCI_CMD_PARMS; + } +#else + if (cmd->enable & 0xfe) ...
fix: change guild::dati::joined_at from int64_t to uint64_t
@@ -687,7 +687,7 @@ struct dati { uint64_t system_channel_id; system_channel_flags::code system_channel_flags; uint64_t rules_channel_id; - int64_t joined_at; + uint64_t joined_at; bool large; bool unavailable; int member_count;
Fix TLS 1.2 and no sigalgs. For TLS 1.2 if we have no signature algorithms extension then lookup using the complete table instead of (empty) shared signature algorithms list so we pick up defaults.
@@ -1278,6 +1278,7 @@ int tls12_get_sigandhash(SSL *s, WPACKET *pkt, const EVP_PKEY *pk, { int md_id, sig_id; size_t i; + const SIGALG_LOOKUP *curr; if (md == NULL) return 0; @@ -1289,8 +1290,25 @@ int tls12_get_sigandhash(SSL *s, WPACKET *pkt, const EVP_PKEY *pk, if (SSL_IS_TLS13(s) && sig_id == EVP_PKEY_RSA) sig_id =...
Initialize Py_GetArgcArgv in Python 3. Use the custom Py_InitArgcArgv, as in Python 2.
#include <string.h> #include <locale.h> +void Py_InitArgcArgv(int argc, wchar_t **argv); + static const char* env_entry_point = "Y_PYTHON_ENTRY_POINT"; #ifdef _MSC_VER @@ -112,6 +114,7 @@ static int pymain(int argc, char** argv) { return Py_Main(argc, argv_copy); } + Py_InitArgcArgv(argc, argv_copy); if (argc >= 1) Py_...
get rid of passing outgoing packets
@@ -7291,7 +7291,7 @@ ll.sll_family = PF_PACKET; ll.sll_ifindex = ifr.ifr_ifindex; ll.sll_protocol = htons(ETH_P_ALL); ll.sll_halen = ETH_ALEN; -ll.sll_pkttype = PACKET_OTHERHOST | PACKET_OUTGOING; +ll.sll_pkttype = PACKET_OTHERHOST; if(bind(fd_socket, (struct sockaddr*) &ll, sizeof(ll)) < 0) { perror("failed to bind s...
make all links to issues, no more PRs
@@ -10,15 +10,15 @@ See the AppScope repo to view [all issues](https://github.com/criblio/appscope/i 2021-08-17 - Maintenance Pre-Release -- **Improvement**: [#444](https://github.com/criblio/appscope/pull/444) Add experimental support for Arm64 architecture, with limitations described in [issue 241](https://github.com...
spi_slave_hd: fix stack variable bug in seg_slave example Closes
@@ -290,14 +290,14 @@ void app_main(void) uint8_t init_value[SOC_SPI_MAXIMUM_BUFFER_SIZE] = {0x0}; spi_slave_hd_write_buffer(SLAVE_HOST, 0, init_value, SOC_SPI_MAXIMUM_BUFFER_SIZE); - uint32_t send_buf_size = 5000; - spi_slave_hd_write_buffer(SLAVE_HOST, SLAVE_MAX_TX_BUF_LEN_REG, (uint8_t *)&send_buf_size, 4); + static...
imxrt1050-evk/loadable_elf_apps: set configuration of address for mpu test Set addresses of kernel and app space for mpu test.
@@ -847,6 +847,8 @@ CONFIG_EXAMPLES_BINARY_UPDATE=y # CONFIG_EXAMPLES_EEPROM_TEST is not set CONFIG_EXAMPLES_ELF=y CONFIG_EXAMPLES_ELF_FULLYLINKED=y +CONFIG_MPU_TEST_KERNEL_CODE_ADDR=0x60000000 +CONFIG_MPU_TEST_APP_ADDR=0x80200100 # CONFIG_EXAMPLES_EVENTLOOP is not set # CONFIG_EXAMPLES_FOTA_SAMPLE is not set # CONFIG_...
build: removing shell set options from inline buildPhase for tests
@@ -9,8 +9,6 @@ stdenvNoCC.mkDerivation { phases = [ "buildPhase" "installPhase" "checkPhase" ]; buildPhase = '' - set -xeuo pipefail - if ! [ -f "$SSL_CERT_FILE" ]; then header "$SSL_CERT_FILE doesn't exist" exit 1
nfsuc update
@@ -90,8 +90,8 @@ void Init() { pattern = hook::pattern("C6 ? 98 00 00 00 01 A1 ? ? ? ? 85 C0 74 05 E8"); //0x575604 static auto dword_12BB200 = *pattern.get_first<uint32_t*>(25); - pattern = hook::pattern("A1 ? ? ? ? 33 C4 89 84 24 38 02 00 00 53 55 56 57 A1 ? ? ? ? 33 C4 50"); //0x5755C4 - static auto dword_1272378 =...
serial-libs/R: cleanup
@@ -43,7 +43,6 @@ Release: 1%{?dist} Version: 3.4.3 Source: https://cran.r-project.org/src/base/R-3/R-%{version}.tar.gz Source1: OHPC_macros -Patch: tre.patch Url: http://www.r-project.org/ Summary: R is a language and environment for statistical computing and graphics (S-Plus like). License: GPL-2.0 or GPL-3.0
Fix correct LOG_INFO in platform.c When logging info about channel and PANID a newline is added for each logging statement. It should only add a newline for the first LOG_INFO.
@@ -250,9 +250,9 @@ platform_init_stage_three(void) LOG_INFO("RF: Channel %d", chan); if(NETSTACK_RADIO.get_value(RADIO_PARAM_PAN_ID, &pan) == RADIO_RESULT_OK) { - LOG_INFO(", PANID 0x%04X", pan); + LOG_INFO_(", PANID 0x%04X", pan); } - LOG_INFO("\n"); + LOG_INFO_("\n"); LOG_INFO("Node ID: %d\n", node_id);
Don't update the session cache when processing a client certificate in TLSv1.3 We should only update the session cache when we issue a NewSessionTicket. These are issued automatically after processing a client certificate.
@@ -3608,9 +3608,6 @@ MSG_PROCESS_RETURN tls_process_client_certificate(SSL *s, PACKET *pkt) sk_X509_pop_free(s->session->peer_chain, X509_free); s->session->peer_chain = sk; - if (new_sess != NULL) - ssl_update_cache(s, SSL_SESS_CACHE_SERVER); - /* * Freeze the handshake buffer. For <TLS1.3 we do this after the CKE * ...
Use d8 instead of dx dx was deprecated years ago, and d8 replaces it. dx is removed in build-tools 31, so it's best not to depend on it. In addition, d8 now supports Java 11 (class version 55), which is required to use the javac bundled with Android Studio.
@@ -700,7 +700,7 @@ elseif(ANDROID) # - Imported targets need to have their libraries manually copied to raw/lib/<ABI> # - Figure out which Java class (Activity) and AndroidManifest.xml to use # - Oculus uses the regular android os layer, pico implements its own in the headset backend - # - Some of the Pico SDK is in a...
Fix menu command accessing value out of bounds from script_cmd_args
@@ -13,7 +13,7 @@ UWORD script_ptr = 0; UWORD script_ptr_x = 0; UWORD script_ptr_y = 0; UWORD script_start_ptr = 0; -UBYTE script_cmd_args[6] = {0}; +UBYTE script_cmd_args[7] = {0}; UBYTE script_cmd_args_len; SCRIPT_CMD_FN last_fn;
Update comments for PUBLISHED mqtt event
@@ -122,7 +122,10 @@ typedef enum { MQTT_EVT_CONNECT, /*!< MQTT client connect event */ MQTT_EVT_SUBSCRIBE, /*!< MQTT client subscribed to specific topic */ MQTT_EVT_UNSUBSCRIBE, /*!< MQTT client unsubscribed from specific topic */ - MQTT_EVT_PUBLISHED, /*!< MQTT client successfully published message to server */ + MQT...
adding libc getprotoent, getprotobyname, getprotobynumber, setprotoent, endprotoent
@@ -228,7 +228,7 @@ GOW(endmntent, iFp) // __endmntent // endnetent // endnetgrent -// endprotoent +GO(endprotoent, vFv) GO(endpwent, vFv) // endrpcent // endservent @@ -539,11 +539,11 @@ GO(__getpid, uFv) GOW(getppid, uFv) GO(getpriority, iFii) GOM(getrandom, iFEpuu) -// getprotobyname +GO(getprotobyname, pFp) // getp...
Describe ngtcp2_ssize
@@ -73,6 +73,11 @@ extern "C" { # endif /* !BUILDING_NGTCP2 */ #endif /* !defined(WIN32) */ +/** + * @typedef + * + * :type:`ngtcp2_ssize` is signed counterpart of size_t. + */ typedef ptrdiff_t ngtcp2_ssize; /**
Update ext dataplane with recent proto messages This fixes a crash in felix when running with an external dataplane configured.
@@ -183,6 +183,21 @@ func (fc *extDataplaneConn) SendMessage(msg interface{}) error { envelope.Payload = &proto.ToDataplane_NamespaceUpdate{NamespaceUpdate: msg} case *proto.NamespaceRemove: envelope.Payload = &proto.ToDataplane_NamespaceRemove{NamespaceRemove: msg} + case *proto.RouteUpdate: + envelope.Payload = &prot...
Style fixes for bind.c
@@ -69,7 +69,8 @@ bool binding_key_compare(struct sway_binding *binding_a, return true; } -static struct cmd_results * cmd_bindsym_or_bindcode(int argc, char **argv, bool bindcode) { +static struct cmd_results *cmd_bindsym_or_bindcode(int argc, char **argv, + bool bindcode) { const char *bindtype = bindcode ? "bindcode...
Parser: Remove double-duty from calculating gc flags.
@@ -4593,17 +4593,8 @@ static void determine_class_gc_flag(lily_parse_state *parser, lily_named_sym *member_iter = target->members; while (member_iter) { - /* Class/Enum methods do not count toward circularity. */ - if (member_iter->item_kind != ITEM_TYPE_VAR) { - lily_type *type = member_iter->type; - mark |= get_gc_f...
py/emitnative: Reuse mp_native_type_from_qstr when searching for a cast.
@@ -1189,23 +1189,9 @@ STATIC void emit_native_load_global(emit_t *emit, qstr qst, int kind) { DEBUG_printf("load_global(%s)\n", qstr_str(qst)); if (emit->do_viper_types) { // check for builtin casting operators - if (qst == MP_QSTR_int) { - emit_post_push_imm(emit, VTYPE_BUILTIN_CAST, VTYPE_INT); - return; - } else if...
Improve PhGetObjectTypeName
@@ -1496,13 +1496,17 @@ PPH_STRING PhGetObjectTypeName( _In_ ULONG TypeIndex ) { + static PH_INITONCE initOnce = PH_INITONCE_INIT; static POBJECT_TYPES_INFORMATION objectTypes = NULL; POBJECT_TYPE_INFORMATION objectType; PPH_STRING objectTypeName = NULL; ULONG i; - if (!objectTypes) // HACK (dmex) + if (PhBeginInitOnce...
Remove TCOD_SDL2 define from SCons samples.
@@ -78,7 +78,7 @@ def samples_factory(): installers = [] env_samples = env.Clone() - env_samples.Append(CPPDEFINES=['TCOD_SDL2'], CPPPATH=['$VARIANT/src']) + env_samples.Append(CPPPATH=['$VARIANT/src']) if env['TOOLSET'] == 'mingw': # These might need to be statically linked somewhere. env_samples.Append(LINKFLAGS=['-s...
natpmp: oops. missed a sav_errno
@@ -53,6 +53,7 @@ int readNatResponseSynchronously(natpmp_t* natpmp, natpmpresp_t * response) FD_SET(natpmp->s, &fds); getnatpmprequesttimeout(natpmp, &timeout); r = select(FD_SETSIZE, &fds, NULL, NULL, &timeout); + sav_errno = errno; if(r<0) { fprintf(stderr, "select(): errno=%d '%s'\n", sav_errno, strerror(sav_errno)...
Update picosock header for int dest_if
@@ -165,13 +165,13 @@ int picoquic_select(SOCKET_TYPE* sockets, int nb_sockets, int picoquic_send_through_socket( SOCKET_TYPE fd, struct sockaddr* addr_dest, - struct sockaddr* addr_from, unsigned long from_if, + struct sockaddr* addr_from, int from_if, const char* bytes, int length, int* sock_err); int picoquic_send_t...
check-format.pl: Fix report on constant on LHS of comparison or assignment
@@ -858,7 +858,7 @@ while (<>) { # loop over all lines of all input files report("single-letter name '$2'") if (m/(^|.*\W)([IO])(\W.*|$)/); # single-letter name 'I' or 'O' # maybe re-add 'l'? # constant on LHS of comparison or assignment, e.g., NULL != x or 'a' < c, but not a + 1 == b - report("constant on LHS of '$2'"...
skiboot: Document P9 possible flags to OPAL_REINIT_CPUS
@@ -15,6 +15,8 @@ Currently, possible flags are: :: enum { OPAL_REINIT_CPUS_HILE_BE = (1 << 0), OPAL_REINIT_CPUS_HILE_LE = (1 << 1), + OPAL_REINIT_CPUS_MMU_HASH = (1 << 2), + OPAL_REINIT_CPUS_MMU_RADIX = (1 << 3), }; Extra flags may be added in the future, so other bits *must* be 0. @@ -25,7 +27,8 @@ flags will return ...
nissa: disable USB4 and TBT support options The Nissa hardware doesn't support either of USB4 or TBT compatibility mode: turn off the config options for them. TEST=builds BRANCH=none
@@ -113,6 +113,9 @@ CONFIG_PLATFORM_EC_USBC=y CONFIG_PLATFORM_EC_USBC_PPC=n CONFIG_PLATFORM_EC_USB_VID=0x18d1 CONFIG_PLATFORM_EC_USB_PID=0x505a +# USB4 and TBT are unsupported +CONFIG_PLATFORM_EC_USB_PD_USB4=n +CONFIG_PLATFORM_EC_USB_PD_TBT_COMPAT_MODE=n # TODO(b/216085548): configure USB retimers CONFIG_PLATFORM_EC_US...
Reinserted initialization if obliquity and rotper in VerifyDB15. It'd be preferable for this model to not use derivatives at all, but that's too complicated to implement right now.
@@ -3824,6 +3824,19 @@ void VerifyDB15(BODY *body,CONTROL *control,FILES *files,OPTIONS *options,OUTPUT /* Everything OK, assign Updates */ + for (iPert=0;iPert<body[iBody].iTidePerts;iPert++) { + + /* Obliquity */ + // Xobl + InitializeXoblEqtide(body,update,iBody,iPert); + // Yobl + InitializeYoblEqtide(body,update,i...
Shutting of regression testing.
@@ -25,7 +25,7 @@ script: - cd tests - ctest # run regression tests - - cd $EPANET_HOME - - pip install -r tools/requirements.txt - - tools/before-test.sh $TEST_HOME $EPANET_HOME/$BUILD_HOME/bin $TRAVIS_COMMIT - - tools/run-nrtest.sh $TEST_HOME $TRAVIS_COMMIT + #- cd $EPANET_HOME + #- pip install -r tools/requirements....
ci: add "swap-move enc-rsa sig-rsa"
@@ -14,7 +14,7 @@ matrix: - os: linux env: SINGLE_FEATURES="sig-ecdsa sig-ed25519 enc-kw bootstrap" TEST=sim - os: linux - env: SINGLE_FEATURES="none sig-rsa sig-rsa3072 overwrite-only validate-primary-slot" TEST=sim + env: SINGLE_FEATURES="none sig-rsa sig-rsa3072 overwrite-only validate-primary-slot swap-move" TEST=s...
classify: crash on classify filter pcap del command If classify pcap filter was never configured, typing the delete command causes a crash. The reason is cm->classify_table_index_by_sw_if_index not yet allocated. The fix is to add a check before we access the vector. Type: fix Fixes: gerrit 28475
@@ -1786,6 +1786,7 @@ classify_set_pcap_chain (vnet_classify_main_t * cm, * Put the table index where device drivers can find them. * This table index will be either a valid table or a ~0 to clear it. */ + if (vec_len (cm->classify_table_index_by_sw_if_index) > sw_if_index) cm->classify_table_index_by_sw_if_index[sw_if...
ames: remove stale comment
"cork plea {<sndr rcvr bone=bone vane.plea path.plea>}" abet:(on-memo:(make-peer-core peer-state channel) bone plea %plea) :: +on-kroc: explicitly cork a flow on the provided bone - :: TODO: refactor :: ++ on-kroc |= [=ship =bone]
tinyusb: Fix bulk endpoint size for high speed High speed device bulk endpoint max packet size is 512 per USB 2.0 specification 5.8.3 Bulk Transfer Packet Size Constraints. This fixes endpoint sizes in standard descriptors.
@@ -254,13 +254,15 @@ const uint8_t desc_configuration[] = { #if CFG_TUD_BTH TUD_BTH_DESCRIPTOR(ITF_NUM_BTH, BTH_IF_STR_IX, USBD_BTH_EVENT_EP, USBD_BTH_EVENT_EP_SIZE, - USBD_BTH_EVENT_EP_INTERVAL, USBD_BTH_DATA_IN_EP, USBD_BTH_DATA_OUT_EP, USBD_BTH_DATA_EP_SIZE, + USBD_BTH_EVENT_EP_INTERVAL, USBD_BTH_DATA_IN_EP, USBD_B...
out_s3: replaced mbedtls with our flb_crypto
#include <fluent-bit/flb_config_map.h> #include <fluent-bit/flb_aws_util.h> #include <fluent-bit/aws/flb_aws_compress.h> +#include <fluent-bit/flb_crypto.h> #include <fluent-bit/flb_signv4.h> #include <fluent-bit/flb_scheduler.h> #include <fluent-bit/flb_gzip.h> #include <stdlib.h> #include <sys/stat.h> -#include <mbed...
move disable post build checks
@@ -32,9 +32,8 @@ BuildRequires: kernel-devel = %{centos_kernel} %define kobjdir /lib/modules/%{centos_kernel}.x86_64/build/ %endif -BuildRequires: -post-build-checks - %endif +BuildRequires: -post-build-checks %endif
Allow selecting an instancer when doing Set to Selection
@@ -61,6 +61,7 @@ validateInputObjects(string $objects[], else if(`objectType -isAType "mesh" $object` || `objectType -isAType "particle" $object` || `objectType -isAType "hairSystem" $object` + || `objectType -isAType "instancer" $object` ) { $validObjects[size($validObjects)] = $object; @@ -193,6 +194,20 @@ getInputN...
vfs: fix a fallthrough comment to silence the warning
@@ -443,7 +443,9 @@ static int uart_tcsetattr(int fd, int optional_actions, const struct termios *p) errno = EINVAL; return -1; } - // intentional fall-through to the next case + + /* FALLTHRU */ + case TCSAFLUSH: if (uart_flush_input(fd) != ESP_OK) { errno = EINVAL;
interface: tweak permissions copy
@@ -21,19 +21,19 @@ export function GroupFeedPermsInput( name={id} id=" " label="Everyone" - caption="Everyone in this group can post and edit this feed" + caption="Everyone in this group can post to this feed" /> <Radio name={id} id="host-feed" label="Host Only" - caption="Only the host can post this feed. Everyone el...
mdns: use const char* for mdns txt items types to remove warning when assigning
@@ -44,8 +44,8 @@ typedef enum { * Used in mdns_service_add() */ typedef struct { - char * key; /*!< item key name */ - char * value; /*!< item value string */ + const char * key; /*!< item key name */ + const char * value; /*!< item value string */ } mdns_txt_item_t; /**
add JXCore license
@@ -2224,3 +2224,7 @@ Rhodes contains code from the following other projects: EzCrypto (http://ezcrypto.rubyforge.org/) License: MIT (http://ezcrypto.rubyforge.org/) + + JXcore (https://github.com/jxcore/jxcore) + License: MIT-Style (https://github.com/jxcore/jxcore/blob/master/JXCORE_LICENSE) +
netkvm: Prepare DriverEntry for build with NDIS 6.80 This is preparation patch (we do not build the driver for 6.80 yet). In case of NDIS 6.80 report proper revision for miniport driver characteristics.
@@ -1109,7 +1109,13 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath chars.DirectOidRequestHandler = ParaNdis6x_DirectOidRequest; chars.CancelDirectOidRequestHandler = ParaNdis6x_CancelDirectOidRequest; #endif - +#if NDIS_SUPPORT_NDIS680 + if (CheckNdisVersion(6, 80)) + { + chars.Head...
Update comment related to ENABLE_CUSTOM_FIRRTL_PASS
@@ -17,7 +17,7 @@ HELP_COMPILATION_VARIABLES += \ " EXTRA_SIM_SOURCES = additional simulation sources needed for simulator" \ " EXTRA_SIM_REQS = additional make requirements to build the simulator" \ " ENABLE_SBT_THIN_CLIENT = if set, use sbt's experimental thin client (works best when overridding SBT_BIN with the main...
Attempt at fixing compile on CI.
@@ -317,10 +317,11 @@ static void _u3_lmdb_write_event_cb(uv_work_t* req) { request->first_event, mdb_strerror(ret_w)); } else { + c3_d through = request->first_event + request->event_count - 1ULL; u3l_log("lmdb: failed to commit events %" PRIu64 " through %" PRIu64 ": %s\n", request->first_event, - request->first_even...
iOS: fix crash during build xcode project
@@ -2296,7 +2296,7 @@ def add_linker_library(libraryname) end def add_inker_library_absolute(fulllibraryfilepath) - $ldflags << fulllibraryfilepath + "\n" + $ldflags << fulllibraryfilepath + "\n" unless $ldflags.nil? end def set_linker_flags
doc/man3/X509_LOOKUP_meth_new.pod: clarify the requirements The documentation of what a X509_LOOKUP implementation must do was unclear and confusing. Most of all, clarification was needed that it must store away the found objects in the X509_STORE. Fixes
@@ -150,10 +150,20 @@ the X509_LOOKUP context, the type of the X509_OBJECT being requested, parameters related to the lookup, and an X509_OBJECT that will receive the requested object. -Implementations should use either X509_OBJECT_set1_X509() or -X509_OBJECT_set1_X509_CRL() to set the result. Any method data that was ...
Have help show exp format for small floats
@@ -135,6 +135,7 @@ int survive_print_help_for_parameter(SurviveContext *ctx, const char *tomap) { static const char *USAGE_FORMAT_BOOL = "%15d "; static const char *USAGE_FORMAT_INT = "%15d "; static const char *USAGE_FORMAT_FLOAT = "%15f "; +static const char *USAGE_FORMAT_SMALL_FLOAT = "%15e "; static const char *US...
Fix small font for gl
@@ -102,6 +102,7 @@ void imgui_create(void *ctx) state.font = io.Fonts->AddFontFromMemoryCompressedBase85TTF(ttf_compressed_base85, font_size, &font_cfg, glyph_ranges); state.font1 = io.Fonts->AddFontFromMemoryCompressedBase85TTF(ttf_compressed_base85, font_size * 0.55, &font_cfg, glyph_ranges); + sw_stats.font1 = stat...
Tests: Julian test does not need data download
@@ -46,6 +46,7 @@ list( APPEND tests_no_data_reqd md5 uerra grib_2nd_order_numValues + julian ) # These tests do require data downloads list( APPEND tests_data_reqd @@ -109,7 +110,6 @@ list( APPEND tests_data_reqd second_order multi_from_message change_scanning - julian statistics tigge tigge_conversions
Update documentation copyright.
@@ -74,7 +74,7 @@ RESOURCES = \ DOCFLAGS = \ --author "Michael R Sweet" \ - --copyright "Copyright (c) 2020-2021 by Michael R Sweet" \ + --copyright "Copyright (c) 2020-2022 by Michael R Sweet" \ --docversion $(PAPPL_VERSION) .SUFFIXES: md
guybrush: Enable debug configs Enable debug configs to help with debugging. TEST=Build BRANCH=None
/* Optional features */ #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */ -#define CONFIG_LTO +#define CONFIG_LTO /* Link-Time Optimizations to reduce code size */ +#define CONFIG_BRINGUP /* EC will not automatically power on the AP */ +#define CONFIG_I2C_DEBUG /* Print i2c traces */ +#define ...
DEV sync NWK address in poll state If a device changes its NWK address this need to be synced from core to the device resource item.
@@ -1732,6 +1732,15 @@ void DEV_PollIdleStateHandler(Device *device, const Event &event) } else if (event.what() == REventPoll || event.what() == REventAwake) { + if (device->node()) // update nwk address if needed + { + const auto &addr = device->node()->address(); + if (addr.hasNwk() && addr.nwk() != device->item(RAt...
moved to https
static long int uploadcountok; static long int uploadcountfailed; -static const char *wpasecurl = "http://wpa-sec.stanev.org"; +static const char *wpasecurl = "https://wpa-sec.stanev.org"; static bool removeflag = false; /*===========================================================================*/ static int testwpas...
bignum_mod_raw.py: Added BignumModRawModNegate. This patch adds autogenerated inputs for the `mpi_mod_raw_neg()` test in the bignum_mod_raw suite.
@@ -109,7 +109,18 @@ class BignumModRawConvertFromMont(bignum_common.ModOperationCommon, result = (self.int_a * self.r_inv) % self.int_n return [self.format_result(result)] +class BignumModRawModNegate(bignum_common.ModOperationCommon, + BignumModRawTarget): + """ Test cases for mpi_mod_raw_neg(). """ + test_function =...
Simplify C defines;
var LibraryLOVR = { - $lovr: { - WebVR: { - C: { + $C: { ORIGIN_HEAD: 0, ORIGIN_FLOOR: 1, EYE_LEFT: 0, - EYE_RIGHT: 1, - sizeofController: 24 - } + EYE_RIGHT: 1 + }, + $lovr: { + WebVR: { initialized: false, mirrored: true, renderCallback: null, @@ -104,7 +103,7 @@ var LibraryLOVR = { }, webvrGetOriginType: function() ...
device-request.md: Add more guidance and hints; use comments and headings
--- name: Device Request -about: This form helps in requesting a new device to be supported. -title: "[DEVICE SUPPORT REQUEST] - Devicename" +about: Request a new device to be supported. +title: "Device Support: Device name" labels: Device Request assignees: '' --- -Before requesting a device, please make sure to searc...
Change yield tables to be more lenient
@@ -938,11 +938,11 @@ void ged_do_stuff(Ged* a) { if (sdiff >= secs_span) { a->clock = now; a->accum_secs = sdiff - secs_span; - // fprintf(stderr, "err: %f\n", a->accum_secs); + fprintf(stderr, "err: %f\n", a->accum_secs); do_play = true; break; } - if (secs_span - sdiff > ms_to_sec(0.5)) + if (secs_span - sdiff > ms_...
local-gadget-tracer-manager: Fix leak fds testing Increase the maximum time we wait before failing the test to give enough time to the runcnotify poll logic to finish.
@@ -40,6 +40,18 @@ import ( var rootTest = flag.Bool("root-test", false, "enable tests requiring root") +const ( + // The product of these to contansts defines the maximum wait + // time before failing the checkFdList condition. These should + // be large enough to allow all resources to be freeded. There + // is a pol...
numerics: add a set internal solver (for python interface)
@@ -957,3 +957,17 @@ SolverOptions * solver_options_get_internal_solver(SolverOptions * options, size return options->internalSolvers[n]; } +void solver_options_set_internal_solver(SolverOptions * options, + size_t n, + SolverOptions* NSO) +{ + if(n+1 > options->numberOfInternalSolvers) + { + printf("solver_options_set...
fixed pinned-memory option
@@ -202,7 +202,8 @@ namespace NCatboostOptions { CopyOption(plainOptions, "devices", &systemOptions, &seenKeys); CopyOption(plainOptions, "used_ram_limit", &systemOptions, &seenKeys); CopyOption(plainOptions, "gpu_ram_part", &systemOptions, &seenKeys); - CopyOption(plainOptions, "pinned_memory_size", &systemOptions, &s...
Fixed incorrect NIDs for SceJpegEncArm functions Was using same NIDs as SceJpegEnc before.
@@ -2727,14 +2727,14 @@ modules: kernel: false nid: 0xCF9C23A2 functions: - sceJpegArmEncoderEncode: 0xC60DE94C - sceJpegArmEncoderEnd: 0xC87AA849 - sceJpegArmEncoderGetContextSize: 0x2B55844D - sceJpegArmEncoderInit: 0x88DA92B4 - sceJpegArmEncoderSetCompressionRatio: 0xB2B828EC - sceJpegArmEncoderSetHeaderMode: 0x2F58...
[core] short-circuit connection_write_throttle() short-circuit connection_write_throttle() when throttling not enabled
@@ -244,34 +244,39 @@ static void connection_handle_response_end_state(request_st * const r, connectio } } + +__attribute_pure__ static off_t -connection_write_throttle (connection * const con, off_t max_bytes) +connection_write_throttled (const connection * const con, off_t max_bytes) { - request_st * const r = &con->...
table: remove NotImplementedError on LpmTrie __delitem__ calls BPF_MAP_TYPE_LPM_TRIE supports element deletion since kernel commit ("bpf: Implement map_delete_elem for BPF_MAP_TYPE_LPM_TRIE") which is available in 4.15 kernels onwards.
@@ -733,10 +733,6 @@ class LpmTrie(TableBase): def __len__(self): raise NotImplementedError - def __delitem__(self, key): - # Not implemented for lpm trie as of kernel commit - # b95a5c4db09bc7c253636cb84dc9b12c577fd5a0 - raise NotImplementedError class StackTrace(TableBase): MAX_DEPTH = 127
uwp: fixing win32
@@ -7,8 +7,10 @@ iphone: android: exttype: prebuilt -libraries: ["openssl.so"] +uwp: + csharp_impl: no + project_paths: uwp: ext/uwp/opensslso.vcxproj -platforms: ["wm", "iphone", "android", "uwp", "win32"] \ No newline at end of file +#platforms: ["wm", "iphone", "android", "uwp", "win32"] \ No newline at end of file
Clean up build.yml
@@ -59,13 +59,11 @@ jobs: - name: Configure autotools if: matrix.buildtool == 'autotools' run: | - autoreconf -i && ./configure --enable-werror $AUTOTOOLS_OPTS + autoreconf -i && ./configure --enable-werror - name: Configure cmake if: matrix.buildtool == 'cmake' - # Set CMAKE_LIBRARY_ARCHITECTURE to workaround failure ...
fix: fix ethereum test makefile
@@ -15,7 +15,7 @@ DEPENDENCE_LIBS = $(BOAT_LIB_DIR)/libboatwallet.a \ -lsubunit BOAT_CFLAGS += -DTEST_ETHEREUM_NODE_URL=\"$(ETHEREUM_NODE_URL)\"\ - -DTEST_KEY_TYPE=$(BOAT_WALLET_PRIKEY_FORMAT_NATIVE) + -DTEST_KEY_TYPE=\"$(KEY_TYPE)\" all: $(OBJECTS_DIR) $(OBJECTS) $(CC) $(BOAT_CFLAGS) $(BOAT_LFLAGS) $(OBJECTS) $(DEPEND...