message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
rpz triggers, fix that nsdname suffix removal returns allocated memory
of the correct length and the correct dnamelen. | @@ -664,12 +664,34 @@ rpz_insert_qname_trigger(struct rpz* r, uint8_t* dname, size_t dnamelen,
rrclass, ttl, rdata, rdata_len, rr, rr_len);
}
-static void
-rpz_strip_nsdname_suffix(uint8_t* dname, size_t maxdnamelen)
+static int
+rpz_strip_nsdname_suffix(uint8_t* dname, size_t maxdnamelen,
+ uint8_t** stripdname, size_... |
os/board/rtl8721csm: Add MPU for Secure PSRAM | @@ -1017,6 +1017,11 @@ u32 app_mpu_nocache_init(void)
return 0;
}
+u32 app_mpu_s_nocache_init(void)
+{
+ mpu_s_no_cache_init();
+}
+
VOID app_vdd1833_detect(VOID)
{
u32 temp;
@@ -1345,6 +1350,7 @@ extern void __libc_init_array(void);
#ifdef CONFIG_PLATFORM_TIZENRT_OS
mpu_init();
app_mpu_nocache_init();
+ app_mpu_s_noca... |
Update pkg/interface/src/apps/chat/components/lib/chat-header.js | @@ -13,11 +13,10 @@ export class ChatHeader extends Component {
const isinPopout = props.popout ? "popout/" : "";
const group = Array.from(props.group.members);
let title = props.station.substr(1);
- if (props.association && "metadata" in props.association) {
- title =
- props.association.metadata.title !== ""
- ? prop... |
Corrected OC_PDU_SIZE for builds with OC_SECURITY disabled | #endif /* !OC_BLOCK_WISE_SET_MTU */
enum
{
+#ifdef OC_SECURITY
OC_PDU_SIZE = (2 * OC_BLOCK_SIZE + COAP_MAX_HEADER_SIZE)
+#else /* OC_SECURITY */
+ OC_PDU_SIZE = (OC_BLOCK_SIZE + COAP_MAX_HEADER_SIZE)
+#endif /* !OC_SECURITY */
};
typedef struct
|
Reduce collision chance when parsing demo output. | @@ -341,12 +341,12 @@ void runDemoTask( void * pArgument )
/* If memory analysis is enabled metrics regarding the heap and stack usage of the demo will print. */
/* This format is used for easier parsing and creates an avenue for future metrics to be added. */
xAfterDemoHeapSize = democonfigMEMORY_ANALYSIS_MIN_EVER_HEA... |
Fix in docu. | @@ -7,7 +7,9 @@ docker tag <ID> tinyspline/build-deps:latest
docker push tinyspline/build-deps
### Change loader instruction
+```shell
x86_64-apple-darwin17-install_name_tool -change \
`x86_64-apple-darwin17-otool -L *tinysplinepython* | grep Python | cut -d' ' -f1 | sed -e 's/^[ \t]*//'` \
Python \
_tinysplinepython.s... |
update the links for submit bug and view change log | @@ -470,87 +470,7 @@ houdiniEngine_runHKey()
global proc
houdiniEngine_launchSubmitBugs()
{
- string $houdiniEngineVersion = `houdiniEngine -houdiniEngineVersion`;
-
- string $operatingSystem = `about -operatingSystem`;
- string $mayaVersion = `about -version`;
- string $mayaCutIdentifier = `about -cutIdentifier`;
-
- ... |
improve nvcc warning settings | @@ -40,9 +40,10 @@ function init(self)
self:set("mapflags",
{
-- warnings
- ["-W1"] = "-Wall"
- , ["-W2"] = "-Wall"
- , ["-W3"] = "-Wall"
+ ["-W1"] = ""
+ , ["-W2"] = ""
+ , ["-W3"] = ""
+ , ["-W4"] = "-Wreorder"
})
-- init buildmodes
@@ -72,25 +73,43 @@ function nf_warning(self, level)
local maps =
{
none = "-w"
+ , l... |
[x86_64] .gitignore arch-specific staged files | @@ -10,6 +10,7 @@ isodir/
*.a
.DS_Store
i686-toolchain/
+x86_64-toolchain/
initrd/
.vscode/
@@ -18,3 +19,11 @@ __pycache__/
i686-toolchain-attempt1/
/axle-sysroot/usr/i686-axle/lib/
programs/cross_axle_generated.ini
+
+# Arch specific files that are staged based on the current architecture
+kernel/boot/boot.s
+kernel/k... |
scheduler: initialize timer event structure | @@ -521,6 +521,8 @@ struct flb_sched_timer *flb_sched_timer_create(struct flb_sched *sched)
flb_errno();
return NULL;
}
+ MK_EVENT_ZERO(&timer->event);
+
timer->timer_fd = -1;
timer->config = sched->config;
timer->data = NULL;
|
YAML CPP: Fix conversion of array without parent | @@ -97,7 +97,7 @@ KeySet splitArrayParents (KeySet const & keys)
continue;
}
- if (keys.current ().getBaseName ()[0] == '#' && keys.current ().isBelow (previous))
+ if (keys.current ().getBaseName ()[0] == '#')
{
if (!keys.current ().isDirectBelow (previous))
{
|
DAOS: use proper permissions for obj_open
Pass the correct permissions to daos_obj_open instead of 0. | @@ -2312,7 +2312,7 @@ static int mfu_daos_obj_sync(
/* open handle of object in dst container */
daos_handle_t dst_oh;
- rc = daos_obj_open(dst_coh, oid, DAOS_OO_EXCL, &dst_oh, NULL);
+ rc = daos_obj_open(dst_coh, oid, DAOS_OO_RW, &dst_oh, NULL);
if (rc != 0) {
MFU_LOG(MFU_LOG_ERR, "DAOS object open returned with error... |
Fix link to tabix
Thanks for the fix! | @@ -57,7 +57,7 @@ rst_epilog = '''
.. _samtools: http://samtools.sourceforge.net/
.. _bcftools: https://samtools.github.io/bcftools/bcftools.html
.. _htslib: http://www.htslib.org/
-.. _tabix: http://samtools.sourceforge.net/tabix.shtml/
+.. _tabix: http://samtools.sourceforge.net/tabix.shtml
.. _Galaxy: https://main.g... |
[core] fix crash printing trace if backend is down | @@ -315,7 +315,7 @@ static void gw_proc_check_enable(gw_host * const host, gw_proc * const proc, log
log_error(errh, __FILE__, __LINE__,
"gw-server re-enabled: %s %s %hu %s",
proc->connection_name->ptr, host->host->ptr, host->port,
- host->unixsocket->ptr ? host->unixsocket->ptr : "");
+ host->unixsocket && host->unixs... |
Moved NID from wrong library | @@ -2073,6 +2073,7 @@ modules:
ksceKernelGetModuleInternal: 0xFE303863
ksceKernelGetModuleInfo: 0xD269F915
ksceKernelLoadModuleForPid: 0xFA21D8CB
+ ksceKernelStartModuleForPid: 0x6DF745D5
ksceKernelStopModuleForPid: 0x7BB4CE54
ksceKernelUnloadModuleForPid: 0x5972E2CC
SceModulemgrForDriver:
@@ -2090,7 +2091,6 @@ modules... |
scripts: fix author format in update-rpm-changelog | @@ -7,7 +7,7 @@ USAGE=$(
Usage: [-h] [-a AUTHOR] [-f FILE] [-m MESSAGE] [-v VERSION] [-l VERSION_SUFFIX]
Adds a new entry to the rpm changelog.
-a=AUTHOR set the author of the changelog.
- Defaults to git config user.email
+ Defaults to git config user.name and user.email
-f=FILE path to the changelog.
Defaults to ./ch... |
Change readme.md
Note: mandatory check (NEED_CHECK) was skipped | @@ -1737,7 +1737,7 @@ Appends appendvalue to varname's value using space as a separator.
New value is propagated to dependants
###### Macro [SIZE][](SMALL/MEDIUM/LARGE) <a name="macro_SIZE"></a>
-Set the 'size' for the test. Each 'size' has own set of resrtictions, SMALL bein the most restricted and LARGE being the lis... |
tools: add usages on download.sh
help shows how to use this command. | TOOLPATH=`test -d ${0%/*} && cd ${0%/*}; pwd`
OSPATH="${TOOLPATH}/.."
+usages() {
+ cat <<EOF
+USAGE: `basename $0` [OPTIONS]
+Program binaries into flash
+
+OPTIONS:
+ ALL write all of binaries, os, bootloader, romfs and etc into flash
+ OS write os binary into flash
+ ROMFS write romfs image into flash
+
+Each board ... |
util/cros_ec_dev.h: Format with clang-format
BRANCH=none
TEST=none | @@ -85,10 +85,10 @@ struct cros_ec_readmem_v2 {
};
#define CROS_EC_DEV_IOC_V2 0xEC
-#define CROS_EC_DEV_IOCXCMD_V2 _IOWR(CROS_EC_DEV_IOC_V2, 0, \
- struct cros_ec_command_v2)
-#define CROS_EC_DEV_IOCRDMEM_V2 _IOWR(CROS_EC_DEV_IOC_V2, 1, \
- struct cros_ec_readmem_v2)
+#define CROS_EC_DEV_IOCXCMD_V2 \
+ _IOWR(CROS_EC_DE... |
publish: fix bug in comment mark | ==
++ both-parser
;~ pose
+ %+ cook
+ |= [author=@ date-created=@da content=@t]
+ ^- comment
+ [author date-created content %.n]
new-parser
%+ cook
|= [author=@ @ @ date-created=@da @ content=@t]
|
openssl/rand.h: fix formatting. | @@ -48,7 +48,6 @@ void RAND_seed(const void *buf, int num);
# if defined(__ANDROID__) && defined(__NDK_FPABI__)
__NDK_FPABI__ /* __attribute__((pcs("aapcs"))) on ARM */
# endif
-
void RAND_add(const void *buf, int num, double randomness);
int RAND_load_file(const char *file, long max_bytes);
int RAND_write_file(const c... |
Refactor s2n_config.h to be under max line length | @@ -60,5 +60,16 @@ extern struct s2n_config s2n_default_config;
extern struct s2n_config s2n_default_fips_config;
extern struct s2n_config s2n_unsafe_client_testing_config;
-int accept_all_rsa_certs(struct s2n_connection *conn, uint8_t *cert_chain_in, uint32_t cert_chain_len, s2n_cert_type *cert_type, s2n_cert_public_k... |
pkeyutl: Fix regression with -kdflen option | @@ -463,17 +463,18 @@ int pkeyutl_main(int argc, char **argv)
}
goto end;
}
- if (kdflen != 0) {
- buf_outlen = kdflen;
- rv = 1;
- } else {
if (rawin) {
/* rawin allocates the buffer in do_raw_keyop() */
rv = do_raw_keyop(pkey_op, mctx, pkey, in, filesize, NULL, 0,
&buf_out, (size_t *)&buf_outlen);
+ } else {
+ if (kd... |
sidk_s5jt200: fix compilation error s5jt200_tash.c
This patch fixes a compilation error caused when CONFIG_S5J_SFLASH=n. | @@ -127,8 +127,10 @@ int board_app_initialize(void)
adcdrv_register();
#endif
+#ifdef CONFIG_S5J_SFLASH
qspi_get_base();
qspi_register();
+#endif
#ifdef CONFIG_S5J_EFUSE
efusedrv_register();
@@ -189,7 +191,9 @@ int board_app_initialize(void)
pdma_init();
#endif
+#ifdef CONFIG_S5J_SFLASH
QSPI_print_mode();
+#endif
lldbg... |
groups: make action buttons transparent bg | @@ -319,7 +319,7 @@ function Participant(props: {
gapY={2}
p={2}
>
- <Action>
+ <Action bg="transparent">
<Link to={`/~chat/new/dm/${contact.patp}`}>
<Text color="green">Send Message</Text>
</Link>
@@ -327,16 +327,16 @@ function Participant(props: {
{props.role === "admin" && (
<>
{!isInvite && (
- <StatelessAsyncActio... |
heap: support aligned_alloc for retention memory on ESP32-C3 | @@ -561,16 +561,6 @@ IRAM_ATTR void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t
return NULL;
}
- //aligned alloc for now only supports default allocator or external
- //allocator.
- if((caps & (MALLOC_CAP_DEFAULT | MALLOC_CAP_SPIRAM)) == 0) {
- heap_caps_alloc_failed(size, caps, __func__);
- return... |
build: expose LuaJIT library | @@ -47,6 +47,7 @@ option(FLB_WITHOUT_INOTIFY "Disable inotify support" No)
option(FLB_SQLDB "Enable SQL embedded DB" No)
option(FLB_HTTP_SERVER "Enable HTTP Server" No)
option(FLB_BACKTRACE "Enable stacktrace support" Yes)
+option(FLB_LUAJIT "Enable Lua Scripting support" Yes)
# Metrics: Experimental Feature, disabled ... |
Dockerfile: Add pip modules for Markdown documentation | @@ -105,8 +105,10 @@ RUN wget -nv https://www.nordicsemi.com/-/media/Software-and-other-downloads/Des
RUN python3 -m pip -q install --upgrade pip && \
python3 -m pip -q install \
setuptools \
- sphinx_rtd_theme \
- sphinx \
+ 'sphinx_rtd_theme==1.0.0' \
+ 'myst-parser==0.18.0' \
+ 'linkify-it-py==2.0.0' \
+ 'sphinx==5.... |
Moving code to individual subroutines
Moving the existing code to within individual subroutines. No
change in functionality (just moving code around). | #!/usr/bin/perl
use strict;
-my $rundir = shift;
-
+# Remove duplicate decomposition files in "dirname"
+sub rem_dup_decomp_files
+{
+ my($dirname) = @_;
# Find files in current directory that are
# named *piodecomp* - these are the pio
# decomposition files
-opendir(F,$rundir);
+ opendir(F,$dirname);
my @decompfiles =... |
Ignore lint warning for math/rand which is fine in tests | @@ -611,7 +611,7 @@ const (
)
func (e *e2e) getSpodMetrics() string {
- r := rand.New(rand.NewSource(time.Now().UnixNano()))
+ r := rand.New(rand.NewSource(time.Now().UnixNano())) // #nosec
letters := []rune("abcdefghijklmnopqrstuvwxyz")
b := make([]rune, 10)
for i := range b {
|
Fix description of how to report a bug in INSTALL | compiler optimization flags from the CFLAGS line in Makefile and
run "make clean; make" or corresponding.
- Please send bug reports to <rt@openssl.org>.
+ To report a bug please open an issue on GitHub, at
+ https://github.com/openssl/openssl/issues.
For more details on how the make variables TESTS can be used,
see sec... |
hv: vpci: refine comment for pci_vdev_update_vbar_base
Refine why we set the base_gpa to zero for a vBAR. | @@ -137,10 +137,9 @@ static void pci_vdev_update_vbar_base(struct pci_vdev *vdev, uint32_t idx)
}
if ((base != 0UL) && !ept_is_mr_valid(vpci2vm(vdev->vpci), base, vdev->vbars[idx].size)) {
- pr_fatal("%s, %x:%x.%x set invalid bar[%d] base: 0x%lx, size: 0x%lx\n", __func__,
+ pr_warn("%s, %x:%x.%x set invalid bar[%d] bas... |
Indent API stuff | @@ -131,9 +131,33 @@ class BaseApi(object):
:rtype: bool
"""
+ @abstractmethod
+ def get_comment(self, ea):
+ """
+ Get the comment at an address
+ :param ea: Effective address
+ :type ea: int
+ :return: Comment
+ :rtype: str
+ """
+
+ @abstractmethod
+ def set_comment(self, ea, comment):
+ """
+ Add a comment to an ad... |
Move "Device unauthorized" in FAQ
Put "Device not detected" first. | @@ -23,20 +23,6 @@ On Windows, the current directory is in your `PATH`, and `adb.exe` is included
in the release, so it should work out-of-the-box.
-### Device unauthorized
-
-> ERROR: Device is unauthorized:
-> ERROR: --> (usb) 0123456789abcdef unauthorized
-> ERROR: A popup should open on the device to request author... |
tutorials: java plugin | @@ -68,9 +68,10 @@ You can also mount plugins (see [open issues](https://issues.libelektra.org/3881
kdb mount -c classname=org/libelektra/plugin/PropertiesStorage,classpath=.:/usr/share/java/jna.jar:/usr/share/java/libelektra.jar,print= file.properties /jni jni classname=org/libelektra/plugin/PropertiesStorage,classpat... |
[GB] Implement RST instruction | @@ -1713,6 +1713,15 @@ impl CpuState {
InstrInfo::seq(instr_size, 3)
}
}
+ "11iii111" => {
+ // RST Vector
+ let target = (i as u16) * 8;
+ if debug {
+ println!("RST 0x{target:04x}");
+ }
+ self.call_addr(1, target);
+ InstrInfo::jump(1, 4)
+ }
"00ii1001" => {
// ADD HL, Reg16
let hl = self.reg(RegisterName::HL);
@@ -... |
Improve `read_frame` and `pending_packet` consistency in the cc13x0 prop mode driver
Fixes | @@ -835,10 +835,28 @@ static int
read_frame(void *buf, unsigned short buf_len)
{
rfc_dataEntryGeneral_t *entry = (rfc_dataEntryGeneral_t *)rx_read_entry;
- uint8_t *data_ptr = &entry->data;
int len = 0;
uint32_t rat_timestamp;
+ int is_found = 0;
+ /* Go through all RX buffers and check their status */
+ do {
+ if(entr... |
readme DOC mention python bindings | @@ -198,6 +198,13 @@ everal *sysrepo* instances can effectively be run simultanously on one machine.
See [examples](examples) directory, which contains an example for basic API functions.
+## Bindings
+
+There are no bindings for other languages directly in this project but they are
+available separately.
+
+* [Python]... |
vm: Key error should flush the msgbuf first. | @@ -980,7 +980,7 @@ LILY_ERROR(Value, LILY_VALUEERROR_ID)
/* Raise KeyError with 'key' as the value of the message. */
static void key_error(lily_vm_state *vm, lily_value *key, uint16_t line_num)
{
- lily_msgbuf *msgbuf = vm->raiser->aux_msgbuf;
+ lily_msgbuf *msgbuf = lily_mb_flush(vm->raiser->aux_msgbuf);
if (key->cl... |
Switched to writeFileSync when saving project to remove edge case where file might write multiple times | @@ -2,9 +2,7 @@ import fs from "fs-extra";
import path from "path";
const saveProjectData = async (projectPath, project) => {
- console.log("SAVING PROJECT TO ", projectPath);
- await fs.writeFile(projectPath, JSON.stringify(project, null, 4));
- console.log("WROTE TO ", projectPath);
+ fs.writeFileSync(projectPath, JS... |
Added PR and to 2.5.0 release notes. | # OpenEXR Release Notes
-* [Version 2.5.0](#version-250-may-4-2020)
+* [Version 2.5.0](#version-250-may-6-2020)
* [Version 2.4.1](#version-241-february-11-2020)
* [Version 2.4.0](#version-240-september-19-2019)
* [Version 2.3.0](#version-230-august-13-2018)
* [Version 1.0.1](#version-101)
* [Version 1.0](#version-10)
-... |
VERSION bump to version 2.2.13 | @@ -65,7 +65,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 2)
set(SYSREPO_MINOR_VERSION 2)
-set(SYSREPO_MICRO_VERSION 12)
+set(SYSREPO_MICRO_VERSION 13)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
remove go static build;it takes longer and we don't need it anyways since dynamic loading works | @@ -34,7 +34,7 @@ CONTGEN = $(ROOT)/output/contgen/bin/contgen
# Examples
-TARGET ?= webgs
+TARGET ?= webg
FST = $(ROOT)/output/examples/fst
HWG = $(ROOT)/output/examples/hwg
@@ -43,7 +43,7 @@ HWS = $(ROOT)/output/examples/hws
WEB = $(ROOT)/output/examples/web
WEBS = $(ROOT)/output/examples/webs
WEBG = $(ROOT)/output/e... |
Added Develco specific attr to basic cluster | <description>As printed on the product.</description>
</attribute>
<attribute id="0x4000" name="SW Build ID" type="cstring" access="r" required="o" range="0,16"></attribute>
+ <attribute id="0x8000" name="Primary SW Version" type="ostring" access="r" required="m" mfcode="0x1015"></attribute>
<attribute id="0xff0d" name... |
Make a constructor; | #include "math/transform.h"
static int l_lovrMathNewCurve(lua_State* L) {
- Curve* curve = lovrCurveCreate(0);
+ int top = lua_gettop(L);
+ bool table = lua_type(L, 1) == LUA_TTABLE;
+
+ if (top == 1 && !table) {
+ Curve* curve = lovrCurveCreate(luaL_checkinteger(L, 1));
+ luax_pushobject(L, curve);
+ return 1;
+ }
+
+... |
Fix Arty documentation link | @@ -38,4 +38,4 @@ class WithArtyTweaks extends Config(
class TinyRocketArtyConfig extends Config(
new WithArtyTweaks ++
new chipyard.TinyRocketConfig)
-// DOC include start: AbstractArty and Rocket
+// DOC include end: AbstractArty and Rocket
|
apps/bttester: Use ID addr in connected event | @@ -609,7 +609,7 @@ static void le_connected(u16_t conn_handle, int status)
peer_id_addr = desc.peer_id_addr;
peer_ota_addr = desc.peer_ota_addr;
- addr = &desc.peer_ota_addr;
+ addr = &desc.peer_id_addr;
memcpy(ev.address, addr->val, sizeof(ev.address));
ev.address_type = addr->type;
|
FEATURE: changed exptime notation in dump key result. | @@ -8387,7 +8387,6 @@ static void *item_dumper_main(void *arg)
int max_buflen = DUMP_BUFFER_SIZE;
static char dump_buffer[DUMP_BUFFER_SIZE];
char *cur_bufptr = dump_buffer;
- time_t real_nowtime; /* real now time */
rel_time_t memc_curtime; /* current time of cache server */
int str_length;
@@ -8427,7 +8426,6 @@ static... |
Removed needless goto | @@ -3432,7 +3432,7 @@ ACVP_RESULT acvp_app_run_vector_test_file(const char *path, const char *output,
#endif
rv = acvp_run_vectors_from_file(ctx, path, output);
- goto end;
+
end:
/*
* Free all memory associated with
|
oc_pstat:free all asserted roles on server RESET | #include "oc_core_res.h"
#include "oc_cred.h"
#include "oc_doxm.h"
+#include "oc_roles.h"
#include "oc_sp.h"
#include "oc_store.h"
#include "oc_tls.h"
@@ -141,6 +142,7 @@ oc_pstat_handle_state(oc_sec_pstat_t *ps, size_t device)
oc_sec_cred_default(device);
oc_sec_acl_default(device);
#ifdef OC_PKI
+ oc_sec_free_roles_f... |
Disable Linux option for qword | @@ -76,6 +76,7 @@ elif host_machine.system() == 'managarm'
internal_conf.set('MLIBC_MAP_FILE_WINDOWS', true)
subdir('sysdeps/managarm')
elif host_machine.system() == 'qword'
+ disable_linux_option = true
rtdl_include_dirs += include_directories('sysdeps/qword/include')
libc_include_dirs += include_directories('sysdeps/... |
Fix search in new VariableSelect | @@ -28,6 +28,7 @@ import entitiesActions from "../../store/features/entities/entitiesActions";
import l10n from "../../lib/helpers/l10n";
import { Dictionary } from "@reduxjs/toolkit";
import { keyBy } from "lodash";
+import { EditorSelectionType } from "../../store/features/editor/editorState";
interface VariableSelec... |
mINI: Improve performance of stripping code | @@ -80,8 +80,8 @@ static inline void parseLine (char * line, size_t lineNumber, KeySet * keySet, K
*equals = '\0';
- char * name = elektraStrip (pair);
- char * value = elektraStrip (equals + 1);
+ char * name = elektraRstrip (pair, NULL);
+ char * value = elektraLskip (equals + 1);
Key * key = keyNew (keyName (parentK... |
bumping up counter threshold slightly - seeing CI results falling outside 20%
threshold every once in a while. | @@ -154,8 +154,8 @@ main( int argc, char **argv )
/* Check cycles constraints */
- min = ( long long ) ( ( double ) values[1][0] * .8 );
- max = ( long long ) ( ( double ) values[1][0] * 1.2 );
+ min = ( long long ) ( ( double ) values[1][0] * .7 );
+ max = ( long long ) ( ( double ) values[1][0] * 1.3 );
/* Check cons... |
Tweak: cppguidelines | @@ -376,7 +376,7 @@ void CreateSingleton(RED4ext::Handle<RED4ext::IScriptable> apClassInstance)
pGameSystem->OnSystemInitializeAsync(&systemInitParams);
}
- auto* pParentType = reinterpret_cast<RED4ext::CClass*>(apClassInstance->GetType());
+ auto* pParentType = apClassInstance->GetType();
pGameInstance->unk08.Insert(p... |
Fix missing cmp and wrong expected value for freq | @@ -66,6 +66,7 @@ static bool execute_test(const struct Test * test) {
ret &= (opts.size == test->opts.size);
ret &= (opts.reset == test->opts.reset);
ret &= (opts.log_level == test->opts.log_level);
+ ret &= (opts.freq == test->opts.freq);
ret &= (opts.format == test->opts.format);
}
@@ -127,7 +128,7 @@ static struct ... |
sh2 update
issue
issue | @@ -363,7 +363,7 @@ DWORD WINAPI Init(LPVOID bDelay)
injector::WriteMemory(pattern.count(1).get(0).get<uint32_t>(-4), &fFMVOffset1, true); //43DBC5
static float TextOffsetWS = Screen.TextOffset - (((Screen.fHeight * (640.0f / 384.0f)) - Screen.fHeight * (4.0f / 3.0f)) / 2.0f);
if (bFMVWidescreenEnhancementPackCompatibi... |
python: fixup deploy clean-up | @@ -237,7 +237,7 @@ for py_version in py_versions():
build_wheel(conda_dir, deploy_dir, py_version)
finally:
os.chdir(script_dir)
- if platform.system() == "Linux" and not platform.machine().startswith("arm"):
+ if platform.system() != "Linux" or not platform.machine().startswith("arm"):
shutil.rmtree(conda_tmp_dir)
el... |
build: Disable lua plugin tests for clang | @@ -34,11 +34,20 @@ add_plugin (lua
INSTALL_TEST_DATA)
if (ADDTESTING_PHASE)
- if (NOT APPLE) # TODO: ENABLE_BROKEN_TESTS
+ # Disable broken tests
+ if (APPLE)
+ # TODO: ENABLE_BROKEN_TESTS
+ message (WARNING "Disabling tests in ${CMAKE_CURRENT_LIST_DIR} due to APPLE")
+ return ()
+ endif (APPLE)
+ if (CMAKE_C_COMPILER... |
include/ec_ec_comm_client.h: Format with clang-format
BRANCH=none
TEST=none | @@ -42,8 +42,7 @@ int ec_ec_client_base_get_static_info(void);
* @return EC_RES_SUCCESS on success, EC_RES_ERROR on communication error,
* else forwards the error code from the server.
*/
-int ec_ec_client_base_charge_control(int max_current,
- int otg_voltage,
+int ec_ec_client_base_charge_control(int max_current, int... |
Debug simulator still needs all vsrcs | @@ -59,7 +59,7 @@ $(sim): $(model_mk) $(sim_csrcs)
$(model_mk_debug): $(sim_vsrcs) $(INSTALLED_VERILATOR)
mkdir -p $(build_dir)/$(long_name).debug
$(VERILATOR) $(VERILATOR_FLAGS) -Mdir $(build_dir)/$(long_name).debug --trace \
- -o $(sim_debug) $< $(sim_csrcs) -LDFLAGS "$(LDFLAGS)" \
+ -o $(sim_debug) $(sim_vsrcs) $(si... |
Tweak SSL_get_session.pod wording
Based on feedback received. | @@ -26,19 +26,19 @@ count of the B<SSL_SESSION> is incremented by one.
=head1 NOTES
The ssl session contains all information required to re-establish the
-connection without a full handshake for SSL versions <= TLSv1.2. In TLSv1.3 the
-same is true, but sessions are established after the main handshake has occurred.
-T... |
Testing: add test for accessor g1number_of_coded_values_sh_simple | @@ -61,6 +61,7 @@ test_packing() {
# ------------
input=${data_dir}/spherical_model_level.grib2
output=`${tools_dir}/grib_set -r -s packingType=spectral_simple $input $temp 2>&1`
+grib_check_key_equals $temp packingType 'spectral_simple'
# Check no error was posted i.e. output string is empty
[ -z "$output" ]
res1=`${t... |
build: link to new in_systemd plugin | @@ -11,6 +11,7 @@ endif()
include(GNUInstallDirs)
include(ExternalProject)
+include(cmake/FindJournald.cmake)
# Output paths
set(FLB_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
@@ -78,6 +79,7 @@ option(FLB_IN_TCP "Enable TCP input plugin" Yes)
option(FLB_IN_MQTT "Enable MQTT Broker input plugin" Yes)
option(FLB_IN_HEAD "Enable... |
fix name of CLAP_EXT_TRANSPORT_CONTROL constant | // The host has no obligation to execute those request, so the interface maybe
// partially working.
-static CLAP_CONSTEXPR const char CLAP_EXT_CV[] = "clap.transport-control.draft/0";
+static CLAP_CONSTEXPR const char CLAP_EXT_TRANSPORT_CONTROL[] = "clap.transport-control.draft/0";
#ifdef __cplusplus
extern "C" {
|
No need to lookup address | @@ -68,9 +68,6 @@ coroutine void do_proxy(int s) {
int cmd = socks5_proxy_recvcommand(s, &addr, -1);
if(cmd != SOCKS5_CONNECT) goto in_close;
- char addr_str[IPADDR_MAXSTRLEN];
- ipaddr_str(&addr, addr_str);
-
int s_rem = tcp_connect(&addr, -1);
if(s_rem < 0) goto in_close;
|
publish: link preview correctly | @@ -24,7 +24,7 @@ export function NotebookPosts(props: NotebookPostsProps) {
return (
<NotePreview
key={noteId}
- host={note?.author}
+ host={props.host}
book={props.book}
note={note}
contact={props.contacts[note.author.substr(1)]}
|
docs/packages: Use "install_dir/" in examples. | @@ -130,12 +130,12 @@ transferring this image to a device by suitable means.
Installing to a directory image involves using ``-p`` switch to `upip`::
- micropython -m upip install -p install_image micropython-pystone_lowmem
+ micropython -m upip install -p install_dir micropython-pystone_lowmem
After this command, the ... |
Add a runtime check for label length
RFC8446 says that key derivation labels must be less than 12 octets.
This avoids incurring extra hash compression rounds.
This change adds a runtime check to ensure that all labels used
meet this requirement. | @@ -93,6 +93,11 @@ int s2n_hkdf_expand_label(struct s2n_hmac_state *hmac, s2n_hmac_algorithm alg, c
struct s2n_blob hkdf_label_blob = {0};
struct s2n_stuffer hkdf_label = {{0}};
+ /* RFC8446 specifies that labels must be 12 characters or less, to avoid
+ ** incurring two hash rounds.
+ */
+ lte_check(label->size, 12);
... |
Ensure that we stop the master segment after starting it when rebuilding | @@ -1110,7 +1110,11 @@ class RebuildPersistentTables(Operation):
cmd = GpStart('Start the greenplum databse')
cmd.run(validateAfter=True)
if admin_mode:
- cmd = GpStop('Stop the greenplum database', masterOnly=True)
+ # NOTE: There might be a case where gpstart has a lingering idle
+ # connection that's not fully close... |
Add H7 DCMI cache maintenance. | @@ -376,6 +376,10 @@ HAL_StatusTypeDef HAL_DCMI_Start_DMA(DCMI_HandleTypeDef* hdcmi, uint32_t DCMI_Mo
return HAL_OK;
}
+#define MP_HAL_CLEANINVALIDATE_DCACHE(addr, size) \
+ (SCB_CleanInvalidateDCache_by_Addr((uint32_t*)((uint32_t)addr & ~0x1f), \
+ ((uint32_t)((uint8_t*)addr + size + 0x1f) & ~0x1f) - ((uint32_t)addr &... |
Fix mispelling in chat-cli help message | ^- (quip card _state)
:_ state
=- (turn - print:sh-out)
- :~ ";view ~host/chat to print messages for a chat you've already jonied."
+ :~ ";view ~host/chat to print messages for a chat you've already joined."
";flee ~host/chat to stop printing messages for a chat."
"For more details:"
"https://urbit.org/using/operations... |
CI: Fix ImageMagick version in macOS | @@ -77,7 +77,9 @@ jobs:
strategy:
matrix:
ruby-version: [2.6, 2.7]
- imagemagick-version: [6.9.10-90, 7.0.9-20]
+ imagemagick-version:
+ - { full: 6.9.10-90, major-minor: '6.9' }
+ - { full: 7.0.9-20, major-minor: '7.0' }
name: macOS, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
ste... |
Try checkout v3 for CI tests | @@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
|
make html: Exclude mkapiref.py from source list | @@ -42,7 +42,7 @@ apiref: mkapiref.py \
$(top_srcdir)/lib/includes/ngtcp2/ngtcp2.h
$(top_srcdir)/doc/mkapiref.py \
source/apiref.rst source/macros.rst source/enums.rst source/types.rst \
- source $^
+ source $(wordlist 2, $(words $^), $^)
html-local: apiref
@$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXO... |
removed illegal resetValue tag from example | @@ -1668,7 +1668,6 @@ Grouping element to define bit-field properties of a register.
<bitOffset>1</bitOffset>
<bitWidth>3</bitWidth>
<access>read-write</access>
- <resetValue>0x0</resetValue>
<modifiedWriteValues>oneToSet</modifiedWriteValues>
<writeConstraint>
<range>
|
[numerics] fix bug in NM_copy | @@ -1925,7 +1925,7 @@ void NM_copy(const NumericsMatrix* const A, NumericsMatrix* B)
}
NM_copy_sparse(A_, B_);
-
+ if (numericsSparseMatrix(B)->linearSolverParams)
numericsSparseMatrix(B)->linearSolverParams = NSM_linearSolverParams_free(numericsSparseMatrix(B)->linearSolverParams);
/* invalidations */
|
hoon: add jet hint for +redo | ==
:: ::
++ redo :: refurbish faces
+ ~/ %redo
|= $: :: ref: raw payload
::
ref=type
|
Whops. A tad to eager | @@ -48,12 +48,13 @@ main (int argc, char *argv[])
}
client = mongoc_client_new (host_and_port);
- bson_free (host_and_port);
if (!client) {
fprintf (stderr, "Invalid hostname or port: %s\n", host_and_port);
+ bson_free (host_and_port);
return 2;
}
+ bson_free (host_and_port);
mongoc_client_set_error_api (client, 2);
|
rmt test: add case test test the bug of re-install problem
add pending bug case:rmt_tx_stop function cause the re-install fail when rmt_config_t.tx_config.loop_en==true | @@ -710,4 +710,61 @@ TEST_CASE("RMT TX stop test", "[rmt][test_env=UT_T1_RMT]")
TEST_ESP_OK(rmt_driver_uninstall(RMT_RX_CHANNEL));
}
+TEST_CASE("RMT loop_en test", "[rmt][test_env=UT_T1_RMT][ignore]")
+{
+ rmt_tx_config_t tx_cfg = {
+ .loop_en = true, // set it as true
+ .carrier_duty_percent = 50,
+ .carrier_freq_hz =... |
config_format: fluentbit: support windows backslash | @@ -287,7 +287,12 @@ static int local_init(struct local_ctx *ctx, char *file)
#endif
/* lookup path ending and truncate */
+#ifdef _MSC_VER
+ end = strrchr(path, '\\');
+#else
end = strrchr(path, '/');
+#endif
+
if (end) {
end++;
*end = '\0';
|
yaviks: update batteries setting
BRANCH=none
TEST=verify batteries can charge/discharge, cutoff. | };
batteries {
- default_battery: smp {
- compatible = "smp,l20m3pg0", "battery-smart";
+ default_battery: cosmx {
+ compatible = "cosmx,gh02047xl", "battery-smart";
+ };
+ dynapack_atl_gh02047xl {
+ compatible = "dynapack,atl_gh02047xl", "battery-smart";
+ };
+ dynapack_cosmx_gh02047xl {
+ compatible = "dynapack,cosmx... |
Annotate potential -Wunused-function violations in err.h
Fixes | @@ -214,33 +214,33 @@ struct err_state_st {
# define ERR_SYSTEM_ERROR(errcode) (((errcode) & ERR_SYSTEM_FLAG) != 0)
-static ossl_inline int ERR_GET_LIB(unsigned long errcode)
+static ossl_unused ossl_inline int ERR_GET_LIB(unsigned long errcode)
{
if (ERR_SYSTEM_ERROR(errcode))
return ERR_LIB_SYS;
return (errcode >> ER... |
MQTT re-connect issue
Fix to start sending PINGREQ after a reconnect. | @@ -337,6 +337,7 @@ READPACKET:
} else {
mud->connState = MQTT_DATA;
NODE_DBG("MQTT: Connected\r\n");
+ mud->keepalive_sent = 0;
if (mud->mqtt_state.auto_reconnect == RECONNECT_POSSIBLE) {
mud->mqtt_state.auto_reconnect = RECONNECT_ON;
}
|
DOC: document in more detail what a BIO_read_ex() via BIO_f_buffer() does
The BIO_f_buffer() documentation tells in enough detail how it affects
BIO_gets(), but not how it affects BIO_read_ex(). This change
remedies that.
Fixes | @@ -49,10 +49,20 @@ is expanded.
These functions, other than BIO_f_buffer(), are implemented as macros.
-Buffering BIOs implement BIO_gets() by using BIO_read_ex() operations on the
-next BIO in the chain. By prepending a buffering BIO to a chain it is therefore
-possible to provide BIO_gets() functionality if the foll... |
Fixed misc/build_order.py KeyError
This patch fixed misc/build_order.py KeyError by taking rpm
python_prefix macro into consideration. | @@ -69,8 +69,8 @@ for line in open(sys.argv[1]):
if ((line[2].startswith('nagios-plugins')) and
(not line[2].startswith('nagios-plugins-ohpc'))):
continue
- # This tries to filter out versions with a "."
- if "." in line[2]:
+ # This tries to filter out versions with a "." or _isa with a "("
+ if "." in line[2] or "(" ... |
Update version to beta status | "bugs": {
"url": "https://github.com/chrismaltby/gb-studio/issues"
},
- "version": "3.1.0-alpha.0",
+ "version": "3.1.0-beta.0",
"description": "Visual retro game maker",
"main": ".webpack/main",
"scripts": {
|
more version fix | @@ -36,10 +36,10 @@ static const int PROTOCOL_VERSION = 31001; //Protocol is now 31001 as of D v3.1.
static const int INIT_PROTO_VERSION = 21212;
// disconnect from peers older than this proto version
-static const int MIN_PEER_PROTO_VERSION = 30000;
+static const int MIN_PEER_PROTO_VERSION = 31000;
// Don't forget to ... |
Add a dummy call to BN_rand_ex() in the FIPS provider
The previous commit made BIGNUM RAND operations available from within
the FIPS provider. We test this out by making a dummy call to check it
completes successfully. | @@ -120,6 +120,9 @@ static int dummy_evp_call(void *provctx)
if (RAND_DRBG_bytes(drbg, randbuf, sizeof(randbuf)) <= 0)
goto err;
+ if (!BN_rand_ex(a, 256, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, bnctx))
+ goto err;
+
ret = 1;
err:
BN_CTX_end(bnctx);
|
dm: remove cfc/cf8 pio handler
The acrn vhm driver will convert all PCI configure space access to
PCI_CFG type, so the pci_emul_cfgaddr and pci_emul_cfgdata will nerver
be invoked. Remove these useless functions.
Acked-by: Yu Wang | @@ -2253,64 +2253,6 @@ pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, int func,
}
}
-static int cfgenable, cfgbus, cfgslot, cfgfunc, cfgoff;
-
-static int
-pci_emul_cfgaddr(struct vmctx *ctx, int vcpu, int in, int port, int bytes,
- uint32_t *eax, void *arg)
-{
- uint32_t x;
-
- if (bytes != 4) {
- i... |
modify clock config | #define STM32L4_HSE_FREQUENCY 8000000ul /* 8 MHz from MCO output */
#define STM32L4_LSE_FREQUENCY 32768
-#define HSE_CLOCK_CONFIG
+#define MSI_CLOCK_CONFIG
#if defined(HSI_CLOCK_CONFIG)
|
SOVERSION bump to version 2.20.22 | @@ -66,7 +66,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 20)
-set(LIBYANG_MICRO_SOVERSION 21)
+set(LIBYANG_MICRO_SOVERSION 22)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG... |
Fix Shell log command argument parsing | @@ -192,7 +192,11 @@ PT_THREAD(cmd_log(struct pt *pt, shell_output_func output, char *args))
/* Get and parse argument */
SHELL_ARGS_NEXT(args, next_args);
+ if(args == NULL) {
+ level = -1;
+ } else {
level = (int)strtol(args, &ptr, 10);
+ }
if((level == 0 && args == ptr)
|| level < LOG_LEVEL_NONE || level > LOG_LEVEL... |
Guard agains p_of_k_a having weird implementation of ==. E.g. numpy arrays | @@ -412,9 +412,9 @@ def halomod_power_spectrum(cosmo, hmc, k, a, prof,
# Power spectrum
if isinstance(p_of_k_a, Pk2D):
def pkf(sf): return p_of_k_a.eval(k_use, sf, cosmo)
- elif (p_of_k_a is None) or (p_of_k_a == 'linear'):
+ elif (p_of_k_a is None) or (str(p_of_k_a) == 'linear'):
def pkf(sf): return linear_matter_powe... |
Take advantage of pre-allocated element | @@ -63,7 +63,7 @@ int ngtcp2_frame_chain_stream_datacnt_new(ngtcp2_frame_chain **pfrc,
const ngtcp2_mem *mem) {
size_t need, avail = sizeof(ngtcp2_frame) - sizeof(ngtcp2_stream);
- if (datacnt > 0) {
+ if (datacnt > 1) {
need = sizeof(ngtcp2_vec) * (datacnt - 1);
if (need > avail) {
@@ -79,7 +79,7 @@ int ngtcp2_frame_c... |
fix(ML302): Fixed errors in generating private keys
issue | @@ -399,9 +399,6 @@ static BOAT_RESULT sBoatPort_keyCreate_internal_generation(const BoatWalletPriKe
BUINT32 key_try_count;
BOAT_RESULT result = BOAT_SUCCESS;
- /* Convert private key from UINT256 to Bignum256 format */
- bn_read_le(prikeyTmp, &priv_key_bn256);
-
/* Convert priv_key_max_u256 from UINT256 to Bignum256 f... |
ble_mesh: check ble mesh queue and task init status | @@ -386,8 +386,10 @@ static void bt_mesh_scan_cb(const bt_mesh_addr_t *addr, s8_t rssi,
void bt_mesh_adv_init(void)
{
xBleMeshQueue = xQueueCreate(150, sizeof(bt_mesh_msg_t));
- xTaskCreatePinnedToCore(adv_thread, "BLE_Mesh_ADV_Task", 3072, NULL,
+ configASSERT(xBleMeshQueue);
+ int ret = xTaskCreatePinnedToCore(adv_th... |
treewide: fix typo errors | @@ -8,7 +8,7 @@ function index()
local page
page = entry({"admin", "nas", "gowebdav"}, cbi("gowebdav"), _("GoWebDav"), 100)
page.dependent = true
- page..acl_depends = { "luci-app-gowebdav" }
+ page.acl_depends = { "luci-app-gowebdav" }
entry({"admin","nas","gowebdav","status"},call("act_status")).leaf=true
end
|
nix lang added | @@ -64,6 +64,7 @@ lang_spec_t langs[] = {
{ "md", { "markdown", "mdown", "mdwn", "mkdn", "mkd", "md" } },
{ "mercury", { "m", "moo" } },
{ "nim", { "nim" } },
+ { "nix", { "nix" } },
{ "objc", { "m", "h" } },
{ "objcpp", { "mm", "h" } },
{ "ocaml", { "ml", "mli", "mll", "mly" } },
|
gtk/bookmarks.c: fix GtkTreeView auto scrolling
don't use gtk_scrolled_window_add_with_viewport() with a GtkTreeView
use gtk_container_add() instead | @@ -867,7 +867,6 @@ void edit_bookmarks (gpointer data)
return;
}
-
edit_bookmarks_dialog = gtk_dialog_new ();
//gtk_window_set_transient_for (GTK_WINDOW (edit_bookmarks_dialog), GTK_WINDOW (main_window));
gtk_window_set_position (GTK_WINDOW (edit_bookmarks_dialog), GTK_WIN_POS_MOUSE);
@@ -892,20 +891,16 @@ void edit_b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.