message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Document buffer unqueueing in source play | @@ -165,11 +165,12 @@ void lovrSourcePlay(Source* source) {
return;
}
- // in case we have some queued buffers, make sure to unqueue them before streaming more data into them.
+ // There is no guarantee that lovrAudioUpdate is called AFTER the state of source becomes STOPPED but
+ // BEFORE user code calls source:play(... |
fix crash when internet is disabled | @@ -430,10 +430,12 @@ static s32 onBody(http_parser* parser, const char *at, size_t length)
static void onClose(uv_handle_t* handle)
{
NetRequest* req = handle->data;
+ if (req){
FREE(req->content.data);
free((void*)req->path);
free(req);
}
+}
static void freeRequest(NetRequest* req)
{
|
Makefile: Fix more warning: jobserver unavailable: using -j1. Add '+' to parent make rule. | @@ -56,11 +56,11 @@ MODULE = $(CONFIG_EXAMPLES_THTTPD)
all::
context::
- @$(CONTENT_MAKE) context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
+ +$(Q) $(CONTENT_MAKE) context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
depend::
@$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.... |
CartoCSS fix regarding ellipse markers - if width or height is set to 0, do not render the marker. (Ellipses are handled differently compared to arrows and custom markers, for arrows/custom markers 0 means default). Fixes | @@ -48,11 +48,11 @@ namespace carto { namespace mvt {
vt::Color stroke = _stroke * _strokeOpacity;
if (_markerType == "ellipse" || (_markerType.empty() && placement != vt::LabelOrientation::LINE)) {
float width = DEFAULT_CIRCLE_SIZE, height = DEFAULT_CIRCLE_SIZE;
- if (_width > 0) {
+ if (_width >= 0) { // NOTE: specia... |
add extra check in mi_page_unreset to not unreset for huge OS pages | @@ -245,6 +245,7 @@ static void mi_page_unreset(mi_segment_t* segment, mi_page_t* page, size_t size,
mi_assert_internal(page->is_reset);
mi_assert_internal(page->is_committed);
mi_assert_internal(!segment->mem_is_fixed);
+ if (segment->mem_is_fixed || !page->is_committed || !page->is_reset) return;
page->is_reset = fal... |
Update appveyor.yml
Fixing bug | @@ -81,5 +81,5 @@ on_success:
on_failure:
- cd %TEST_HOME%\benchmark
# zip up the SUT benchmarks
- - 7z a benchmark-%PLATFORM%-%SUT_BUILD_ID%.zip .\epanet-%SUT_BUILD_ID% &
+ - 7z a benchmark-%PLATFORM%-%SUT_BUILD_ID%.zip .\epanet-%SUT_BUILD_ID%
- appveyor PushArtifact benchmark-%PLATFORM%-%SUT_BUILD_ID%.zip
|
HV: fix hide all sriov in ecap
When VM read pre-sriov header in ECAP of ptdev, only emulate the
reading if SRIOV is hidden.
Write to pre-sriov header is ignored so no need to fix writting. | @@ -521,7 +521,7 @@ static int32_t read_pt_dev_cfg(const struct pci_vdev *vdev, uint32_t offset,
} else if (sriovcap_access(vdev, offset)) {
read_sriov_cap_reg(vdev, offset, bytes, val);
} else {
- if (offset == vdev->pdev->sriov.pre_pos) {
+ if ((offset == vdev->pdev->sriov.pre_pos) && (vdev->pdev->sriov.hide_sriov)) ... |
Makefile: refine include path for efi_stub
Move hypervisor related include path from CFLAGS to INCLUDE_PATH to make
structure more clean. | HV_OBJDIR:=build
HV_FILE:=acrn
+HV_SRC:=../../hypervisor
C_SRCS = boot.c pe.c malloc.c
ACRN_OBJS := $(patsubst %.c,$(EFI_OBJDIR)/%.o,$(C_SRCS))
INCLUDE_PATH += $(HV_OBJDIR)/include
+INCLUDE_PATH += $(HV_SRC)/include/arch/x86
+INCLUDE_PATH += $(HV_SRC)/include/arch/x86/guest
+INCLUDE_PATH += $(HV_SRC)/include/public
+IN... |
Refine script/bench-rust-gif crates.io URL | // This program exercises the Rust GIF decoder at
// https://github.com/image-rs/image-gif
-// which is the top result for https://crates.io/search?q=gif
+// which is the top result for https://crates.io/search?q=gif&sort=downloads
//
// Wuffs' C code doesn't depend on Rust per se, but this program gives some
// perfor... |
strHash now can get real address | @@ -8,6 +8,7 @@ import (
"io/ioutil"
"math/big"
"path"
+ "regexp"
"strconv"
"strings"
"time"
@@ -30,6 +31,12 @@ type DummyChain struct {
testReceiptDB db.DB
}
+var addressRegexp *regexp.Regexp
+
+func init() {
+ addressRegexp, _ = regexp.Compile("^[a-zA-Z0-9]+$")
+}
+
func LoadDummyChain() (*DummyChain, error) {
bc := ... |
Tools: update man page | #include <stdint.h>
#endif
-const char* grib_tool_description = "Convert a GRIB file to netCDF format.";
+const char* grib_tool_description = "Convert a GRIB file to netCDF format."
+ "\n\tNote: The GRIB geometry should be a regular lat/lon grid or a regular Gaussian grid"
+ "\n\t(the key \"typeOfGrid\" should be \"reg... |
Leaf: Test key set conversion in `get` direction | @@ -51,6 +51,18 @@ void test_set (CppKeySet keys, CppKeySet expected, int const status = ELEKTRA_PL
CLOSE_PLUGIN ();
}
+void test_get (CppKeySet keys, CppKeySet expected, int const status = ELEKTRA_PLUGIN_STATUS_SUCCESS)
+{
+ OPEN_PLUGIN (PREFIX, "file/path"); //! OCLint (too few branches switch, empty if statement)
+
... |
[core] use sun_path for addr string for AF_UNIX (fixes
(occurs when lighttpd is configured to listen on unix socket path)
x-ref:
"stale REMOTE_ADDR when using AF_UNIX socket" | @@ -474,6 +474,9 @@ const char * inet_ntop_cache_get_ip(server *srv, sock_addr *addr) {
int i;
UNUSED(srv);
+ #ifdef HAVE_SYS_UN_H
+ if (addr->plain.sa_family == AF_UNIX) return addr->un.sun_path;
+ #endif
for (i = 0; i < INET_NTOP_CACHE_MAX; i++) {
if (inet_ntop_cache[i].family == addr->plain.sa_family) {
if (inet_nto... |
Fixed path for sed(1).
Some distros provide it in /bin/sed and others in both /bin/sed
and /usr/bin/sed. Use the more available one.
Reported-by: Konstantin Pavlov
Fixes: "Improved readability of <docker-entrypoint.sh>." | @@ -5,7 +5,7 @@ set -e
curl_put()
{
RET=$(/usr/bin/curl -s -w '%{http_code}' -X PUT --data-binary @$1 --unix-socket /var/run/control.unit.sock http://localhost/$2)
- RET_BODY=$(echo $RET | /usr/bin/sed '$ s/...$//')
+ RET_BODY=$(echo $RET | /bin/sed '$ s/...$//')
RET_STATUS=$(echo $RET | /usr/bin/tail -c 4)
if [ "$RET_... |
Try to fix the bug that server don't send ACK for multiple Initials | @@ -1605,11 +1605,27 @@ static ssize_t conn_write_handshake_pkt(ngtcp2_conn *conn, uint8_t *dest,
flags |= NGTCP2_RTB_FLAG_ACK_ELICITING | NGTCP2_RTB_FLAG_CRYPTO_PKT;
}
- if (pkt_empty) {
- if (conn->server || conn->pktns.crypto.tx.ckm ||
- conn->rcs.probe_pkt_left == 0) {
- return 0;
+ rv = conn_create_ack_frame(conn,... |
filter_parser: fix leak on failure scenario (CID 166134) | @@ -224,6 +224,7 @@ static int cb_parser_filter(void *data, size_t bytes,
&new_buf, &new_size);
if (ret == -1) {
flb_error("[filter_parser] cannot expand map");
+ flb_free(append_arr);
msgpack_unpacked_destroy(&result);
return FLB_FILTER_NOTOUCH;
}
|
Ignoring response for already terminated request.
Request can be terminated because of invalid response headers and content
should be ignored in this case. | @@ -2655,6 +2655,9 @@ nxt_router_response_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg,
}
ar = rc->ap;
+ if (nxt_slow_path(ar == NULL)) {
+ return;
+ }
if (msg->port_msg.last != 0) {
nxt_debug(task, "router data create last buf");
|
frsky: remove big hop on failsafe | @@ -457,11 +457,9 @@ static uint8_t frsky_d_handle_packet() {
if (frames_lost >= MAX_MISSING_FRAMES) {
max_sync_delay = 10 * SYNC_DELAY_MAX;
failsafe = 1;
- next_channel(13);
- } else {
- next_channel(1);
}
+ next_channel(1);
cc2500_strobe(CC2500_SRX);
protocol_state = STATE_UPDATE;
}
|
lv_draw_line: Fixed a warning by wrapping unused antialiasing variables in LV_ANTIALIAS | @@ -236,7 +236,9 @@ static void line_draw_skew(line_draw_t * main_line, bool dir_ori, const lv_area_
lv_opa_t opa = opa_scale == LV_OPA_COVER
? style->line.opa
: (uint16_t)((uint16_t)style->line.opa * opa_scale) >> 8;
+#if LV_ANTIALIAS
bool aa = lv_disp_get_antialiasing(lv_refr_get_disp_refreshing());
+#endif
lv_point_... |
Fix ECDSA signature verification edge-case
For R and S equal to 1, ensure the public key is checked
for validity. | @@ -2666,14 +2666,17 @@ static int mbedtls_ecp_mul_shortcuts( mbedtls_ecp_group *grp,
if( mbedtls_mpi_cmp_int( m, 0 ) == 0 )
{
+ MBEDTLS_MPI_CHK( mbedtls_ecp_check_pubkey( grp, P ) );
MBEDTLS_MPI_CHK( mbedtls_ecp_set_zero( R ) );
}
else if( mbedtls_mpi_cmp_int( m, 1 ) == 0 )
{
+ MBEDTLS_MPI_CHK( mbedtls_ecp_check_pubke... |
Fixed VulkanUsage::Init for Vulkan SDK not supporting new Vulkan 1.3, to fix CI builds | @@ -486,9 +486,15 @@ void VulkanUsage::Init()
switch(appInfo.apiVersion)
{
case VK_API_VERSION_1_0: wprintf(L"1.0\n"); break;
+#ifdef VK_VERSION_1_1
case VK_API_VERSION_1_1: wprintf(L"1.1\n"); break;
+#endif
+#ifdef VK_VERSION_1_2
case VK_API_VERSION_1_2: wprintf(L"1.2\n"); break;
+#endif
+#ifdef VK_VERSION_1_3
case VK... |
Change mbedtls_pk_can_do_ext() usage test logic for opaque keys | @@ -271,33 +271,35 @@ int mbedtls_pk_can_do_ext( const mbedtls_pk_context *ctx, psa_algorithm_t alg,
mbedtls_pk_type_t type;
if( PSA_ALG_IS_ECDSA( alg ) || PSA_ALG_IS_ECDH( alg ) )
- {
type = MBEDTLS_PK_ECKEY;
- key_usage = PSA_KEY_USAGE_SIGN_HASH |
- PSA_KEY_USAGE_DERIVE;
- }
- else if( PSA_ALG_IS_RSA_PKCS1V15_SIGN( a... |
juniper: Free up flash space
Make debug asserts brief.
Lower PD debug level to 2.
This matches a pattern used by other boards.
TEST=Free RO space went from 540 to 1628
BRANCH=None | #define VARIANT_KUKUI_EC_STM32F098
#undef CONFIG_CMD_MFALLOW
+/* Free up flash space */
+#define CONFIG_DEBUG_ASSERT_BRIEF
+#define CONFIG_USB_PD_DEBUG_LEVEL 2
+
#ifndef SECTION_IS_RW
#define VARIANT_KUKUI_NO_SENSORS
#endif /* SECTION_IS_RW */
|
changes V to match orca-js behavior
try to divide commits | +#include "sim.h"
#include "gbuffer.h"
#include "mark.h"
-#include "sim.h"
//////// Utilities
@@ -706,13 +706,15 @@ BEGIN_OPERATOR(variable)
LOWERCASE_REQUIRES_BANG;
PORT(0, -1, IN | PARAM);
PORT(0, 1, IN | PARAM);
- PORT(1, 0, OUT);
Glyph left = PEEK(0, -1);
Glyph right = PEEK(0, 1);
- if (right == '.')
+ if (right ==... |
phb4: Clear more error registers
Clears log and err1 registers. These are coming in the next spec. | @@ -1704,15 +1704,21 @@ static void phb4_err_clear(struct phb4 *p)
/* Rec 2...15: Clear error status in RC config space */
phb4_rc_err_clear(p);
- /* Rec 16/17: Clear PBL errors */
+ /* Rec 16...23: Clear PBL errors */
val64 = phb4_read_reg(p, PHB_PBL_ERR_STATUS);
phb4_write_reg(p, PHB_PBL_ERR_STATUS, val64);
+ phb4_wr... |
doc: tn13: add mapping capability to types | @@ -561,6 +561,57 @@ memory-mapped devices.
\noarginvocation{Identify} This invocation returns the physical
address and size (in bytes) of the frame.
+\subsection{Mapping}
+After an attempt to store shadow page table entries in the Frame/DevFrame
+capability copies that are mapped in a VNode, which led to a lot of
+unn... |
docu: renamed CONCRETE to CONCRETE_TYPE in plugins.md | @@ -356,11 +356,13 @@ and write each key as its own line in the file. Since we don't care about the na
the value of `keyString` for each `Key` as a new line in the file. That's it. Now, each time the mounted `KeySet` is modified, `elektraPluginSet` will
be called and the mounted file will be updated.
-#### `ELEKTRA_SET... |
Fix background color on browser | @@ -305,6 +305,7 @@ class DocumentBrowserViewController: UIViewController, UICollectionViewDataSourc
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
+ navigationController?.view.backgroundColor = .white
navigationController?.navigationBar.shadowImage = UIImage()
}
|
Validate parser parameter to XML_SetBase | @@ -1330,6 +1330,8 @@ XML_SetUserData(XML_Parser parser, void *p)
enum XML_Status XMLCALL
XML_SetBase(XML_Parser parser, const XML_Char *p)
{
+ if (parser == NULL)
+ return XML_STATUS_ERROR;
if (p) {
p = poolCopyString(&_dtd->pool, p);
if (!p)
|
Fix uninitialized value jump, reported by valgrind | @@ -1261,7 +1261,7 @@ static int sqliteLoadConfigCallback(void *user, int ncols, char **colval , char
}
else if (strcmp(colval[0], "swupdatestate") == 0)
{
- if (!val.isEmpty() && ok)
+ if (!val.isEmpty())
{
d->gwConfig["swupdatestate"] = val;
d->gwSwUpdateState = val;
|
[ci skip] Fix Typo in firechip/src/test/scala/ScalaTestSuite.scala | @@ -44,7 +44,7 @@ abstract class FireSimTestSuite(
def runTest(backend: String, name: String, debug: Boolean, additionalArgs: Seq[String] = Nil) = {
compileMlSimulator(backend, debug)
if (isCmdAvailable(backend)) {
- it should s"pass in ML simualtion on ${backend}" in {
+ it should s"pass in ML simulation on ${backend}... |
fsutils/passwd/passwd_lock.c: Use named semaphore by checking CONFIG_FS_NAMED_SEMAPHORES instead of CONFIG_KERNEL_BUILD. | * Pre-processor Definitions
****************************************************************************/
-#ifdef CONFIG_BUILD_KERNEL
+#ifdef CONFIG_FS_NAMED_SEMAPHORES
/* In the kernel build mode, we need to use a named semaphore so that all
* processes will share the same, named semaphore instance.
*/
* Private Data
... |
Update R21 based firmware only for ConBee II
RaspBee II needs to be handled in different branch. | @@ -494,7 +494,7 @@ void DeRestPluginPrivate::queryFirmwareVersion()
}
// adapted from above AVR handling
- if (((fwVersion & FW_PLATFORM_MASK) == FW_PLATFORM_R21) /*|| fwVersion == FW_ONLY_R21_BOOTLOADER*/)
+ if ((fwVersion & FW_PLATFORM_MASK) == FW_PLATFORM_R21 && fwDeviceName == QLatin1String("ConBee II"))
{
if (fwV... |
doc: tweak GSG DX issues
Fix some issues found during DX studies of the new GSG that are trivial
changes but are impacting users in the study. | @@ -116,6 +116,7 @@ To set up the ACRN build environment on the development computer:
sudo apt install gcc \
git \
make \
+ vim \
libssl-dev \
libpciaccess-dev \
uuid-dev \
@@ -558,8 +559,8 @@ Build ACRN
sudo mkdir -p /boot/acrn/
sudo cp $disk/acrn.bin /boot/acrn
- sudo cp $disk/launch_uos_id3.sh ~/acrn-work
sudo cp $d... |
[DeviceDriver][RTC] Add 'date' command for set and get date time. | @@ -245,4 +245,67 @@ FINSH_FUNCTION_EXPORT(list_date, show date and time.)
FINSH_FUNCTION_EXPORT(set_date, set date. e.g: set_date(2010,2,28))
FINSH_FUNCTION_EXPORT(set_time, set time. e.g: set_time(23,59,59))
+#if defined(RT_USING_FINSH)
+static void date(uint8_t argc, char **argv)
+{
+ if (argc == 1)
+ {
+ time_t now... |
icm42607: Fix build code error
BRANCH=none
TEST=make BOARD=cherry | @@ -391,7 +391,7 @@ void icm42607_interrupt(enum gpio_signal signal)
last_interrupt_timestamp = __hw_clock_source_read();
task_set_event(TASK_ID_MOTIONSENSE,
- CONFIG_ACCELGYRO_ICM42607_INT_EVENT, 0);
+ CONFIG_ACCELGYRO_ICM42607_INT_EVENT);
}
/**
@@ -622,10 +622,9 @@ out_unlock:
return ret;
}
-static int icm42607_set_r... |
Fix fatal error: array: No such file or directory
enable test_stl2 only when CONFIG_LIBCXX is enabled
since uClibc++/minic++ doesn't have array header file | #ifdef CONFIG_CXX_EXCEPTION
#include <stdexcept>
#endif
-#if __cplusplus >= 201703L
+#if defined(CONFIG_LIBCXX) && __cplusplus >= 201703L
#include <array>
#include <utility>
#endif
@@ -61,7 +61,7 @@ public:
}
};
-#if __cplusplus >= 201703L
+#if defined(CONFIG_LIBCXX) && __cplusplus >= 201703L
class File
{
public:
@@ -1... |
Avoid downsizing total read size from off_t to size_t when serving a file with the webserver. Fixes issue | @@ -445,7 +445,7 @@ int http_SendMessage(SOCKINFO *info, int *TimeOut, const char *fmt, ...)
/* 10 byte allocated for chunk header. */
char Chunk_Header[CHUNK_HEADER_SIZE];
size_t num_read;
- size_t amount_to_be_read = (size_t)0;
+ off_t amount_to_be_read = 0;
size_t Data_Buf_Size = WEB_SERVER_BUF_SIZE;
#endif /* EXCLU... |
RETIRE_CONNECTION_ID and PATH_RESPONSE are allowed in 0RTT packet | @@ -6572,7 +6572,9 @@ static ngtcp2_ssize conn_recv_pkt(ngtcp2_conn *conn, const ngtcp2_path *path,
case NGTCP2_FRAME_STREAMS_BLOCKED_BIDI:
case NGTCP2_FRAME_STREAMS_BLOCKED_UNI:
case NGTCP2_FRAME_NEW_CONNECTION_ID:
+ case NGTCP2_FRAME_RETIRE_CONNECTION_ID:
case NGTCP2_FRAME_PATH_CHALLENGE:
+ case NGTCP2_FRAME_PATH_RES... |
Remove radix arguments from tests added in 3.2 | @@ -1223,13 +1223,13 @@ Test mbedtls_mpi_mod_int: 0 (null) % 1
mbedtls_mpi_mod_int:"":1:0:0
Test mbedtls_mpi_mod_int: 0 (null) % 2
-mbedtls_mpi_mod_int:16:"":2:0:0
+mbedtls_mpi_mod_int:"":2:0:0
Test mbedtls_mpi_mod_int: 0 (null) % -1
mbedtls_mpi_mod_int:"":-1:0:MBEDTLS_ERR_MPI_NEGATIVE_VALUE
Test mbedtls_mpi_mod_int: 0... |
Use a mutex for the DNS-SD browser data instead of a rwlock, and stop browsing
before doing the callbacks. | @@ -108,7 +108,7 @@ typedef struct _pappl_dns_sd_dev_t // DNS-SD browse data
#ifdef HAVE_AVAHI
AvahiRecordBrowser *ref; // Browser for query
#endif // HAVE_AVAHI
- pthread_rwlock_t rwlock; // Reader/writer lock
+ pthread_mutex_t mutex; // Update lock
char *name, // Service name
*domain, // Domain name
*fullName, // Ful... |
Recommend ALE instead of Syntastic
For our use case it is faster, easier to set up, and less noisy out of the box. | -- - luarocks install luacheck
-- - luacheck ./titan-compiler
--
--- Luacheck can also be integrated with vim, through Syntastic[2]:
--- - let g:syntastic_lua_checkers = ['luac', 'luacheck']
+-- For vim integration, I recommend ALE[2]. It supports luacheck out of the box
--
-- [1] https://luacheck.readthedocs.io/en/sta... |
.travis.yml: exercise -std=c89 in order to catch corresponding problems. | @@ -27,7 +27,7 @@ compiler:
env:
- CONFIG_OPTS="" DESTDIR="_install"
- CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2"
- - CONFIG_OPTS="no-asm no-makedepend --strict-warnings" BUILDONLY="yes" CHECKDOCS="yes" GENERATE="yes"
+ - CONFIG_OPTS="no-asm no-makedepend --str... |
Remove gpperfmon test from pr pipeline
We suspect that the gpperfmon test to be flakey.
This is not acceptable in a PR pipeline.
gpperfmon tests needs more work to be stable. | @@ -111,18 +111,6 @@ jobs:
timeout: 10m
on_failure: *pr_failure
- - task: gpperfmon
- file: gpdb_pr/concourse/tasks/behave_gpdb.yml
- image: centos-gpdb-dev-6
- input_mapping:
- gpdb_src: gpdb_pr
- bin_gpdb: gpdb_artifacts
- params:
- BEHAVE_TAGS: gpperfmon
- BLDWRAP_POSTGRES_CONF_ADDONS: ""
- timeout: 20m
- on_failure... |
bump petsc version to v3.7.5 | @@ -72,7 +72,7 @@ Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
Summary: Portable Extensible Toolkit for Scientific Computation
License: 2-clause BSD
Group: %{PROJ_NAME}/parallel-libs
-Version: 3.7.0
+Version: 3.7.5
Release: 0
Source0: http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.t... |
schema free BUGFIX typo | @@ -666,7 +666,7 @@ lysc_type2_free(struct ly_ctx *ctx, struct lysc_type **type)
void
lysc_type_free(struct ly_ctx *ctx, struct lysc_type *type)
{
- if (LY_ATOMIC_INC_BARRIER(type->refcount) > 1) {
+ if (LY_ATOMIC_DEC_BARRIER(type->refcount) > 1) {
return;
}
|
drivers/net: fix trivial Kconfig syntax error
Numerical range in Kconfig do not need to have a comma between start and
end value [1]. This commit fixes weird warnings that 'make menuconfig'
spits out as following:
drivers/net/Kconfig:130:warning: ignoring unsupported character ','
drivers/net/Kconfig:199:warning: ignor... | @@ -127,7 +127,7 @@ if ENC28J60
config ENC28J60_NINTERFACES
int "Number of physical ENC28J60"
default 1
- range 1,1
+ range 1 1
---help---
Specifies the number of physical ENC28J60
devices that will be supported.
@@ -196,7 +196,7 @@ if ENCX24J600
config ENC28J60_NINTERFACES
int "Number of physical ENCX24J600"
default 1... |
Use the right screen when displaying a menu (issue | @@ -523,8 +523,7 @@ void MapMenu(Menu *menu, int x, int y, char keyboard)
if(menu->parent) {
menu->screen = menu->parent->screen;
} else {
- menu->screen = GetCurrentScreen(x + menu->width / 2,
- y + menu->height / 2);
+ menu->screen = GetCurrentScreen(x, y);
}
if(x + menu->width > menu->screen->x + menu->screen->width... |
revert assert check for pollable socket | @@ -1744,7 +1744,6 @@ updatePollHandle(neat_ctx *ctx, neat_flow *flow, uv_poll_t *handle)
neat_log(ctx, NEAT_LOG_DEBUG, "%s", __func__);
assert(handle);
- assert(handle->data);
pollable_socket = handle->data;
#ifdef SCTP_MULTISTREAMING
@@ -1816,7 +1815,7 @@ updatePollHandle(neat_ctx *ctx, neat_flow *flow, uv_poll_t *ha... |
Remove sentence referring to non-existent functionality | <pt> -n <varname>locale</varname> | --locale=<varname>locale</varname>
</pt>
<pd>Sets the default locale used by Greenplum Database. If not specified, the
- <codeph>LC_ALL</codeph>, <codeph>LC_COLLATE</codeph>, or
- <codeph>LANG</codeph> environment variable of the coordinator host determines
- the locale. If these are... |
imxrt: Added workaround for Cortex-M7 errata | @@ -212,6 +212,7 @@ _syscall_dispatch:
mov lr, #0
msr control, lr
mov lr, #0xfffffff9
+ dmb
cpsie if
bx lr
@@ -292,6 +293,7 @@ _intd1:
ror r1, r1, #2
msr control, r1
+ dmb
cpsie if
bx lr
.size _interrupts_dispatch, .-_interrupts_dispatch
|
mem_sec.c: relax POSIX requirement.
Even though mlock(2) was standardized in POSIX.1-2001, vendors did
implement it prior that point. | /* e_os.h includes unistd.h, which defines _POSIX_VERSION */
#if !defined(OPENSSL_NO_SECURE_MEMORY) && defined(OPENSSL_SYS_UNIX) \
- && defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L
+ && ( (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) \
+ || defined(__sun) || defined(__hpux) || defined(__sgi) \
+ || def... |
Clean up redundant code checks.
PS: I don't think anybody manufactures a screen that has different
x and y pixel scale... | @@ -38,23 +38,12 @@ static
void recalculate_display_scale(SDL_Window* win, SDL_Renderer* rend)
{
int w0 = 0;
- int h0 = 0;
- SDL_GetWindowSize(win, &w0, &h0);
+ SDL_GetWindowSize(win, &w0, NULL);
int w1 = 0;
- int h1 = 0;
- SDL_GetRendererOutputSize(rend, &w1, &h1);
+ SDL_GetRendererOutputSize(rend, &w1, NULL);
- float... |
modify the pid parameter | @@ -12,8 +12,11 @@ type ConfigMessage struct {
OnCpuTime bool `json:"oncputime"`
Vfsstat bool `json:"vfsstat"`
Dcache bool `json:"dcache"`
- Pid string `json:"pid"`
+ PidFlag bool `json:"pidflag"`
+ // The real pid number
+ Pid string `json:"pid"`
+ // Store the config above to the 'BpfFilePath'
BpfFilePath []string `j... |
Fix Lua version in cabal description | @@ -4,7 +4,7 @@ synopsis: Bindings to Lua, an embeddable scripting language
description: The Foreign.Lua module is a wrapper of Lua language
interpreter as described on <https://www.lua.org/ lua.org>.
.
- This package contains a full Lua interpreter version 5.3.4.
+ This package contains a full Lua interpreter version ... |
kernel/os: os_dev_add check to see if device is already present
If the device is already present in the global list,
calling os_dev_add() can potentially result in an incorrect
list. Fix this by checking for the device when the list
is traversed. | @@ -64,7 +64,10 @@ os_dev_add(struct os_dev *dev)
*/
prev_dev = NULL;
STAILQ_FOREACH(cur_dev, &g_os_dev_list, od_next) {
- if (dev->od_stage < cur_dev->od_stage ||
+ if (dev == cur_dev) {
+ /* Do nothing */
+ return 0;
+ } else if (dev->od_stage < cur_dev->od_stage ||
((dev->od_stage == cur_dev->od_stage) &&
(dev->od_p... |
titanc: use environment variables CC and CFLAGS | @@ -62,11 +62,9 @@ local generated_code = coder.generate(modname, ast)
local ok, errmsg = util.set_file_contents(args.output, generated_code)
if not ok then exit(errmsg) end
-local CC = "gcc"
-local CFLAGS = "--std=c99 -O2 -Wall -I" .. args.lua .. " -fPIC"
+local CC = os.getenv("CC") or "gcc"
+local CFLAGS = os.getenv(... |
Bring some yacare-generated scripts back for smooth migration | @@ -1162,7 +1162,7 @@ macro _YCR_GENERATE_CONFIGS_INTL(Package, App, Configs...) {
}
macro _YCR_GENERATE_CONFIGS(Package, App) {
- .CMD=$_YCR_GENERATE_CONFIGS_INTL($Package $App ${pre=etc/yandex/maps/yacare/:App.conf} ${pre=etc/logrotate.d/:App} ${pre=etc/template_generator/templates/etc/logrotate.d/:App} ${pre=etc/mon... |
fpgabist: initialize dma_h to NULL | @@ -620,7 +620,7 @@ static int check_config()
int main(int argc, char *argv[])
{
fpga_result res = FPGA_OK;
- fpga_dma_handle dma_h;
+ fpga_dma_handle dma_h = NULL;
uint64_t count;
// fpga_properties filter = NULL;
fpga_token afc_token;
|
Correct the man page installation path in CMake Build
CMake build system : corrected the man page creation to PROJECT_BINARY_DIR
and avoid creation into PROJECT_SOURCE_DIR. | @@ -211,8 +211,9 @@ if(BUILD_tools)
target_link_libraries(xmlwf expat)
expat_install(TARGETS xmlwf DESTINATION ${CMAKE_INSTALL_BINDIR})
if(BUILD_doc)
- add_custom_command(TARGET expat PRE_BUILD COMMAND "${DOCBOOK_TO_MAN}" "${PROJECT_SOURCE_DIR}/doc/xmlwf.xml" && mv "XMLWF.1" "${PROJECT_SOURCE_DIR}/doc/xmlwf.1")
- expat... |
tap: Set the MTU on the TUN deivce
Type: fix
For a TAP device the MTU is set via the ethernet_register for TUN we
need to do it explicitly (like we do for other tunnel types). | @@ -66,6 +66,10 @@ VNET_HW_INTERFACE_CLASS (tun_device_hw_interface_class, static) =
};
/* *INDENT-ON* */
+#define TUN_MAX_PACKET_BYTES 65355
+#define TUN_MIN_PACKET_BYTES 64
+#define TUN_DEFAULT_PACKET_BYTES 1500
+
static u32
virtio_eth_flag_change (vnet_main_t * vnm, vnet_hw_interface_t * hi,
u32 flags)
@@ -741,6 +74... |
Fix PhDeleteDirectory regression from | @@ -8536,6 +8536,25 @@ static BOOLEAN PhpDeleteDirectoryCallback(
FILE_NON_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT
)))
{
+ if (WindowsVersion < WINDOWS_10_RS5) // We can ignore readonly attributes starting with RS5 (dmex)
+ {
+ IO_STATUS_BLOCK isb;
+ FILE_BASIC_INFORMATION fileInfo;
+
+ memset(&fileInfo, 0, sizeo... |
small change in user_pz_probability | @@ -30,8 +30,8 @@ struct user_func_params
// The user defines a function of the form double function ( z_ph, z_spec, void * user_pz_params) where user_pz_params is a pointer to the parameters of the user-defined function. This returns the probabilty of obtaining a given photo-z given a particular spec_z.
double user_pz... |
Fix for multiple paths. | @@ -14,11 +14,11 @@ jobs:
env:
cache-name: cache-zephyr-modules
with:
- path:
- - modules/
- - tools/
- - zephyr/
- - bootloader/
+ path: |
+ modules/
+ tools/
+ zephyr/
+ bootloader/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-... |
DDF for Lidl Silvercrest Garden Spike with 2 Sockets HG06620
Added device for Lidl Silvercrest Garden Spike with 2 Sockets HG06620 | @@ -220,6 +220,7 @@ static const lidlDevice lidlDevices[] = { // Sorted by zigbeeManufacturerName
{ "_TZ3000_el5kt5im", "TS0502A", "LIDL Livarno Lux", "HG06492A" }, // CT Light (GU10)
{ "_TZ3000_gek6snaj", "TS0505A", "LIDL Livarno Lux", "14149506L" }, // Lichtleiste
{ "_TZ3000_kdi2o9m6", "TS011F", "LIDL Silvercrest", "... |
Small intermediate fix for models without animators; | @@ -15,6 +15,8 @@ static void updateGlobalNodeTransform(Model* model, uint32_t nodeIndex, mat4 tra
if (model->animator) {
lovrAnimatorEvaluate(model->animator, nodeIndex, globalTransform);
+ } else {
+ mat4_multiply(globalTransform, node->transform);
}
for (uint32_t i = 0; i < node->childCount; i++) {
|
uart/driver: Add module reset before enabling
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes:
Closes: | @@ -665,20 +665,35 @@ esp_err_t uart_set_tx_idle_num(uart_port_t uart_num, uint16_t idle_num)
return ESP_OK;
}
+static periph_module_t get_periph_module(uart_port_t uart_num)
+{
+ periph_module_t periph_module = PERIPH_UART0_MODULE;
+ if (uart_num == UART_NUM_0) {
+ periph_module = PERIPH_UART0_MODULE;
+ } else if (uar... |
Return error if stream 0 is closed | @@ -1872,6 +1872,10 @@ static int conn_recv_handshake_pkt(ngtcp2_conn *conn, const uint8_t *pkt,
return NGTCP2_ERR_PROTO;
}
+ if (fr.stream.fin) {
+ return NGTCP2_ERR_PROTO;
+ }
+
rx_offset = ngtcp2_strm_rx_offset(conn->strm0);
if (rx_offset >= fr.stream.offset + fr.stream.datalen) {
continue;
@@ -2063,6 +2067,9 @@ sta... |
animate opening windows | @@ -1923,6 +1923,12 @@ manage(Window w, XWindowAttributes *wa)
newdesktop = 0;
createdesktop();
}
+
+ if (animated) {
+ resizeclient(c, c->x, c->y - 70, c->w, c->h);
+ animateclient(c,c->x, c->y + 70, 0,0,7,0);
+ }
+
}
void
@@ -1953,6 +1959,7 @@ maprequest(XEvent *e)
return;
if (!wintoclient(ev->window))
manage(ev->win... |
adjust launch options for -l | @@ -110,8 +110,12 @@ int xdag_init(int argc, char **argv, int isGui)
return 0;
} else if(ARG_EQUAL(argv[i], "-i", "")) { /* interactive mode */
return terminal();
- } else if(ARG_EQUAL(argv[i], "-l", "")) { /* list balance */
- return out_balances();
+ } else if(ARG_EQUAL(argv[i], "-z", "")) { /* memory map */
+ if (++... |
Fizz: Blink LED faster when requesting more power
Fizz blinks the power LED to alert a user when power supply isn't
enough. This patch makes the blinking speed twice as fast (on:1sec,
off:1sec).
BRANCH=none
TEST=Verify the LED blinks as intended. | @@ -161,7 +161,7 @@ void led_alert(int enable)
{
if (enable) {
/* Overwrite the current signal */
- CONFIG_TICK(LED_PULSE_US, LED_RED);
+ config_tick(1 * SECOND, 100, LED_RED);
led_tick();
} else {
/* Restore the previous signal */
|
mINI: Escape comment characters and backslashes | @@ -61,29 +61,46 @@ kdb umount /examples/mini
### Escaping
-As with most configuration file formats, some characters carry special meaning. In the case of the `mini` plugin that character is the `=` sign, which separates keys from values. In case of **key values** you do not need to care about the special meaning of th... |
CMSIS-NN: Chnaged some types on arm_avgpool_s8 | @@ -99,17 +99,17 @@ void arm_avgpool_s8(const int dim_src_height,
int8_t *dst)
{
(void)bufferA;
- int16_t i_x, i_y;
- int16_t k_x, k_y;
+ int32_t i_x, i_y;
+ int32_t k_x, k_y;
for (i_y = 0; i_y < dim_dst_height; i_y++)
{
for (i_x = 0; i_x < dim_dst_width; i_x++)
{
- int k_y_start,k_y_end;
- int k_x_start,k_x_end;
- uin... |
Add Symbol#id2name | @@ -34,6 +34,7 @@ void mrbc_init_class_symbol(mrb_vm *vm)
mrbc_class_symbol = mrbc_class_alloc(vm, "Symbol", mrbc_class_object);
mrbc_define_method(vm, mrbc_class_symbol, "to_s", c_symbol_to_s);
+ mrbc_define_method(vm, mrbc_class_symbol, "id2name", c_symbol_to_s);
mrbc_define_method(vm, mrbc_class_symbol, "to_sym", c_... |
OpenCore: Do not use trailing slash for root directory open | #define OPEN_CORE_IMAGE_PATH L"EFI\\OC\\OpenCore.efi"
-#define OPEN_CORE_ROOT_PATH L"EFI\\OC\\"
+/**
+ Multiple boards, namely ASUS P8H61-M and P8H61-M LX2 will not
+ open directories with trailing slash. It is irrelevant whether
+ front slash is present for them.
+
+ This means L"EFI\\OC\\" and L"\\EFI\\OC\\" will bot... |
Update sensors due on/off cluster events | @@ -5831,6 +5831,7 @@ void DeRestPluginPrivate::nodeEvent(const deCONZ::NodeEvent &event)
{
// sensor node?
case POWER_CONFIGURATION_CLUSTER_ID:
+ case ONOFF_CLUSTER_ID:
case ONOFF_SWITCH_CONFIGURATION_CLUSTER_ID:
case ILLUMINANCE_MEASUREMENT_CLUSTER_ID:
case ILLUMINANCE_LEVEL_SENSING_CLUSTER_ID:
|
link-chcker: flip http check logic | @@ -49,7 +49,7 @@ TRIES=5
check() {
link=$(echo "$1" | grep -oE "(https|http|ftp):[^|]*")
- secure_link=$(echo "$1" | grep -oE "(https|ftp):[^|]*")
+ http_link=$(echo "$1" | grep -oE "http:[^|]*")
files=$(echo "$1" | grep -oE "\|.*" | sed 's/|/ /g')
if echo "$link" | grep -Eqf "$WHITELIST"; then
@@ -61,7 +61,7 @@ check... |
Fix AttributeList creation | @@ -655,11 +655,11 @@ ParallelRegion::InjectPrintF
/*Name=*/"printf", M);
printfFunc->setCallingConv(CallingConv::C);
- AttributeList func_printf_PAL;
- {
- func_printf_PAL.addAttribute( M->getContext(), 1U, Attribute::NoCapture);
- func_printf_PAL.addAttribute( M->getContext(), 4294967295U, Attribute::NoUnwind);
- }
+... |
ubx_protocol change only: split U_UBX_PROTOCOL_HEADER_LENGTH_BYTES and U_UBX_PROTOCOL_OVERHEAD_LENGTH_BYTES. | @@ -40,12 +40,17 @@ extern "C" {
* COMPILE-TIME MACROS
* -------------------------------------------------------------- */
+/** The length of the ubx protocol (header consisting of 0xB5,
+ * 0x62, class, ID and two bytes of length).
+ */
+#define U_UBX_PROTOCOL_HEADER_LENGTH_BYTES 6
+
/** The overhead of the ubx protoc... |
Implement debugenvs for CodeLite | end
function m.environment(cfg)
+ local envs = table.concat(cfg.debugenvs, "\n")
+
_p(3, '<Environment EnvVarSetName="<Use Defaults>" DbgSetName="<Use Defaults>">')
- local variables = ""
- _x(4, '<![CDATA[%s]]>', variables)
+ _x(4, '<![CDATA[%s]]>', envs)
_p(3, '</Environment>')
end
|
VERSION bump to version 0.8.40 | @@ -28,7 +28,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 8)
-set(LIBNETCONF2_MICRO_VERSION 39)
+set(LIBNETCONF2_MICRO_VERSION 40)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(LI... |
DataBase: Update IM201 | BIOSVendor: "Apple Inc."
BIOSVersion: "1037.147.4.0.0"
-# FIXME:
-BIOSLegacyVersion: ""
-# FIXME:
+BIOSLegacyVersion: "IM201.88Z.F000.B00.2007122318"
BIOSReleaseDate: "07/12/2020"
SystemManufacturer: "Apple Inc."
SystemProductName: "iMac20,1"
@@ -54,8 +52,19 @@ SmcPlatform:
- 0x00
- 0x00
- 0x00
-# FIXME:
OEMStrings: |-... |
doc: fix arc42 link | We use decision template is based on
[Using patterns to capture architectural decisions](http://www.cs.rug.nl/~paris/papers/IEEESW07.pdf)
-and [arc42 decisions](http://confluence.arc42.org/display/templateEN/9.+Design+Decisions)
+and [arc42 decisions](http://docs.arc42.org/section-9/)
To add a new decision copy templat... |
build: update mingw CI to use "ares" cachix cache | @@ -132,7 +132,7 @@ jobs:
# echo suppresses pacman prompt
- run: echo|./configure --enable-static
env:
- CACHIX_CACHE: locpyl-tidnyd-test1
+ CACHIX_CACHE: ares
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: make build/urbit build/urbit-worker
|
nimble/host: Enable auth payload tmo event only for >=4.1
LE Ping was added in Core 4.1 thus Authenticated Payload Timeout Event
shall be only enabled for controller supporting >=4.1.
Note it would be also good to check for controller features to confirm,
but we do not have this implemented yet. | @@ -279,8 +279,11 @@ static int
ble_hs_startup_set_evmask_tx(void)
{
uint8_t buf[BLE_HCI_SET_EVENT_MASK_LEN];
+ uint8_t version;
int rc;
+ version = ble_hs_hci_get_hci_version();
+
/**
* Enable the following events:
* 0x0000000000000010 Disconnection Complete Event
@@ -298,6 +301,7 @@ ble_hs_startup_set_evmask_tx(void)... |
Use stlink_erase_flash_section in stlink_write_flash | @@ -3491,7 +3491,6 @@ int stlink_flashloader_stop(stlink_t *sl, flash_loader_t *fl) {
int stlink_write_flash(stlink_t *sl, stm32_addr_t addr, uint8_t *base,
uint32_t len, uint8_t eraseonly) {
- size_t off;
int ret;
flash_loader_t fl;
ILOG("Attempting to write %d (%#x) bytes to stm32 address: %u (%#x)\n", len,
@@ -3525,... |
Also run unit tests. | @@ -7,10 +7,15 @@ compiler:
- gcc
env:
- - CHECKED=no
- - CHECKED=yes
+ - CHECKED=no BUILD_DIR=build
+ - CHECKED=yes BUILD_DIR=build.checked
-script: make NO_GIT_FILE=1
+script:
+ - make NO_GIT_FILE=1
+ - $(BUILD_DIR)/t2-unittest
+
+ # This needs some more work
+ #- perl run-tests.pl $(BUILD_DIR)/tundra2
addons:
apt:
|
hw: bsp: pic32mx470_6lp_clicker: Implement hal_bsp_flash_dev | #include <hal/hal_bsp.h>
#include <syscfg/syscfg.h>
#include <mcu/mcu.h>
+#include <mcu/mips_bsp.h>
#include <mcu/mips_hal.h>
#include "hal/hal_i2c.h"
@@ -117,7 +118,14 @@ static const struct mips_i2c_cfg hal_i2c0_cfg = {
const struct hal_flash *
hal_bsp_flash_dev(uint8_t id)
{
- return 0;
+ /*
+ * Internal flash mappe... |
papi: expose vpp_papi version to client
root@ae2a2e85c5d4:/vpp/src/vpp-api/python# python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vpp_papi
>>> vpp_papi.__version__
'1.6.2'
Type: feature | @@ -9,3 +9,9 @@ from . macaddress import MACAddress, mac_pton, mac_ntop # noqa: F401
from .vpp_serializer import BaseTypes # noqa: F401
from .vpp_serializer import VPPEnumType, VPPType, VPPTypeAlias # noqa: F401
from .vpp_serializer import VPPMessage, VPPUnionType # noqa: F401
+
+import pkg_resources # part of setuptoo... |
tcp: fix lock contention in tcp_write() | @@ -952,30 +952,16 @@ ssize_t tcp_write(tcpconn_t *c, const void *buf, size_t len)
size_t winlen;
ssize_t ret;
- spin_lock_np(&c->lock);
-
- /* block until there is an actionable event */
- while (!c->tx_closed &&
- (c->pcb.state < TCP_STATE_ESTABLISHED || c->tx_exclusive ||
- wraps_lte(c->pcb.snd_una + c->pcb.snd_wnd ... |
dump command | @@ -90,7 +90,8 @@ M3Result repl_load_hex (IM3Runtime runtime, u32 fsize)
hex_idx = 0;
}
}
- fgets(hex, 3, stdin); // Consume a newline
+ if (!fgets(hex, 3, stdin)) // Consume a newline
+ return "cannot read EOL";
}
IM3Module module;
@@ -126,6 +127,23 @@ M3Result repl_call (IM3Runtime runtime, const char* name, int argc... |
Interop logs to text files | @@ -71,7 +71,7 @@ if [ "$ROLE" == "client" ]; then
fi
done
else
- /picoquicdemo $TEST_PARAMS server 443 $FILELIST
+ /picoquicdemo $TEST_PARAMS server 443 $FILELIST > /logs/client.log
fi
elif [ "$ROLE" == "server" ]; then
TEST_PARAMS="$SERVER_PARAMS -k /certs/key.pem"
@@ -79,5 +79,5 @@ elif [ "$ROLE" == "server" ]; then... |
zephyr/shim/src/ioex.c: Format with clang-format
BRANCH=none
TEST=none | @@ -42,8 +42,8 @@ static int ioex_init_default(const struct device *unused)
for (i = 0; i < CONFIG_IO_EXPANDER_PORT_COUNT; i++) {
/* IO Expander has been initialized, skip re-initializing */
- if (ioex_config[i].flags & (IOEX_FLAGS_INITIALIZED |
- IOEX_FLAGS_DEFAULT_INIT_DISABLED))
+ if (ioex_config[i].flags &
+ (IOEX_... |
Minor PKCS5 improvements
Add consts, more elegant size calculation and
variable initialization. | @@ -312,15 +312,15 @@ int mbedtls_pkcs5_pbkdf2_hmac_ext( mbedtls_md_type_t md_alg,
{
#if defined(MBEDTLS_MD_C)
mbedtls_md_context_t md_ctx;
- const mbedtls_md_info_t *md_info;
- int ret;
-
- mbedtls_md_init( &md_ctx );
+ const mbedtls_md_info_t *md_info = NULL;
+ int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
md_info... |
cmake: enable _FORTIFY_SOURCE only for release builds | @@ -103,9 +103,13 @@ set_target_properties(s2n PROPERTIES LINKER_LANGUAGE C)
set(CMAKE_C_FLAGS_DEBUGOPT "")
target_compile_options(s2n PRIVATE -pedantic -std=c99 -Wall -Werror -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wno-deprecated-declarations -... |
Explicitly cast 0.f (now 0.0) to tsReal. | @@ -336,7 +336,7 @@ tsError ts_bspline_set_knot_at(tsBSpline *spline, size_t index, tsReal knot,
tsStatus *status)
{
tsReal *knots = NULL;
- tsReal oldKnot = 0.f;
+ tsReal oldKnot = (tsReal) 0.0;
tsError err;
TS_TRY(try, err, status)
TS_CALL(try, err, ts_int_bspline_access_knot_at(
|
Redirect the error to log message
Earlier the error was sent to /dev/null and the information was lost
displaying the cause of the error. Redirect the error to log file. | @@ -1233,7 +1233,7 @@ CREATE_QD_DB () {
BUILD_GPSSH_CONF $GP_DIR
LOG_MSG "[INFO]:-Starting the Master in admin mode" 1
export PGPORT=$GP_PORT;$PG_CTL -w -l $GP_DIR/log/startup.log -D $GP_DIR -o "-i -p $GP_PORT -c gp_role=utility \
- -m" start >> /dev/null 2>&1
+ -m" start >> ${LOG_FILE} 2>&1
RET_TEXT="`$PG_CTL status -... |
CBLK: Adding some documentation | -# README.md Example
+# SNAP NVMe Blocklayer
-Please put some more information here.
+The SNAP NVMe blocklayer provides a shared library which is compatible to the IBM CapiFLASH block API (https://github.com/open-power/capiflash). The SNAP version does not implement the entire API, but instead just the bare minimum: cb... |
Fix the bug that CLI command 'time' always returns 0 | @@ -639,7 +639,7 @@ static void reboot_cmd(char *buf, int len, int argc, char **argv)
static void uptime_cmd(char *buf, int len, int argc, char **argv)
{
- aos_cli_printf("UP time %ldms\r\n", aos_now_ms());
+ aos_cli_printf("UP time %ld ms\r\n", (long)aos_now_ms());
}
void tftp_ota_thread(void *arg)
|
get-gcp-token: docs, formatting
Correct expiry from -> and set max cols to 72. | :: Gets a Google Storage access token.
::
-:: This thread produces a pair of [access-token expires-at], where
-:: access-token is a @t that can be used as a bearer token to talk to the
-:: GCP Storage API on behalf of some service account, and expires-at is
-:: a @da after which the token will stop working and need to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.