message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
ci: artifacts: adjust musl build triplet name
Use the same build triplet name that Rust uses: `x86_64-unknown-linux-musl`
CI-Tags: #no_auto_pr | @@ -10,7 +10,7 @@ if [ "$RUNNER_OS" == "macOS" ]; then
EXECUTABLES=("sbp2json" "json2sbp" "json2json")
PACKAGE_CMD="zip ../../$ARTIFACT_NAME ${EXECUTABLES[*]}"
elif [ "$RUNNER_OS" == "Linux" ]; then
- BUILD_TRIPLET="x86_64-linux-musl"
+ BUILD_TRIPLET="x86_64-unknown-linux-musl"
ARTIFACT_NAME="sbp_tools-${VERSION}-${BUI... |
wording: EAPOL M1M2 - change from not authorized to challenge | @@ -188,8 +188,8 @@ if(flagfilterouiclient == true)
}
if(flagfilterapless == true) printf("filter by M2...........: requested from client (AP-LESS)\n");
if(flagfilterrcchecked == true) printf("filter by replaycount..: checked\n");
-if(flagfilterauthorized == true) printf("filter by status.......: authorized\n");
-if(fl... |
Change way we retrieve and set paths in Options
Makes everything relative in some way from .exe, which should prove more reliable | @@ -8,19 +8,15 @@ static std::unique_ptr<Options> s_instance;
Options::Options(HMODULE aModule)
{
- char path[2048 + 1] = { 0 };
- GetModuleFileNameA(aModule, path, std::size(path) - 1);
- Path = path;
-
- char exePath[2048 + 1] = { 0 };
- GetModuleFileNameA(GetModuleHandleA(nullptr), exePath, std::size(exePath) - 1);
... |
Fix WIN32 compilation warning | @@ -242,11 +242,7 @@ handle_upcall(struct socket *upcall_socket, void *upcall_data, int upcall_flags)
} else {
if (par_very_verbose) {
if (infotype == SCTP_RECVV_RCVINFO) {
-#ifdef _WIN32
- printf("Message received - %" PRIu64 " bytes - %s - sid %u - tsn %u %s\n",
-#else
printf("Message received - %zd bytes - %s - sid ... |
Check byte information behaviour in handlers | @@ -2239,6 +2239,28 @@ START_TEST(test_byte_info_at_error)
}
END_TEST
+/* Test position information in handler */
+static void
+byte_character_handler(void *UNUSED_P(userData),
+ const XML_Char *UNUSED_P(s),
+ int len)
+{
+ if (XML_GetCurrentByteIndex(parser) != 5)
+ fail("Character byte index incorrect");
+ if (XML_Ge... |
metadata-store: unhide all groups | +$ state-9 [%9 base-state-3]
+$ state-10 [%10 base-state-3]
+$ state-11 [%11 base-state-3]
++$ state-12 [%12 base-state-3]
+$ versioned-state
$% state-0
state-1
state-9
state-10
state-11
+ state-12
==
::
+$ inflated-state
- $: state-11
+ $: state-12
cached-indices
==
--
=| cards=(list card)
|^
=* loop $
- ?: ?=(%11 -.o... |
sanitizers: swapped pc and crashAddr in san parsing | @@ -146,8 +146,8 @@ size_t sanitizers_parseReport(run_t* run, pid_t pid, funcs_t* funcs, uint64_t* p
}
headerFound = true;
sscanf(lineptr,
- "==%*d==ERROR: %*[^:]: %*[^ ] on address 0x%" PRIx64 " at pc 0x%" PRIx64, pc,
- crashAddr);
+ "==%*d==ERROR: %*[^:]: %*[^ ] on address 0x%" PRIx64 " at pc 0x%" PRIx64, crashAddr,
... |
Ignore HTTP Date values with invalid year (Apple Issue | @@ -840,6 +840,13 @@ httpGetDateTime(const char *s) /* I - Date/time string */
DEBUG_printf(("4httpGetDateTime: day=%d, mon=\"%s\", year=%d, hour=%d, "
"min=%d, sec=%d", day, mon, year, hour, min, sec));
+ /*
+ * Check for invalid year (RFC 7231 says it's 4DIGIT)
+ */
+
+ if (year > 9999)
+ return (0);
+
/*
* Convert t... |
esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency introduced in | @@ -79,7 +79,7 @@ int IRAM_ATTR esp_clk_xtal_freq(void)
return rtc_clk_xtal_freq_get() * MHZ;
}
-#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESPS3
+#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
void IRAM_ATTR ets_update_cpu_frequency(uint32_t tic... |
ble_hs_adv: Fix small mistake in ble_hs_adv_parse_one_field
Fix small mistake while parsing service uuid32 in `ble_hs_adv_parse_one_field`. | @@ -594,7 +594,7 @@ ble_hs_adv_parse_one_field(struct ble_hs_adv_fields *adv_fields,
if (rc != 0) {
return rc;
}
- adv_fields->uuids16_is_complete = 0;
+ adv_fields->uuids32_is_complete = 0;
break;
case BLE_HS_ADV_TYPE_COMP_UUIDS32:
@@ -602,7 +602,7 @@ ble_hs_adv_parse_one_field(struct ble_hs_adv_fields *adv_fields,
if... |
docs(msgbox) fix typo | @@ -27,7 +27,7 @@ The message box is built from other widgets, so you can check these widgets' doc
If `parent` is `NULL` the message box will be modal. `title` and `txt` are strings for the title and the text.
`btn_txts[]` is an array with the buttons' text. E.g. `const char * btn_txts[] = {"Ok", "Cancel", NULL}`.
-`ad... |
Fix Change default answer for init script | @@ -43,14 +43,24 @@ question_postgresql_password() {
}
question_elk_start() {
- read -p "Do you want to start ELK (true/false) [true] ? " elk_start
- elk_start=${elk_start:-true}
+ read -p "Do you want to start ELK (yes/no) [yes] ? " elk_start
+ elk_start=${elk_start:-yes}
+ if [[ "$elk_start" = "yes" ]] || [[ "$elk_st... |
Fix code comment in spec related to PDF problem | @@ -27,7 +27,7 @@ RSpec.describe Magick::Image, '#read' do
end
describe 'issue #483', supported_after('6.9.0') do
- # On Windows platform, it causes SEGV with ImageMagick 6.8.x
+ # The newer Ghostscript might not be worked with old ImageMagick.
it 'can read PDF file' do
expect { described_class.read(File.join(FIXTURE_P... |
OSSL_CMP_SRV_process_request(): fix recipNonce on error in subsequent request of a transaction | @@ -447,7 +447,7 @@ OSSL_CMP_MSG *OSSL_CMP_SRV_process_request(OSSL_CMP_SRV_CTX *srv_ctx,
ASN1_OCTET_STRING *backup_secret;
OSSL_CMP_PKIHEADER *hdr;
int req_type, rsp_type;
- int res;
+ int req_verified = 0;
OSSL_CMP_MSG *rsp = NULL;
if (srv_ctx == NULL || srv_ctx->ctx == NULL
@@ -505,12 +505,12 @@ OSSL_CMP_MSG *OSSL_C... |
Corrected logic when checking if alarms are enabled | @@ -299,7 +299,7 @@ SmartAndHealthCheck(
goto Finish;
}
- if (FALSE == AlarmEnabled && HealthInfo.MediaTemperature > MediaTemperatureThreshold) {
+ if (FALSE != AlarmEnabled && HealthInfo.MediaTemperature > MediaTemperatureThreshold) {
APPEND_RESULT_TO_THE_LOG(pDimm, STRING_TOKEN(STR_QUICK_MEDIA_TEMP_EXCEEDS_ALARM_THR)... |
dpdk: add additional fields to rte_mbuf trace print | @@ -756,12 +756,15 @@ format_dpdk_rte_mbuf (u8 * s, va_list * va)
s = format (s, "PKT MBUF: port %d, nb_segs %d, pkt_len %d"
"\n%Ubuf_len %d, data_len %d, ol_flags 0x%lx, data_off %d, phys_addr 0x%x"
- "\n%Upacket_type 0x%x l2_len %u l3_len %u outer_l2_len %u outer_l3_len %u",
+ "\n%Upacket_type 0x%x l2_len %u l3_len %... |
Update jsapi.c
Add true and false as keywords; should fix | @@ -775,7 +775,7 @@ static duk_ret_t duk_reset(duk_context* duk)
return 0;
}
-static const char* const ApiKeywords[] = API_KEYWORDS;
+static const char* const Apis[] = API_KEYWORDS;
static const struct{duk_c_function func; s32 params;} ApiFunc[] =
{
{NULL, 0},
@@ -936,7 +936,8 @@ static const char* const JsKeywords [] ... |
gmskframegen: setting state to write zeros when frame complete | @@ -499,6 +499,7 @@ int gmskframegen_write_tail(gmskframegen _q,
if (_q->symbol_counter == _q->tail_len) {
_q->symbol_counter = 0;
_q->frame_complete = 1;
+ _q->state = STATE_UNASSEMBLED;
}
return LIQUID_OK;
}
|
Place the vpp_papi*.egg file together with other build products.
This way it will be deleted when clean/wipe is performed. | @@ -19,4 +19,5 @@ install-exec-local:
--prefix $(DESTDIR)$(prefix) \
--single-version-externally-managed \
--verbose \
- bdist_egg)
+ bdist_egg \
+ --dist-dir=$(DESTDIR)$(prefix))
|
Disable noexcept-type warning of g++-7 | @@ -243,6 +243,9 @@ if test "x$werror" != "xno"; then
#AX_CHECK_COMPILE_FLAG([-Werror], [CXXFLAGS="$CXXFLAGS -Werror"])
AX_CHECK_COMPILE_FLAG([-Wformat-security], [CXXFLAGS="$CXXFLAGS -Wformat-security"])
AX_CHECK_COMPILE_FLAG([-Wsometimes-uninitialized], [CXXFLAGS="$CXXFLAGS -Wsometimes-uninitialized"])
+ # Disable no... |
sysdeps/managarm: Convert sys_fchmodat to bragi | @@ -4074,40 +4074,29 @@ int sys_fchmod(int fd, mode_t mode) {
int sys_fchmodat(int fd, const char *pathname, mode_t mode, int flags) {
SignalGuard sguard;
- HelAction actions[3];
- globalQueue.trim();
- managarm::posix::CntRequest<MemoryAllocator> req(getSysdepsAllocator());
- req.set_request_type(managarm::posix::CntR... |
Correct range_n limiting
same bug as seen in somehow missed in corresponding PR | @@ -346,8 +346,8 @@ int CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG incx, FLOAT *bu
range_m[MAX_CPU_NUMBER - num_cpu - 1] = range_m[MAX_CPU_NUMBER - num_cpu] - width;
range_n[num_cpu] = num_cpu * (((m + 15) & ~15) + 16);
- if (range_n[num_cpu] > m) range_n[num_cpu] = m;
-
+ if (range_n[num_cpu] > m * n... |
grib_to_netcdf unit for time does not comply to ISO8601 | @@ -2968,11 +2968,11 @@ static int define_netcdf_dimensions(hypercube *h, fieldset *fs, int ncid, datase
if(strcmp(axis, "time") == 0)
{
boolean onedtime = (count_values(cube, "date") == 0 && count_values(cube, "step") == 0);
- sprintf(u, "hours since 0000-00-00 00:00:0.0");
+ sprintf(u, "hours since 0000-00-00 00:00:0... |
Fix control points in test case. | @@ -645,10 +645,10 @@ void derive_compare_third_derivative_with_three_times(CuTest *tc)
tsStatus status;
tsReal ctrlp[8];
- ctrlp[0] = 1.f; ctrlp[0] = 1.f;
- ctrlp[1] = 2.f; ctrlp[0] = 4.f;
- ctrlp[1] = 3.f; ctrlp[0] = 3.f;
- ctrlp[1] = 4.f; ctrlp[0] = 0.f;
+ ctrlp[0] = 1.f; ctrlp[1] = 1.f;
+ ctrlp[2] = 2.f; ctrlp[3] =... |
map: handle IPv6 extension headers for TCP/UDP
Without this patch offset for TCP/UDP headers was not calculated
correctly if there is one or more IPv6 extension headers.
Type: fix | @@ -345,7 +345,7 @@ map_ip6_to_ip4_tcp_udp (vlib_main_t * vm, vlib_buffer_t * p,
if (l4_protocol == IP_PROTOCOL_TCP)
{
- tcp_header_t *tcp = ip6_next_header (ip6);
+ tcp_header_t *tcp = (tcp_header_t *) u8_ptr_add (ip6, l4_offset);
if (mm->tcp_mss > 0)
{
csum = tcp->checksum;
@@ -356,7 +356,7 @@ map_ip6_to_ip4_tcp_udp ... |
Update secure_comparator.c | *
* To prevent these situations, additional security proofs and verifications should be done on each step of the protocol.
* These proofs are implemented in functions below:
- * git s
+ *
* ed_sign / ed_verify -> Proof of knowledge of EC discrete logarithm (section 5.3.1 in paper);
* ed_dbl_base_sign / ed_dbl_base_veri... |
fix(sensors): Use status filter on sensors node. | #pragma once
#define ZMK_KEYMAP_SENSORS_NODE DT_INST(0, zmk_keymap_sensors)
-#define ZMK_KEYMAP_HAS_SENSORS DT_NODE_EXISTS(ZMK_KEYMAP_SENSORS_NODE)
+#define ZMK_KEYMAP_HAS_SENSORS DT_NODE_HAS_STATUS(ZMK_KEYMAP_SENSORS_NODE, okay)
#define ZMK_KEYMAP_SENSORS_LEN DT_PROP_LEN(ZMK_KEYMAP_SENSORS_NODE, sensors)
#define ZMK_K... |
Fix suspending WmiPrvSE.exe causing Process Hacker to hang | @@ -356,25 +356,6 @@ PPH_STRING PhGetProcessTooltipText(
PhDeleteStringBuilder(&container);
}
break;
- case WmiProviderHostType:
- {
- PH_STRING_BUILDER provider;
-
- PhInitializeStringBuilder(&provider, 40);
-
- PhpFillWmiProviderHost(Process, &provider);
-
- if (provider.String->Length != 0)
- {
- PhAppendStringBuild... |
feat(FM650):Add CC and AR for FM650 | #CC := $(CURDIR)/../../../build/usr/bin/arm-linux-gcc
#AR := $(CURDIR)/../../../build/usr/bin/arm-linux-ar
-CC := gcc
-AR := ar
+CC := $CC
+AR := $AR
# Commands
BOAT_RM := rm -rf
|
add comment for max segment number count for random table. | @@ -4633,6 +4633,10 @@ calculate_planner_segment_num(PlannedStmt *plannedstmt, Query *query,
} else {
maxTargetSegmentNumber = context.randomSegNum;
if(context.externTableLocationSegNum > 0 && maxTargetSegmentNumber < GetQueryVsegNum()){
+ /*
+ * adjust max segment number for random table by rm_nvseg_perquery_perseg_li... |
hark: remove extraneous "}" | @@ -89,7 +89,7 @@ export function Header(props: {
<Rule vertical height="12px" />
{groupTitle &&
<>
- <Text fontWeight="500">{groupTitle}</Text>}
+ <Text fontWeight="500">{groupTitle}</Text>
<Rule vertical height="12px"/>
</>
}
|
zephyr/shim/chip/mchp/system_download_from_flash.c: Format with clang-format
BRANCH=none
TEST=none | /* Modules Map */
#define WDT_NODE DT_INST(0, microchip_xec_watchdog)
-#define STRUCT_WDT_REG_BASE_ADDR \
- ((struct wdt_regs *)(DT_REG_ADDR(WDT_NODE)))
+#define STRUCT_WDT_REG_BASE_ADDR ((struct wdt_regs *)(DT_REG_ADDR(WDT_NODE)))
#define PCR_NODE DT_INST(0, microchip_xec_pcr)
#define STRUCT_PCR_REG_BASE_ADDR \
#defin... |
Adding logging for startup timeout. | @@ -3925,21 +3925,6 @@ static int wsgi_execute_script(request_rec *r)
config = (WSGIRequestConfig *)ap_get_module_config(r->request_config,
&wsgi_module);
- /* Setup startup timeout if first request and specified. */
-
-#if defined(MOD_WSGI_WITH_DAEMONS)
- if (wsgi_daemon_process) {
- if (wsgi_startup_shutdown_time == ... |
Fix: tutorial.md should be correctly linked from readme | @@ -59,7 +59,7 @@ Supported operating systems are listed in [version_support.md](doc/version_suppo
## Tutorial & HOWTO
-Our [tutorial.md](doc/tutorial.md may help you along with some advanced tasks and additional info.
+Our [tutorial.md](doc/tutorial.md) may help you along with some advanced tasks and additional info.
... |
deconz backup: use correct deconz path for homebridge backup | @@ -15242,7 +15242,7 @@ bool DeRestPluginPrivate::exportConfiguration()
FirstFileName = files.at(0);
DBG_Printf(DBG_INFO, "copy file: %s to backup directory\n", qPrintable(FirstFileName));
QFile accessoryFile(homebridgePersistPath + "/" + FirstFileName);
- if (!accessoryFile.copy(appPath + "/" + FirstFileName))
+ if (!... |
sysrepoctl BUGFIX avoid invalid memory access | @@ -516,12 +516,18 @@ srctl_change(sr_conn_ctx_t *conn, struct change_item *citem)
{
int r = 0, i;
- /* change owner, group, and/or permissions */
- if (citem->owner || citem->group || citem->perms) {
if (!strcmp(citem->module_name, ":ALL")) {
/* all the modules */
+ if (citem->features || citem->dis_features) {
+ erro... |
include text on relative OIDCRedirectURI in sample .conf | # The redirect_uri for this OpenID Connect client; this is a vanity URL
# that must ONLY point to a path on your server protected by this module
# but it must NOT point to any actual content that needs to be served.
+# You can use a relative URL like /protected/redirect_uri if you want to
+# support multiple vhosts tha... |
Add wording to limit the 'size' parameter to no more than can be specified using a size_t variable | @@ -210,13 +210,13 @@ This option is used by KMAC.
These will set the MAC flags to the given numbers.
Some MACs do not support this option.
-=item B<OSSL_MAC_PARAM_ENGINE> ("engine") <utf8 string>
+=item B<OSSL_MAC_PARAM_ENGINE> ("engine") <UTF8 string>
-=item B<OSSL_MAC_PARAM_PROPERTIES> ("properties") <utf8 string>
+... |
Minor doc fix for EVP_PKEY_CTX_new_from_pkey | @@ -16,7 +16,8 @@ EVP_PKEY_CTX_new_from_pkey, EVP_PKEY_CTX_dup, EVP_PKEY_CTX_free
const char *name,
const char *propquery);
EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_pkey(OPENSSL_CTX *libctx,
- EVP_PKEY *pkey);
+ EVP_PKEY *pkey,
+ const char *propquery);
EVP_PKEY_CTX *EVP_PKEY_CTX_dup(const EVP_PKEY_CTX *ctx);
void EVP_PKEY_... |
Test ID attribute indexing | @@ -1479,6 +1479,7 @@ typedef struct attrInfo {
typedef struct elementInfo {
const char *name;
int attr_count;
+ const char *id_name;
AttrInfo *attributes;
} ElementInfo;
@@ -1489,8 +1490,7 @@ counting_start_element_handler(void *userData,
{
ElementInfo *info = (ElementInfo *)userData;
AttrInfo *attr;
- int count;
- in... |
release build crash fix | @@ -618,7 +618,7 @@ void InitXRenderD3D9()
{
std::tuple<Address, void*> operator()()
{
- static float x1, y1, x2, y2;
+ static volatile float x1, y1, x2, y2;
static uint8_t buffer[300];
injector::ProtectMemory(buffer, sizeof(buffer), PAGE_EXECUTE_READWRITE);
|
CBLK: Adding support to block on busy slots for r and w - untested | @@ -706,6 +706,14 @@ static int block_read(struct cblk_dev *c, void *buf, off_t lba,
pthread_mutex_lock(&c->dev_lock);
+ while (c->r_in_flight == CBLK_WIDX_MAX) { /* block in case of busy hardware */
+ pthread_mutex_unlock(&c->dev_lock);
+ block_trace(" [%s] wait for free slot\n", __func__);
+ sem_wait(&c->idle_sem);
+... |
DEV_CheckItemChanges: support REventPoll and REventAwake | @@ -65,9 +65,25 @@ void DEV_InitStateHandler(Device *device, const Event &event)
}
void DEV_CheckItemChanges(Device *device, const Event &event)
+{
+ std::vector<Resource*> subDevices;
+
+ if (event.what() == REventAwake || event.what() == REventPoll)
+ {
+ subDevices = device->subDevices();
+ }
+ else
{
auto *sub = DE... |
SOVERSION bump to version 2.8.18 | @@ -67,7 +67,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_
# set version of the library
set(LIBYANG_MAJOR_SOVERSION 2)
set(LIBYANG_MINOR_SOVERSION 8)
-set(LIBYANG_MICRO_SOVERSION 17)
+set(LIBYANG_MICRO_SOVERSION 18)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_... |
use dos2unix to fix newline problem on _xmake_main.lua | @@ -29,6 +29,10 @@ build_script:
- cmd: core\build\xmake lua versioninfo
- ps: Write-Output "require('luacov.runner').init({['statsfile']='$PWD/luacov.stats.out',['reportfile']='$PWD/luacov.report.out'})".replace('\','/') | Out-File tmp
- ps: Write-Output (Get-Content xmake\core\_xmake_main.lua | Out-String) | Out-File... |
doc: build server, small changes
see | @@ -86,20 +86,21 @@ you can do:
git-ref-log # recover
-## Github
+## Build Server
When doing merge requests our [buildserver](https://build.libelektra.org)
-will build authorized users. If you are not yet authorized, the following
-question will be asked (by user markus2330):
+will build jobs of authorized users. If yo... |
Recalculate group any_on state attribute after setting group members | @@ -517,6 +517,9 @@ int DeRestPluginPrivate::setGroupAttributes(const ApiRequest &req, ApiResponse &
rspItem["success"] = rspItemState;
rsp.list.append(rspItem);
+ Event e(RGroups, REventCheckGroupAnyOn, int(group->address()));
+ enqueueEvent(e);
+
// for each node which are currently in the group but not in the list s... |
Update zgemm3m_kernel_4x4_haswell.c | "33105"#ndim":\n\t"\
"movq %%r13,%4; movq %%r14,%1; movq %%r11,%7;"\
:"+r"(a_pointer),"+r"(b_pointer),"+r"(c_pointer),"+r"(ldc_in_bytes),"+r"(K),"+r"(ctemp),"+r"(const_val),"+r"(M),"+r"(next_b)\
- ::"r11","r12","r13","r14","r15","ymm0","ymm1","ymm2","ymm3","ymm4","ymm5","ymm6","ymm7","ymm8","ymm9","ymm10","ymm11","ymm1... |
Use C memset/memcpy for CLi upper-layer stack | @@ -49,7 +49,7 @@ static uint32_t cmd_history_full;
*/
static void
clear_cmd_buffer( void ) {
- ESP_MEMSET(cmd_buffer, 0x0, sizeof(cmd_buffer));
+ memset(cmd_buffer, 0x0, sizeof(cmd_buffer));
cmd_pos = 0;
}
@@ -61,13 +61,13 @@ store_command_to_history( void ) {
uint32_t hist_count;
if (strcmp(cmd_history_buffer[0], cmd... |
Raycaster: Low settings for all Pico builds | @@ -8,7 +8,7 @@ constexpr float M_PI_H = 1.5707963267948966f;
constexpr float EPSILON = 0.00000001f;
-#ifdef DISPLAY_ST7789
+#ifdef PICO_BOARD
constexpr uint16_t OFFSET_TOP = 30;
constexpr uint16_t SCREEN_WIDTH = 120;
constexpr uint16_t SCREEN_HEIGHT = 120;
|
delete svn_credentials dir | @@ -32,7 +32,7 @@ def ytest_base(unit, related_prj_dir, related_prj_name, args):
ya_root = unit.get('YA_ROOT')
unit.set(['TEST_RUN_SCRIPT', 'devtools/{}/test/node/run_test.py'.format(ya_root)])
- related_dirs_list = ['${ARCADIA_ROOT}/devtools/svn_credentials', '{ARCADIA_ROOT}/devtools/${YA_ROOT}', '${ARCADIA_ROOT}/devt... |
iokernel: perfer->prefer. | @@ -405,19 +405,19 @@ static void mis_sample_pmc(uint64_t sel)
/* don't let PMC req hurts the kthread that cannot be kicked out */
if (sd1_no_kick_out && sd2_no_kick_out)
continue;
- bool perfer_sample_sd2 = false;
+ bool prefer_sample_sd2 = false;
if (!sd2) {
- perfer_sample_sd2 = true;
+ prefer_sample_sd2 = true;
} e... |
fix a minor bug of s_client
CLA: trivial
CAstore's option should be OPT_CASTORE, instead of OPT_CAFILE
correct also -no-CAstore option from OPT_NOCAPATH to OPT_NOCASTORE | @@ -659,12 +659,12 @@ const OPTIONS s_client_options[] = {
{"pass", OPT_PASS, 's', "Private key file pass phrase source"},
{"CApath", OPT_CAPATH, '/', "PEM format directory of CA's"},
{"CAfile", OPT_CAFILE, '<', "PEM format file of CA's"},
- {"CAstore", OPT_CAFILE, ':', "URI to store of CA's"},
+ {"CAstore", OPT_CASTOR... |
small update in intro section | @@ -53,8 +53,6 @@ The Core Cosmology Library (\ccl) provides routines to compute basic cosmologica
\label{sec:intro}
\vol{Mustapha Ishak}
-\todo{Use CCL plot from SRM}
-
In preparation for constraining cosmology with the Large Synoptic Survey Telescope (LSST), it is necessary to be able to produce rigorous theoretical ... |
test/params_test.c: use TEST_double_eq to check doubles
TEST_ulong_eq was used previously because TEST_double_eq didn't exist
at the time. | @@ -469,7 +469,7 @@ static int test_case_variant(const OSSL_PARAM *params,
if (!TEST_true(prov->get_params(obj, params))
|| !TEST_int_eq(app_p1, p1_init) /* "provider" value */
- || !TEST_ulong_eq(app_p2, app_p2_init) /* Should remain untouched */
+ || !TEST_double_eq(app_p2, app_p2_init) /* Should remain untouched */
... |
mdns: Fix issue with some mDNS parsers
Some mDNS parser have issue with zero terminated TXT lists. This fix targets to overcome this issue. Found and tested with jmdns. | @@ -803,7 +803,7 @@ static uint16_t _mdns_append_txt_record(uint8_t * packet, uint16_t * index, mdns
record_length += part_length;
uint16_t data_len_location = *index - 2;
- uint16_t data_len = 1;
+ uint16_t data_len = 0;
char * tmp;
mdns_txt_linked_item_t * txt = service->txt;
@@ -820,9 +820,11 @@ static uint16_t _mdn... |
Add missing NULL check in ble-l2cap. | @@ -378,11 +378,16 @@ input_l2cap_credit(uint8_t *data)
uint16_t credits;
l2cap_channel_t *channel = get_channel_for_addr(packetbuf_addr(PACKETBUF_ADDR_SENDER));
+ if(channel == NULL) {
+ LOG_WARN("input_l2cap_credit: no channel found for sender address\n");
+ return;
+ }
+
/* uint8_t identifier = data[0]; */
memcpy(&l... |
don't crash when dumping logs from shell. Dump full logs. | @@ -71,6 +71,7 @@ int
shell_log_dump_all_cmd(int argc, char **argv)
{
struct log *log;
+ struct log_offset log_offset;
int rc;
log = NULL;
@@ -86,7 +87,12 @@ shell_log_dump_all_cmd(int argc, char **argv)
console_printf("Dumping log %s\n", log->l_name);
- rc = log_walk(log, shell_log_dump_entry, NULL);
+ log_offset.lo_a... |
[core] fix compiler warning in 32-bit build | @@ -371,7 +371,7 @@ ck_backtrace (FILE *fp)
}
fprintf(fp, "%.2u: [%.012lx] (+%04x) %s\n",
- frame, (uintptr_t)ip, (unsigned int)offset, name);
+ frame,(long unsigned)(uintptr_t)ip,(unsigned int)offset,name);
}
if (0 == rc)
return;
|
docs(scroll) fix small problem | @@ -64,7 +64,7 @@ Besides managing "normal" scrolling there are many interesting and useful additi
### Scrollable
-It's possible to make an object non-scrollable with `lv_obj_add_flag(obj, LV_OBJ_FLAG_SCROLLABLE)`.
+It's possible to make an object non-scrollable with `lv_obj_clear_flag(obj, LV_OBJ_FLAG_SCROLLABLE)`.
No... |
crypto/provider_core.c: fix a couple of faulty ERR_raise_data() calls | @@ -284,7 +284,7 @@ OSSL_PROVIDER *ossl_provider_new(OSSL_LIB_CTX *libctx, const char *name,
if ((prov = ossl_provider_find(libctx, name,
noconfig)) != NULL) { /* refcount +1 */
ossl_provider_free(prov); /* refcount -1 */
- ERR_raise_data(ERR_LIB_CRYPTO, CRYPTO_R_PROVIDER_ALREADY_EXISTS, NULL,
+ ERR_raise_data(ERR_LIB_... |
free SSL* asynchronously | @@ -1592,10 +1592,10 @@ static void on_handshake_fail_complete(h2o_socket_t *sock, const char *err)
static void proceed_handshake(h2o_socket_t *sock, const char *err);
#if PTLS_OPENSSL_HAVE_ASYNC
-static void ptls_free_async(void *data)
+static void openssl_ssl_free_async(void *data)
{
- ptls_t *tls = data;
- ptls_free... |
Support for spritesheets in screenshot viewer | @@ -196,10 +196,10 @@ void load_file_list(std::string directory) {
continue;
}
- if(ext == "bmp") {
+ if(ext == "bmp" || ext == "spritepk" || ext == "spriterw") {
GameInfo game;
game.type = GameType::screenshot;
- game.title = file.name.substr(0, file.name.length() - 4);
+ game.title = file.name.substr(0, file.name.len... |
Update return comment for initializePrivacyGuard | @@ -20,7 +20,7 @@ public class PrivacyGuard {
* Initialize Privacy Guard from Logger
* @param loggerInstance Logger instance that will be used to send data concerns to
* @param dataContext Common Data Context to initialize Privacy Guard with.
- * @return True if Privacy Guard has not been initialized before, False othe... |
Performance: optimise call to grib_context_log (stack) | @@ -909,16 +909,19 @@ void grib_context_set_data_accessing_proc(grib_context* c, grib_data_read_proc r
c->tell = tell;
}
-/* logging procedure */
+/* Logging procedure */
void grib_context_log(const grib_context *c,int level, const char* fmt, ...)
{
- char msg[1024];
- va_list list;
-
/* Save some CPU */
if( (level == ... |
Add switch namespace check for root permission | @@ -781,6 +781,11 @@ main(int argc, char **argv, char **env)
* - fork & execute static loader attach one more time with update PID
*/
if (nsIsPidInChildNs(pid, &nsAttachPid) == TRUE) {
+ // must be root to switch namespace
+ if (scope_getuid()) {
+ scope_printf("error: --attach requires root\n");
+ return EXIT_FAILURE;... |
Moved deb packaging deps to run section as sudo. | @@ -60,10 +60,10 @@ jobs:
# Produce a binary artifact and place it in the mounted volume
run: |
- apt-get install -q -y wget lsb-release
- wget https://deb.goaccess.io/provision/provision.sh
- chmod +x ./provision.sh
- sh provision.sh
+ sudo apt-get install -y wget lsb-release
+ sudo wget https://deb.goaccess.io/provis... |
Mercator: move a variable definition for non-C99 compilers | @@ -461,6 +461,7 @@ void cb_endFrame(PORT_TIMER_WIDTH timestamp) {
RF_PACKET_ht* rx_temp;
bool is_expected = TRUE;
IND_RX_ht* resp;
+ int i;
radio_rfOff();
@@ -496,7 +497,7 @@ void cb_endFrame(PORT_TIMER_WIDTH timestamp) {
}
// check txfillbyte
- for (int i = offsetof(RF_PACKET_ht, txfillbyte);
+ for (i = offsetof(RF_P... |
docs - remove .gphostcache file from docs
doc change for dev PR | master and all of the segment instances). The <codeph>gpstart</codeph> utility
handles the startup of the individual instances. Each instance is started in
parallel.</p>
- <p>The first time an administrator runs <codeph>gpstart</codeph>, the utility creates a
- hosts cache file named <codeph>.gphostcache</codeph> in th... |
Disable mingw-w64. | @@ -12,9 +12,9 @@ environment:
GENERATOR: MinGW Makefiles
PLATFORM: Win32
- - COMPILER: mingw-w64
- GENERATOR: MinGW Makefiles
- PLATFORM: x64
+ #- COMPILER: mingw-w64
+ #GENERATOR: MinGW Makefiles
+ #PLATFORM: x64
- COMPILER: msvc
GENERATOR: Visual Studio 15 2017
|
tests: handle unicode charactes in cli output
Type: fix | @@ -358,7 +358,8 @@ class VppPapiProvider(object):
:param cli: CLI to execute
:returns: CLI output
"""
- return cli + "\n" + str(self.cli(cli))
+ return cli + "\n" + self.cli(cli).encode('ascii',
+ errors='backslashreplace')
def want_ip4_arp_events(self, enable_disable=1, ip="0.0.0.0"):
return self.api(self.papi.want_i... |
Fix minor errata in audio utc
The value of fd can be 0.
Comparison of pointers should only use =, != | @@ -615,7 +615,7 @@ static void utc_audio_pcm_readi_p(void)
TC_ASSERT_NEQ_CLEANUP("pcm_readi", buffer, NULL, clean_all_data(0, NULL));
fd = open(AUDIO_TEST_FILE, O_RDWR | O_CREAT | O_TRUNC);
- TC_ASSERT_GT_CLEANUP("pcm_readi", fd, 0, clean_all_data(0, buffer));
+ TC_ASSERT_GEQ_CLEANUP("pcm_readi", fd, 0, clean_all_data... |
include: Fix typos in gpio.wrap.
BRANCH=none
TEST=none | * - ALTERNATE
* - UNUSED
*
- * @note You cannot have dependencies bewteen these macros. For example,
+ * @note You cannot have dependencies between these macros. For example,
* you cannot define GPIO_INT in terms of GPIO. All macros must be
- * independently evaluatable.
+ * independently evaluable.
* This is due to th... |
add md_zmul2 benchmark | @@ -282,6 +282,41 @@ static double bench_sumf(long scale)
}
+static double bench_zmul(long scale)
+{
+ long dimsx[DIMS] = { 256, 256, 1, 1, 90 * scale, 1, 1, 1 };
+ long dimsy[DIMS] = { 256, 256, 1, 1, 1, 1, 1, 1 };
+ long dimsz[DIMS] = { 1, 1, 1, 1, 90 * scale, 1, 1, 1 };
+
+ complex float* x = md_alloc(DIMS, dimsx, C... |
Correctly check for cryptodev hash support
The sense of the check for build-time support for most hashes was inverted.
CLA: trivial | @@ -361,20 +361,20 @@ static const struct digest_data_st {
#endif
{ NID_sha1, 20, CRYPTO_SHA1 },
#ifndef OPENSSL_NO_RMD160
-# if !defined(CHECK_BSD_STYLE_MACROS) && defined(CRYPTO_RIPEMD160)
+# if !defined(CHECK_BSD_STYLE_MACROS) || defined(CRYPTO_RIPEMD160)
{ NID_ripemd160, 20, CRYPTO_RIPEMD160 },
# endif
#endif
-#if ... |
admin/nagios: distro specific ps build requires | @@ -65,9 +65,8 @@ BuildRequires: unzip
%if 0%{?sles_version} || 0%{?suse_version}
#!BuildIgnore: brp-check-suse
BuildRequires: -post-build-checks
-%endif
-
-%ifarch aarch64
+BuildRequires: procps
+%else
BuildRequires: procps-ng
%endif
|
RTX5: minor update in configuration file (added additional comment) | // <h>RTOS Event Filter Setup
// <i> Event filter settings for RTX components.
+// <i> Only applicable if events for the respective component are generated.
// <e.7>Memory Management
// <i> Filter enable settings for Memory Management events.
|
psp2kern/kernel/intrmgr.h definitions renaming | extern "C" {
#endif
-typedef int (*intr_callback)(int code, int arg);
+typedef int (*SceKernelIntrOptParam2Callback)(int code, int arg);
-typedef struct reg_intr_opt2 {
+typedef struct SceKernelIntrOptParam2 {
uint32_t size; // 0x28
uint32_t unk_4;
uint32_t unk_8;
uint32_t unk_C;
- intr_callback *fptr0; // function poi... |
Docs: minor update for backup with NetBackup | <body>
<section>
<p>You install and configure NetBackup client software on the Greenplum Database master host
- and all segment hosts. </p>
+ and all segment hosts. The NetBackup client software must be able to communicate with the
+ NetBackup server software.</p>
<ol id="ol_ojl_gbz_3p">
<li>Install the NetBackup clien... |
haboki: add gpio EC_CBI_WP
This patch assign gpio EC_CBI_WP to GPH5.
BRANCH=keeby
TEST=make BOARD=haboki | @@ -101,7 +101,7 @@ GPIO(EC_ENTERING_RW, PIN(C, 7), GPIO_OUT_LOW)
GPIO(EC_BATTERY_PRES_ODL, PIN(I, 4), GPIO_INPUT)
GPIO(EN_KB_BL, PIN(J, 3), GPIO_OUT_LOW) /* Currently unused */
GPIO(EN_PP5000_PEN, PIN(B, 5), GPIO_OUT_LOW)
-UNIMPLEMENTED(EC_CBI_WP)
+GPIO(EC_CBI_WP, PIN(H, 5), GPIO_OUT_LOW)
/* NC pins, enable internal p... |
stm32/sdcard: Make SD wait routine more power efficient by using WFI.
Using WFI allows the CPU to sleep while it is waiting, reducing power
consumption. | @@ -244,11 +244,20 @@ void SDMMC2_IRQHandler(void) {
STATIC HAL_StatusTypeDef sdcard_wait_finished(SD_HandleTypeDef *sd, uint32_t timeout) {
// Wait for HAL driver to be ready (eg for DMA to finish)
uint32_t start = HAL_GetTick();
- while (sd->State == HAL_SD_STATE_BUSY) {
+ for (;;) {
+ // Do an atomic check of the st... |
dprint: fix issues with core types
not actually sure this is correct yet, but it fixed the issue where
there would be a crash when looking for docs in an arm like +bar in
|%
++ foo 'foo'
++ bar foo | ?~ arm
:: the current topic is not an arm in the core, recurse into sut
?:(rec $(sut p.sut) ~)
- ::$(sut p.sut)
:: else, return the arm as docs
- =+ [adoc pdoc cdoc]=(all-arm-docs u.arm p.sut (trip i.topics))
+ =+ [adoc pdoc cdoc]=(all-arm-docs u.arm sut (trip i.topics))
`[%arm (trip i.topics) adoc pdoc cdoc u.arm p.su... |
Updated (c) year on options.c. | @@ -278,7 +278,7 @@ cmd_help (void)
"%s `man goaccess`.\n\n"
"%s: %s\n"
- "GoAccess Copyright (C) 2009-2017 by Gerardo Orellana"
+ "GoAccess Copyright (C) 2009-2020 by Gerardo Orellana"
"\n\n"
, INFO_HELP_EXAMPLES, INFO_MORE_INFO, GO_WEBSITE
);
|
naive: update wires in aggregator | =. contract naive:local-contracts:azimuth
=. chain-id chain-id:local-contracts:azimuth
:_ this
- [%pass /azimuth %agent [our.bowl %azimuth] %watch /aggregator]~
+ [%pass /azimuth-txs %agent [our.bowl %azimuth] %watch /txs]~
::
++ on-save !>(state)
++ on-load
++ send-batch
|= [address=@t nonce=@t =sign:agent:gall]
^- (q... |
update DISABLE_INTERRUPTS and ENABLE_INTERRUPTS functions. | @@ -17,8 +17,10 @@ to return the board's description.
#define INTERRUPT_DECLARATION()
-#define DISABLE_INTERRUPTS() __disable_irq();
-#define ENABLE_INTERRUPTS() __enable_irq();
+#define DISABLE_INTERRUPTS() __asm__( "MOVS R0, #1;" \
+ "MSR PRIMASK, R0;");
+#define ENABLE_INTERRUPTS() __asm__( "MOVS R0, #0;" \
+ "MSR P... |
Fix actual compiler warning on gcc 10.3.1 | @@ -295,7 +295,7 @@ void tu_print_mem(void const *buf, uint32_t count, uint8_t indent)
// fill up last row to 16 for printing ascii
const uint32_t remain = count%16;
- uint8_t nback = (remain ? remain : 16);
+ uint8_t nback = (uint8_t)(remain ? remain : 16);
if ( remain )
{
|
warning: trace_dump_sched_switch unused because add SCHED_INSTRUMENTATION_SWITCH
note dump: add CONFIG_SCHED_INSTRUMENTATION_SWITCH | @@ -308,6 +308,8 @@ static void trace_dump_header(FAR FILE *out,
);
}
+ #if (defined CONFIG_SCHED_INSTRUMENTATION_SWITCH) || \
+ (defined CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER)
/****************************************************************************
* Name: trace_dump_sched_switch
*******************************... |
Tweak connection ID utilities | @@ -317,6 +317,9 @@ int picoquic_compare_connection_id(const picoquic_connection_id_t * cnx_id1, con
if (cnx_id1->id_len == cnx_id2->id_len) {
ret = memcmp(cnx_id1->id, cnx_id2->id, cnx_id1->id_len);
}
+ else if (cnx_id1->id_len > cnx_id2->id_len) {
+ ret = 1;
+ }
return ret;
}
@@ -325,10 +328,18 @@ int picoquic_compar... |
make module dir a default location for DOCS_CONFIG | @@ -18,7 +18,7 @@ def onprocess_docs(unit, *args):
else:
docs_dir = module_dir
- docs_config = os.path.normpath(unit.get('DOCSCONFIG') or os.path.join(docs_dir, 'mkdocs.yml'))
+ docs_config = os.path.normpath(unit.get('DOCSCONFIG') or 'mkdocs.yml')
if os.path.sep not in docs_config:
docs_config = os.path.join(module_di... |
Fix chunked ccm update. | @@ -373,42 +373,49 @@ int mbedtls_ccm_update( mbedtls_ccm_context *ctx,
ctx->processed += use_len;
memcpy( ctx->b + offset, input, use_len );
- if( use_len + offset == 16 || ctx->processed == ctx->plaintext_len )
- {
if( ctx->mode == MBEDTLS_CCM_ENCRYPT || \
ctx->mode == MBEDTLS_CCM_STAR_ENCRYPT )
+ {
+ if( use_len + o... |
CI: switch back to manually installed Lua version
Ubuntu ships with Lua 5.3.3, even on the latest 20.04 version. The
test-suite makes some behavioral assumptions which don't hold for that
version.
This reverts commit | @@ -36,14 +36,9 @@ matrix:
cabal: 3.4
## Test system Lua
- # Test system Lua 5.3
- - env: FLAGS="+hardcode-reg-keys +pkg-config +system-lua"
+ - env: LUA=5.3.6 FLAGS="+hardcode-reg-keys +system-lua"
ghc: 8.8.4
cabal: 3.2
- addons:
- apt:
- packages:
- - liblua5.3-dev
# mark build as successful as soon as all required s... |
Pass errors through to console.error | @@ -47,6 +47,7 @@ window.addEventListener("error", (error) => {
}
error.stopPropagation();
error.preventDefault();
+ console.error(error);
store.dispatch(actions.setGlobalError(error.message, error.filename, error.lineno, error.colno, error.error.stack));
return false;
});
|
Prevent overflow in getScanlineChunkOffsetTableSize | @@ -1828,12 +1828,17 @@ getScanlineChunkOffsetTableSize(const Header& header)
{
const Box2i &dataWindow = header.dataWindow();
- int linesInBuffer = numLinesInBuffer ( header.compression() );
- int lineOffsetSize = (dataWindow.max.y - dataWindow.min.y +
+ //
+ // use int64_t types to prevent overflow in lineOffsetSize ... |
VERSION bump to version 0.12.0 | @@ -31,8 +31,8 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
-set(LIBNETCONF2_MINOR_VERSION 11)
-set(LIBNETCONF2_MICRO_VERSION 47)
+set(LIBNETCONF2_MINOR_VERSION 12)
+set(LIBNETCONF2_MICRO_VERSION 0)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.... |
libopae: cherry-pick fix static code scanner issues | @@ -564,7 +564,8 @@ fpga_result bmcGetLastPowerdownCause(fpga_token token, char **cause)
goto out;
}
- *cause = strdup((const char *)tmp->message);
+ *cause = strndup((const char *)tmp->message,
+ strnlen_s((const char *)tmp->message, SYSFS_PATH_MAX));
out:
if (tmp) {
@@ -598,50 +599,62 @@ fpga_result bmcGetLastResetCa... |
guybrush: Enable hibernate_psl and low_power_idle
Enable CONFIG_HIBERNATE_PSL and CONFIG_LOW_POWER_IDLE.
Reorginize power configs.
TEST=Build
BRANCH=None | #undef CONFIG_EXTPOWER_DEBOUNCE_MS
#define CONFIG_EXTPOWER_DEBOUNCE_MS 200
#define CONFIG_EXTPOWER_GPIO
-#define CONFIG_POWER_COMMON
-#define CONFIG_POWER_SHUTDOWN_PAUSE_IN_S5
+#define CONFIG_HIBERNATE_PSL
+#define CONFIG_LOW_POWER_IDLE
#define CONFIG_POWER_BUTTON
-#define CONFIG_POWER_BUTTON_X86
#define CONFIG_POWER_B... |
Allocate the short lived header memory using a mem pool | @@ -224,10 +224,11 @@ static void on_head(h2o_socket_t *sock, const char *err)
int minor_version, http_status, rlen, is_eos;
const char *msg;
#define MAX_HEADERS 100
- h2o_header_t headers[MAX_HEADERS];
- h2o_iovec_t header_names[MAX_HEADERS];
+ h2o_header_t *headers;
+ h2o_iovec_t *header_names;
size_t msg_len, num_he... |
[build] meson: fix typo in variable name | @@ -266,7 +266,7 @@ endif
libbrotli = []
if get_option('with_brotli')
libbrotli = [ compiler.find_library('brotlienc') ]
- if compiler.has_function('BrotliEncoderCreateInstance', args: defs, dependencies: libbrotlienc, prefix: '#include <brotli/encode.h>')
+ if compiler.has_function('BrotliEncoderCreateInstance', args:... |
u3: comment use of X macro in interpreter | @@ -384,6 +384,9 @@ _n_nock_on(u3_noun bus, u3_noun fol)
// Several opcodes "overflow" (from byte to short index) to their successor, so
// order can matter here.
+// Note that we use an X macro (https://en.wikipedia.org/wiki/X_Macro) to unify
+// the opcode's enum name, string representation, and computed goto into a
... |
test-suite: skip 2 hypre tests | @@ -88,6 +88,7 @@ ARGS=8
}
@test "[libs/HYPRE] 2 PE Semi-Structured convection binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
+ skip
if [ ! -s ex7 ];then
flunk "ex7 binary does not exist"
fi
@@ -97,6 +98,7 @@ ARGS=8
}
@test "[libs/HYPRE] 2 PE biharmonic binary runs under resource man... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.