message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Emulator restore touch controls if screen is touched after keyboard has been used (iPad) | @@ -160,6 +160,15 @@ function bindDpad(el) {
});
}
+function bindTouchRestore() {
+ window.addEventListener("touchstart", function(e) {
+ if(!isTouchEnabled) {
+ controller.style.display = "block";
+ isTouchEnabled = true;
+ }
+ })
+}
+
function bindKeyboard() {
window.onkeydown = function(e) {
initSound();
@@ -209,6 +... |
release: replace configure-debian with direct cmake invocation | @@ -63,7 +63,18 @@ run_checks() {
# Rebuild cleanly, run all tests and also check for memleaks:
cd "$BUILD_DIR"
- $SRC_DIR/scripts/dev/configure-debian $SRC_DIR
+ cmake -DPLUGINS="ALL" \
+ -DTOOLS="ALL" \
+ -DENABLE_DEBUG="OFF" \
+ -DENABLE_LOGGER="OFF" \
+ -DBUILD_SHARED=ON \
+ -DBUILD_FULL=ON \
+ -DBUILD_STATIC=ON \
... |
Fixed devtools install | @@ -16,13 +16,6 @@ let helpWindow = null;
const isDevMode = process.execPath.match(/[\\/]electron/);
-// Enable DevTools.
-if (isDevMode) {
- enableLiveReload({ strategy: "react-hmr" });
- await installExtension(REACT_DEVELOPER_TOOLS);
- await installExtension(REDUX_DEVTOOLS);
-}
-
// Allow images and json outside of a... |
zephyr/emul/emul_bmi260.c: Format with clang-format
BRANCH=none
TEST=none | @@ -354,8 +354,7 @@ static int bmi260_emul_access_reg(struct i2c_emul *emul, int reg, int byte,
*/
if (reg <= BMI260_FIFO_DATA && reg + byte >= BMI260_FIFO_DATA) {
return BMI260_FIFO_DATA;
- } else if (reg <= BMI260_INIT_DATA &&
- reg + byte >= BMI260_INIT_DATA) {
+ } else if (reg <= BMI260_INIT_DATA && reg + byte >= B... |
system/vi: fix nxstyle warning
system/vi/vi.c:540:57: error: Multiple data definitions
system/vi/vi.c:541:54: error: Multiple data definitions | @@ -537,8 +537,8 @@ static const char g_fmtmodified[] =
"No write since last change (add ! to override)";
static const char g_fmtnotvalid[] = "Command not valid";
static const char g_fmtnotcmd[] = "Not an editor command: %s";
-static const char g_fmtsrcbot[] = "search hit BOTTOM, continuing at TOP";
-static const char ... |
muxread,anmf: fail on multiple image chunks
treat an ANMF chunk containing multiple VP8/VP8L file as malformed.
fixes a WebPMuxImage::img_ leak.
Though the invalid free in was avoided in (ubsan):
muxread,ChunkVerifyAndAssign: validate chunk_size
that file would still cause a leak similar to | @@ -138,6 +138,7 @@ static int MuxImageParse(const WebPChunk* const chunk, int copy_data,
wpi->is_partial_ = 1; // Waiting for a VP8 chunk.
break;
case WEBP_CHUNK_IMAGE:
+ if (wpi->img_ != NULL) goto Fail; // Only 1 image chunk allowed.
if (ChunkSetNth(&subchunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Fail;
if (!MuxImageF... |
Set actions install prefix to avoid needing sudo | @@ -11,6 +11,7 @@ env:
BUILD_TYPE: Release
CMAKE_BUILD_PARALLEL_LEVEL: 2
SOAPY_SDR_BRANCH: master
+ INSTALL_PREFIX: ${{github.workspace}}/deps
jobs:
build:
@@ -53,11 +54,11 @@ jobs:
- name: Configure CMake (windows)
if: matrix.os == 'windows-latest'
- run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.... |
sbgemm: cooperlake: prefetch A & B | @@ -64,6 +64,11 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define DECLARE_B_PAIR() \
__m512i B_lo; __m512i B_hi;
+#define PREFETCH_B_STEP 32
+#define PREFETCH_B(Bx, By) \
+ if (By == 0) asm("prefetcht0 %c1(%0)": : "r"(ptr_b##Bx), "n"(PREFETCH_B_STEP * 2)); \
+ else asm("prefetcht0 %c3(... |
terminate hcxdumptool immediately if it failed to set channel | @@ -3570,7 +3570,7 @@ while(1)
else
{
printf("\nfailed to set channel\n");
- errorcount++;
+ globalclose();
}
}
oldincommingcount = incommingcount;
@@ -3944,7 +3944,7 @@ while(1)
else
{
printf("\nfailed to set channel\n");
- errorcount++;
+ globalclose();
}
}
tvfd.tv_sec = 1;
|
Assert statement calls a function which has side effects | @@ -336,7 +336,8 @@ static void __redisAsyncDisconnect(redisAsyncContext *ac) {
if (ac->err == 0) {
/* For clean disconnects, there should be no pending callbacks. */
- assert(__redisShiftCallback(&ac->replies,NULL) == REDIS_ERR);
+ int ret = __redisShiftCallback(&ac->replies,NULL);
+ assert(ret == REDIS_ERR);
} else {... |
Cirrus: Build additional code on Fedora Linux | @@ -220,6 +220,10 @@ linux_task:
dockerfile: scripts/docker/cirrus/fedora/Dockerfile
script:
+ - >
+ set --
+ -DBUILD_FULL=ON
+ -DENABLE_LOGGER=ON
- *generate
- *build
- *install
|
p2p ethernet: update p2p_ethernet.api with explicit types.
Type: refactor | option version = "1.0.0";
+import "vnet/interface_types.api";
+import "vnet/ethernet/ethernet_types.api";
+
define p2p_ethernet_add
{
u32 client_index;
u32 context;
- u32 parent_if_index;
+ vl_api_interface_index_t parent_if_index;
u32 subif_id;
- u8 remote_mac[6];
+ vl_api_mac_address_t remote_mac;
};
define p2p_ether... |
ble_mesh: Use mutex to protect client list operations | static bt_mesh_client_node_t *bt_mesh_client_pick_node(sys_slist_t *list, u16_t tx_dst)
{
+ bt_mesh_client_node_t *node = NULL;
+ sys_snode_t *cur = NULL;
+
+ bt_mesh_irq_lock();
if (sys_slist_is_empty(list)) {
+ bt_mesh_irq_unlock();
return NULL;
}
- sys_snode_t *cur = NULL; bt_mesh_client_node_t *node = NULL;
for (cu... |
Remove the BUILD_COOJA variable from .travis.yml | @@ -80,18 +80,18 @@ env:
- TEST_NAME='compile-base'
- TEST_NAME='compile-arm-ports-01'
- TEST_NAME='compile-arm-ports-02'
- - TEST_NAME='rpl-lite' BUILD_COOJA=true
- - TEST_NAME='rpl-classic' BUILD_COOJA=true
- - TEST_NAME='tun-rpl-br' BUILD_COOJA=true
+ - TEST_NAME='rpl-lite'
+ - TEST_NAME='rpl-classic'
+ - TEST_NAME=... |
CMSIS-DAP: small modification in new DAP_PC_Info command | @@ -1158,7 +1158,6 @@ The <b>DAP_PC_Info Command</b> provides information about the Performance Counte
- <b>bit 0..1</b>: DataSize: number of bytes recorded (0=BYTE, 1=SHORT, 2=WORD)
- <b>bit 2..3</b>: NoRanges: channel data provides additional range bits (see below)
- <b>bit 4..5</b>: tSource: channel provides time st... |
Tune PLL after loading INI file | @@ -1655,6 +1655,10 @@ int LMS7_Device::LoadConfig(const char *filename, int ind)
lime::LMS7002M* lms = lms_list.at(ind == -1 ? lms_chip_id : ind);
if (lms->LoadConfig(filename)==0)
{
+ //tune PLLs as saved VCO settings may not work
+ lms->SetFrequencySX(false, lms->GetFrequencySX(false));
+ lms->SetFrequencySX(true, l... |
(543) adjust the TLS-detection refex for SSL2
We found the regex we're using for TLS detection works for TLS and SSL3
but wasn't matching when we see SSL2. This adjusts that regex to match
both. | @@ -208,8 +208,20 @@ typedef unsigned int bool;
// the future, consider adding some buffering of intitial payload data on a
// channel until you have enough to satisfy TLS and other protocol detection.
//
+//#define PAYLOAD_BYTESRC 5
+//#define PAYLOAD_REGEX "^16030[0-3].{4}"
+//
+// Another iteration after finding the... |
OpenCanopy: Revert
Was unintentionally causing redraw of all of screen right and below mouse position every frame.
Found in . | @@ -639,27 +639,35 @@ GuiOverlayPointer (
//
BaseX = (INT64) PointerPos.Pos.X - BOOT_CURSOR_OFFSET * DrawContext->Scale;
- MaxWidth = DrawContext->Screen.Width;
if (BaseX < 0) {
ImageOffsetX = (UINT32) -BaseX;
DrawBaseX = 0;
} else {
ImageOffsetX = 0;
DrawBaseX = (UINT32) BaseX;
- MaxWidth -= DrawBaseX;
}
+ //
+ // Max... |
Do not call instcombine explicitly anymore
The extra calls seem to not be needed anymore with current LLVM versions
for good quality results, they just slow down the WG function IR generation. | @@ -283,9 +283,7 @@ kernel_compiler_passes(cl_device_id device, llvm::Module *input,
if (currentWgMethod == "loopvec" && SPMDDevice)
passes.push_back("scalarizer");
- passes.push_back("instcombine");
passes.push_back("STANDARD_OPTS");
- passes.push_back("instcombine");
// Due to unfortunate phase-ordering problems with... |
Fix FreeBSD specific UDP stats counter bug. | #ifdef __FreeBSD__
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 339004 2018-09-28 19:47:32Z tuexen $");
+__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 339022 2018-09-30 12:16:06Z tuexen $");
#endif
#include <netinet/sctp_os.h>
@@ -4460,6 +4460,11 @@ sctp_lowlevel_chunk_output(struct s... |
data tree MAINTENANCE simplify key check | @@ -1875,7 +1875,7 @@ lyd_compare(const struct lyd_node *node1, const struct lyd_node *node2, int opti
if (!(node1->schema->flags & LYS_KEYLESS) && !(options & LYD_COMPARE_FULL_RECURSION)) {
/* lists with keys, their equivalence is based on their keys */
for (struct lysc_node *key = ((struct lysc_node_list*)node1->sche... |
Removing dlsym calls from src/transport.c. They became unnecessary
because wrap.c now uses _dl_sym to resolve functions as they are
used. | @@ -34,16 +34,6 @@ struct _transport_t
int fd;
} file;
};
-
- // These fields are used to avoid infinite recursion since we call
- // write and sendto from write and sendto.
- //
- // We *could* remove them and use fields from g_fn from wrap.c instead.
- // However, I don't want to do this because it would create a dep... |
improved detection of ESSID change within merged cap files | @@ -1460,7 +1460,7 @@ if((apstaessidlistecleaned != NULL) && (hccapxbestoutname != NULL))
essidok = 0;
for(d = 0; d < apstaessidcountcleaned; d++)
{
- if((memcmp(zeiger->mac_ap, zeigeressid->mac_ap, 6) == 0) && (memcmp(zeiger->mac_sta, zeigeressid->mac_sta, 6) == 0))
+ if((memcmp(zeiger->mac_ap, zeigeressid->mac_ap, 6)... |
[CLI] Add help message for enterprise query | @@ -51,9 +51,9 @@ type outConf struct {
}
var enterpriseKeyCmd = &cobra.Command{
- Use: "query <config key>",
+ Use: "query (admins | <config key>)",
Short: "Print config values of enterprise",
- Long: "'permissions' show everything you can set as special key",
+ Long: "'permissions' show everything you can set as spec... |
lovr.data.newTextureData can create empty textures; | @@ -35,10 +35,19 @@ int l_lovrDataNewModelData(lua_State* L) {
}
int l_lovrDataNewTextureData(lua_State* L) {
+ TextureData* textureData = NULL;
+ if (lua_type(L, 1) == LUA_TNUMBER) {
+ int width = luaL_checknumber(L, 1);
+ int height = luaL_checknumber(L, 2);
+ lovrAssert(width > 0 && height > 0, "TextureData dimensio... |
readme DOC updated | @@ -35,7 +35,7 @@ as well as YANG 1.1 ([RFC 7950](https://tools.ietf.org/html/rfc7950)).
* C compiler
* cmake >= 2.8.12
-* libpcre2 >= 10.30 (including devel package)
+* libpcre2 >= 10.21 (including devel package)
* note, that PCRE is supposed to be compiled with unicode support (configure's options
`--enable-utf` and ... |
Update simple.c
To use `SSL_CTX_use_certificate_chain_file` instead of `SSL_CTX_use_certificate_file` | @@ -200,7 +200,7 @@ static int setup_ssl(const char *cert_file, const char *key_file, const char *ci
#endif
/* load certificate and private key */
- if (SSL_CTX_use_certificate_file(accept_ctx.ssl_ctx, cert_file, SSL_FILETYPE_PEM) != 1) {
+ if (SSL_CTX_use_certificate_chain_file(accept_ctx.ssl_ctx, cert_file) != 1) {
f... |
autoprop: auto-republish props for new runtime
Checks to see if we've changed the runtime version. If we have, publish
all the props at that new runtime version. | $: %0
make=(map @ta [next=(unit @da) =task]) :: things to make
hear=(set desk) :: observed desks
+ vers=path :: runtime version
sole=sole-id :: the way out
==
::
+* this .
def ~(. (default-agent this %|) bowl)
des ~(. (default:shoe this command) bowl)
+ rev rev:.^(vere %$ /(scot %p our.bowl)//(scot %da now.bowl)/zen/ve... |
Fix missing object name for named job objects (Thanks Alex!) | @@ -699,6 +699,10 @@ NTSTATUS PhpGetBestObjectName(
if (!NT_SUCCESS(status))
goto CleanupExit;
+ // dmex: Don't do anything when we already have a valid job object name.
+ if (!PhIsNullOrEmptyString(ObjectName))
+ goto CleanupExit;
+
if (handleGetClientIdName && NT_SUCCESS(PhGetJobProcessIdList(dupHandle, &processIdLis... |
config_tools/schema: fix division operator in error messages
The division operator in XPATH is `div`, not `/`. Fix it in an error
message of the assertions. | <xs:assert test="sum(//memory/range[not(@id)]/@size) > (sum(/acrn-config//vm[load_order != 'SERVICE_VM']//memory/size) + sum(/acrn-config//vm[load_order != 'SERVICE_VM']//size_hpa)) * 1024 * 1024">
<xs:annotation acrn:severity="warning" acrn:report-on="/acrn-config//vm[load_order != 'SERVICE_VM']//memory">
- <xs:doc... |
Add config params for shared data usage in Mbed-OS | "macro_name": "MCUBOOT_DATA_SHARING",
"value": null
},
+ "share-data-base-address": {
+ "help": "Start of reserved RAM region for data shared between bootloader and application",
+ "macro_name": "MCUBOOT_SHARED_DATA_BASE",
+ "value": null
+ },
+ "share-data-size": {
+ "help": "Size of reserved RAM region for data share... |
microbitv2: Reset power LED & i2c state when the target is reset and run. | @@ -148,6 +148,14 @@ static void prerun_board_config(void)
gpio_init_combined_int();
}
+// Return reset button and LED to default state
+static void reset_power_led_state()
+{
+ reset_pressed = 0;
+ power_led_sleep_state_on = PWR_LED_SLEEP_STATE_DEFAULT;
+ main_shutdown_state = MAIN_SHUTDOWN_WAITING;
+}
+
// Handle the... |
[mechanics] Temporary fix for prismatic constraint in rotation
Simply negating the rotation part of jachq for first two components of
H seems to fix the behaviour, but probably this needs work in the
elaboration of H, and this solution will certainly cause problems on
the position level.
Temporary work-around for issue | @@ -533,6 +533,13 @@ void PrismaticJointR::Jd1d2(double X1, double Y1, double Z1, double q10, double
_jachq->setValue(4, 11, q12);
_jachq->setValue(4, 12, -q11);
_jachq->setValue(4, 13, _jachq->getValue(3, 12));
+
+ for (int i=0; i<2; i++) {
+ for (int j=3; j<7; j++) {
+ _jachq->setValue(i,j, -_jachq->getValue(i,j));
+... |
xfconf-plugin: Add memleak label during testing phase | @@ -13,3 +13,7 @@ add_plugin (
LINK_ELEKTRA elektra-ease
LINK_LIBRARIES "${XFCONF_LIBRARIES}"
ADD_TEST TEST_README COMPONENT libelektra${SO_VERSION}-experimental)
+
+if (ADD_TESTINGPHASE)
+ set_property (TEST "testmod_xfconf" PROPERTY LABELS memleak)
+endif ()
|
BugID:17952514: add linkkit keil project to stm32f429zi | linux_only_targets="athostapp blink coapapp helloworld http2app httpapp linkkit_gateway linkkitapp meshapp modbus_demo mqttapp otaapp tls udataapp udevapp ulocationapp yts"
-windows_only_targets="helloworld|COMPILER=armcc helloworld|COMPILER=iar"
+windows_only_targets="helloworld|COMPILER=armcc linkkitapp|COMPILER=armc... |
adds "make pills" target | -.PHONY: build build-all install cross release test clean
+.PHONY: build build-all install cross release test pills clean
build:
nix-build -A urbit -A herb --no-out-link
@@ -18,6 +18,10 @@ release:
test:
sh/test
+pills:
+ sh/update-solid-pill
+ sh/update-brass-pill
+
clean:
rm -rf ./out ./work
rm -f result result-*
|
[mod_userdir] use 2-element cache
use 2-element cache, can be getpwnam() lookup is expensive
cache lifetime is 60 seconds
homedir paths are not expected to change quickly | @@ -31,12 +31,23 @@ typedef struct {
PLUGIN_DATA;
plugin_config defaults;
plugin_config conf;
+ time_t cache_ts[2];
+ buffer cache_user[2];
+ buffer cache_path[2];
} plugin_data;
INIT_FUNC(mod_userdir_init) {
return calloc(1, sizeof(plugin_data));
}
+FREE_FUNC(mod_userdir_free) {
+ plugin_data * const p = p_d;
+ free(p... |
esp32c3-devkit-rust-1: Remove not needed -msmall-data-limit=0 compilation flag | @@ -27,8 +27,6 @@ ARCHSCRIPT += $(BOARD_DIR)$(DELIM)scripts$(DELIM)esp32c3_out.ld
ARCHSCRIPT += $(BOARD_DIR)$(DELIM)scripts$(DELIM)esp32c3.ld
ARCHSCRIPT += $(BOARD_DIR)$(DELIM)scripts$(DELIM)esp32c3_rom.ld
-ARCHCFLAGS += -msmall-data-limit=0
-ARCHCXXFLAGS += -msmall-data-limit=0
ARCHPICFLAGS = -fpic
CFLAGS := $(ARCHCFL... |
CMS_add0_cert.pod: various improvements of the description | =head1 NAME
-CMS_add0_cert, CMS_add1_cert, CMS_get1_certs, CMS_add0_crl, CMS_add1_crl, CMS_get1_crls
+CMS_add0_cert, CMS_add1_cert, CMS_get1_certs,
+CMS_add0_crl, CMS_add1_crl, CMS_get1_crls
- CMS certificate and CRL utility functions
=head1 SYNOPSIS
@@ -19,25 +20,30 @@ CMS_add0_cert, CMS_add1_cert, CMS_get1_certs, CMS... |
Update version to 3.5.270 | #define MAT_VERSION_HPP
// WARNING: DO NOT MODIFY THIS FILE!
// This file has been automatically generated, manual changes will be lost.
-#define BUILD_VERSION_STR "3.5.200.1"
-#define BUILD_VERSION 3,5,200,1
+#define BUILD_VERSION_STR "3.5.270.1"
+#define BUILD_VERSION 3,5,270,1
#ifndef RESOURCE_COMPILER_INVOKED
#incl... |
zephyr/shim/chip/it8xxx2/power_policy.c: Format with clang-format
BRANCH=none
TEST=none | @@ -29,8 +29,8 @@ const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks)
* To check if given power state is enabled and
* could be used.
*/
- if (pm_policy_state_lock_is_active(
- pm_states[i].state, PM_ALL_SUBSTATES)) {
+ if (pm_policy_state_lock_is_active(pm_states[i].state,
+ PM_ALL_SUBSTATES))... |
groups: remove remnant groups from recent | @@ -43,7 +43,9 @@ function RecentGroups(props: { recent: string[]; associations: Associations }) {
<Box fontSize={0} px={1} py={2} color="gray">
Recent Groups
</Box>
- {props.recent.slice(1, 5).map((g) => {
+ {props.recent.filter((e) => {
+ return (e in associations?.contacts);
+ }).slice(1, 5).map((g) => {
const assoc... |
add single mass option for neutrinos | @@ -108,7 +108,7 @@ class Cosmology(object):
m_nu (:obj:`float`, optional): Total mass in eV of the massive
neutrinos present. Defaults to 0.
m_nu_type (:obj:`str`, optional): The type of massive neutrinos. Should
- be one of 'inverted', 'normal', 'equal' or 'list'. The default
+ be one of 'inverted', 'normal', 'equal'... |
Now using K_MIN/K_MAX from ccl_splines | #include "ccl.h"
#include <stdio.h>
+#include "ccl_params.h"
int main(int argc, char * argv[])
{
@@ -24,7 +25,6 @@ int main(int argc, char * argv[])
ccl_parameters params = ccl_parameters_create_lcdm_nu(Omega_c, Omega_b, Omega_k,h, A_s, n_s, Neff, Nmass, mnu, &status);
ccl_cosmology * cosmo = ccl_cosmology_create(param... |
Fix saving on Mac app | @@ -28,6 +28,11 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate {
Python.shared.isScriptRunning = false
}
+ /// Saves current editing document.
+ @IBAction func saveDoc(_ sender: Any) {
+ (NSApp.keyWindow?.contentViewController as? EditorViewController)?.document?.save(self)
+ }
+
// MARK: - Appli... |
landscape: ignore punctuation tokenizing URLs
Tiny fix to the URL regex so that it doesn't store punctuation marks (e.g. ",") inside the urls, breaking the links. | import urbitOb from 'urbit-ob';
-const URL_REGEX = new RegExp(String(/^((\w+:\/\/)[-a-zA-Z0-9:@;?&=\/%\+\.\*!'\(\),\$_\{\}\^~\[\]`#|]+)/.source));
+const URL_REGEX = new RegExp(String(/^((\w+:\/\/)[-a-zA-Z0-9:@;?&=\/%\+\.\*!'\(\),\$_\{\}\^~\[\]`#|]+\w)/.source));
const isUrl = (string) => {
try {
|
bsp/nordic_pca10095_net: Set empty IPC region for bootloader build
IPC is not used in bootloader but linker were complaining about IPC
region being not present. | @@ -20,6 +20,7 @@ MEMORY
{
FLASH (rx) : ORIGIN = 0x01000000, LENGTH = 0x4000
RAM (rwx) : ORIGIN = 0x21000000, LENGTH = 0x10000
+ IPC (rw) : ORIGIN = 0x20000400, LENGTH = 0
}
/* The bootloader does not contain an image header */
|
Allow imports of packages required to build YT specific main() of jaeger components. | @@ -260,7 +260,8 @@ ALLOW cloud -> vendor/github.com/rcrowley/go-metrics
# CONTRIB-865. Jaeger YT plugin. responsible: prime@
ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger
ALLOW yt/jaeger/plugin -> vendor/github.com/uber/jaeger-lib
+ALLOW yt/jaeger/plugin -> vendor/github.com/uber/jaeger-client-go
AL... |
Improve handling of HTTP 401 Unauthorized
The wsmancli returns an error immediately after receiving
an HTTP 401 Unauthorized response.
The handling of authentication should be improved to better
conform to RFC 2616.
Author of the patch:
Thomas Derr (DFS Deutsche Flugsicherung GmbH, https://www.dfs.de/) | @@ -459,6 +459,7 @@ wsmc_handler( WsManClient *cl,
long http_code;
long auth_avail = 0;
char *_user = NULL, *_pass = NULL;
+ int _no_auth = 0; /* 0 if authentication is used, 1 if no authentication was used */
u_buf_t *response = NULL;
//char *soapaction;
char *tmp_str = NULL;
@@ -564,6 +565,7 @@ wsmc_handler( WsManCli... |
loadable_apps/micom/messaging : Fix Out-of-bounds read
overrun-local: Overrunning array of 0 4-byte elements at element index 0 (byte offset 3) by dereferencing pointer &sigset. [Note: The source code implementation of the function has been overridden by a builtin model.] | @@ -115,14 +115,13 @@ static void multi_recv_callback(msg_reply_type_t msg_type, msg_recv_buf_t *recv_
printf("[M] OK: Multicast(nonblock)Recv [%s].\n", (char *)recv_data->buf);
}
-static void set_messaging_signal(void)
+static void set_messaging_signal(sigset_t *sigset;)
{
- sigset_t sigset;
- sigfillset(&sigset);
- s... |
guybrush: implement usb_pd_policy stubs
Implement pd stubs in usb_pd_policy. Based on zork implementation.
TEST=Build
BRANCH=None | int pd_check_vconn_swap(int port)
{
- /* TODO */
- return 0;
+ /*
+ * Do not allow vconn swap 5V rail is off
+ * S5_PGOOD depends on PG_PP5000_S5 being asserted,
+ * so GPIO_S5_PGOOD is a reasonable proxy for PP5000_S5
+ */
+ return gpio_get_level(GPIO_S5_PGOOD);
}
void pd_power_supply_reset(int port)
{
- /* TODO */
+ ... |
stm32/modmachine: Handle case of no MICROPY_PY_MACHINE_I2C. | @@ -558,7 +558,9 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_RTC), MP_ROM_PTR(&pyb_rtc_type) },
{ MP_ROM_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&pyb_adc_type) },
#endif
+#if MICROPY_PY_MACHINE_I2C
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&machine_i2c_type) },
+#endif
{ MP_ROM_QSTR(MP... |
Add Doxygen to new functions | #include <cassert>
-/* See header for documentation. */
-void compute_partition_averages_rgb(
+/**
+ * @brief Compute the average RGB color of each partition.
+ *
+ * The algorithm here uses a vectorized sequential scan and per-partition
+ * color accumulators, using select() to mask texel lanes in other partitions.
+ ... |
common/usbc_intr_task.c: Format with clang-format
BRANCH=none
TEST=none | @@ -57,8 +57,7 @@ static void service_one_port(int port)
tcpc_alert(port);
now = get_time();
- if (timestamp_expired(storm_tracker[port].time,
- &now)) {
+ if (timestamp_expired(storm_tracker[port].time, &now)) {
/* Reset timer into future */
storm_tracker[port].time.val = now.val + ALERT_STORM_INTERVAL;
@@ -122,7 +121... |
utils: fix leak on exception (CID 312999) | @@ -931,6 +931,7 @@ int flb_utils_proxy_url_split(const char *in_url, char **out_protocol,
/* Parse username:passwrod part. */
tmp = strchr(proto_sep, ':');
if (!tmp) {
+ flb_free(protocol);
return -1;
}
username = mk_string_copy_substr(proto_sep, 0, tmp - proto_sep);
|
mesh: Remove redundant 'provisioned' variable
This variable is both redundant as well as problematic when it comes
to adding persistent-storage-based provisioning information, which
will not come through main.c or the bt_mesh_provision() API. Just
remove it and use bt_mesh.valid which serves the same purpose in
practic... | #include "settings.h"
u8_t g_mesh_addr_type;
-static bool provisioned;
int bt_mesh_provision(const u8_t net_key[16], u16_t net_idx,
u8_t flags, u32_t iv_index, u32_t seq,
@@ -62,8 +61,6 @@ int bt_mesh_provision(const u8_t net_key[16], u16_t net_idx,
memcpy(bt_mesh.dev_key, dev_key, 16);
- provisioned = true;
-
if (IS_E... |
Updated masternode connections | @@ -2118,11 +2118,13 @@ void ThreadCheckDarkSendPool()
{
c++;
- MilliSleep(5000);
+ MilliSleep(1000);
//printf("ThreadCheckDarkSendPool::check timeout\n");
darkSendPool.CheckTimeout();
- if(c % 60 == 0){
+ int mnTimeout = 60;
+
+ if(c % mnTimeout == 0){
LOCK(cs_main);
/*
cs_main is required for doing masternode.Check b... |
board/dojo/board.c: Format with clang-format
BRANCH=none
TEST=none
Tricium: disable | @@ -435,8 +435,8 @@ const struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = {
},
};
-void board_set_charge_limit(int port, int supplier, int charge_ma,
- int max_ma, int charge_mv)
+void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma,
+ int charge_mv)
{
/* Limit input current lower than... |
decisions: some last comments integrated | @@ -22,7 +22,7 @@ It was found unexpected that this assert will fail.
When doing a second `kdbGet` with a new keyset no keys will be returned when no backends report changed data, because kdb internally thinks the data is already up-to-date.
A unit test by @atmaxinger:
-```
+```c
static void test_doubleGet (void)
{
pri... |
fix typo & add negative test case for test_equal_complex | @@ -159,7 +159,7 @@ static void test_equal_object()
static void test_equal_complex()
{
- json_t *value1, *value2;
+ json_t *value1, *value2, *value3;
const char *complex_json =
"{"
@@ -176,15 +176,25 @@ static void test_equal_complex()
value1 = json_loads(complex_json, 0, NULL);
value2 = json_loads(complex_json, 0, NUL... |
fix Queue.h mpool bug | @@ -68,7 +68,7 @@ public:
private:
struct rt_messagequeue mID;
- char mPool[(sizeof(struct rt_messagequeue) + sizeof(T)) * queue_sz];
+ char mPool[(sizeof(void *) + RT_ALIGN(sizeof(T), RT_ALIGN_SIZE)) * queue_sz];
};
}
|
porting/blemesh: add missing defs
Added defs included in Mesh sync | #define MYNEWT_VAL_BLE_MESH_OOB_OUTPUT_SIZE (4)
#endif
+#ifndef MYNEWT_VAL_BLE_MESH_PROXY_MSG_LEN
+#if MYNEWT_VAL_BLE_MESH_PB_GATT
+#define MYNEWT_VAL_BLE_MESH_PROXY_MSG_LEN (66)
+#elif MYNEWT_VAL_BLE_MESH_GATT_PROXY
+#define MYNEWT_VAL_BLE_MESH_PROXY_MSG_LEN (33)
+#endif
+#endif
+
+#ifndef MYNEWT_VAL_BLE_MESH_MODEL_VN... |
doc: update package installation commands to resolve dependencies | @@ -124,7 +124,7 @@ Then use:
make package
```
-which will create a package for distributions where a Generator is implemented.
+which will create packages for distributions where a Generator is implemented.
You can find the generated packages in the `packages` directory of the build directory.
@@ -145,12 +145,20 @@ To... |
Declare dot_compute static to avoid conflicts in multiarch builds | @@ -77,7 +77,7 @@ static void ddot_kernel_8(BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *d)
#endif
-FLOAT dot_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
+static FLOAT dot_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
{
BLASLONG i=0;
BLASLONG ix=0,iy=0;
@@ -189,7 +189,6 @... |
[mod_sockproxy] reset http vers, avoid rare crash (fixes
(thx ultimator)
x-ref:
"Random Segfaults with version 1.4.64 w/ mod_sockproxy and ALPN h2" | @@ -163,6 +163,7 @@ static handler_t mod_sockproxy_connection_accept(connection *con, void *p_d) {
hctx->create_env = sockproxy_create_env_connect;
hctx->response = chunk_buffer_acquire();
r->http_status = -1; /*(skip HTTP processing)*/
+ r->http_version = HTTP_VERSION_UNSET;
}
return HANDLER_GO_ON;
|
Add missing malloc assert; | @@ -586,6 +586,7 @@ static ModelData* openvr_newModelData(Device device, bool animated) {
uint32_t componentCount = state.renderModels->GetComponentCount(renderModelName);
renderModels = malloc(componentCount * sizeof(*renderModels));
renderModelTextures = malloc(componentCount * sizeof(*renderModelTextures));
+ lovrAs... |
mesa: Add v3d and kmsro driver as well
Videocore 5/6 support was added as a separate driver in mesa: v3d. Enable
this so we can have it available for Raspberry Pi 4. Also, this driver
depends on kmsro. | # as default. To state out clearly that Raspi needs dri3 and to avoid surprises
# in case oe-core changes this default, we set dri3 explicitly.
PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
-GALLIUMDRIVERS_append_rpi = ",vc4"
+GALLIUMDRIVERS_append_rpi =... |
fix undeclared variable error
# Conflicts:
# library/ssl_tls13_client.c | @@ -120,9 +120,7 @@ static int ssl_tls13_write_exts_client_hello( mbedtls_ssl_context *ssl,
* extension list must be kept to write
* the total extension list size in the end.
*/
-#if defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED)
int ret;
-#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
unsigned char* extension_st... |
wifi: optimize espnow when disconnect pm enable | @@ -297,7 +297,9 @@ static esp_err_t example_espnow_init(void)
ESP_ERROR_CHECK( esp_now_init() );
ESP_ERROR_CHECK( esp_now_register_send_cb(example_espnow_send_cb) );
ESP_ERROR_CHECK( esp_now_register_recv_cb(example_espnow_recv_cb) );
-
+#if CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE
+ ESP_ERROR_CHECK( esp_now_set_wak... |
bootloader: explicit initialization | @@ -478,7 +478,7 @@ void bootloader_utility_load_boot_image(const bootloader_state_t *bs, int start_
{
int index = start_index;
esp_partition_pos_t part;
- esp_image_metadata_t image_data;
+ esp_image_metadata_t image_data = {0};
if (start_index == TEST_APP_INDEX) {
if (check_anti_rollback(&bs->test) && try_load_partit... |
VERSION bump to version 1.3.52 | @@ -31,7 +31,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 3)
-set(SYSREPO_MICRO_VERSION 51)
+set(SYSREPO_MICRO_VERSION 52)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
[mod_proxy] proxy_response_headers load v earlier
proxy_response_headers() issue variable load slightly earlier | @@ -1034,9 +1034,10 @@ static handler_t proxy_create_env_connect(gw_handler_ctx *gwhctx) {
static handler_t proxy_response_headers(request_st * const r, struct http_response_opts_t *opts) {
/* response headers just completed */
handler_ctx *hctx = (handler_ctx *)opts->pdata;
+ http_header_remap_opts * const remap_hdrs ... |
build CHANGE normalize cmake's build type | @@ -30,6 +30,17 @@ set(CMAKE_MACOSX_RPATH TRUE)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug)
endif()
+# normalize build type string
+string(TOUPPER "${CMAKE_BUILD_TYPE}" BUILD_TYPE_UPPER)
+if ("${BUILD_TYPE_UPPER}" STREQUAL "RELEASE")
+ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build Type" FORCE)
+elseif ("$... |
Explicitly disable compression in cmake builds for now | @@ -102,6 +102,9 @@ set (MONGOC_ENABLE_CRYPTO_CNG 0)
set (MONGOC_ENABLE_CRYPTO_SYSTEM_PROFILE 0)
+set (MONGOC_ENABLE_COMPRESSION 0)
+set (MONGOC_ENABLE_COMPRESSION_SNAPPY 0)
+
if (OPENSSL_FOUND)
set (MONGOC_ENABLE_SSL 1)
set (MONGOC_ENABLE_SSL_OPENSSL 1)
|
nshlib: support c++ access nsh api
N/A | @@ -799,6 +799,11 @@ extern const char g_fmtsignalrecvd[];
* Public Function Prototypes
****************************************************************************/
+#if defined(__cplusplus)
+extern "C"
+{
+#endif
+
/* Initialization */
#ifdef CONFIG_NSH_ROMFSETC
@@ -1403,4 +1408,8 @@ int nsh_foreach_var(FAR struct ns... |
build ARM64 in CI action | @@ -23,11 +23,17 @@ if %ERRORLEVEL% neq 0 goto end
msbuild /m SystemInformer.sln -property:Configuration=Debug -property:Platform=x64 -verbosity:normal
if %ERRORLEVEL% neq 0 goto end
+msbuild /m SystemInformer.sln -property:Configuration=Debug -property:Platform=ARM64 -verbosity:normal
+if %ERRORLEVEL% neq 0 goto end
+... |
Add SDL_sound, fix --D to -D | @@ -116,9 +116,9 @@ make -j4
run the following commands in the Terminal
```
sudo dnf -y groupinstall "Development Tools" "Development Libraries"
-sudo dnf -y install ruby rubygem-{tk{,-doc},rake,test-unit} cmake libglvnd-devel libglvnd-gles freeglut-devel clang libXext-devel
+sudo dnf -y install ruby rubygem-{tk{,-doc}... |
web-ui: fix issues with folding/unfolding | @@ -141,15 +141,16 @@ export default class TreeView extends React.Component {
createOpener () {
const tree = this
- const { unfolded } = this.state
return class Opener extends React.Component {
onClick = (event) => {
- const { item } = this.props
+ const { onClick, item } = this.props
+ const { unfolded } = tree.state
... |
increase esp stack size to 5000 in test | #include <stdbool.h>
/* Platform thread stack size and priority. */
-#define IOT_THREAD_DEFAULT_STACK_SIZE 3840
+#define IOT_THREAD_DEFAULT_STACK_SIZE 5000
#define IOT_THREAD_DEFAULT_PRIORITY 5
/* Provide additional serializer initialization functions. */
|
Docs/add warning if data structure not change | @@ -120,6 +120,16 @@ In other cases, it should be noted that enums have the ``int`` type.
In common, ``int32_t`` and ``int``, as well as ``uint32_t`` and ``unsigned int``, are different types.
+If users do not make the aforementioned updates to format strings in their applications, the following error will be reported ... |
[numerics] gfc3d_ipm : test if the Jacobian matrix contains NaN
- only the 3x3_QpH case
- to avoid MA57 to run into troubles with incinsistent matrix
- shoul be also extended to other cases for JR | @@ -1271,7 +1271,7 @@ void gfc3d_IPM(GlobalFrictionContactProblem* restrict problem, double* restrict
/* r_rhs = [ ] */
/* [ -Qp*(H*v + w) ] nd */
-
+ int jacobian_is_nan = 0;
switch ( options->iparam[SICONOS_FRICTION_3D_IPM_IPARAM_LS_FORM] )
{
case SICONOS_FRICTION_3D_IPM_IPARAM_LS_3X3_NOSCAL:
@@ -1371,6 +1371,7 @@ vo... |
ames: revert added debug print | ::
++ on-sink-cork
^+ peer-core
- ~> %slog.0^leaf+"ames: got cork {<[her.channel bone]>}"
=/ =message-pump-state
(~(gut by snd.peer-state) bone *message-pump-state)
=? peer-core ?=(^ next-wake.packet-pump-state.message-pump-state)
|
FIX: hold cache_lock when access config and prefix info. | @@ -992,9 +992,12 @@ static void stats_engine(struct default_engine *engine,
char val[128];
int len;
- pthread_mutex_lock(&engine->stats.lock);
+ pthread_mutex_lock(&engine->cache_lock);
len = sprintf(val, "%"PRIu64, (uint64_t)assoc_prefix_count());
add_stat("curr_prefixes", 13, val, len, cookie);
+ pthread_mutex_unloc... |
Fixed an issue where only the first piece of geometry had its construction history deleted. This caused issues when baking multiple pieces of geometry in Maya 2022.3. | @@ -19,7 +19,6 @@ houdiniEngine_bakeAsset(string $assetNode)
if(`objectType -isAType "shape" $desc`) {
delete -ch $desc;
$hasShape = 1;
- break;
}
if(`objectType -isAType "instancer" $desc`) {
$hasShape = 1;
|
nice to have symbol file even in release | @@ -59,7 +59,7 @@ FLAGSZ80= -i$(SRC) -i$(INCLUDE) -i$(RES) -i$(LIBSRC) -i$(LIBINCLUDE)
#release: FLAGS= $(DEFAULT_FLAGS) -O1 -fomit-frame-pointer
release: FLAGS= $(DEFAULT_FLAGS) -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto
release: LIBMD= $(LIB)/libmd.a
-release: pre-build ... |
Report errors in Observe and Override handlers | @@ -49,9 +49,18 @@ bool FunctionOverride::HookRunPureScriptFunction(RED4ext::CClassFunction* apFunc
for (const auto& call : calls)
{
const auto result = call->ScriptFunction(as_args(args), call->Environment);
+
+ if (!result.valid())
+ {
+ auto logger = call->Environment["__logger"].get<std::shared_ptr<spdlog::logger>>... |
Build: Fix shellcheck | @@ -176,7 +176,7 @@ package() {
for i in *.dsl ; do
iasl "$i" || exit 1
done
- mv *.aml "${dstdir}/Docs/AcpiSamples/Binaries" || exit 1
+ mv ./*.aml "${dstdir}/Docs/AcpiSamples/Binaries" || exit 1
cd - || exit 1
utilScpts=(
|
tigertail: fix USB timing
Add some disconnect time between mux selections.
This ensures that USB VBUS will fall and a USB
disconenct will happen.
BRANCH=None
TEST=ran on tigertail
Commit-Ready: Nick Sanders
Tested-by: Nick Sanders | @@ -310,10 +310,16 @@ void set_mux_state(int state)
gpio_set_level(GPIO_SEL_RELAY_A, 0);
gpio_set_level(GPIO_SEL_RELAY_B, 0);
- /* Reconnect in the requested direction. */
+ /* Let USB disconnect. */
+ msleep(100);
+
+ /* Reconnect VBUS/CC in the requested direction. */
gpio_set_level(GPIO_SEL_RELAY_A, !dir && enabled)... |
[config_tool] Duplicate VM name
refine error messages. | @@ -332,8 +332,8 @@ export default {
console.log(vmNameArr)
for (let i = 0; i < vmNameArr.length - 1; i++) {
if (vmNameArr[i] === vmNameArr[i + 1]) {
- alert("There are duplicate VM name with" + vmNameArr[i]
- + ",\n please your VM name");
+ alert("ERROR\n" + `Multiple VMs have the same name: ${vmNameArr[i]}.` +
+ "You... |
Fix bash breaklines | @@ -97,9 +97,9 @@ jobs:
# Make cmocka from source w/ 32b setup
- run: git clone https://git.cryptomilk.org/projects/cmocka.git ~/cmocka
- run: >
- cd $(mktemp -d /tmp/build.XXXX) && \
- cmake ~/cmocka -DCMAKE_TOOLCHAIN_FILE=~/cmocka/cmake/Toolchain-cross-m32.cmake && \
- make && \
+ cd $(mktemp -d /tmp/build.XXXX) &&
+... |
evp_test: fix rebase mistake with no_gost | @@ -77,7 +77,7 @@ push @files, qw(
evppkey_ecdsa.txt
evppkey_kas.txt
evppkey_mismatch.txt
- ) unless $no_ec || $no_gost;
+ ) unless $no_ec;
push @files, qw(evpciph_aes_gcm_siv.txt) unless $no_siv;
# A list of tests that only run with the default provider
|
VERSION bump to version 2.1.51 | @@ -64,7 +64,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 1)
-set(SYSREPO_MICRO_VERSION 50)
+set(SYSREPO_MICRO_VERSION 51)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
/sur/hood: report aeon, abortive fix for +read-kelvin-local | :~ leaf/"/sys/kelvin: {<[lal num]:weft>}"
leaf/"base hash: {?:((gth len 1) <meb> <(head meb)>)}"
leaf/"%cz hash: {<hash>}"
+ leaf/"remote aeon: {<aeon.arak>}"
leaf/"force on: {?:(=(~ add.rein.arak) "~" <add.rein.arak>)}"
leaf/"force off: {?:(=(~ sub.rein.arak) "~" <sub.rein.arak>)}"
==
q:(need (~(get an:cloy ankh) /sys... |
[snitch] :bug: Add declaration of retire_p signal for post-incr write-back | @@ -154,6 +154,7 @@ module snitch #(
logic [31:0] lsu_qaddr;
logic retire_load; // retire a load instruction
+ logic retire_p; // retire from post-increment instructions
logic retire_i; // retire the rest of the base instruction set
logic retire_acc; // retire an instruction we offloaded
|
Remove stray include of complex.h
already provided conditionally by common.h via openblas_utest.h
Unconditional inclusion breaks older Android and similar platforms that use OPENBLAS_COMPLEX_STRUCT | @@ -32,7 +32,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**********************************************************************************/
#include "openblas_utest.h"
-#include <complex.h>
CTEST( zdotu,zdotu_n_1)
{
|
Fix allocation of graphics heap memory | @@ -32,8 +32,7 @@ bool GraphicsMemory::GraphicsHeapLocation(
CLR_UINT8 *&graphicsStartingAddress,
CLR_UINT8 *&graphicsEndingAddress)
{
- // requesting 2MB
- CLR_INT32 graphicsMemoryBlockSize = 2 * 1024 * 1024;
+ CLR_UINT32 graphicsMemoryBlockSize = requested;
CLR_INT32 memoryCaps = MALLOC_CAP_8BIT | MALLOC_CAP_32BIT | ... |
Add missing psa_pake_cs_get_family() | @@ -1224,6 +1224,20 @@ static void psa_pake_cs_set_primitive(
psa_pake_primitive_t primitive
);
+/** Retrieve the PAKE family from a PAKE cipher suite.
+ *
+ * This function may be declared as `static` (i.e. without external
+ * linkage). This function may be provided as a function-like macro,
+ * but in this case it m... |
Emulator: use atexit handler to restore terminal state | @@ -136,12 +136,17 @@ void send_host_interrupt(uint32_t num)
}
}
+static void shutdown_cleanup(void)
+{
+ // Restore terminal state
+ tcsetattr(STDIN_FILENO, TCSANOW, &original_tconfig);
+}
+
static void handle_int_signal(int num)
{
(void) num;
- // Restore terminal state
- tcsetattr(STDIN_FILENO, TCSANOW, &original_tc... |
server session FEATURE improved call home messages | @@ -3375,7 +3375,7 @@ nc_ch_client_thread(void *arg)
if (nc_server_ch_client_thread_session_cond_wait(session, data)) {
goto cleanup;
}
- VRB("Call Home client \"%s\" session terminated, reconnecting...", data->client_name);
+ VRB("Call Home client \"%s\" session terminated.", data->client_name);
/* LOCK */
client = nc... |
in_mqtt: use new input chunk registration calls | @@ -122,6 +122,8 @@ static int mqtt_data_append(char *topic, size_t topic_len,
char *pack;
msgpack_object root;
msgpack_unpacked result;
+ msgpack_packer mp_pck;
+ msgpack_sbuffer mp_sbuf;
struct flb_in_mqtt_config *ctx = in_context;
/* Convert our incoming JSON to MsgPack */
@@ -144,27 +146,30 @@ static int mqtt_data_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.