message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Simple INI: Use properties format in info/provides
This commit closes | - infos = Information about simpleini plugin is in keys below
- infos/author = Markus Raab <elektra@libelektra.org>
- infos/licence = BSD
-- infos/provides = storage/ini
+- infos/provides = storage/properties
- infos/needs = code binary
- infos/placements = getstorage setstorage
- infos/status = maintained unittest nod... |
Re-baseline some test suite results and run test suite with 2 processes. | @@ -401,7 +401,7 @@ echo "Starting tests:\`date\`"
# Run the tests, consolidating the results in one directory
cd ../src/test
-rm -rf 2019-??-??-??:?? py_src output *.pyc
+rm -rf 2022-??-??-??:?? py_src output *.pyc
mkdir \$dateTag output
for m in \$modes; do
theMode=\`echo \$m | tr ',' '_'\`
@@ -415,7 +415,7 @@ for m ... |
c impl for table | -- define module: table
local table = table or {}
--- clear the table
-function table.clear(self)
- for k in next, self do
- rawset(self, k, nil)
- end
-end
+-- import jit function
+table.clear = require("table.clear")
+table.new = require("table.new")
-- join all objects and tables
function table.join(...)
|
Fix some batching edge cases;
Reduce size of vertex buffer by one to account for primitive restart.
Always write to the draw ID buffer to prevent it from going out of sync with the vertex buffer and prevent a potential problem with geometry reuse. | @@ -31,7 +31,7 @@ static void onResizeWindow(int width, int height) {
}
static const size_t BUFFER_COUNTS[] = {
- [STREAM_VERTEX] = 1 << 16,
+ [STREAM_VERTEX] = 1 << 16 - 1,
[STREAM_INDEX] = 1 << 16,
[STREAM_DRAW_ID] = 1 << 16,
[STREAM_DRAW_DATA] = 256 * MAX_BATCHES * 2
@@ -730,13 +730,11 @@ void lovrGraphicsFlush() {
... |
Yan LR: Update documentation about limitations | @@ -83,5 +83,7 @@ sudo kdb umount user/tests/yanlr
## Limitations
-- The plugin only reads the most basic YAML key-value pairs
+- The plugin does **not support key-value pairs with empty key**, such as `key:`
+- The plugin currently does not react properly to invalid or unsupported input. Instead of printing a descript... |
print rssi and customize tx packet payload (for scum) | @@ -31,7 +31,7 @@ end of frame event), it will turn on its error LED.
#define TIMER_PERIOD (0xffff>>4) ///< 0xffff = 2s@32kHz
#define ID 0x99 ///< byte sent in the packets
-uint8_t stringToSend[] = "+002 Ptest.24.00.12\n";
+uint8_t stringToSend[] = "+002 Ptest.24.00.12.-010\n";
//=========================== variables =... |
Fixed sqlite3 variable entries | @@ -155,7 +155,6 @@ modules:
sqlite3_step: 0xCA8755B7
sqlite3_stmt_status: 0xF7ABF5FA
sqlite3_strnicmp: 0x12E2FC18
- sqlite3_temp_directory: 0x1AEC1F74
sqlite3_test_control: 0x324D4EFD
sqlite3_thread_cleanup: 0x173C9C0B
sqlite3_threadsafe: 0xA3B818DA
@@ -176,8 +175,10 @@ modules:
sqlite3_value_text16be: 0x3B89AA8D
sqli... |
[stm32] add missing void | @@ -164,7 +164,7 @@ void rt_hw_us_delay(rt_uint32_t us)
/**
* This function will initial STM32 board.
*/
-RT_WEAK void rt_hw_board_init()
+RT_WEAK void rt_hw_board_init(void)
{
#ifdef BSP_SCB_ENABLE_I_CACHE
/* Enable I-Cache---------------------------------------------------------*/
|
snort: fix epoll_wait unsigned return value
When epoll_wait return -1, access array epoll_events[i] out of bound
and lead to segmentation fault.
1. Change return value to signed return value
2. Skip non fatal error e.g. EINTR
Type: fix | @@ -562,7 +562,8 @@ vpp_daq_msg_receive (void *handle, const unsigned max_recv,
{
VPP_Context_t *vc = (VPP_Context_t *) handle;
uint32_t n_qpairs_left = vc->num_qpairs;
- uint32_t n, n_events, n_recv = 0;
+ uint32_t n, n_recv = 0;
+ int32_t n_events;
/* If the receive has been interrupted, break out of loop and return.... |
docs: update centos/aarch recipe for centos7.4 | \input{vc.tex}
% Define Base OS and other local macros
-\newcommand{\baseOS}{CentOS7.3}
-\newcommand{\OSRepo}{CentOS\_7.3}
+\newcommand{\baseOS}{CentOS7.4}
+\newcommand{\OSRepo}{CentOS\_7.4}
\newcommand{\OSTree}{CentOS\_7}
\newcommand{\OSTag}{el7}
-\newcommand{\baseos}{centos7.3}
+\newcommand{\baseos}{centos7.4}
\newco... |
loadmess: hacky, very bad fix | @@ -60,7 +60,10 @@ static void loadmess_bang(t_loadmess *x)
static void loadmess_loadbang(t_loadmess *x, t_floatarg action)
{
- if(!sys_noloadbang && action == LB_LOAD) {
+ //original: subbing out for 0 is HACKY and BAD and we need to
+ //fix this later - DK
+ //if(!sys_noloadbang && action == LB_LOAD) {
+ if(!sys_nolo... |
Fix overiding of return value.
If MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED is defined, then the return value will be overridden by the extra code running after the removed return instruction. | @@ -1734,6 +1734,7 @@ int main( int argc, char *argv[] )
psa_algorithm_t alg = 0;
psa_key_handle_t psk_slot = 0;
#endif /* MBEDTLS_USE_PSA_CRYPTO */
+ int psk_free_ret = 0;
unsigned char psk[MBEDTLS_PSK_MAX_LEN];
size_t psk_len = 0;
psk_entry *psk_info = NULL;
@@ -4301,8 +4302,8 @@ exit:
sni_free( sni_info );
#endif
#i... |
[io] comment explaining previous commit | @@ -85,6 +85,7 @@ typedef std::string bytes;
boost::archive::xml_oarchive ar(ss);
siconos_io_register_ ## COMPONENT(ar);
ar << ::boost::serialization::make_nvp(BOOST_PP_STRINGIZE(CLASS),(*($self)));
+ // ar must go out of scope to force flush to stringstream before ss.str!
}
return ss.str();
}
|
docs: drop support for v3.x grammar | Migrate Build System to ESP-IDF 5.0
===================================
+Migrating from make to cmake
+----------------------------
+
Please follow the :ref:`build system <migrating_from_make>` guide for migrating make-based projects no longer supported in ESP-IDF v5.0.
+
+Update fragment file grammar
+----------------... |
classify: fix sesssion details api
We were not allocating space for the
variable length payload in the response
message.
Type: fix | @@ -667,7 +667,7 @@ send_classify_session_details (vl_api_registration_t * reg,
{
vl_api_classify_session_details_t *rmp;
- rmp = vl_msg_api_alloc (sizeof (*rmp));
+ rmp = vl_msg_api_alloc (sizeof (*rmp) + match_length);
clib_memset (rmp, 0, sizeof (*rmp));
rmp->_vl_msg_id =
ntohs (REPLY_MSG_ID_BASE + VL_API_CLASSIFY_S... |
out_null: use proper event type name | @@ -108,7 +108,7 @@ static void cb_null_flush(struct flb_event_chunk *event_chunk,
#ifdef FLB_HAVE_METRICS
/* Check if the event type is metrics, just return */
- if (event_chunk->type == FLB_EVENT_TYPE_METRIC) {
+ if (event_chunk->type == FLB_EVENT_TYPE_METRICS) {
FLB_OUTPUT_RETURN(FLB_OK);
}
#endif
|
changes for handling request/response buffers directly | @@ -822,13 +822,6 @@ oc_ri_invoke_coap_entity_handler(void *request, void *response, uint8_t *buffer,
entity_too_large = true;
bad_request = true;
}
-
-#if defined(OC_BLOCK_WISE)
- /* Free request_state cause it isn't used any more
- */
- oc_blockwise_free_request_buffer(*request_state);
- *request_state = NULL;
-#endi... |
pkg/gadgets/profile/block-io: remove "C" dependency | package tracer
-// #include <linux/types.h>
-// #include "./bpf/biolatency.h"
-import "C"
-
import (
"encoding/json"
"fmt"
@@ -28,13 +24,14 @@ import (
"github.com/cilium/ebpf"
"github.com/cilium/ebpf/link"
+ "github.com/moby/moby/pkg/parsers/kernel"
+
"github.com/inspektor-gadget/inspektor-gadget/pkg/gadgets"
"github.... |
Update BIST to use new 'fpgaconf' arguments
The command line interface for 'fpgaconf' changed with commit
so the BIST tool also needs updates to perform its PR operation. | @@ -96,7 +96,7 @@ def get_mode_from_path(gbs_path):
def load_gbs(gbs_file, bus_num):
print "Attempting Partial Reconfiguration:"
- cmd = "{} -b 0x{} -v {}".format('fpgaconf', bus_num, gbs_file)
+ cmd = "{} -B 0x{} -V {}".format('fpgaconf', bus_num, gbs_file)
try:
subprocess.check_call(cmd, shell=True)
except subprocess... |
Load jimage files before janet source files.
This should allow precompiled files to be placed
right next to the source files in the file system with
the expected behavior. | path. The filter can be a string or a predicate function, and
is often a file extension, including the period."
@[# Relative to (dyn :current-file "./."). Path must start with .
+ [":cur:/:all:.jimage" :image check-.]
[":cur:/:all:.janet" :source check-.]
[":cur:/:all:/init.janet" :source check-.]
- [":cur:/:all:.jimag... |
changed init logic of redis backend as per review request | @@ -130,12 +130,12 @@ redis_init(struct module_env* env, struct cachedb_env* cachedb_env)
redis_reply_type = rep->type;
freeReplyObject(rep);
switch (redis_reply_type) {
- case REDIS_REPLY_ERROR:
+ case REDIS_REPLY_STATUS:
+ break;
+ default:
/** init failed, setex command not supported */
log_err("redis_init: failed t... |
Fixed indirection warnings when using only one track of music | @@ -283,13 +283,12 @@ const compile = async (
.join(`\n`) +
`\n` +
`const unsigned char * music_tracks[] = {\n` +
- (music.map(track => track.dataName + "_Data").join(", ") || "0, 0") +
- (music.length === 1
- ? "," + music.map(track => track.dataName + "_Data").join(", ")
- : "") + // Needed for windows??
+ (music.map... |
[bsp] fixed gcc warning: value computed is not used | @@ -78,7 +78,7 @@ void mem_test(uint32_t address, uint32_t size )
for(i=0; i<size/sizeof(uint32_t); i++)
{
*p_uint32_t = (uint32_t)p_uint32_t;
- *p_uint32_t++;
+ p_uint32_t++;
}
p_uint32_t = (uint32_t *)address;
|
[hardware] Fix the cache flushing handshake | @@ -46,19 +46,19 @@ module snitch_icache_lookup #(
logic [CFG.COUNT_ALIGN:0] init_count_q;
logic init_phase;
+ // We are always ready to flush
+ assign flush_ready_o = 1'b1;
+ assign init_phase = init_count_q != $unsigned(CFG.LINE_COUNT);
// Initialization and flush FSM
always_ff @(posedge clk_i, negedge rst_ni) begin
... |
Export pushAny, safePeekAny from Foreign.Lua
Those are the main functions intended for library users. | @@ -46,7 +46,7 @@ tests = testGroup "Userdata"
assertEqual "" "HSLUA_Data.Word.Word64" (metatableName (0 :: Word64))
]
- , testGroup "pushAsUserdata"
+ , testGroup "pushAny"
[ "metatable is named Dummy" =:
(Just "HSLUA_Dummy") `shouldBeResultOf` do
pushAny (Dummy 23 "Nichts ist wie es scheint")
@@ -60,6 +60,23 @@ tests... |
Added my username to email list | # Alister Maguire, Thu Sep 14 14:26:07 PDT 2017
# Added case for userid "alister"
#
+# Edward Rusu, Fri Jun 29 8:35:26 PDT 2018
+# Added case for userid "rusu1"
+#
# *****************************************************************************
@@ -231,6 +234,10 @@ case $1 in
"alister")
emaddr=maguire7@llnl.gov
;;
+ # E... |
install: fix reinstallation of driverless and foomatic-rip
Use "ln -s -r -f" to ensure that existing symlinks are overritten. | @@ -57,7 +57,7 @@ else
fi
if (echo >conf$$.file) 2>/dev/null; then
if ln -s -r conf$$.file conf$$ 2>/dev/null; then
- as_ln_srf='ln -s -r'
+ as_ln_srf='ln -s -r -f'
elif ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_srf='./ln-srf'
# ... but there are two gotchas:
@@ -81,9 +81,9 @@ rmdir conf$$.dir 2>/dev/null
# AC_P... |
Fix pipeline.yml file to have proper input to storage test. | @@ -471,7 +471,7 @@ jobs:
- get: gpdb_src
params: {submodules: none}
passed: [compile_gpdb_centos6]
- - get: bin_gpdb_centos6
+ - get: bin_gpdb
resource: bin_gpdb_centos6
passed: [compile_gpdb_centos6]
trigger: true
|
options/posix: Implement execvp() | #include <errno.h>
#include <stdarg.h>
-#include <bits/ensure.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <bits/ensure.h>
+#include <mlibc/allocator.hpp>
#include <mlibc/arch-defs.hpp>
#include <mlibc/debug.hpp>
#include <mlibc/sysdeps.hpp>
@@ -52,18 +54,17 @@ int execl(const char *path, c... |
build/agc: adding object description | @@ -114,6 +114,9 @@ typedef enum {
// T : primitive data type
// TC : input/output data type
#define LIQUID_AGC_DEFINE_API(AGC,T,TC) \
+ \
+/* Automatic gain control (agc) for level correction and signal */ \
+/* detection */ \
typedef struct AGC(_s) * AGC(); \
\
/* Create automatic gain control object. */ \
|
Upgrade VC project to ruby 2.7.2 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>C:\msys64\usr\local\ruby-2.7.1vc\include\ruby-2.7.0;C:\msys64\usr\local\ruby-2.7.1vc\include\ruby-2.7.0\x64-mswin64_140;C:\msys64\mingw64\include\libxml2;C:\msy... |
Use Cortex-M memory barriers (CC2538) | /*---------------------------------------------------------------------------*/
/* Path to CMSIS header */
#define CMSIS_CONF_HEADER_PATH "cc2538_cm3.h"
+#define MEMORY_BARRIER_CONF_ARCH_HEADER_PATH "memory-barrier-cortex.h"
/*---------------------------------------------------------------------------*/
#endif /* CC253... |
Added vAsserCalled back into main | @@ -274,6 +274,34 @@ void vApplicationIdleHook( void )
/*-----------------------------------------------------------*/
+void vAssertCalled( const char * pcFile,
+ uint32_t ulLine )
+{
+ const uint32_t ulLongSleep = 1000UL;
+ volatile uint32_t ulBlockVariable = 0UL;
+ volatile char * pcFileName = ( volatile char * ) pcF... |
Add WINDOWS_10_22H2 | @@ -33,6 +33,7 @@ extern ULONG WindowsVersion;
#define WINDOWS_10_20H2 110 // October, 2020
#define WINDOWS_10_21H1 111 // May, 2021
#define WINDOWS_10_21H2 112 // November, 2021
+#define WINDOWS_10_22H2 112 // October, 2022
#define WINDOWS_11 113 // October, 2021
#define WINDOWS_11_22H1 114 // February, 2022
#define W... |
Use read_line for checking cpu sched | @@ -611,8 +611,7 @@ void init_system_info(){
trim(os);
gpu = exec("lspci | grep VGA | head -n1 | awk -vRS=']' -vFS='[' '{print $2}' | sed '/^$/d' | tail -n1");
trim(gpu);
- cpusched = exec ("cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor");
- trim (cpusched);
+ cpusched = read_line("/sys/devices/system/cpu/c... |
apps/bttester: Fix error handling when doing GATT Discovery
Previously we would respond to the BTP Tester with a
list of attributes that were discovered before receiving an error.
Now we just respond with a failure if we receive an error. | @@ -1038,7 +1038,14 @@ static int disc_prim_uuid_cb(uint16_t conn_handle,
SYS_LOG_DBG("");
- if (error->status != 0) {
+ if (error->status != 0 && error->status != BLE_HS_EDONE) {
+ tester_rsp(BTP_SERVICE_ID_GATT, opcode,
+ CONTROLLER_INDEX, BTP_STATUS_FAILED);
+ discover_destroy();
+ return 0;
+ }
+
+ if (error->statu... |
wpa-sec over https and link directly to MP table | @@ -13,7 +13,7 @@ Support for hashcat hash-modes: 2500, 2501, 4800, 5500, 12000, 16100
Support for John the Ripper hash-modes: WPAPSK-PMK, PBKDF2-HMAC-SHA1, chap, netntlm, tacacs-plus
After capturing, upload the "uncleaned" cap here
-(http://wpa-sec.stanev.org/?submit) to see if your ap or the client is vulnerable
+(ht... |
Commented out events to match default behavior. | @@ -49,14 +49,14 @@ event:
# Creates events from data written to files.
# Designed for monitoring log files, but capable of capturing
# any file writes.
- - type: file
- name: .*log.* # whitelist ex regex describing log file names
- value: .* # whitelist ex regex describing field values
+# - type: file
+# name: .*log.*... |
stb_image sets srgb flag properly; | @@ -1141,6 +1141,7 @@ static Image* loadKTX2(Blob* blob) {
static Image* loadSTB(Blob* blob) {
void* data;
+ uint32_t flags;
TextureFormat format;
int width, height, channels;
if (stbi_is_16_bit_from_memory(blob->data, (int) blob->size)) {
@@ -1151,12 +1152,14 @@ static Image* loadSTB(Blob* blob) {
case 4: format = FOR... |
README: fix filepath examples
Use snake case instead of pascal case. | @@ -271,7 +271,7 @@ Windows). All examples below are for [POSIX systems].
Remove last extension, and the `.` preceding it.
```lua
-dropExtension("/directory/path.ext") == "/directory/path"
+drop_extension("/directory/path.ext") == "/directory/path"
```
Parameters:
@@ -292,8 +292,8 @@ This function wraps [System.FilePat... |
Add extra filter manager ioctls | @@ -53,9 +53,15 @@ typedef struct _FILTER_PORT_EA
} FILTER_PORT_EA, *PFILTER_PORT_EA;
#define FLT_PORT_EA_NAME "FLTPORT"
+#define FLT_CTL_CREATE CTL_CODE(FILE_DEVICE_DISK_FILE_SYSTEM, 3, METHOD_NEITHER, FILE_READ_ACCESS)
+#define FLT_CTL_ATTACH CTL_CODE(FILE_DEVICE_DISK_FILE_SYSTEM, 4, METHOD_BUFFERED, FILE_WRITE_ACCES... |
Fix FLS-PP lp light names in deCONZ node view | @@ -1163,11 +1163,6 @@ static int sqliteLoadLightNodeCallback(void *user, int ncols, char **colval , ch
if (!name.isEmpty())
{
lightNode->setName(name);
-
- if (lightNode->node())
- {
- lightNode->node()->setUserDescriptor(lightNode->name());
- }
}
QStringList::const_iterator gi = groupIds.begin();
|
HV: update kernel name
updated kernel name from kernel-org.clearlinux.pk414-sos.4.14.52-63 to kernel-org.clearlinux.iot-lts2018-sos.4.19.0-16 for v0.3 release | title The ACRN Service OS
-linux /EFI/org.clearlinux/kernel-org.clearlinux.pk414-sos.4.14.52-63
+linux /EFI/org.clearlinux/kernel-org.clearlinux.iot-lts2018-sos.4.19.0-16
options pci_devices_ignore=(0:18:1) console=tty0 console=ttyS2 i915.nuclear_pageflip=1 root=PARTUUID=<UUID of rootfs partition> rw rootwait ignore_lo... |
Reset model_shrink_rate to zero when baseline is present. | @@ -201,23 +201,24 @@ static void UpdateAndValidateMonotoneConstraints(
}
}
-static void WarnIfBaselineUsedWithModelShrinkage(
+static void DropModelShrinkageIfBaselineUsed(
const NCB::TDataMetaInfo& trainDataMetaInfo,
bool learningContinuation,
- const NCatboostOptions::TCatBoostOptions* catBoostOptions
+ NCatboostOpt... |
acvp_test: Fix incorrect parenthesis | @@ -1227,10 +1227,10 @@ static int rsa_sigver_test(int id)
|| !TEST_ptr(md_ctx = EVP_MD_CTX_new())
|| !TEST_true(EVP_DigestVerifyInit_ex(md_ctx, &pkey_ctx,
tst->digest_alg, libctx, NULL,
- pkey, NULL)
+ pkey, NULL))
|| !TEST_true(EVP_PKEY_CTX_set_params(pkey_ctx, params))
|| !TEST_int_eq(EVP_DigestVerify(md_ctx, tst->s... |
Stats: Updated wrong slot on new vector | @@ -115,7 +115,6 @@ vlib_stats_pop_heap (void *cm_arg, void *oldheap, stat_directory_type_t type)
strncpy (e.name, stat_segment_name, 128 - 1);
e.type = type;
vec_add1 (sm->directory_vector, e);
- vector_index++;
}
stat_segment_directory_entry_t *ep = &sm->directory_vector[vector_index];
|
Fix compilation with MSVC. | @@ -336,7 +336,7 @@ tsError ts_bspline_set_knot_at(tsBSpline *spline, size_t index, tsReal knot,
tsStatus *status)
{
tsReal *knots = NULL;
- tsReal oldKnot;
+ tsReal oldKnot = 0.f;
tsError err;
TS_TRY(try, err, status)
TS_CALL(try, err, ts_int_bspline_access_knot_at(
|
Build CuTest and testutils as static library. | ###############################################################################
### Build CuTest.
###############################################################################
-add_library(cutest "cutest/CuTest.c")
+add_library(cutest STATIC "cutest/CuTest.c")
target_include_directories(cutest PUBLIC "${CMAKE_CURRENT... |
ultra lazy fix for hitresult with particles
now hitresult shows up with particles (but not animated) | @@ -74,6 +74,7 @@ def prepare_particles(scale, settings):
frames = {}
for hit in [50, 100]:
yimg = YImage(particleprefix + str(hit), settings, scale)
+ yimg2 = YImage(hitprefix + str(hit), settings, scale)
if yimg.imgfrom == ImageFrom.DEFAULT_X or yimg.imgfrom == ImageFrom.DEFAULT_X2 or yimg.imgfrom == ImageFrom.BLANK:... |
Fix home screen shortcuts when app is not running | @@ -88,6 +88,11 @@ import SwiftUI_Views
return
}
+ if let item = connectionOptions.shortcutItem, let windowScene = scene as? UIWindowScene {
+ self.windowScene(windowScene, performActionFor: item, completionHandler: { _ in })
+ return
+ }
+
if let restorationActivity = session.stateRestorationActivity {
if let console ... |
Do not override default teimeout by default | @@ -3147,7 +3147,9 @@ picoquic_cnx_t* picoquic_create_cnx(picoquic_quic_t* quic,
picoquic_init_transport_parameters(&cnx->local_parameters, cnx->client_mode);
cnx->local_parameters.enable_loss_bit = quic->default_lossbit_policy;
cnx->local_parameters.enable_multipath = quic->default_multipath_option;
+ if (quic->defaul... |
jenkins: Add -Werror | @@ -88,6 +88,7 @@ CMAKE_FLAGS_ASAN = ['ENABLE_ASAN': 'ON']
CMAKE_FLAGS_DEBUG = ['ENABLE_DEBUG': 'ON']
CMAKE_FLAGS_LOGGER = ['ENABLE_LOGGER': 'ON']
CMAKE_FLAGS_OPTIMIZATIONS_OFF = ['ENABLE_OPTIMIZATIONS': 'OFF']
+CMAKE_FLAGS_WERROR = ['COMMON_FLAGS': "-Werror"]
// CMAKE_FLAGS_BUILD_SHARED = ['BUILD_SHARED': 'ON'] is ON ... |
tests: runtime: out_forward: Follow option order for fluent_signal | @@ -143,8 +143,8 @@ static void cb_check_forward_mode(void *ctx, int ffd,
TEST_CHECK(root.via.map.size == 2);
/* Record */
- key = root.via.map.ptr[0].key;
- val = root.via.map.ptr[0].val;
+ key = root.via.map.ptr[1].key;
+ val = root.via.map.ptr[1].val;
ret = strncmp(key.via.str.ptr, "fluent_signal", 13);
TEST_CHECK(r... |
Fix error message for replica-serve-stale-data in redis.conf doc
seems that his piece of doc was always wrong (no such error in the code) | @@ -518,8 +518,9 @@ dir ./
# still reply to client requests, possibly with out of date data, or the
# data set may just be empty if this is the first synchronization.
#
-# 2) If replica-serve-stale-data is set to 'no' the replica will reply with
-# an error "SYNC with master in progress" to all commands except:
+# 2) I... |
Addition of Policy and Caution to Porting Guide | # Porting Guide
## Contents
-> [Policy & Causion](policy--causion)
+> [Policy & Caution](policy--caution)
> [Kernel & System](#kernel--system)
> [File System](#file-system)
> [Network](#network)
> [Audio](#audio)
> [Confirmation of Porting](#confirmation-of-porting)
-## Policy & Causion
-1. Use driver, framework and sy... |
ci: Add inspektor-gadget.yaml as release artifact.
This file can be used by kubectl apply to deploy inspektor gadget and the trace
CRD.
The version deployed correspond to that of the release. | @@ -685,6 +685,21 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
+ - id: set-repo-determine-image-tag
+ uses: ./.github/actions/set-container-repo-and-determine-image-tag
+ with:
+ registry: ${{ env.REGISTRY }}
+ container-image: ${{ env.CONTAINER_REPO }}
+ co-re: false
+ - name: ... |
Should have compiled before pushing ;) | @@ -434,7 +434,7 @@ ldns_udp_bgsend(ldns_buffer *qbin,
const struct sockaddr_storage *to , socklen_t tolen,
struct timeval timeout)
{
- s = ldns_udp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
+ int s = ldns_udp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
return s > 0 ? s : 0;
}
|
Issue with globality | @@ -292,8 +292,12 @@ static int init(grib_iterator* iter, grib_handle* h, grib_arguments* args)
for (i=0;i<row_count;i++) {
if(iter->e >= iter->nv){
- grib_context_log(h->context,GRIB_LOG_ERROR, "Failed to initialise reduced Gaussian iterator (global)");
- return GRIB_WRONG_GRID;
+ //grib_context_log(h->context,GRIB_LO... |
server_queuereader: avoid SIGPIPE warning on some platforms (like Darwin) | @@ -410,10 +410,13 @@ server_queuereader(void *d)
&self->sockbufsize, sizeof(self->sockbufsize)) != 0)
; /* ignore */
#ifdef SO_NOSIGPIPE
- if (self->ctype == CON_TCP || self->ctype == CON_UDP)
- if (setsockopt(self->fd, SOL_SOCKET, SO_NOSIGPIPE, NULL, 0) != 0)
+ if (self->ctype == CON_TCP || self->ctype == CON_UDP) {
... |
cmake: fixed openssl library paths on Mac OS when OPENSSL_ROOT_DIR is not already specified | @@ -9,16 +9,16 @@ project(xdag)
# usually avoid this by using environment variables:
# mkdir build-gcc && cd build-gcc && CC=gcc-7 CXX=g++-7 cmake ..
-enable_language(
- C
- ASM
-)
+enable_language(C ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_FLAGS "-std=gnu11 -O3 -g -Wall -Wmissing-pro... |
Add tests for CodeLite workspace folders | </CodeLite_Workspace>
]])
end
+
+
+ function suite.onGroupedProjects()
+ wks.projects = {}
+ project "MyGrouplessProject"
+ group "MyGroup"
+ project "MyGroupedProject"
+ group "My/Nested/Group"
+ project "MyNestedGroupedProject"
+ prepare()
+ test.capture([[
+<?xml version="1.0" encoding="UTF-8"?>
+<CodeLite_Workspace... |
[mod_webdav] fix fallback if linkat() fails
fix fallback if linkat() fails
check at startup if /proc/self/fd is present on systems with O_TMPFILE
(containers might not mount /proc)
x-ref:
"mod_webdav - PUT files with < 64kb Content-Length reults in zero length file" | #include "plugin.h"
+#if (defined(__linux__) || defined(__CYGWIN__)) && defined(O_TMPFILE)
+static int has_proc_self_fd;
+#endif
+
#define http_status_get(r) ((r)->http_status)
#define http_status_set_fin(r, code) ((r)->resp_body_finished = 1,\
(r)->handler_module = NULL, \
@@ -538,6 +542,11 @@ SETDEFAULTS_FUNC(mod_web... |
ipp.c:replace cupsBackendDeviceURi() | @@ -128,7 +128,7 @@ get_printer_attributes3(http_t *http_printer,
int debug,
int* driverless_info)
{
- const char *uri;
+
int have_http, uri_status, host_port, i = 0, total_attrs = 0, fallback,
cap = 0;
char scheme[10], userpass[1024], host_name[1024], resource[1024];
@@ -182,10 +182,8 @@ get_printer_attributes3(http_t... |
core/nds32/panic.c: Format with clang-format
BRANCH=none
TEST=none | @@ -139,14 +139,14 @@ static void print_panic_information(uint32_t *regs, uint32_t itype,
uint32_t ipc, uint32_t ipsw)
{
panic_printf("=== EXCEP: ITYPE=%x ===\n", itype);
- panic_printf("R0 %08x R1 %08x R2 %08x R3 %08x\n",
- regs[0], regs[1], regs[2], regs[3]);
- panic_printf("R4 %08x R5 %08x R6 %08x R7 %08x\n",
- regs... |
BugID:19136832: Fix overflow of report_Id. | @@ -100,7 +100,7 @@ void awss_report_token_reply(void *pcontext, void *pclient, void *msg)
int ret, len;
char *payload;
char *id = NULL;
- char reply_id = 0;
+ uint8_t reply_id = 0;
uint32_t payload_len;
ret = awss_cmp_mqtt_get_payload(msg, &payload, &payload_len);
@@ -114,7 +114,7 @@ void awss_report_token_reply(void ... |
mention the known issue, description pending | @@ -4,6 +4,15 @@ title: Known Issues
# Known Issues
+## AppScope 1.2.0
+
+2022-11-09 - Feature Release
+
+As of this AppScope release, known issues include:
+
+- [#1055](https://github.com/criblio/appscope/issues/1055) <description TBD>.
+ - **Fix:** Planned for 1.2.1
+
## AppScope 1.1.0
2022-06-29 - Maintenance Releas... |
chat: invite search style fix | @@ -93,7 +93,6 @@ export class InviteSearch extends Component {
return e.toLowerCase().includes(searchTerm);
});
if (match.length > 0) {
- console.log("found")
if (!(contact in shipMatches)) {
shipMatches.push(contact);
}
@@ -249,7 +248,7 @@ export class InviteSearch extends Component {
classes="mix-blend-diff v-mid"
/... |
Update wheel build setting | requires = ["setuptools", "wheel", "numpy"]
[tool.cibuildwheel]
-skip = ["pp*", "*-win32", "*-manylinux_i686"]
+skip = ["pp*", "*-win32", "*-manylinux_i686", "*-musllinux*"]
+manylinux-x86_64-image = "manylinux2014"
+manylinux-aarch64-image = "manylinux2014"
|
User: Disable Sydr exit timeout and increase solving timeouts | @@ -268,10 +268,8 @@ sydr-fuzz: $(PROJECT).sydr$(SUFFIX) $(PROJECT)$(SUFFIX) FORCE
@$(MKDIR) $(FUZZ_DIR)
@rm -rf sydr-fuzz-out
@cat <<- EOF > sydr-fuzz.toml
- exit-on-time = 7200
-
[sydr]
- args = "-s 90 -j $(FUZZ_JOBS)"
+ args = "--solving-timeout 60 -s 900 -j $(FUZZ_JOBS)"
target = "$(PROJECT).sydr$(SUFFIX) @@"
jobs ... |
should not release this memory at this stage | @@ -104,14 +104,14 @@ file_open(
if (NULL == pFp)
{
ReturnCode = EFI_OUT_OF_RESOURCES;
- goto Finish;
+ goto Error;
}
*pFp = gFileProtocol;
pFp->Revision = (UINT64)AllocateZeroPool(sizeof(FILE_CONTEXT));
if (0 == pFp->Revision)
{
ReturnCode = EFI_OUT_OF_RESOURCES;
- goto Finish;
+ goto Error;
}
pFc = cast_to_file_conte... |
replace 1'd0 with 1'b0 in axi_sts_register.v | @@ -93,10 +93,9 @@ module axi_sts_register #
assign s_axi_rdata = int_rdata_reg;
assign s_axi_rvalid = int_rvalid_reg;
- // Patch for opt_design errors due to trimming of unused paths
+ assign s_axi_awready = 1'b0;
+ assign s_axi_wready = 1'b0;
assign s_axi_bresp = 2'd0;
- assign s_axi_awready = 1'd0;
- assign s_axi_bv... |
X509_REQ_get_extensions: add error queue entry on ill-formed extensions attribute | @@ -154,8 +154,10 @@ STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req)
}
if (ext == NULL) /* no extensions is not an error */
return sk_X509_EXTENSION_new_null();
- if (ext->type != V_ASN1_SEQUENCE)
+ if (ext->type != V_ASN1_SEQUENCE) {
+ ERR_raise(ERR_LIB_X509, X509_R_WRONG_TYPE);
return NULL;
+ }
p = e... |
Remove obsolete FAQ entry
Issue had been fixed in v1.14 by | @@ -114,16 +114,6 @@ In developer options, enable:
[simulating input]: https://github.com/Genymobile/scrcpy/issues/70#issuecomment-373286323
-### Mouse clicks at wrong location
-
-On MacOS, with HiDPI support and multiple screens, input location are wrongly
-scaled. See [#15].
-
-[#15]: https://github.com/Genymobile/sc... |
Typo in stride_low desc in sceGxmTexture struct. | @@ -1051,7 +1051,7 @@ typedef struct SceGxmTexture {
uint32_t mip_filter : 1; //!< Mip filter for a non LINEAR_STRIDED texture
uint32_t min_filter : 2; //!< Min filter for a non LINEAR_STRIDED texture)
};
- uint32_t stride_low : 3; //!< Internal stride lower bits for a non LINEAR_STRIDED texture
+ uint32_t stride_low :... |
FIPS provider modifications | #include "prov/seeding.h"
#include "self_test.h"
#include "crypto/context.h"
+#include "internal/core.h"
static const char FIPS_DEFAULT_PROPERTIES[] = "provider=fips,fips=yes";
static const char FIPS_UNAPPROVED_PROPERTIES[] = "provider=fips,fips=no";
@@ -36,6 +37,22 @@ static OSSL_FUNC_provider_gettable_params_fn fips_... |
bootstrap-t4p4s.sh fixed
Fixed P4C git submodule cloning in bootstrap-t4p4s.sh | @@ -33,7 +33,7 @@ git clone --recursive -b "${PROTOBUF_BRANCH}" https://github.com/google/protobuf
WAITPROC_PROTOBUF="$!"
[ $PARALLEL_INSTALL -ne 0 ] || wait "$WAITPROC_PROTOBUF"
-git clone --recursive https://github.com/p4lang/p4c && cd p4c && git checkout $P4C_COMMIT && git submodule update --recursive &
+git clone -... |
Fix bind BIND_ANIMATION_FRAME_REMOVE option. Previously the bind entity would kill itself instantly regardless of frames. | @@ -21999,7 +21999,7 @@ void adjust_bind(entity *e)
{
// If we don't have the frame and frame kill flag is
// set, kill ourselves.
- if (e->animation[e->animnum].numframes < frame)
+ if (e->animation->numframes < frame)
{
if (e->binding.match & BIND_ANIMATION_FRAME_REMOVE)
|
pg_dump: Fix failing test on ubuntu 18
perl 5.26 packaged with ubuntu 18 didn't like some newly introduced regex,
this fixes the failing test for that platform.
Failed test 'should dump CREATE EXTERNAL WEB TABLE dump_test.dummy_ext_tab`
Authored-by: Brent Doil | @@ -1569,7 +1569,7 @@ my %tests = (
\n\QOPTIONS (\E
\n\s+\Qcommand 'echo foo',\E
\n\s+\Qdelimiter '\E\s+\Q',\E
- \n\s+\Qencoding '6',\E
+ \n\s+\Qencoding '\E\d\Q',\E
\n\s+\Qescape E'\\',\E
\n\s+\Qexecute_on 'ALL_SEGMENTS',\E
\n\s+\Qformat 'text',\E
|
add scePsmDrmGetRifKey and psm license struct
* add scePsmDrmGetRifKey and psm license struct
Maybe should goto a separate psmdrm.h, not sure.
* fix return
* make match what princess of sleeping and KuromeSan said
* Update npdrm.h
* correct npdrm.h | @@ -37,6 +37,24 @@ typedef struct SceNpDrmLicense { // size is 0x200
char rsa_signature[0x100];
} SceNpDrmLicense;
+typedef struct ScePsmDrmLicense {
+ char magic[0x8];
+ SceUInt32 unk1;
+ SceUInt32 unk2;
+ SceUInt64 account_id;
+ SceUInt32 unk3;
+ SceUInt32 unk4;
+ SceUInt64 start_time;
+ SceUInt64 expiration_time;
+ ... |
Replace hardcoded 'share/' by datadir variable
Meson defines a variable for the data directory.
PR <https://github.com/Genymobile/scrcpy/pull/3351> | @@ -223,14 +223,17 @@ executable('scrcpy', src,
install: true,
c_args: [])
+# <https://mesonbuild.com/Builtin-options.html#directories>
+datadir = get_option('datadir') # by default 'share'
+
install_man('scrcpy.1')
install_data('data/icon.png',
rename: 'scrcpy.png',
- install_dir: 'share/icons/hicolor/256x256/apps')
+... |
king: Started implementing multi-tenet HTTP. | set -e
-stack test urbit-king --fast
+(cd pkg/hs; stack test urbit-king --fast)
pkg=$(nix-build nix/ops -A test --no-out-link "$@")
|
misc: update package counts | @@ -23,11 +23,11 @@ pre-packaged binary RPMs available per architecture type are summarized as follo
Base OS | aarch64 | x86_64 | noarch
:---: | :---: | :---: | :---:
-CentOS 7.5 | 407 | 723 | 45
-SLES 12 SP3 | 414 | 727 | 45
+CentOS 7.6 | 408 | 724 | 45
+SLES 12 SP4 | 415 | 728 | 45
A list of all available components ... |
bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
When FE and SB keys are set then:
128 low bits are read protected
128 hi bits are readable | @@ -363,7 +363,11 @@ bool esp_secure_boot_cfg_verify_release_mode(void)
}
#endif
++num_keys;
+#if SOC_EFUSE_CONSISTS_OF_ONE_KEY_BLOCK
+ secure = !esp_efuse_read_field_bit(ESP_EFUSE_RD_DIS_KEY0_HI);
+#else
secure = !esp_efuse_get_key_dis_read(block);
+#endif // !SOC_EFUSE_CONSISTS_OF_ONE_KEY_BLOCK
result &= secure;
if (... |
Sharpen nogame screen; | @@ -36,7 +36,7 @@ local function nogame()
}
uv.x -= clamp(uv.x, -2., 0.);
float sdf = -length(uv) * sign(uv.y) - .5;
- float w = fwidth(sdf);
+ float w = fwidth(sdf) * .5;
float alpha = smoothstep(.22 + w, .22 - w, sdf);
vec3 color = mix(vec3(.094, .662, .890), vec3(.913, .275, .6), clamp(y * 1.5 - .25, 0., 1.));
color... |
dm: types: add container_of macro
Add standard container_of macro to access
the parent struct pointer.
Acked-by: Wang, Yu1 | @@ -18,6 +18,11 @@ typedef uint64_t cap_ioctl_t;
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
+#define container_of(ptr, type, member) ({ \
+ const typeof(((type *)0)->member) * __mptr = (ptr); \
+ (type *)((char *)__mptr - (offsetof(type, member))); \
+})
+
#define __aligned(x) __attribute__((aligned(x)))
#define ... |
doc: add iofs release1 install and setup
- command to enable virtual fpga functions
- bind pci-vfio to virtual functions
- command to run Host Exerciser Loopback tool | @@ -393,6 +393,79 @@ Done
```
+## Setup IOFS Release1 Bitstream on FPGA PCIe card ##
+
+Program IOFS Release1 bitstream on FPGA D5005 or N6010 cards and reboot system.
+
+Run command: lspci | grep acc
+
+```3b:00.0 Processing accelerators: Intel Corporation Device af00 (rev 01)```
+
+Number of virtual functions support... |
examples: text: Fixed text example | @@ -32,24 +32,24 @@ func run() int {
defer window.Destroy()
if font, err = ttf.OpenFont("../../assets/test.ttf", 32); err != nil {
- fmt.Fprint(os.Stderr, "Failed to open font: %s\n", err)
+ fmt.Fprintf(os.Stderr, "Failed to open font: %s\n", err)
return 4
}
defer font.Close()
- if solid, err = font.RenderUTF8Solid("He... |
chat: hoon eval preserves whitespace | @@ -19,6 +19,7 @@ export default class CodeContent extends Component {
overflow='auto'
maxHeight='10em'
maxWidth='100%'
+ style={{ whiteSpace: 'pre' }}
backgroundColor='scales.black10'
>
{content.code.output[0].join('\n')}
@@ -36,6 +37,7 @@ export default class CodeContent extends Component {
overflow='auto'
maxHeight=... |
FileShare schemas: convert int type fields to long type to avoid number
format exceptions | <field name="description" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="character_count_with_spaces" type="int" indexed="true" stored="true" multiValued="false"/>
<field name="revision_number" type="string" indexed="true" stored="true" multiValued="false"/>
- <field name="line_count" type... |
OcConsoleLib: Fix potential null pointer dereference | @@ -357,9 +357,12 @@ ParseResolution (
*Width = 0;
*Height = 0;
- *Bpp = 0;
*Max = FALSE;
+ if (Bpp != NULL) {
+ *Bpp = 0;
+ }
+
if (AsciiStrCmp (String, "Max") == 0) {
*Max = TRUE;
return;
|
Change sensor switch names. | </div>
</div>
<div class="form-group">
- <label class="control-label col-xs-7">Attitude Sensor</label>
+ <label class="control-label col-xs-7">AHRS Sensor</label>
<div class="col-xs-5">
<ui-switch ng-model='IMU_Sensor_Enabled' settings-change></ui-switch>
</div>
</div>
<div class="form-group">
- <label class="control-l... |
[dpos] remove the irrelevent elements from the undo | @@ -8,6 +8,7 @@ import (
"github.com/aergoio/aergo/chain"
"github.com/aergoio/aergo/types"
+ "github.com/davecgh/go-spew/spew"
)
type errLibUpdate struct {
@@ -95,8 +96,25 @@ func (pls *pLibStatus) rollbackStatusTo(block *types.Block) error {
end *list.Element
confirmLow = cInfo(beg).BlockNo
targetHash = block.ID()
+ t... |
Changelog: Document non-Apple boot args ASSERT fix | @@ -2,6 +2,7 @@ OpenCore Changelog
==================
#### v0.5.2
- Fixed `MinKernel` and `MaxKernel` logic (thx @dhinakg)
+- Fixed ASSERT when booting non-Apple OSes without arguments from the DEBUG version.
#### v0.5.1
- Added support of kernel resource kext injection
|
Update build steps for RHEL 8 | @@ -158,6 +158,18 @@ sudo apt-get install liblttng-ust-dev
sudo apt-get install lttng-tools
```
+On RHEL 8, you'll need to manually install CMake to get the latest version.
+Download the x86_64 Linux installation script from cmake.org, and run the following
+`sudo sh cmake.sh --prefix=/usr/local/ --exclude-subdir`
+to ... |
Shrink oversized color array | @@ -561,7 +561,7 @@ static float compress_symbolic_block_for_partition_1plane(
workscb.color_formats_matched = 0;
if (partition_count >= 2 && all_same)
{
- uint8_t colorvals[BLOCK_MAX_PARTITIONS][12];
+ uint8_t colorvals[BLOCK_MAX_PARTITIONS][8];
uint8_t color_formats_mod[BLOCK_MAX_PARTITIONS] { 0 };
bool all_same_mod ... |
http_client: on exception, use context destroyer (oss-fuzz 26399) | @@ -686,8 +686,7 @@ struct flb_http_client *flb_http_client(struct flb_upstream_conn *u_conn,
if (proxy) {
ret = proxy_parse(proxy, c);
if (ret != 0) {
- flb_free(buf);
- flb_free(c);
+ flb_http_client_destroy(c);
return NULL;
}
}
@@ -696,8 +695,7 @@ struct flb_http_client *flb_http_client(struct flb_upstream_conn *u_c... |
Generate exporter_master_secret after server Finished | @@ -581,9 +581,18 @@ int tls13_change_cipher_state(SSL *s, int which)
goto err;
}
- if (label == server_application_traffic)
+ if (label == server_application_traffic) {
memcpy(s->server_app_traffic_secret, secret, hashlen);
- else if (label == client_application_traffic)
+ /* Now we create the exporter master secret *... |
Cray compiler: Enable ISO C++ 2011 standard | @@ -70,6 +70,9 @@ ecbuild_add_option( FEATURE EXPERIMENTAL_BUILD_WITH_CXX
DEFAULT OFF )
if( HAVE_EXPERIMENTAL_BUILD_WITH_CXX )
enable_language( CXX )
+ if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Cray" )
+ set(CMAKE_CXX_FLAGS "-hstd=c++11 ${CMAKE_CXX_FLAGS}")
+ endif()
endif()
ecbuild_add_option( FEATURE PRODUCT_GRIB
|
check correct mbedtls version number | #include "mbedtls/error.h"
#include "mbedtls/debug.h"
#include "mbedtls/sha256.h"
+#include "mbedtls/version.h"
#include "main.h"
#include "conf.h"
@@ -212,7 +213,7 @@ int tls_client_get_id(uint8_t id[], size_t len, const char query[])
mbedtls_sha256_context ctx;
mbedtls_sha256_init(&ctx);
-#if (MBEDTLS_VERSION_MAJOR >... |
added additional info about rolling release and sync to hashcat beta fiexed typo | @@ -4,7 +4,7 @@ hcxtools
Small set of tools to capture and convert packets from wlan devices
for the use with latest hashcat. The tools are 100% compatible to hashcat
and recommended by hashcat. This branch is pretty closely synced to
-hashcat git branch (that means: latest hcxtools matching on latest hashcat beta)
+ha... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.