message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
actions UPDATE remove redundant step | @@ -80,12 +80,6 @@ jobs:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
if: ${{ matrix.config.name == 'Coverity' }}
- - name: Deps-coverity-perm-fix
- run: |
- chmod go-w $HOME
- sudo chmod -R go-w /usr/share
- if: ${{ matrix.config.name == 'Coverity' }}
-
- name: Configure
shell: bash
working-directory: ${{ github.workspac... |
SOVERSION bump to version 7.6.7 | @@ -72,7 +72,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 7)
set(SYSREPO_MINOR_SOVERSION 6)
-set(SYSREPO_MICRO_SOVERSION 6)
+set(SYSREPO_MICRO_SO... |
simplify proc/thrd exit checks | @@ -924,6 +924,8 @@ NTSTATUS KphCidPopulate(
}
else
{
+ LARGE_INTEGER timeout;
+
//
// Check if we should track this process during population.
// Ultimately here we're ensuring the process isn't already exited.
@@ -942,28 +944,18 @@ NTSTATUS KphCidPopulate(
continue;
}
- status = PsAcquireProcessExitSynchronization(pr... |
api/show_mnemonic: add docs | @@ -26,6 +26,10 @@ use bitbox02::keystore;
const NUM_RANDOM_WORDS: u8 = 5;
+/// Return 5 words from the BIP39 wordlist, 4 of which are random, and
+/// one of them is provided `word`. Returns the position of `word` in
+/// the list of words, and the lis of words. This is used to test if
+/// the user wrote down the see... |
doc: link to blob repo | -# SVG Conversion
+# Rendered Images
+
+Rendered images and logos can be found in https://github.com/ElektraInitiative/blobs
+
+## SVG Conversion
https://github.com/shakiba/svgexport
svgexport circle_with_shadows_and_background.svg circle.png 400:400
+
|
updated link to azure wiki page | @@ -131,7 +131,7 @@ For details on configuring multiple providers see the [Wiki](https://github.com/
See the [Wiki](https://github.com/zmartzone/mod_auth_openidc/wiki) for configuration docs for other OpenID Connect Providers:
- [GLUU Server](https://github.com/zmartzone/mod_auth_openidc/wiki/Gluu-Server)
- [Keycloak](... |
platform: Add fields for OpenCAPI platform data
Add a platform_ocapi struct to store platform-specific values for resetting
OpenCAPI devices via I2C and for setting up the ODL PHY.
A later patch will add this to the relevant platforms. | @@ -44,6 +44,17 @@ struct bmc_platform {
uint32_t ipmi_oem_pnor_access_status;
};
+/* OpenCAPI platform-specific I2C information */
+struct platform_ocapi {
+ uint8_t i2c_engine; /* I2C engine number */
+ uint8_t i2c_port; /* I2C port number */
+ uint32_t i2c_offset[3]; /* Offsets on I2C device */
+ uint8_t i2c_odl0_da... |
Makefile cleanup
replace "=" with "?=", if variable is defined, don't redefine.
replace POSTLD with OBJCOPY
fix the variable LD assignment | @@ -70,11 +70,11 @@ INCLUDE_PATH += bsp/include
INCLUDE_PATH += bsp/$(PLATFORM)/include/bsp
INCLUDE_PATH += boot/include
-CC = gcc
-AS = as
-AR = ar
-LD = gcc
-POSTLD = objcopy
+CC ?= gcc
+AS ?= as
+AR ?= ar
+LD ?= ld
+OBJCOPY ?= objcopy
D_SRCS += $(wildcard debug/*.c)
C_SRCS += boot/acpi.c
@@ -187,14 +187,14 @@ instal... |
docs: include geopm metapckage for oneapi | @@ -54,6 +54,7 @@ for \texttt{/opt/intel} that is mounted on desired compute nodes.
\begin{lstlisting}[language=bash,keywords={},upquote=true,keepspaces]
# Install 3rd party libraries/tools meta-packages built with Intel toolchain
[sms](*\#*) (*\install*) ohpc-intel-serial-libs
+[sms](*\#*) (*\install*) ohpc-intel-geop... |
[numerics] one more spelling unkown -> unknown | @@ -62,7 +62,7 @@ void frictionContact_test_gams_opts(SN_GAMSparams* GP, int solverId)
}
else
{
- fprintf(stderr, "frictionContact_test_gams_opts :: ERROR unkown solverId = %d e.g. solver named %s", solverId, solver_options_id_to_name(solverId));
+ fprintf(stderr, "frictionContact_test_gams_opts :: ERROR unknown solver... |
build: using generic 'liquid_float_complex' type for bilinear_nd | @@ -2423,13 +2423,13 @@ void bilinear_zpkf(liquid_float_complex * _za,
// _m : bilateral warping factor
// _bd : output digital filter numerator, [size: _b_order+1]
// _ad : output digital filter numerator, [size: _a_order+1]
-void bilinear_nd(float complex * _b,
+void bilinear_nd(liquid_float_complex * _b,
unsigned in... |
OcAppleDiskImageLib: Avoid MSVC warning about unaligned addressof result | @@ -213,7 +213,7 @@ InternalConstructDmgDevicePath (
DevPath->Size.Length = FileSize;
SetDevicePathNodeLength (&DevPath->Size, sizeof (DevPath->Size));
CopyGuid (
- &DevPath->Size.Vendor.Guid,
+ (VOID *)&DevPath->Size.Vendor.Guid,
&gAppleDiskImageProtocolGuid
);
|
VERSION bump to version 1.4.120 | @@ -46,7 +46,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 1)
set(SYSREPO_MINOR_VERSION 4)
-set(SYSREPO_MICRO_VERSION 119)
+set(SYSREPO_MICRO_VERSION 120)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_... |
doc: enumerate in FAQ | @@ -99,8 +99,8 @@ result is GPL.
## How Can I Advertise Elektra?
-If questions about configuration come up, point users to https://www.libelektra.org
-Display the SVG logos found at https://master.libelektra.org/doc/images/logo
-and already rastered logos at https://github.com/ElektraInitiative/blobs/tree/master/images... |
Add documentation on grpc essential plugins
Add documentation explaining how to install grpc-cpp-plugin, which is essential for generating C++ Class implementation for protobuf. | @@ -32,8 +32,8 @@ Let us look in detail at the points above.
The C++ binding for gRPC uses Service and Message classes to implement RPC stubs. Although the Service and Message classes can be written by hand,
the *Protocol buffer* compiler provides a convenient specification language, as well as automated C++ code gener... |
[numerics] adapt to the new structure Convex QP | @@ -139,7 +139,8 @@ void fc3d_Panagiotopoulos_FixedPoint(FrictionContactProblem* problem, double *re
tangent_cqp->M = splitted_problem->M_tt;
tangent_cqp->q = (double *) malloc(2* nc * sizeof(double));
tangent_cqp->ProjectionOnC = &Projection_ConvexQP_FC3D_Disk;
-
+ tangent_cqp->A=NULL;
+ tangent_cqp->b= NULL;
Friction... |
Reorder two nbtree.h function prototypes.
Make the function prototype order consistent with the definition order
in nbtpage.c. | @@ -776,10 +776,10 @@ extern Buffer _bt_relandgetbuf(Relation rel, Buffer obuf,
extern void _bt_relbuf(Relation rel, Buffer buf);
extern void _bt_pageinit(Page page, Size size);
extern bool _bt_page_recyclable(Page page);
-extern void _bt_delitems_delete(Relation rel, Buffer buf,
- OffsetNumber *itemnos, int nitems, Re... |
Keep all API info in Api module
This includes the additional grouping of functions and types. | @@ -37,28 +37,7 @@ Portability : ForeignFunctionInterface, GeneralizedNewtypeDeriving
The core Lua types, including mappings of Lua types to Haskell.
-}
-module Foreign.Lua.Api.Types
- ( GCCONTROL (..)
- , LTYPE (..)
- , fromLuaType
- , toLuaType
- , LuaState (..)
- -- Function type synonymes
- , LuaAlloc
- , LuaCFunct... |
pull-hook: leave quietly, do not crash if we have already left | ^+ tr-core
?- -.action
%add (tr-add +.action)
- %remove tr-remove:(tr-abed resource.action)
+ ::
+ %remove
+ ?. (~(has by tracking) resource.action)
+ tr-core
+ tr-remove:(tr-abed resource.action)
==
::
++ tr-cleanup
|
* Fixed typo in ejdb2_node CMakeLists.txt | @@ -78,6 +78,6 @@ add_custom_target(yarn ALL
if (BUILD_TESTS)
add_test(NAME ejdb2node
- COMMAND ${YARN_EXEC} run tests
+ COMMAND ${YARN_EXEC} run test
WORKING_DIRECTORY ${NODE_PUB_DIR})
endif()
|
Add const to WriteHeaders args to match new interface. Resolves | @@ -2584,9 +2584,9 @@ class AVTGeneratorPlugin : public PluginBase
h << "" << Endl;
h << " virtual void OpenFile(const std::string &, int nb);" << Endl;
h << " virtual void WriteHeaders(const avtDatabaseMetaData *," << Endl;
- h << " std::vector<std::string> &, " << Endl;
- h << " std::vector<std::string> &," << Endl;
... |
Update suite0009 assert again. | (= (string my-port) (get comparison 3))
(= remote-ip (get comparison 0))
(= (string remote-port) (get comparison 1)))
- (string/format "localname should match peername: ln=%j, pn=%j" ln pn)))
+ (string/format "localname should match peername: msg=%j, buf=%j" msg buf)))
# Test on both server and client
(defn names-handl... |
decisions: fix spelling | ## Problem
-Our manpages are written as markdown in doc/help and then converted to roff and stored in doc/man.
+Our manpages are written as Markdown in doc/help and then converted to roff and stored in doc/man.
Storing generated files is annoying, as it requires:
- developers to always update generated files if the sou... |
vell: Update fan table version 4
BRANCH=none
TEST=Thermal team verified thermal policy is expected.
Tested-by: Devin Lu | @@ -45,13 +45,13 @@ static const struct fan_step fan_table[] = {
/* level 1 */
.on = { 50, 60, 50, 49, -1 },
.off = { 47, 99, 47, 46, -1 },
- .rpm = { 3600 },
+ .rpm = { 3100 },
},
{
/* level 2 */
.on = { 53, 60, 53, 52, -1 },
.off = { 49, 99, 49, 48, -1 },
- .rpm = { 4100 },
+ .rpm = { 3850 },
},
{
/* level 3 */
|
Log unprotected packet number when it is ignored | @@ -3425,6 +3425,12 @@ static int conn_recv_pkt(ngtcp2_conn *conn, const uint8_t *pkt, size_t pktlen,
conn->final_hs_tx_offset &&
(!conn->server ||
(conn->acktr.flags & NGTCP2_ACKTR_FLAG_ACK_FINISHED_ACK))) {
+ ngtcp2_log_info(
+ &conn->log, NGTCP2_LOG_EVENT_CON,
+ "unprotected packet %" PRIu64
+ " is ignored because h... |
tests: runtime: in_proc: modify absent process name(#4274) | @@ -191,7 +191,7 @@ void flb_test_in_proc_absent_process(void)
in_ffd = flb_input(ctx, (char *) "proc", NULL);
TEST_CHECK(in_ffd >= 0);
flb_input_set(ctx, in_ffd, "tag", "test",
- "interval_sec", "1", "proc_name", "",
+ "interval_sec", "1", "proc_name", "-",
"alert", "true", "mem", "on", "fd", "on", NULL);
out_ffd = fl... |
Removed print statement from LogBodyAtmEsc. | @@ -2223,8 +2223,6 @@ void LogBodyAtmEsc(BODY *body,CONTROL *control,OUTPUT *output,SYSTEM *system,UPD
for (iOut=OUTSTARTATMESC;iOut<OUTENDATMESC;iOut++) {
if (output[iOut].iNum > 0) {
- printf("%d\n",iOut);
- fflush(stdout);
WriteLogEntry(body,control,&output[iOut],system,update,fnWrite[iOut],fp,iBody);
}
}
|
Parentheses fix. | @@ -255,7 +255,7 @@ static TCOD_Error xterm_recommended_console_size(
fprintf(stdout, "\x1b[6n");
fflush(stdout);
while (!SDL_TICKS_PASSED(SDL_GetTicks(), start_time + 100)) {
- if (SDL_TICKS_PASSED(g_got_size_timestamp, start_time) {
+ if (SDL_TICKS_PASSED(g_got_size_timestamp, start_time)) {
*columns = g_got_columns;... |
process: use correct cmake function | @@ -18,5 +18,5 @@ if (PLUGINPROCESS_FOUND)
LINK_ELEKTRA elektra-pluginprocess
elektra-invoke)
else (PLUGINPROCESS_FOUND)
- exclude_plugin (process "${PLUGINPROCESS_NOTFOUND_INFO}, pluginprocess library excluded, thus also excluding the process plugin")
+ remove_plugin (process "${PLUGINPROCESS_NOTFOUND_INFO}, pluginpro... |
[apps] :art: Prevent clang-format from touchting the test_macros.h assembly header | #ifndef __TEST_MACROS_SCALAR_H
#define __TEST_MACROS_SCALAR_H
+// clang-format off
#-----------------------------------------------------------------------
# Helper macros
@@ -1346,4 +1347,6 @@ pass: \
#define TEST_DATA
+// clang-format on
+
#endif
|
Fixed register encoding | @@ -132,6 +132,7 @@ struct ZydisRegisterMapItem
static const struct ZydisRegisterMapItem registerMap[] =
{
+ { ZYDIS_REGCLASS_INVALID , ZYDIS_REGISTER_NONE , ZYDIS_REGISTER_NONE , 0 , 0 },
{ ZYDIS_REGCLASS_GPR8 , ZYDIS_REGISTER_AL , ZYDIS_REGISTER_R15B , 8 , 8 },
{ ZYDIS_REGCLASS_GPR16 , ZYDIS_REGISTER_AX , ZYDIS_REGIS... |
blocklevel: smart_write: Tidy local variable declarations
Group them by use (and name). It's not reverse christmas tree, but it's
a bit easier on the eye. | @@ -506,15 +506,18 @@ out:
int blocklevel_smart_write(struct blocklevel_device *bl, uint64_t pos, const void *buf, uint64_t len)
{
+ void *ecc_buf = NULL;
+ uint64_t ecc_start;
+ int ecc_protection;
+
+ void *erase_buf = NULL;
uint32_t erase_size;
+
const void *write_buf = buf;
uint64_t write_len;
uint64_t write_pos;
-... |
forward-ports /=host= scry to %rver | :: +scry: request a path in the urbit namespace
::
++ scry
- |= *
+ |= [fur=(unit (set monk)) ren=@tas why=shop syd=desk lot=coin tyl=path]
+ ^- (unit (unit cage))
+ ?. ?=(%& -.why)
+ ~
+ =* who p.why
+ ?. ?=(%$ ren)
+ [~ ~]
+ ?. ?=(%$ -.lot)
+ [~ ~]
+ ?. ?=(%host syd)
+ [~ ~]
+ %- (lift (lift |=(a=hart:eyre [%hart !>(... |
ignore more warnings if option --ignore_warning is selected | @@ -4667,13 +4667,11 @@ if((fd_socket = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0)
return false;
}
-
-
memset(&ifr_old, 0, sizeof(ifr));
strncpy(ifr_old.ifr_name, interfacename, IFNAMSIZ -1);
if(ioctl(fd_socket, SIOCGIFFLAGS, &ifr_old) < 0)
{
- perror("failed to save current interface flags");
+ perror("failed... |
maven: use | @@ -9,7 +9,7 @@ if ! command -v mvn; then
exit 0
fi
-if ! test -f /usr/share/java/libelektra4j.jar; then
+if ! test -f @CMAKE_INSTALL_PREFIX@/share/java/libelektra4j.jar; then
echo "libelektra4j.jar not installed, will skip"
exit 0
fi
@@ -23,8 +23,8 @@ echo "Testing build with mvn"
cd "$EXTERNAL_FOLDER"
mvn org.apache.... |
add wire to +coup-ping-send sample | :: +coup-ping-send: handle ames ack
::
++ coup-ping-send
- |= error=(unit tang)
+ |= [=wire error=(unit tang)]
^- [(list move) _app-core]
::
+ ?> =(/send-ping wire)
%- (print-error "ping: coup" error)
set-timer
:: +wake: handle timer firing
|
added replaycount measurement (similar to EAPOLTIME measurement) | @@ -1785,6 +1785,7 @@ for(zeiger = messagelist; zeiger < messagelist +MESSAGELIST_MAX; zeiger++)
{
if(zeiger->rc >= rc) rcgap = zeiger->rc -rc;
else rcgap = rc -zeiger->rc;
+ if(rcgap > rcgapmax) rcgapmax = rcgap;
if(rcgap > ncvalue) continue;
if(memcmp(zeiger->client, macclient, 6) != 0) continue;
if(memcmp(zeiger->ap... |
Make function unique with prefix | @@ -130,7 +130,7 @@ espi_conn_manual_tcp_read_data(esp_conn_p conn, size_t len) {
* \return Connection current validation ID
*/
uint8_t
-conn_get_val_id(esp_conn_p conn) {
+espi_conn_get_val_id(esp_conn_p conn) {
uint8_t val_id;
esp_core_lock();
val_id = conn->val_id;
@@ -177,7 +177,7 @@ conn_send(esp_conn_p conn, cons... |
freertos: Update the docuementation of the ulBitsToClearOnEntry parameter in xTaskGenericNotifyWait() function.
Closes
The description of how the xTaskGenericNotifyWait parameter is handled in the
xTaskGenericNotifyWait() function was inaccurate.
In this commit, the description was updated to match the implementation o... | @@ -2656,12 +2656,13 @@ BaseType_t xTaskGenericNotifyFromISR( TaskHandle_t xTaskToNotify,
* not have this parameter and always waits for notifications on index 0.
*
* @param ulBitsToClearOnEntry Bits that are set in ulBitsToClearOnEntry value
- * will be cleared in the calling task's notification value before the task
... |
pgindent worker.c.
This is a leftover from commit Changing this separately
because this file is being modified for upcoming patch logical replication
of 2PC.
Author: Peter Smith
Discussion: | @@ -752,10 +752,10 @@ apply_handle_stream_start(StringInfo s)
/*
* Start a transaction on stream start, this transaction will be committed
- * on the stream stop unless it is a tablesync worker in which case it will
- * be committed after processing all the messages. We need the transaction
- * for handling the buffile... |
chat-cli: our-self with bowl set
We were calling it directly, rather than through the (initialized) tc core,
causing the bowl in its context to be the *bowl, resulting in [~zod /] audience. | ^- (quip card _this)
:- [connect:tc]~
%_ this
- audience [[our-self /] ~ ~]
+ audience [[our-self:tc /] ~ ~]
settings (sy %showtime %notify ~)
width 80
==
|
Zero history buffers | @@ -256,31 +256,31 @@ BOOLEAN PhProcessProviderInitialization(
PhInterruptsProcessInformation->UniqueProcessId = INTERRUPTS_PROCESS_ID;
PhInterruptsProcessInformation->InheritedFromUniqueProcessId = SYSTEM_IDLE_PROCESS_ID;
- PhCpuInformation = PhAllocate(
+ PhCpuInformation = PhAllocateZero(
sizeof(SYSTEM_PROCESSOR_PER... |
delete goal: check for sequence number as well | @@ -1413,7 +1413,10 @@ RetrieveGoalConfigsFromPlatformConfigData(
goto FinishError;
}
- if (NULL == pPcdConfHeader || pPcdConfHeader->ConfInputStartOffset == 0 || pPcdConfHeader->ConfInputDataSize == 0) {
+ pPcdConfInput = GET_NVDIMM_PLATFORM_CONFIG_INPUT(pPcdConfHeader);
+ pPcdConfOutput = GET_NVDIMM_PLATFORM_CONFIG_O... |
nimble/ll: Fix missing rfclk restart when not ending sync event | @@ -999,6 +999,10 @@ ble_ll_sync_rx_pkt_in(struct os_mbuf *rxpdu, struct ble_mbuf_hdr *hdr)
*/
if (!sm->flags) {
ble_ll_scan_chk_resume();
+
+#ifdef BLE_XCVR_RFCLK
+ ble_ll_sched_rfclk_chk_restart();
+#endif
return;
}
@@ -1044,6 +1048,10 @@ ble_ll_sync_rx_pkt_in(struct os_mbuf *rxpdu, struct ble_mbuf_hdr *hdr)
/* if ch... |
Fix install target after previous change
broke the install target because system/box86.conf should
now be taken from the build directory, sorry for that. | @@ -501,7 +501,7 @@ if(NOT _x86 AND NOT _x86_64)
install(TARGETS ${BOX86}
RUNTIME DESTINATION bin)
configure_file(system/box86.conf.cmake system/box86.conf)
- install(FILES ${CMAKE_SOURCE_DIR}/system/box86.conf DESTINATION /etc/binfmt.d/)
+ install(FILES ${CMAKE_BINARY_DIR}/system/box86.conf DESTINATION /etc/binfmt.d/)... |
VERSION bump to version 2.0.185 | @@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set version of the project
set(LIBYANG_MAJOR_VERSION 2)
set(LIBYANG_MINOR_VERSION 0)
-set(LIBYANG_MICRO_VERSION 184)
+set(LIBYANG_MICRO_VERSION 185)
set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}... |
crash: fix unsigned div-by-zero crash
The bug was introduced in chromium:1834603
TEST=ensure crash udivzero is triggered
BRANCH=none | @@ -324,7 +324,7 @@ static int command_crash(int argc, char **argv)
volatile int zero = 0;
cflush();
- ccprintf("%08x", 1 / zero);
+ ccprintf("%08x", 1U / zero);
#ifdef CONFIG_CMD_STACKOVERFLOW
} else if (!strcasecmp(argv[1], "stack")) {
stack_overflow_recurse(1);
|
pci_bar_init(): fix unaligned parameter for map() | @@ -133,7 +133,8 @@ void pci_bar_init(pci_dev dev, struct pci_bar *b, int bar, bytes offset, bytes l
bytes len = pad(length, PAGESIZE);
b->vaddr = allocate(virtual_page, len);
pci_debug("%s: %p[0x%x] -> 0x%lx[0x%lx]+0x%x\n", __func__, b->vaddr, len, b->addr, b->size, offset);
- map(u64_from_pointer(b->vaddr), b->addr +... |
upstream: only reset the IO timeout counter if the connection is valid | @@ -672,6 +672,7 @@ struct flb_connection *flb_upstream_conn_get(struct flb_upstream *u)
conn->net_error = -1;
err = flb_socket_error(conn->fd);
+
if (!FLB_EINPROGRESS(err) && err != 0) {
flb_debug("[upstream] KA connection #%i is in a failed state "
"to: %s:%i, cleaning up",
@@ -706,7 +707,9 @@ struct flb_connection *... |
Updated logo display code (more generic) | #include "kdebug.h"
#if (ENABLE_LOGO != 0)
+#define LOGO_SIZE 64
+
#include "libres.h"
#endif
@@ -490,7 +492,7 @@ void _vint_callback()
// palette fading processing
if (vintp & PROCESS_PALETTE_FADING)
{
- if (!VDP_doFadingStep(FALSE)) vintp &= ~PROCESS_PALETTE_FADING;
+ if (!VDP_doFadingStep()) vintp &= ~PROCESS_PALETT... |
BugID:16944965: Update Config.in according to usb changes | ## --- Generated Automatically ---
source "kernel/bus/mbmaster/Config.in"
-source "kernel/bus/usb/usb_device/Config.in"
-source "kernel/bus/usb/usb_host/Config.in"
+source "kernel/bus/usb/Config.in"
source "kernel/cli/Config.in"
source "kernel/cplusplus/Config.in"
source "kernel/debug/Config.in"
|
tim clk config fix | @@ -208,28 +208,19 @@ static void timer_init(struct rt_hwtimer_device *timer, rt_uint32_t state)
stm32_tim_pclkx_doubler_get(&pclk1_doubler, &pclk2_doubler);
/* time init */
-#if defined(SOC_SERIES_STM32F2) || defined(SOC_SERIES_STM32F4) || defined(SOC_SERIES_STM32F7)
- if (tim->Instance == TIM9 || tim->Instance == TIM... |
mtd/progmem: fix incorrect calculation on page offset
Upper MTD layer passes as parameter block numbers that are based on
erasesize, not blocksize. So, we need to convert it. | @@ -169,12 +169,15 @@ static int32_t progmem_log2(uint32_t num)
static int progmem_erase(FAR struct mtd_dev_s *dev, off_t startblock, size_t nblocks)
{
+ int page;
ssize_t result;
+ FAR struct progmem_dev_s *priv = (FAR struct progmem_dev_s *)dev;
- /* Erase the specified blocks and return status (OK or a negated errno... |
Fix race introduced from commit | @@ -1179,8 +1179,6 @@ VOID PhpProcessQueryStage1(
{
Data->PackageFullName = PhGetProcessPackageFullName(processHandleLimited);
}
-
- PhpQueueProcessQueryStage2(processItem);
}
VOID PhpProcessQueryStage2(
@@ -1323,6 +1321,9 @@ VOID PhpFillProcessItemStage1(
processItem->IsImmersive = Data->IsImmersive;
PhSwapReference(&... |
upgrade all mpi families | @@ -105,7 +105,7 @@ modules environment to make it the default.
ohpc-gnu8-python-libs \
ohpc-gnu8-runtimes \
ohpc-gnu8-serial \
- ohpc-gnu8-openmpi3-parallel-libs
+ ohpc-gnu8-parallel-libs
# Update default environment
[sms](*\#*) (*\remove*) lmod-defaults-gnu7-openmpi3-ohpc
|
fix(lodepng): fix NULL pointer access | @@ -5754,7 +5754,7 @@ static unsigned preProcessScanlines(unsigned char** out, size_t* outsize, const
adam7 = (unsigned char*)lodepng_malloc(passstart[7]);
if(!adam7 && passstart[7]) error = 83; /*alloc fail*/
- if(!error) {
+ if(!error && adam7) {
unsigned i;
Adam7_interlace(adam7, in, w, h, bpp);
|
ci inline apt-get commands | @@ -75,7 +75,8 @@ jobs:
# publicly in your project's package repository, so it is vital that
# no secrets are present in the container state or logs.
install: |
- ./scripts/install-prerequisites.sh
+ apt-get update -y
+ apt-get install -y gcc python3 libpng-dev ruby-full gcovr cmake
# Produce a binary artifact and plac... |
Change PXF automation test group to pipeline parameter | @@ -2619,6 +2619,7 @@ jobs:
passed:
- gate_compile_end
+## PXF Regression Test Start
- name: regression_tests_pxf_hdp_rpm
plan:
- aggregate:
@@ -2634,12 +2635,11 @@ jobs:
- get: pxf_automation_src
trigger: true
- get: centos-gpdb-dev-6
- - aggregate:
- task: regression_tests_pxf
file: gpdb_src/concourse/tasks/regressio... |
pyocf: Add argtype/restype for ocf_volume_create | @@ -917,3 +917,5 @@ lib.ocf_mngt_add_partition_to_cache.argtypes = [
]
lib.ocf_mngt_cache_io_classes_configure.restype = c_int
lib.ocf_mngt_cache_io_classes_configure.argtypes = [c_void_p, c_void_p]
+lib.ocf_volume_create.restype = c_int
+lib.ocf_volume_create.argtypes = [c_void_p, c_void_p, c_void_p]
|
doc: remove part of sentence
Alternative: suggest to use scripts/dev/run_env | @@ -38,7 +38,6 @@ libelektra.jar), e.g.:
export CLASSPATH=".:/usr/share/java/libelektra4j.jar:/usr/share/java/jna.jar"
```
-Or, if you want to use Elektra from cmake's build directory, use
`
Then you can compile and run [HelloElektra](HelloElektra.java):
|
language-server: retain state on reload | easy-print=language-server-easy-print,
rune-snippet=language-server-rune-snippet,
build=language-server-build,
- default-agent
+ default-agent, verb
|%
+$ card card:agent:gall
+$ lsp-req
==
--
^- agent:gall
+%+ verb |
=| state-zero
=* state -
=<
|= old-state=vase
^- (quip card _this)
~& > %lsp-upgrade
- [~ this(state *... |
Show hex value of packet type | @@ -92,7 +92,7 @@ std::string strpkttype_long(uint8_t type) {
case NGTCP2_PKT_PUBLIC_RESET:
return "Public Reset";
default:
- return "UNKNOWN (0x" + util::format_hex(type) + ")";
+ return "UNKNOWN";
}
}
} // namespace
@@ -107,7 +107,7 @@ std::string strpkttype_short(uint8_t type) {
case NGTCP2_PKT_03:
return "Short 03"... |
converting iron and zinc cores to lead bug
In the current release candidate, this happens:
```
> ^?(^|(add))
wrap-gold
ford: %slim failed:
ford: %ride failed to compute type:
```
This is a jet mismatch from `+wrap`, I believe:
You should be able to convert iron and zinc cores to lead. | if ( c3n == u3r_trel(pq_sut, &ppq_sut, &qpq_sut, &rpq_sut) ) {
return u3m_bail(c3__fail);
}
- else if ( c3__gold != rpq_sut ) {
- return u3m_error("wrap-gold");
+ else if ( (c3__gold != rpq_sut) &&
+ (c3__lead != yoz) ) {
+ return u3m_error("wrap-metal");
}
else {
return u3nt(c3__core,
|
libhfuzz: don't use 128MiB data segment vars, use malloc() | @@ -29,8 +29,6 @@ __attribute__((weak)) size_t LLVMFuzzerMutate(
return 0;
}
-static uint8_t buf[_HF_INPUT_MAX_SIZE] = {0};
-
static const uint8_t* inputFile = NULL;
__attribute__((constructor)) static void initializePersistent(void) {
if (fcntl(_HF_INPUT_FD, F_GETFD) == -1 && errno == EBADFD) {
@@ -104,7 +102,8 @@ sta... |
base-dev: initial `mime:grab` impl for story mark | ++ grab
|% :: convert from
++ noun (map tako:clay ,[title=@t body=@t]) :: clam from %noun
- ++ mime |=([p=mite q=octs] q.q) :: retrieve form %mime
+ ++ mime :: retrieve form %mime
+ |= [p=mite q=octs]
+ ^- (map tako:clay [title=@t body=@t])
+ =/ commit-parser
+ ;~ sfix :: throw away the trailing newline
+ ;~ pfix (jest... |
AIX: correct DSOFLAGS and LDFLAGS for shared library support. | @@ -44,6 +44,15 @@ AS_IF([test x$enable_shared != xno], [
DSO="\$(CC)"
DSOXX="\$(CXX)"
DSOFLAGS="$DSOFLAGS -Wl,-no_warn_inits -dynamiclib -single_module -lc"
+ ], [aix*], [
+ LIBCUPS="lib$cupsbase.so.2"
+ AS_IF([test "x$cupsimagebase" != x], [
+ LIBCUPSIMAGE="lib$cupsimagebase.so.2"
+ ])
+ DSO="\$(CC)"
+ DSOXX="\$(CXX)... |
nvbios: Add 0x9e init opcode
Seen on Pascal+. | @@ -708,6 +708,11 @@ void printscript (uint16_t soff) {
printf ("I2C_IF_LONG\tI2C[0x%02x][0x%02x][0x%02x:0x%02x] & 0x%02x == 0x%02x\n", bios->data[soff+1], bios->data[soff+2], bios->data[soff+4], bios->data[soff+3], bios->data[soff+5], bios->data[soff+6]);
soff += 7;
break;
+ case 0x9e:
+ printcmd (soff, 1);
+ printf (... |
Don't try to do both clang and GCC on Linux for now... | @@ -13,9 +13,6 @@ matrix:
include:
# Linux-specific build stuff
- os: linux
- compiler:
- - clang
- - gcc
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y avahi-daemon avahi-utils libavahi-client-dev libgnutls28-dev libjpeg-dev libnss-mdns libpng-dev zlib1g-dev
|
OcAppleImageVerificationLib: Fix a memory leak | @@ -614,6 +614,7 @@ VerifyApplePeImageSignature (
SignatureContext = AllocateZeroPool (sizeof (APPLE_SIGNATURE_CONTEXT));
if (SignatureContext == NULL) {
DEBUG ((DEBUG_WARN, "Signature context allocation failure\n"));
+ FreePool (Context);
return EFI_OUT_OF_RESOURCES;
}
|
Prevent signal interaction with exit sequence | @@ -3294,7 +3294,7 @@ static void fio_worker_startup(void) {
}
}
-/* TODO: fixme */
+/* performs all clean-up / shutdown requirements except for the exit sequence */
static void fio_worker_cleanup(void) {
/* switch to winding down */
if (fio_data->is_worker)
@@ -3323,6 +3323,7 @@ static void fio_worker_cleanup(void) {
... |
[core] run plugin cleanup hooks in reverse
run plugin cleanup hooks in reverse to balance ctor/dtor-like plugin
behaviors | @@ -414,13 +414,19 @@ static void plugins_call_cleanup(server * const srv) {
}
}
-/**
- *
- * - call init function of all plugins to init the plugin-internals
- * - added each plugin that supports has callback to the corresponding slot
- *
- * - is only called once.
- */
+__attribute_cold__
+static void plugins_call_in... |
sysrepocfg BUGFIX do not check ext deps when parsing files
Sysrepo will check all dependencies when an actual
operation is executed.
Fixes | @@ -272,7 +272,7 @@ op_import(sr_session_ctx_t *sess, const char *file_path, const char *module_name
struct lyd_node *data;
int r, flags;
- flags = LYD_OPT_CONFIG | (not_strict ? 0 : LYD_OPT_STRICT);
+ flags = LYD_OPT_CONFIG | LYD_OPT_NOEXTDEPS | (not_strict ? 0 : LYD_OPT_STRICT);
if (step_load_data(sess, file_path, fo... |
Additional improvements for PDB parsing | @@ -321,7 +321,8 @@ static void pe_parse_debug_directory(
if (!struct_fits_in_pe(pe, pdb20, CV_INFO_PDB20))
break;
- pdb_str_len = strnlen((char *)(pdb20->PdbFileName), MAX_PATH * sizeof(char));
+ pdb_str_len = strnlen((char *)(pdb20->PdbFileName),
+ yr_min(available_space(pe, pdb20->PdbFileName), MAX_PATH * sizeof(cha... |
Fix stale variables
calling drawbar() will re-count the number of clients and will count the
width of the tags and stuff so it is up to date. | @@ -2998,7 +2998,7 @@ dragmouse(const Arg *arg)
int prev_slot = -1;
int tempanim = animated;
animated = 0;
- tagwidth = gettagwidth();
+ drawbar(c->mon);
do {
XMaskEvent(dpy, MOUSEMASK|ExposureMask|SubstructureRedirectMask, &ev);
switch(ev.type) {
|
Solve minor bug in logs for pretty format. | @@ -196,6 +196,14 @@ static size_t log_policy_format_text_serialize_impl(log_policy policy, const log
const char * format = log_policy_format_text_serialize_impl_format(log_impl_level(impl), text_data->flags);
+ #if (LOG_POLICY_FORMAT_PRETTY == 1)
+ {
+ length = snprintf(buffer, size, format,
+ log_level_to_string(log_... |
reduce size of test to make it finish more quickly | @@ -5,7 +5,7 @@ int main() {
// atomic_vs_reduction.c: This test shows how much faster reductions are than atomic operations
//
int main_rc = 0;
- int N = 500001;
+ int N = 5001;
double expect = (double) (((double)N-1)*(double)N)/2.0;
double a = 0.0;
|
pkg/container-utils/docker: Fix bad state
The correct variable to use is State instead of Status. It was causing
to always have the State as "unknown", causing
"./local-gadget list-containers" not to show any docker containers.
Fixes: ("Replace `PidFromContainerID` for `GetContainerDetails`, providing more details") | @@ -214,7 +214,7 @@ func DockerContainerToContainerData(container *dockertypes.Container) *runtimecl
return &runtimeclient.ContainerData{
ID: container.ID,
Name: strings.TrimPrefix(container.Names[0], "/"),
- State: containerStatusStateToRuntimeClientState(container.Status),
+ State: containerStatusStateToRuntimeClient... |
example/wifi_maanger: fix an overflow issue of an input parameter
it make crash when ssid or password is more than 32 or 64 at wm_softap_start() | @@ -575,6 +575,11 @@ void wm_softap_start(void *arg)
WM_TEST_LOG_START;
wifi_manager_result_e res = WIFI_MANAGER_SUCCESS;
struct options *ap_info = (struct options *)arg;
+ if (strlen(ap_info->ssid) >= 32 || strlen(ap_info->password) >= 64) {
+ printf("Param Error\n");
+ WM_TEST_LOG_END;
+ return;
+ }
wifi_manager_soft... |
Fixing libusb busy error
Detaching all kernels before attempting to claim the usb | @@ -188,6 +188,7 @@ class Panda(object):
self.bootstub = device.getProductID() == 0xddee
self.legacy = (device.getbcdDevice() != 0x2300)
self._handle = device.open()
+ self._handle.setAutoDetachKernelDriver(True)
if claim:
self._handle.claimInterface(0)
#self._handle.setInterfaceAltSetting(0, 0) #Issue in USB stack
|
Add Micropython feature
and a short example | @@ -35,6 +35,7 @@ LittlevGL provides everything you need to create a Graphical User Interface (GUI
* **OS, External memory and GPU** supported but not required
* **Single frame buffer** operation even with advances graphical effects
* **Written in C** for maximal compatibility
+* **Micropython Binding** exposes [Little... |
Comment out DAP_FW_Vers string in DAP.c to prevent warning.
This global is unused in DAPLink because we report the DAPLink version
for DAP_ID_FW_VER instead of CMSIS-DAP version. | volatile uint8_t DAP_TransferAbort; // Transfer Abort Flag
-static const char DAP_FW_Ver [] = DAP_FW_VER;
+// static const char DAP_FW_Ver [] = DAP_FW_VER;
#if TARGET_DEVICE_FIXED
static const char TargetDeviceVendor [] = TARGET_DEVICE_VENDOR;
|
usdt: fix argument passing on python3
This fixes the following error:
$: ./tplist -v -v -l /usr/lib64/dri/i965_dri.so
argument 1: <class 'TypeError'>: wrong type | @@ -130,7 +130,7 @@ class USDT(object):
raise USDTException("USDT failed to instrument PID %d" % pid)
elif path:
self.path = path
- self.context = lib.bcc_usdt_new_frompath(path)
+ self.context = lib.bcc_usdt_new_frompath(path.encode('ascii'))
if self.context == None:
raise USDTException("USDT failed to instrument path... |
sys/console: fix console compatibility
The previous fix introduced a regression in handling
CR/LF characters. When CR/LF was used, the LF character was added
to the buffer and handled by the shell resulting in
"Unrecognized command" error. | @@ -385,6 +385,7 @@ console_handle_char(uint8_t byte)
static struct os_event *ev;
static struct console_input *input;
+ static char prev_endl = '\0';
if (!avail_queue || !lines_queue) {
return 0;
@@ -473,10 +474,15 @@ console_handle_char(uint8_t byte)
case ESC:
esc_state |= ESC_ESC;
break;
- default:
- insert_char(&inp... |
Clean log file when using the "-c" option. | @@ -622,6 +622,10 @@ main(int argc, // I - Number of command-line arguments
}
}
+ // Clean the log if necessary
+ if (clean && log && strcmp(log, "-") && strcmp(log, "syslog"))
+ unlink(log);
+
// Initialize the system and any printers...
system = papplSystemCreate(soptions, name ? name : "Test System", port, "_print,_... |
Factorize frame swap | @@ -70,20 +70,11 @@ video_buffer_destroy(struct video_buffer *vb) {
av_frame_free(&vb->producer_frame);
}
-static void
-video_buffer_swap_producer_frame(struct video_buffer *vb) {
- sc_mutex_assert(&vb->mutex);
- AVFrame *tmp = vb->producer_frame;
- vb->producer_frame = vb->pending_frame;
- vb->pending_frame = tmp;
-}
... |
ItemsName not used | #include "PriorityQueue.h"
-#define PriorityQueue_Implementation(QueueType, ItemType, ItemsName) \
+#define PriorityQueue_Implementation(QueueType, ItemType) \
QueueType##_Push_Feedback QueueType##_Push(QueueType *queue, ItemType item) \
{ \
QueueType##_Push_Feedback feedback = {0}; \
@@ -65,5 +65,5 @@ ItemType QueueTy... |
Add toplevel rules for config and model | #
subdirs += software
+hardware_subdirs += hardware
all: $(subdirs)
@@ -33,8 +34,16 @@ test install uninstall:
fi \
done
+# Model build and config
+config model image:
+ @for dir in $(hardware_subdirs); do \
+ if [ -d $$dir ]; then \
+ $(MAKE) -C $$dir $@ || exit 1; \
+ fi \
+ done
+
clean:
- @for dir in $(subdirs); do... |
Update NFSUndercover.GenericFix.ini | @@ -5,7 +5,6 @@ ResDetect = 1
Scaling = 0 // Adjusts FOV scaling to be proportionally correct.
[MISC]
-Scaling = 0 // Adjusts FOV scaling to be proportionally correct.
SkipIntro = 0 // Skips FMVs that play when you launch the game.
WindowedMode = 0 // Enables windowed mode. (1 = Borderless | 2 = Border)
CustomUserFiles... |
OpenCoreNvram: Do not overwrite present variables | @@ -42,6 +42,7 @@ OcLoadNvramSupport (
OC_ASSOC *VariableMap;
UINT8 *VariableData;
UINT32 VariableSize;
+ UINTN OriginalVariableSize;
for (GuidIndex = 0; GuidIndex < Config->Nvram.Block.Count; ++GuidIndex) {
//
@@ -109,6 +110,24 @@ OcLoadNvramSupport (
continue;
}
+ OriginalVariableSize = 0;
+ Status = gRT->GetVariable... |
Make PH_IMAGE_RESOURCE_ENTRY.Data return a VA instead of a RVA
PIMAGE_RESOURCE_DATA_ENTRY return a RVA per the PE-COFF specification,
so we need to convert it into a VA before using it. | @@ -1688,7 +1688,7 @@ NTSTATUS PhGetMappedImageResources(
Resources->ResourceEntries[resourceIndex].Type = NAME_FROM_RESOURCE_ENTRY(resourceDirectory, resourceType);
Resources->ResourceEntries[resourceIndex].Name = NAME_FROM_RESOURCE_ENTRY(resourceDirectory, resourceName);
Resources->ResourceEntries[resourceIndex].Lang... |
CCode: Add documentation for `setDefaultConfig` | @@ -54,6 +54,11 @@ inline int elektraHexcodeConvFromHex (char character)
using namespace ckdb;
extern "C" {
+/**
+ * @brief This function sets default values for the encoding and decoding character mapping.
+ *
+ * @param mapping This parameter stores the encoding and decoding table this function fills with default val... |
[CMSIS-Build] Documentation: add cprj asflags "use" field description. | @@ -977,6 +977,12 @@ are 'removed' on a lower level (component, group, file).
<td>xs:string</td>
<td>required</td>
</tr>
+ <tr>
+ <td>use</td>
+ <td>selects legacy assembler to be invoked in place of the default assembler for a given tool-chain. Currently supported values: armasm (AC6), gas (GCC)</td>
+ <td>xs:string</... |
Travis: Add a Windows MSVC 2017 compilation test | @@ -73,3 +73,19 @@ matrix:
- mkdir build && cd build
- CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=on
- ninja -v
+
+ # Windows MSVC 2017
+ - os: windows
+ compiler: msvc
+ env:
+ - MATRIX_EVAL="CC=cl.exe && CXX=cl.exe"
+ before_insta... |
fib: fix coverity 253539
Add an ASSERT so coverity is aware of the assumption taken,
without incurring any penalty in release build.
Type: fix | @@ -592,6 +592,7 @@ load_balance_fill_buckets_sticky (load_balance_t *lb,
{
/* fill the bucks from the next up path */
load_balance_set_bucket_i(lb, bucket++, buckets, &fwding_paths[fpath].path_dpo);
+ ASSERT(vec_len(fwding_paths) > 0);
fpath = (fpath + 1) % vec_len(fwding_paths);
}
}
|
libc/stdio: Minor comments fix | @@ -219,7 +219,7 @@ errout:
}
/****************************************************************************
- * Name: getdelim()
+ * Name: getline()
*
* Description:
* The getline() function will be equivalent to the getdelim() function
|
Fix merge, correct branch for carto-libs | [submodule "libs-carto"]
path = libs-carto
url = https://github.com/cartodb/mobile-carto-libs
- branch = feature/sgre
+ branch = feature/globe
[submodule "libs-external"]
path = libs-external
url = https://github.com/cartodb/mobile-external-libs
|
Improve code in ChangeConditions | @@ -442,15 +442,17 @@ bool CLR_DBG_Debugger::Monitor_Ping(WP_Message *msg)
fStopOnBoot = (cmdReply != NULL) && (cmdReply->Flags & Monitor_Ping_c_Ping_DbgFlag_Stop);
}
- Events_WaitForEvents(0, 50);
-
if (CLR_EE_DBG_IS_MASK(StateInitialize, StateMask))
{
if (fStopOnBoot)
+ {
CLR_EE_DBG_SET(Stopped);
+ }
else
+ {
CLR_EE_... |
remove ~&pure-mint from mint (prelude to jet decapitation) | ~/ %mint
|= {gol/type gen/hoon}
^- {p/type q/nock}
- ~& %pure-mint
+ ::~& %pure-mint
|^ ^- {p/type q/nock}
?: ?&(=(%void sut) !?=({$dbug *} gen))
?. |(!vet ?=({$lost *} gen) ?=({$zpzp *} gen))
|
[parallel-smoke] - Introduce logic to check for necessary package.
If package is not found on the system, proceed with
the sequential version of the check_smoke.sh script. | @@ -91,10 +91,6 @@ script_dir=$(dirname "$0")
pushd $script_dir
path=$(pwd)
-# Clean all testing directories, except in parallel build
-if [ "$AOMP_PARALLEL_SMOKE" != 1 ]; then
- make clean
-fi
cleanup
export OMP_TARGET_OFFLOAD=${OMP_TARGET_OFFLOAD:-MANDATORY}
@@ -126,6 +122,8 @@ fi
# ---------- Begin parallel logic --... |
Avoid re-compilation in ASE due to work directory.
I updated the rules to build the work directory but accidentially introduced
a true dependence that caused unnecessary rebuilding. | @@ -528,7 +528,7 @@ $(WORK):
fi
## VCS base Quartus Verilog libraries
-$(WORK)/synopsys_sim_quartus_verilog.setup: $(WORK)
+$(WORK)/synopsys_sim_quartus_verilog.setup: | $(WORK)
mkdir -p $(WORK)/verilog_libs
ifeq ($(GLS_SIM), 1)
@# Generate the Quartus family-dependent simulation library list
@@ -541,7 +541,7 @@ else
e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.