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);
-
+int check_range_waypoint_x(s_anim *animation, int waypoint);
void generate_basemap(int map_index, float rx, float rz, float x_size, float z_size, float min_a, float max_a, int x_cont);
int testmove(entity *, float, float, float, float);
|
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_DestinationPath)==''">$(PackOne_DestinationPrefix)Install\$(TargetOS)\$(TargetArch)</PackOne_DestinationPath>
+ <PackOne_SourcePath Condition="'$(PackOne_SourcePath)'==''">objfre_$(TargetOS)_$(TargetArch)\$(PackOne_SourcePathArch)</PackOne_SourcePath>
+ <PackOne_DestinationPath Condition="'$(PackOne_DestinationPath)'==''">$(PackOne_DestinationPrefix)Install\$(TargetOS)\$(TargetArch)</PackOne_DestinationPath>
</PropertyGroup>
<!-- $(PackOne_CopyWdf) and $(PackOne_WdfCoinstaller) -->
|
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, but
the most common use case for this callback is inside of functions that do not take a separate `ElektraError` argument. For example,
this function will be called, when any of the getter-functions is called on a non-existent key which is not part of any specification,
|
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
+```
$ wuffs gen std/gif
gen wrote: /home/n/go/src/github.com/google/wuffs/gen/c/gif.c
gen unchanged: /home/n/go/src/github.com/google/wuffs/gen/h/gif.h
|
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_getstacksize, iFpp)
GO(pthread_attr_init, iFp)
// pthread_attr_setaffinity_np
GO(pthread_attr_setdetachstate, iFpi)
-// pthread_attr_setguardsize
+GO(pthread_attr_setguardsize, iFpu)
GO(pthread_attr_setinheritsched, iFpi)
GO(pthread_attr_setschedparam, iFpp)
GO(pthread_attr_setschedpolicy, iFpi)
|
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>
+ <li>Removed the visual artifacts of the Expressions window that were present on first draw.</li>
</ul>
<a name="Build_features"></a>
|
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.com/gofrs/uuid
|
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: '[email protected]'
- id: 'alagalah'
- timezone: ''
- - name: 'Chris Luke'
- company: 'comcast'
- email: '[email protected]'
- id: 'chrisluke'
- timezone: ''
- name: 'Dave Barach'
- company: 'barachs'
+ company: 'cisco'
email: '[email protected]'
id: 'dbarach'
timezone: ''
- - name: 'Damjan Marion'
- company: 'cisco'
- email: '[email protected]'
- id: 'dmarion'
- timezone: ''
- - name: 'Dave Wallace'
- company: 'gmail'
- email: '[email protected]'
- id: 'dwallacelf'
- timezone: ''
- name: 'Florin Coras'
- company: 'gmail'
+ company: 'cisco'
email: '[email protected]'
id: 'florin.coras'
timezone: ''
- - name: 'Ed Warnicke'
- company: 'gmail'
- email: '[email protected]'
- id: 'hagbard'
+ - name: 'Benoit Ganne'
+ company: 'cisco'
+ email: '[email protected]'
+ id: 'bganne'
timezone: ''
- name: 'John Lo'
company: 'cisco'
email: '[email protected]'
id: 'lojohn'
timezone: ''
- - name: 'Marco Varlese'
- company: 'suse'
- email: '[email protected]'
- id: 'marco.varlese'
+ - name: 'Chris Luke'
+ company: 'comcast'
+ email: '[email protected]'
+ id: 'chrisluke'
+ timezone: ''
+ - name: 'Damjan Marion'
+ company: 'cisco'
+ email: '[email protected]'
+ id: 'dmarion'
timezone: ''
- name: 'Neale Ranns'
company: 'cisco'
@@ -89,10 +74,25 @@ committers:
email: '[email protected]'
id: 'otroan'
timezone: ''
- - name: 'Sergio Gonzalez Monroy'
- company: 'outlook'
- email: '[email protected]'
- id: 'smonroy'
+ - name: 'Paul Vinciguerra'
+ company: 'vinciconsulting'
+ email: '[email protected]'
+ id: 'pvinci'
+ timezone: ''
+ - name: 'Dave Wallace'
+ company: 'gmail'
+ email: '[email protected]'
+ id: 'dwallacelf'
+ timezone: ''
+ - name: 'Ed Warnicke'
+ company: 'gmail'
+ email: '[email protected]'
+ id: 'hagbard'
+ timezone: ''
+ - name: 'Andrew Yourtchenko'
+ company: 'cisco'
+ email: '[email protected]'
+ id: 'ayourtch'
timezone: ''
tsc:
# yamllint disable rule:line-length
|
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 + 1);
memcpy(str->s, bufv, len);
str->len = len;
hfuzz->mutate.dictionaryCnt++;
|
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_installed.context,
+ 'bullseye',
'bullseye',
'bullseye',
release.&publishDebPackages,
@@ -460,7 +460,7 @@ def generateDebPackagePublishStages() {
tasks << publish(
'ubuntu-focal',
- DOCKER_IMAGES.focal_installed.context,
+ 'focal',
'focal',
'focal',
release.&publishDebPackages,
@@ -469,7 +469,7 @@ def generateDebPackagePublishStages() {
tasks << publish(
'ubuntu-bionic',
- DOCKER_IMAGES.bionic_installed.context,
+ 'bionic',
'bionic',
'bionic',
release.&publishDebPackages,
@@ -505,7 +505,7 @@ def generatePublishStages() {
// no shared DB is used.
tasks << publish(
'fedora-33',
- DOCKER_IMAGES.fedora_33_installed.context,
+ 'fedora33',
'fedora-33',
'fedora-33',
release.&publishRpmPackages,
@@ -514,7 +514,7 @@ def generatePublishStages() {
tasks << publish(
'fedora-34',
- DOCKER_IMAGES.fedora_34_installed.context,
+ 'fedora34',
'fedora-34',
'fedora-34',
release.&publishRpmPackages,
@@ -718,7 +718,7 @@ def publish(correspondingReleaseStageName, context, repoName,
copyReleaseArtifact(correspondingReleaseStageName)
dir('copy') {
deleteDir()
- sh "mv ../package/${context}* ./"
+ sh "mv ../${RELEASE_VERSION}/package/${context}/* ./"
publishPackagesFun(
'doc.libelektra.org',
|
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-devel mesa-libGL-devel libtool texinfo bison flex ncurses-devel expat-devel xz-devel libbabeltrace-devel gmp-devel rpm-build rsync && $pip_install"
-prereq_array["sles15"]="zypper install -y libgmp10-6.2.0-3.1.x86_64 which cmake wget vim libopenssl-devel elfutils libelf-devel git pciutils-devel python-base libffi-devel gcc gcc-c++ libnuma-devel openmpi2-devel Mesa-libGL-devel libquadmath0 libtool texinfo bison flex babeltrace-devel python3 python3-pip python3-devel python3-setuptools makeinfo ncurses-devel libexpat-devel xz-devel gmp-devel rpm-build rsync; $pip_install"
+prereq_array["sles15"]="zypper install -y which cmake wget vim libopenssl-devel elfutils libelf-devel git pciutils-devel python-base libffi-devel gcc gcc-c++ libnuma-devel openmpi2-devel Mesa-libGL-devel libquadmath0 libtool texinfo bison flex babeltrace-devel python3 python3-pip python3-devel python3-setuptools makeinfo ncurses-devel libexpat-devel xz-devel gmp-devel rpm-build rsync; $pip_install"
# Some prep
default_os="ubuntu1804 ubuntu2004 centos7 centos8 sles15"
@@ -97,7 +97,8 @@ function setup(){
# Install prerequisite system packages
if [ "$system" == "sles15" ]; then
set +e
- docker exec -i $docker_name /bin/bash -c "$exports; DEBIAN_FRONTEND=noninteractive ${prereq_array[$system]} 2>&1 | tee $DOCKER_HOME/logs/$system-preq.out"
+ docker exec -i $docker_name /bin/bash -c "zypper refresh"
+ docker exec -i $docker_name /bin/bash -c "$exports; ${prereq_array[$system]} 2>&1 | tee $DOCKER_HOME/logs/$system-preq.out"
set -e
else
docker exec -i $docker_name /bin/bash -c "$exports; DEBIAN_FRONTEND=noninteractive ${prereq_array[$system]} 2>&1 | tee $DOCKER_HOME/logs/$system-preq.out"
|
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 X86)
set(DEFAULT_SIMD_FLAGS "SSE3")
endif()
+ if(RV64)
+ set(DEFAULT_SIMD_FLAGS "rv64")
+ endif()
SET(ENABLE_SIMD_FLAGS "${DEFAULT_SIMD_FLAGS}" CACHE STRING "Set compiler SIMD flags")
SET_PROPERTY(CACHE ENABLE_SIMD_FLAGS PROPERTY STRINGS none native SSE3 SSE4.2 AVX AVX2)
|
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 adding tests to let them detect that format checking is available - one of the tests is format checking
source_format_enable()
@@ -332,6 +327,11 @@ endif()
# source files to be covered by the 'format' target and a test with 'format-check' target
source_format(${FORMAT_SOURCES})
+# tests
+if(ENABLE_TESTS)
+ find_package(CMocka 1.0.0)
+endif()
+
if(ENABLE_VALGRIND_TESTS)
set(ENABLE_TESTS ON)
endif()
|
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 * self->n + c] = mp_obj_get_float_to_f(scalar_objs[c]);
}
}
+
+ // Modifiers that allow basic modifications without moving data around
+ self->scale = 1;
self->transposed = false;
return MP_OBJ_FROM_PTR(self);
@@ -407,7 +411,7 @@ void robotics_Matrix_print(const mp_print_t *print, mp_obj_t self_in, mp_print_k
size_t idx = self->transposed ? c * self->m + r : r * self->n + c;
// Get character representation of said value
- print_float(buf + col_start, self->data[idx]);
+ print_float(buf + col_start, self->data[idx] * self->scale);
// Append ", " or "]\n" after the last value
if (c < self->n - 1) {
@@ -427,6 +431,23 @@ void robotics_Matrix_print(const mp_print_t *print, mp_obj_t self_in, mp_print_k
mp_print_str(print, buf);
}
+// pybricks.robotics.Matrix._scale
+STATIC mp_obj_t robotics_Matrix__scale(mp_obj_t self_in, float_t scale) {
+ robotics_Matrix_obj_t *self = MP_OBJ_TO_PTR(self_in);
+
+ robotics_Matrix_obj_t *copy = m_new_obj(robotics_Matrix_obj_t);
+ copy->base.type = &robotics_Matrix_type;
+
+ // Point to the same data instead of copying
+ copy->data = self->data;
+ copy->n = self->n;
+ copy->m = self->m;
+ copy->scale = self->scale * scale;
+ copy->transposed = self->transposed;
+
+ return MP_OBJ_FROM_PTR(copy);
+}
+
// pybricks.robotics.Matrix.T
STATIC mp_obj_t robotics_Matrix_T(mp_obj_t self_in) {
robotics_Matrix_obj_t *self = MP_OBJ_TO_PTR(self_in);
@@ -438,6 +459,7 @@ STATIC mp_obj_t robotics_Matrix_T(mp_obj_t self_in) {
copy->data = self->data;
copy->n = self->m;
copy->m = self->n;
+ copy->scale = self->scale;
copy->transposed = !self->transposed;
return MP_OBJ_FROM_PTR(copy);
@@ -465,8 +487,7 @@ STATIC mp_obj_t robotics_Matrix_unary_op(mp_unary_op_t op, mp_obj_t o_in) {
return o_in;
// Negative returns a scaled copy
case MP_UNARY_OP_NEGATIVE:
- // TODO
- return o_in;
+ return robotics_Matrix__scale(o_in, -1);
// Get absolute vale (magnitude)
case MP_UNARY_OP_ABS: {
// For vectors, this is the norm
|
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(), drand48()});
/* random scale */
- glm_scale(dest, (vec3){drand48(), drand48(), drand48()});
+ /* glm_scale(dest, (vec3){drand48(), drand48(), drand48()}); */
}
void
|
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_COMMAND 0x43
+
static volatile uint32_t tick = 0;
//defined in timer.c
@@ -16,8 +25,9 @@ extern void handle_tick(uint32_t tick);
#pragma GCC diagnostic ignored "-Wunused-parameter"
static void tick_callback(registers_t regs) {
tick++;
+ printf("tick %d\n", tick);
- handle_tick(tick);
+ //handle_tick(tick);
}
#pragma GCC diagnostic pop
@@ -41,13 +51,13 @@ void pit_timer_init(uint32_t frequency) {
uint32_t divisor = 1193180 / frequency;
//send command byte
- outb(0x43, 0x36);
+ outb(PIT_PORT_COMMAND, 0x36);
//divisor has to be sent byte-wise, so split here into upper/lower bytes
uint8_t l = (uint8_t )(divisor & 0xFF);
uint8_t h = (uint8_t)((divisor >> 8) & 0xFF);
//send frequency divisor
- outb(0x40, l);
- outb(0x40, h);
+ outb(PIT_PORT_CHANNEL0, l);
+ outb(PIT_PORT_CHANNEL0, h);
}
|
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] = {{EC_LED_COLOR_BLUE, LED_INDEFINITE} },
- [STATE_DISCHARGE_S0] = {{EC_LED_COLOR_BLUE, LED_INDEFINITE} },
- [STATE_DISCHARGE_S3] = {{EC_LED_COLOR_AMBER, 1 * LED_ONE_SEC},
+ [STATE_CHARGING_LVL_1] = { { EC_LED_COLOR_AMBER,
+ LED_INDEFINITE } },
+ [STATE_CHARGING_LVL_2] = { { EC_LED_COLOR_AMBER,
+ LED_INDEFINITE } },
+ [STATE_CHARGING_FULL_CHARGE] = { { EC_LED_COLOR_BLUE,
+ LED_INDEFINITE } },
+ [STATE_DISCHARGE_S0] = { { EC_LED_COLOR_BLUE,
+ LED_INDEFINITE } },
+ [STATE_DISCHARGE_S3] = { { EC_LED_COLOR_AMBER,
+ 1 * LED_ONE_SEC },
{ LED_OFF, 3 * LED_ONE_SEC } },
[STATE_DISCHARGE_S5] = { { LED_OFF, LED_INDEFINITE } },
- [STATE_BATTERY_ERROR] = {{EC_LED_COLOR_AMBER, 1 * LED_ONE_SEC},
+ [STATE_BATTERY_ERROR] = { { EC_LED_COLOR_AMBER,
+ 1 * LED_ONE_SEC },
{ LED_OFF, 1 * LED_ONE_SEC } },
[STATE_FACTORY_TEST] = { { EC_LED_COLOR_BLUE, 2 * LED_ONE_SEC },
- {EC_LED_COLOR_AMBER, 2 * LED_ONE_SEC} },
+ { EC_LED_COLOR_AMBER,
+ 2 * LED_ONE_SEC } },
};
-const enum ec_led_id supported_led_ids[] = {
- EC_LED_ID_BATTERY_LED
-};
+const enum ec_led_id supported_led_ids[] = { EC_LED_ID_BATTERY_LED };
const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
|
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 not found" >&2; exit 0; }
+test -f "@PROJECT_BINARY_DIR@/compile_commands.json" || {
+ echo "Compilation database not found" >&2
+ exit 0
+}
cd "@CMAKE_SOURCE_DIR@" || exit
oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-analyzer \
|
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" },
+ { 0x09, "RASTER_SYNC_1" },
+ { 0x0a, "RASTER_SYNC_2" },
+ { 0x0b, "RASTER_SYNC_3" },
- /* 0x10 seen - tag 0x42 */
+ { 0x10, "SWAP_READY_0" },
+ { 0x11, "SWAP_READY_1" },
- { 0x14, "PTHERM_INPUT_0" },
- { 0x15, "PTHERM_INPUT_1" },
- { 0x16, "PTHERM_INPUT_2" },
+ { 0x14, "THERMAL_OVERTEMP" },
+ { 0x15, "THERMAL_ALERT" },
+ { 0x16, "POWER_ALERT" },
{ 0x17, "FAN_TACH" },
{ 0 },
};
|
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 [ -n "$${LCK_FILES}" ]; then \
echo "Removing existing .lck files!"; \
find /opt/releng/tools -name "*.lck" | xargs rm; \
+ fi \
fi
@cd releng/make/dependencies; \
|
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-decryptable-initial.bin", "t/assets/quic-initial-w-corrupted-scid.bin") == 0 or die "Failed to launch udp-generator";
+system("python", "t/udp-generator.py", "127.0.0.1", "$quic_port", "t/assets/quic-decryptable-initial.bin", "t/assets/quic-initial-w-corrupted-scid.bin") == 0 or die "Failed to launch udp-generator";
# make sure the server did not crash
my $port = $server->{port};
|
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 tunslip6"
sleep 1
|
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 = EVENT_CONTROLLER_REMOVED,
- .data.controller = { controller }
+ .data.controller = { controller, 0 }
});
vec_swapsplice(&state.controllers, i, 1);
lovrRelease(controller);
|
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-openmp}
+ AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-aomp-dev}
AOMP_FLANG_REPO_NAME=${AOMP_FLANG_REPO_NAME:-flang}
- AOMP_FLANG_REPO_BRANCH=${AOMP_FLANG_REPO_BRANCH:-amd-stg-openmp}
+ AOMP_FLANG_REPO_BRANCH=${AOMP_FLANG_REPO_BRANCH:-aomp-dev}
elif [ "$AOMP_MAJOR_VERSION" == "13" ] ; then
GITPROJECT=$GITROCDEV
AOMP_PROJECT_REPO_NAME=${AOMP_PROJECT_REPO_NAME:-llvm-project}
|
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) {
+ return BLE_ERR_INV_HCI_CMD_PARMS;
+ }
+#endif
+
if (cmd->enable) {
if (advsm->flags & BLE_LL_ADV_SM_FLAG_PERIODIC_DATA_INCOMPLETE) {
return BLE_ERR_CMD_DISALLOWED;
|
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 = EVP_PKEY_RSA_PSS;
+ if (s->s3->tmp.peer_sigalgs == NULL) {
+ /* Should never happen: we abort if no sigalgs extension and TLS 1.3 */
+ if (SSL_IS_TLS13(s))
+ return 0;
+ /* For TLS 1.2 and no sigalgs lookup using complete table */
+ for (i = 0, curr = sigalg_lookup_tbl; i < OSSL_NELEM(sigalg_lookup_tbl);
+ i++, curr++) {
+ if (curr->hash == md_id && curr->sig == sig_id) {
+ if (!WPACKET_put_bytes_u16(pkt, curr->sigalg))
+ return 0;
+ *ispss = curr->sig == EVP_PKEY_RSA_PSS;
+ return 1;
+ }
+ }
+ return 0;
+ }
+
for (i = 0; i < s->cert->shared_sigalgslen; i++) {
- const SIGALG_LOOKUP *curr = s->cert->shared_sigalgs[i];
+ curr = s->cert->shared_sigalgs[i];
/*
* Look for matching key and hash. If key type is RSA also match PSS
|
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_SetProgramName(argv_copy[0]);
Py_Initialize();
|
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 socket");
|
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/criblio/appscope/issues/241).
+- **Improvement**: [#241](https://github.com/criblio/appscope/issues/241) Add experimental support for Arm64 architecture, with [limitations](https://github.com/criblio/appscope/issues/241#issuecomment-824428842).
-- **Improvement**: [#447](https://github.com/criblio/appscope/pull/447) When scope attaches to a bash process, it now emits events for any child processes.
+- **Improvement**: [#401](https://github.com/criblio/appscope/issues/401) When scope attaches to a bash process, it now emits events for any child processes.
-- **Improvement**: [#440](https://github.com/criblio/appscope/pull/440) Add a new environment variable, `SCOPE_CONNECT_TIMEOUT_SECS`, to configure wait behavior. This prevents events and metrics from being dropped when a scoped command exits quickly while using a connection with network latency.
+- **Improvement**: [#395](https://github.com/criblio/appscope/issues/395) Add a new environment variable, `SCOPE_CONNECT_TIMEOUT_SECS`, to configure wait behavior. This prevents events and metrics from being dropped when a scoped command exits quickly while using a connection with network latency.
-- **Improvement**: [#312](https://github.com/criblio/appscope/pull/312) AppScope can now get HTTP events in LogStream for both HTTP/1.1 and HTTP/2 traffic.
+- **Improvement**: [#311](https://github.com/criblio/appscope/issues/311) AppScope can now get HTTP events in LogStream for both HTTP/1.1 and HTTP/2 traffic.
-- **Improvement**: [#420](https://github.com/criblio/appscope/pull/420) Negative numbers are no longer allowed as arguments to `scope prune`.
+- **Improvement**: [#407](https://github.com/criblio/appscope/issues/407) Negative numbers are no longer allowed as arguments to `scope prune`.
- **Fix**: [#416](https://github.com/criblio/appscope/issues/416) Ensure that file descriptors opened by libscope are not closed by ssh, to avoid scenarios where processes operating over network connections can get stuck at 100% CPU utilization.
|
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 uint32_t send_buf_size = 5000;
+ spi_slave_hd_write_buffer(SLAVE_HOST, SLAVE_MAX_TX_BUF_LEN_REG, (uint8_t *)&send_buf_size, sizeof(send_buf_size));
- uint32_t recv_buf_size = 120;
- spi_slave_hd_write_buffer(SLAVE_HOST, SLAVE_MAX_RX_BUF_LEN_REG, (uint8_t *)&recv_buf_size, 4);
+ static uint32_t recv_buf_size = 120;
+ spi_slave_hd_write_buffer(SLAVE_HOST, SLAVE_MAX_RX_BUF_LEN_REG, (uint8_t *)&recv_buf_size, sizeof(recv_buf_size));
uint32_t slave_ready_flag = SLAVE_READY_FLAG;
- spi_slave_hd_write_buffer(SLAVE_HOST, SLAVE_READY_FLAG_REG, (uint8_t *)&slave_ready_flag, 4);
+ spi_slave_hd_write_buffer(SLAVE_HOST, SLAVE_READY_FLAG_REG, (uint8_t *)&slave_ready_flag, sizeof(slave_ready_flag));
xTaskCreate(sender, "sendTask", 4096, &send_buf_size, 1, NULL);
xTaskCreate(receiver, "recvTask", 4096, &recv_buf_size, 1, NULL);
|
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_FILESYSTEM_HELPER_ENABLE is not set
|
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 = *pattern.get_first<uint32_t*>(1);
+ auto rpattern = hook::range_pattern((uintptr_t)pattern.get_first(-100), (uintptr_t)pattern.get_first(0), "A1 ? ? ? ? 33 C4 89 84 24"); //0x5755C4
+ static auto dword_1272378 = *rpattern.get_first<uint32_t*>(1);
struct MoviesHook
{
@@ -104,7 +104,7 @@ void Init()
*dword_12BB200 = 1;
bOnce = true;
}
- }; injector::MakeInline<MoviesHook>(pattern.get_first(0));
+ }; injector::MakeInline<MoviesHook>(rpattern.get_first(0));
}
if (nWindowedMode)
|
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
* message
|
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 jar that has to be added to the classpath and dx invocation
+ # - Some of the Pico SDK is in a jar that has to be added to the classpath and d8 invocation
# TODO error (probably way earlier) if no headset API is defined, since everything will break
if(LOVR_USE_OPENXR)
set(MANIFEST "oculus")
@@ -756,7 +756,7 @@ elseif(ANDROID)
COMMAND ${CMAKE_COMMAND} -E copy "${ANDROID_MANIFEST}" AndroidManifest.xml
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/src/resources/Activity_${ACTIVITY}.java Activity.java
COMMAND ${Java_JAVAC_EXECUTABLE} -classpath "${ANDROID_CLASSPATH}" -d . Activity.java
- COMMAND ${ANDROID_TOOLS}/dx --dex --output raw/classes.dex ${EXTRA_JAR} org/lovr/app/Activity.class
+ COMMAND ${ANDROID_TOOLS}/d8 --min-api ${ANDROID_NATIVE_API_LEVEL} --output raw ${EXTRA_JAR} org/lovr/app/Activity.class
COMMAND
${ANDROID_TOOLS}/aapt
package -f
|
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 */
+ MQTT_EVT_PUBLISHED, /*!< MQTT client successfully published message to server.
+ \note When publishing packet with quality of service \ref MQTT_QOS_AT_MOST_ONCE,
+ you may not receive event, even if packet was successfully sent,
+ thus do not rely on this event for packet with `qos = MQTT_QOS_AT_MOST_ONCE` */
MQTT_EVT_PUBLISH_RECV, /*!< MQTT client received a publish message from server */
MQTT_EVT_DISCONNECT, /*!< MQTT client disconnected from MQTT server */
MQTT_EVT_KEEP_ALIVE, /*!< MQTT keep-alive sent to server and reply received */
|
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)
// getprotobyname_r
-// getprotobynumber
+GO(getprotobynumber, pFi)
// getprotobynumber_r
-// getprotoent
+GO(getprotoent, pFv)
// getprotoent_r
// getpt // Weak
// getpublickey
@@ -1478,7 +1478,7 @@ GOW(setpgid, iFuu)
// __setpgid
GO(setpgrp, iFv)
GO(setpriority, iFiii)
-// setprotoent
+GO(setprotoent, vFi)
GO(setpwent, vFv)
GOW(setregid, iFuu)
GOW(setresgid, iFuuu)
|
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 = &proto.ToDataplane_RouteUpdate{RouteUpdate: msg}
+ case *proto.RouteRemove:
+ envelope.Payload = &proto.ToDataplane_RouteRemove{RouteRemove: msg}
+ case *proto.VXLANTunnelEndpointUpdate:
+ envelope.Payload = &proto.ToDataplane_VtepUpdate{VtepUpdate: msg}
+ case *proto.VXLANTunnelEndpointRemove:
+ envelope.Payload = &proto.ToDataplane_VtepRemove{VtepRemove: msg}
+ case *proto.WireguardEndpointUpdate:
+ envelope.Payload = &proto.ToDataplane_WireguardEndpointUpdate{WireguardEndpointUpdate: msg}
+ case *proto.WireguardEndpointRemove:
+ envelope.Payload = &proto.ToDataplane_WireguardEndpointRemove{WireguardEndpointRemove: msg}
+ case *proto.GlobalBGPConfigUpdate:
+ envelope.Payload = &proto.ToDataplane_GlobalBgpConfigUpdate{GlobalBgpConfigUpdate: msg}
+
default:
log.WithField("msg", msg).Panic("Unknown message type")
}
|
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" : "bindsym";
struct cmd_results *error = NULL;
@@ -149,7 +150,7 @@ static struct cmd_results * cmd_bindsym_or_bindcode(int argc, char **argv, bool
return ret;
}
}
- uint32_t *key = calloc(1, sizeof(xkb_keysym_t));
+ uint32_t *key = calloc(1, sizeof(uint32_t));
if (!key) {
free_sway_binding(binding);
free_flat_list(split);
|
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_flags_for(target, type);
-
- if (type->subtype_count) {
- int i;
- for (i = 0;i < type->subtype_count;i++)
- mark |= get_gc_flags_for(target, type->subtypes[i]);
- }
- }
+ if (member_iter->item_kind == ITEM_TYPE_PROPERTY)
+ mark |= get_gc_flags_for(target, member_iter->type);
member_iter = member_iter->next;
}
|
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 (qst == MP_QSTR_uint) {
- emit_post_push_imm(emit, VTYPE_BUILTIN_CAST, VTYPE_UINT);
- return;
- } else if (qst == MP_QSTR_ptr) {
- emit_post_push_imm(emit, VTYPE_BUILTIN_CAST, VTYPE_PTR);
- return;
- } else if (qst == MP_QSTR_ptr8) {
- emit_post_push_imm(emit, VTYPE_BUILTIN_CAST, VTYPE_PTR8);
- return;
- } else if (qst == MP_QSTR_ptr16) {
- emit_post_push_imm(emit, VTYPE_BUILTIN_CAST, VTYPE_PTR16);
- return;
- } else if (qst == MP_QSTR_ptr32) {
- emit_post_push_imm(emit, VTYPE_BUILTIN_CAST, VTYPE_PTR32);
+ int native_type = mp_native_type_from_qstr(qst);
+ if (native_type >= MP_NATIVE_TYPE_INT) {
+ emit_post_push_imm(emit, VTYPE_BUILTIN_CAST, native_type);
return;
}
}
|
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(&initOnce))
+ {
PhEnumObjectTypes(&objectTypes);
+ PhEndInitOnce(&initOnce);
+ }
if (objectTypes)
{
@@ -1539,7 +1543,6 @@ PPHP_CALL_WITH_TIMEOUT_THREAD_CONTEXT PhpAcquireCallWithTimeoutThread(
)
{
static PH_INITONCE initOnce = PH_INITONCE_INIT;
-
PPHP_CALL_WITH_TIMEOUT_THREAD_CONTEXT threadContext;
PSLIST_ENTRY listEntry;
PH_QUEUED_WAIT_BLOCK waitBlock;
|
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=['-static-libgcc', '-static-libstdc++'])
|
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_through_server_sockets(
picoquic_server_sockets_t* sockets,
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_get_server_address(const char* ip_address_text, int server_port,
|
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'")
+ report("constant on LHS of '$3'")
if (m/(['"]|([\+\-\*\/\/%\&\|\^<>]\s*)?\W[0-9]+L?|NULL)\s*([\!<>=]=|[<=>][^<>])/ && $2 eq "");
# TODO report #if 0 and #if 1
|
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 OPAL_UNSUPPORTED.
On POWER8 CPUs, only OPAL_REINIT_CPUS_HILE_BE and OPAL_REINIT_CPUS_HILE_LE
are support and other bits *MUST NOT* be set.
-On POWER9 CPUs, other flags may be supported in the future.
+On POWER9 CPUs, all options including OPAL_REINIT_CPUS_MMU_HASH and
+OPAL_REINIT_CPUS_MMU_RADIX.
Returns
-------
|
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_USB_MUX_RUNTIME_CONFIG=y
|
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,iBody,iPert);
+ // Zobl
+ InitializeZoblEqtide(body,update,iBody,iPert);
+ /* Rotation Rate */
+ InitializeRotEqtide(body,update,iBody,iPert);
+ }
+
/* Is this the secondary body, and hence we assign da/dt and de/dt? */
if (!bPrimary(body,iBody)) {
// Initialize Orbital variable for the matrix
|
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.txt
+ #- tools/before-test.sh $TEST_HOME $EPANET_HOME/$BUILD_HOME/bin $TRAVIS_COMMIT
+ #- tools/run-nrtest.sh $TEST_HOME $TRAVIS_COMMIT
|
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=sim
- os: linux
env: SINGLE_FEATURES="enc-rsa" TEST=sim
@@ -29,7 +29,7 @@ matrix:
- os: linux
env: MULTI_FEATURES="enc-kw overwrite-only large-write,enc-rsa overwrite-only large-write" TEST=sim
- os: linux
- env: MULTI_FEATURES="sig-rsa enc-rsa validate-primary-slot" TEST=sim
+ env: MULTI_FEATURES="sig-rsa enc-rsa validate-primary-slot,swap-move enc-rsa sig-rsa validate-primary-slot" TEST=sim
- os: linux
env: MULTI_FEATURES="sig-rsa enc-kw validate-primary-slot bootstrap" TEST=sim
- os: linux
|
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_index] = table_index;
if (sw_if_index > 0)
{
|
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_BTH_DATA_OUT_EP,
+ (CFG_TUSB_RHPORT0_MODE & OPT_MODE_HIGH_SPEED) ? 512 : USBD_BTH_DATA_EP_SIZE,
0, 9, 17, 25, 33, 49),
#endif
#if CFG_TUD_CDC
TUD_CDC_DESCRIPTOR(ITF_NUM_CDC, CDC_IF_STR_IX, USBD_CDC_NOTIFY_EP, USBD_CDC_NOTIFY_EP_SIZE,
- USBD_CDC_DATA_OUT_EP, USBD_CDC_DATA_IN_EP, USBD_CDC_DATA_EP_SIZE),
+ USBD_CDC_DATA_OUT_EP, USBD_CDC_DATA_IN_EP,
+ (CFG_TUSB_RHPORT0_MODE & OPT_MODE_HIGH_SPEED) ? 512 : USBD_CDC_DATA_EP_SIZE),
#endif
#if CFG_TUD_MSC
|
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 <mbedtls/md5.h>
#include <msgpack.h>
#include "s3.h"
@@ -1467,13 +1467,16 @@ int get_md5_base64(char *buf, size_t buf_size, char *md5_str, size_t md5_str_siz
size_t olen;
int ret;
- ret = mbedtls_md5_ret((unsigned char*) buf, buf_size, md5_bin);
- if (ret != 0) {
- return ret;
+ ret = flb_digest_simple(FLB_CRYPTO_MD5,
+ (unsigned char *) buf, buf_size,
+ md5_bin, sizeof(md5_bin));
+
+ if (ret != FLB_CRYPTO_SUCCESS) {
+ return -1;
}
- ret = flb_base64_encode((unsigned char*) md5_str, md5_str_size, &olen, md5_bin,
- sizeof(md5_bin));
+ ret = flb_base64_encode((unsigned char*) md5_str, md5_str_size,
+ &olen, md5_bin, sizeof(md5_bin));
if (ret != 0) {
return ret;
}
|
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 @@ getInputNodeForSingle(string $object, int $connectGeoForAsset )
return createInputGeometryNode($transformAttr, $geometryAttr);
}
+ else if(`objectType -isAType "instancer" $object`)
+ {
+ string $histPlug = `connectionInfo -sfd ($object + ".inputPoints")`;
+ string $histNode = plugNode($histPlug);
+ if($histNode != ""
+ && `nodeType $histNode` == "houdiniAsset" )
+ {
+ // no point checking $connectGeoForAsset cause instancers don't have geo
+ string $obj = plugNode(plugAttr($histPlug));
+ return ($histNode + "." + $obj + ".outputObjectMetaData");
+ }
+ print("Error: Unable to use object as input:" + $object + "\n");
+ return "";
+ }
else if(`objectType -isAType "particle" $object`)
{
string $geometryAttr = $object + ".position";
|
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 else may comment"
+ caption="Only the host can post to this feed. Everyone else may comment"
/>
<Radio
name={id}
id="admin-feed"
label="Host & Admins Only"
- caption="Only Hosts and Admins can post this feed. Everyone else may comment"
+ caption="Only the host and admins can post to this feed. Everyone else may comment"
/>
</Col>
);
|
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.Header.Revision = NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_3;
+ chars.Header.Size = NDIS_SIZEOF_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_3;
+ }
+#endif
status = NdisMRegisterMiniportDriver(
pDriverObject,
pRegistryPath,
|
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 mainline sbt script)" \
-" ENABLE_CUSTOM_FIRRTL_PASS = if set, enable custom firrtl passes (SFT lowers to Low FIRRTL & CFT does the rest) \
+" ENABLE_CUSTOM_FIRRTL_PASS = if set, enable custom firrtl passes (SFC lowers to LowFIRRTL & FIRTOOL converts to Verilog) \
" EXTRA_CHISEL_OPTIONS = additional options to pass to the Chisel compiler" \
" EXTRA_FIRRTL_OPTIONS = additional options to pass to the FIRRTL compiler"
|
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_event + request->event_count - 1ULL,
+ through,
mdb_strerror(ret_w));
}
data->success = c3n;
|
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
-created as a result of the new_item function set by
-X509_LOOKUP_meth_set_new_item() can be accessed with
+Implementations must add objects they find to the B<X509_STORE> object
+using X509_STORE_add_cert() or X509_STORE_add_crl(). This increments
+its reference count. However, the X509_STORE_CTX_get_by_subject()
+function also increases the reference count which leads to one too
+many references being held. Therefore applications should
+additionally call X509_free() or X509_CRL_free() to decrement the
+reference count again.
+
+Implementations should also use either X509_OBJECT_set1_X509() or
+X509_OBJECT_set1_X509_CRL() to set the result. Note that this also
+increments the result's reference count.
+
+Any method data that was created as a result of the new_item function
+set by X509_LOOKUP_meth_set_new_item() can be accessed with
X509_LOOKUP_get_method_data(). The B<X509_STORE> object that owns the
X509_LOOKUP may be accessed with X509_LOOKUP_get_store(). Successful lookups
should return 1, and unsuccessful lookups should return 0.
|
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 *USAGE_FORMAT_STRING = "%15s ";
void survive_config_entry_to_str(config_entry *config, char *stobuf, size_t len) {
@@ -142,9 +143,14 @@ void survive_config_entry_to_str(config_entry *config, char *stobuf, size_t len)
case CONFIG_UINT32:
snprintf(stobuf, 127, USAGE_FORMAT_INT, config->numeric.i);
break;
- case CONFIG_FLOAT:
- snprintf(stobuf, 127, USAGE_FORMAT_FLOAT, config->numeric.f);
- break;
+ case CONFIG_FLOAT: {
+ FLT df = config->numeric.f;
+ if (fabs(df) > .001 || df == 0) {
+ snprintf(stobuf, 127, USAGE_FORMAT_FLOAT, df);
+ } else {
+ snprintf(stobuf, 127, USAGE_FORMAT_SMALL_FLOAT, df);
+ }
+ } break;
case CONFIG_STRING:
snprintf(stobuf, 127, USAGE_FORMAT_STRING, config->data);
break;
@@ -163,9 +169,15 @@ void survive_default_to_str(struct static_conf_t *config, char *stobuf, size_t l
case 'i':
snprintf(stobuf, 127, USAGE_FORMAT_INT, config->data_default.i);
break;
- case 'f':
- snprintf(stobuf, 127, USAGE_FORMAT_FLOAT, config->data_default.f);
+ case 'f': {
+ FLT df = config->data_default.f;
+ if (fabs(df) > .001 || df == 0) {
+ snprintf(stobuf, 127, USAGE_FORMAT_FLOAT, df);
+ } else {
+ snprintf(stobuf, 127, USAGE_FORMAT_SMALL_FLOAT, df);
+ }
break;
+ }
case 's':
snprintf(stobuf, 127, USAGE_FORMAT_STRING, config->data_default.s);
break;
@@ -971,9 +983,15 @@ SURVIVE_EXPORT void survive_config_as_str(SurviveContext *ctx, char *output, siz
case 'b':
snprintf(output, n, "%d", survive_configb(ctx, tag, SC_GET, sc->data_default.b));
break;
- case 'f':
- snprintf(output, n, "%f", survive_configf(ctx, tag, SC_GET, (float)sc->data_default.f));
+ case 'f': {
+ FLT df = survive_configf(ctx, tag, SC_GET, (float)sc->data_default.f);
+ if (fabs(df) > .001 || df == 0) {
+ snprintf(output, n, "%f", df);
+ } else {
+ snprintf(output, n, "%e", df);
+ }
break;
+ }
case 'i':
snprintf(output, n, "%i", survive_configi(ctx, tag, SC_GET, sc->data_default.i));
break;
|
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 = state.font1;
engineName = "OpenGL";
}
|
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 CONFIG_KEYBOARD_DEBUG /* Print keyboard debug messages */
#undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 4096
|
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(RAttrNwkAddress)->toNumber())
+ {
+ device->item(RAttrNwkAddress)->setValue(addr.nwk());
+ }
+ }
+
d->pollItems = DEV_GetPollItems(device);
if (!d->pollItems.empty())
|
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 testwpasec(long int timeout)
|
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 = "mpi_mod_raw_neg"
+ test_name = "Modular negation: "
+ symbol = "(-A)"
+ input_style = "arch_split"
+ arity = 1
+ def result(self) -> List[str]:
+ result = (self.int_n - self.int_a) % self.int_n
+ return [self.format_result(result)]
# END MERGE SLOT 7
# BEGIN MERGE SLOT 8
|
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() {
- return WebVR.display && WebVR.display.stageParameters ? lovr.WebVR.C.ORIGIN_FLOOR : lovr.WebVR.C.ORIGIN_HEAD;
+ return WebVR.display && WebVR.display.stageParameters ? C.ORIGIN_FLOOR : C.ORIGIN_HEAD;
},
webvrIsMirrored: function() {
@@ -169,7 +168,7 @@ var LibraryLOVR = {
},
webvrGetEyePose: function(eye, x, y, z, angle, ax, ay, az) {
- var isLeft = eye === lovr.WebVR.C.EYE_LEFT;
+ var isLeft = eye === C.EYE_LEFT;
var sittingToStanding = lovr.WebVR.display && lovr.WebVR.display.stageParameters && lovr.WebVR.display.stageParameters.sittingToStandingTransform;
var eyeParameters = lovr.WebVR.display && lovr.WebVR.display.getEyeParameters(isLeft ? 'left' : 'right');
@@ -235,4 +234,5 @@ var LibraryLOVR = {
};
autoAddDeps(LibraryLOVR, '$lovr');
+autoAddDeps(LibraryLOVR, '$C');
mergeInto(LibraryManager.library, LibraryLOVR);
|
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 search the open and closed issues for any requests in the past. Sometimes devices have been requested before but are not implemented yet due to various reasons. If there are no hits on your Product Number, please proceed.
+<!--
+ - Before requesting a device, please make sure to search the open and closed issues for any requests in the past.
+ - Sometimes devices have been requested before but are not implemented yet due to various reasons.
+ - If there are no hits on your for the device, please proceed.
+ - If you're unsure if the device support is already requested, please ask for advise in our Discord chat: https://discord.gg/QFhTxqN
-**Device Name:**
+-->
-**Device Type:**
-- [ ] Light
-- [ ] Lock
-- [ ] Remote
-- [ ] Sensor
-- [ ] Siren
-- [ ] Thermostat
-- [ ] Other:
+## Device
-**Device Manufacturer as per deCONZ GUI basic cluster:**
+- Product name: The device name as shown on the product or package.
+- Device Type: (Light / Lock / Remote / Sensor / Siren / Thermostat)
+- Manufacturer: As per deCONZ GUI Basic cluster.
+- Model identifier: As per deCONZ GUI Basic cluster.
-**Device model identifier as per deCONZ GUI basic cluster:**
+<!--
+ Please refer to https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Request-Device-Support
+ on how the Basic Cluster attributes are optained.
+-->
-**If you do not know what is needed, please read [this](https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Request-Device-Support)**
+## Screenshots
-**Screenshot of Clusters of the Node:**
+<!--
+ Screenshots help to identify the device and it's capabilities. Please refer to:
+ https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Request-Device-Support
+ for examples of the required screenshots.
-**Screenshot of the node info panel:**
+ Required screenshots:
+ - Endpoints and clusters of the node
+ - Node Info panel
+ - Basic Cluster attributes in the Cluster Info panel.
-**Screenshot of the basic clusters attributes as shown in the Clusters info panel with the data returned by read:**
- *Basic cluster's attributes as shown in the Cluster Info Panel, with the data returned by read. Please note that at least "Manufacturer Name" and "Model Identifier" must be populated with data (therefore, must not be empty), otherwise that information will not be usable. For battery powered devices, after pressing read it is required to wake-up the device by pressing a button or any other means of interaction.*
+ In the Cluster Info panel press "read" button to retreive the values. Please note that at least "Manufacturer Name" and "Model Identifier" must be populated with data (therefore, must not be empty), otherwise that information will not be usable. For battery powered devices, after pressing read it is required to wake-up the device by pressing a button or any other means of interaction.
+-->
-**Screenshots of the other clusters (if available:**
-*Further clusters (if available) including Simple Metering, Electrical Measurement, Power Configuration, Thermostat, etc. You can typically spare indentify, alarms, device temperature, on/off. Again, please ensure data has been read prior to taking any screenshots.*
+<!--
+ If available add screenshots of other clusters.
+
+ Relevant clusters are: Simple Metering, Electrical Measurement, Power Configuration, Thermostat, etc. You can typically spare Identify, Alarms, Device Temperature, On/Off. Please ensure data has been read prior to taking any screenshots.
+-->
|
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_to_sec(0.1))
break;
}
if (do_play) {
@@ -1883,14 +1883,16 @@ int main(int argc, char** argv) {
int new_timeout;
if (secs_to_d < ms_to_sec(0.5)) {
new_timeout = 0;
- } else if (secs_to_d < ms_to_sec(2.0)) {
+ } else if (secs_to_d < ms_to_sec(1.0)) {
new_timeout = 0;
+ } else if (secs_to_d < ms_to_sec(2.0)) {
+ new_timeout = 1;
} else if (secs_to_d < ms_to_sec(7.0)) {
- new_timeout = 0;
+ new_timeout = 2;
} else if (secs_to_d < ms_to_sec(15.0)) {
- new_timeout = 0;
+ new_timeout = 5;
} else if (secs_to_d < ms_to_sec(25.0)) {
- new_timeout = 1;
+ new_timeout = 10;
} else if (secs_to_d < ms_to_sec(50.0)) {
new_timeout = 20;
} else if (secs_to_d < ms_to_sec(100.0)) {
|
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 poll interval of 1 second in the runcfanotify package,
+ // so let's double that here. These only affect the duration of
+ // the failing tests, hence it's not a big problem to have big
+ // delays here.
+ checkFdListInterval = 100 * time.Millisecond
+ checkFdListAttempts = 20
+)
+
func TestBasic(t *testing.T) {
if !*rootTest {
t.Skip("skipping test requiring root.")
@@ -176,7 +188,7 @@ func TestClose(t *testing.T) {
localGadgetManager.Close()
- checkFdList(t, initialFdList, 5, 100*time.Millisecond)
+ checkFdList(t, initialFdList, checkFdListAttempts, checkFdListInterval)
}
func TestSeccomp(t *testing.T) {
@@ -227,7 +239,7 @@ func TestSeccomp(t *testing.T) {
t.Fatalf("Error: stack contains %q:\n%s", keyword, s)
}
- checkFdList(t, initialFdList, 5, 100*time.Millisecond)
+ checkFdList(t, initialFdList, checkFdListAttempts, checkFdListInterval)
}
func TestAuditSeccomp(t *testing.T) {
@@ -279,7 +291,7 @@ func TestAuditSeccomp(t *testing.T) {
t.Fatalf("Error: stack contains %q:\n%s", keyword, s)
}
- checkFdList(t, initialFdList, 5, 100*time.Millisecond)
+ checkFdList(t, initialFdList, checkFdListAttempts, checkFdListInterval)
}
func TestDNS(t *testing.T) {
@@ -395,7 +407,7 @@ func TestDNS(t *testing.T) {
t.Fatalf("Error: stack contains %q:\n%s", keyword, s)
}
- checkFdList(t, initialFdList, 5, 100*time.Millisecond)
+ checkFdList(t, initialFdList, checkFdListAttempts, checkFdListInterval)
}
func TestCollector(t *testing.T) {
|
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_internal_solver : the index must be between 0 and options->numberOfInternalSolvers -1 ");
+ }
+ else
+ {
+ options->internalSolvers[n] = NSO;
+ }
+}
+
|
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, &seenKeys);
+ CopyOptionWithNewKey(plainOptions, "pinned_memory_size",
+ "pinned_memory_bytes", &systemOptions, &seenKeys);
//rest
|
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: 0x2F58B12C
- sceJpegArmEncoderSetOutputAddr: 0x25D52D97
- sceJpegArmEncoderSetValidRegion: 0x9511F3BC
+ sceJpegArmEncoderEncode: 0x648FFAA3
+ sceJpegArmEncoderEnd: 0x8A42D6EC
+ sceJpegArmEncoderGetContextSize: 0x8D15B36D
+ sceJpegArmEncoderInit: 0x8C23875A
+ sceJpegArmEncoderSetCompressionRatio: 0x32B8E159
+ sceJpegArmEncoderSetHeaderMode: 0x6D24A669
+ sceJpegArmEncoderSetOutputAddr: 0xDA0D0868
+ sceJpegArmEncoderSetValidRegion: 0xD561E2E5
SceKernelDmacMgr:
nid: 0xF926C804
libraries:
|
[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->request;
- if (r->conf.global_bytes_per_second) {
- off_t limit = (off_t)r->conf.global_bytes_per_second
- - *(r->conf.global_bytes_per_second_cnt_ptr);
- if (limit <= 0) {
- /* we reached the global traffic limit */
- con->traffic_limit_reached = 1;
- return 0;
- }
- else if (max_bytes > limit)
+ const request_config * const restrict rconf = &con->request.conf;
+ if (0 == rconf->global_bytes_per_second && 0 == rconf->bytes_per_second)
+ return max_bytes;
+
+ if (rconf->global_bytes_per_second) {
+ off_t limit = (off_t)rconf->global_bytes_per_second
+ - *(rconf->global_bytes_per_second_cnt_ptr);
+ if (max_bytes > limit)
max_bytes = limit;
}
- if (r->conf.bytes_per_second) {
- off_t limit = (off_t)r->conf.bytes_per_second
+ if (rconf->bytes_per_second) {
+ off_t limit = (off_t)rconf->bytes_per_second
- con->bytes_written_cur_second;
- if (limit <= 0) {
- /* we reached the traffic limit */
- con->traffic_limit_reached = 1;
- return 0;
- }
- else if (max_bytes > limit)
+ if (max_bytes > limit)
max_bytes = limit;
}
+ return max_bytes > 0 ? max_bytes : 0; /*(0 == reached traffic limit)*/
+}
+
+
+static off_t
+connection_write_throttle (connection * const con, off_t max_bytes)
+{
+ /*assert(max_bytes > 0);*/
+ max_bytes = connection_write_throttled(con, max_bytes);
+ if (0 == max_bytes) con->traffic_limit_reached = 1;
return max_bytes;
}
|
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 to parse
- # implicit link information from GCC 5
run: |
- cmake $CMAKE_OPTS -DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu
+ cmake $CMAKE_OPTS .
- name: Build ngtcp2
run: |
make
|
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) $(DEPENDENCE_LIBS) -o $(EXECUTABLE_DIR)/boattest
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.