message
stringlengths
6
474
diff
stringlengths
8
5.22k
[autobuild] remove obsolete warning about mmap use lighttpd protects against SIGBUS when accessing mmap'd files
@@ -1184,14 +1184,13 @@ if test "$ipv6" = true; then fi fi -# disable mmap by default; if a mmapped file gets truncated, the process gets a SIGBUS signal -# on reading the truncated area which we can't handle (yet). +# disable mmap by default # lighttpd may always use mmap with files it owns (created tmp files) AC_MSG_...
system/sched_note: fix build break
@@ -121,7 +121,7 @@ static void dump_notes(size_t nread) while (offset < nread) { note = (FAR struct note_common_s *)&g_note_buffer[offset]; - trace_dump_unflatten(&pid, note->note->nc_pid, sizeof(pid)); + trace_dump_unflatten(&pid, note->nc_pid, sizeof(pid)); #ifdef CONFIG_SCHED_INSTRUMENTATION_HIRES trace_dump_unflat...
rtdl: move __dlapi_close behind posix option
@@ -303,13 +303,6 @@ extern "C" void *interpreterMain(uintptr_t *entry_stack) { return executableSO->entry; } -extern "C" [[ gnu::visibility("default") ]] -int __dlapi_close(void *) { - if (logDlCalls) - mlibc::infoLogger() << "mlibc: dlclose() is a no-op" << frg::endlog; - return 0; -} - const char *lastError; extern ...
ip: add the missing offload check Type: fix
@@ -1479,10 +1479,10 @@ ip4_local_check_l4_csum_x2 (vlib_main_t * vm, vlib_buffer_t ** b, if (PREDICT_FALSE (ip4_local_need_csum_check (is_tcp_udp[0], b[0]) || ip4_local_need_csum_check (is_tcp_udp[1], b[1]))) { - if (is_tcp_udp[0]) + if (is_tcp_udp[0] && !ip4_local_csum_is_offloaded (b[0])) ip4_local_l4_csum_validate ...
cortex-m: stop generating the map file The mapfile is only used by Cooja and MSPSim in Contiki-NG nowadays.
@@ -14,7 +14,7 @@ MODULES += os/lib/newlib LDFLAGS += -T $(LDSCRIPT) LDFLAGS += -Wl,--gc-sections,--sort-section=alignment -LDFLAGS += -Wl,-Map=$(CONTIKI_NG_PROJECT_MAP),--cref,--no-warn-mismatch +LDFLAGS += -Wl,--cref,--no-warn-mismatch OBJCOPY_FLAGS += --gap-fill 0xff
linux-raspberrypi: Update to v4.14.58
-LINUX_VERSION ?= "4.14.52" +LINUX_VERSION ?= "4.14.58" -SRCREV = "36d224f4ae8759252a3583f147ae4487a9790073" +SRCREV = "a06f9e522301dfacc1f382d72e6a9792d8350328" SRC_URI = " \ git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y \ file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
BugID:22520178: fixed complilation issue on linuxhost
@@ -21,7 +21,7 @@ extern "C" { #define cut_free free #define CUT_CASE_MAX_CNT (64) -#define CUT_MSG_MAX_LEN (64) +#define CUT_MSG_MAX_LEN (128) extern int cut_main(int argc, char** argv); extern struct cut_runtime cut;
Bug fix: OTA update did not complete because the job name was set to null during testing phase. The code now frees up the job name and sets it to null after sending back the appropriate status message for completion.
@@ -2610,8 +2610,11 @@ static OTA_FileContext_t * prvParseJobDoc( const char * pcJSON, if ( (C != NULL) && (C->pucJobName != NULL) ) { xOTA_Agent.pcOTA_Singleton_ActiveJobName = C->pucJobName; - /* TODO: Report version other than 0 */ + C->pucJobName = NULL; prvUpdateJobStatus( NULL, eJobStatus_Succeeded, ( int32_t ) e...
Remove author/version for files
@@ -246,6 +246,8 @@ void load_current_game_metadata() { selected_game_metadata.description = "Launches with: " + selected_game_metadata.title; selected_game_metadata.title = game.title; + selected_game_metadata.author = ""; + selected_game_metadata.version = ""; loaded = true; } else loaded = parse_file_metadata(game.f...
Fix CREAL,CIMAG macros for PGI
@@ -556,8 +556,13 @@ static void __inline blas_lock(volatile BLASULONG *address){ #endif #if defined(C_PGI) || defined(C_SUN) + #if defined(__STDC_IEC_559_COMPLEX__) + #define CREAL(X) creal(X) + #define CIMAG(X) cimag(X) + #else #define CREAL(X) (*((FLOAT *)&X + 0)) #define CIMAG(X) (*((FLOAT *)&X + 1)) + #endif #else...
guybrush: Add A1 retimer gpio A1 retimer gpio on io expander were missed. TEST=ioxget BRANCH=None
@@ -141,6 +141,8 @@ IOEX(USB_A0_LIMIT_SDP, EXPIN(USBC_PORT_C0, 1, 6), GPIO_OUT_LOW) IOEX(USB_C0_SBU_FLIP, EXPIN(USBC_PORT_C0, 1, 7), GPIO_OUT_LOW) /* TCPC C1 */ +IOEX(USB_A1_RETIMER_EN, EXPIN(USBC_PORT_C1, 0, 0), GPIO_OUT_LOW) +IOEX(USB_A1_RETIMER_RST, EXPIN(USBC_PORT_C1, 0, 1), GPIO_OUT_LOW) IOEX(USB_C1_IN_HPD, EXPIN(...
vere: fixes re-entrancy bug in term.c write() wrapper
@@ -39,8 +39,10 @@ _write(c3_i fid_i, const void* buf_v, size_t len_i) // assert on true errors // + // NB: can't call u3l_log here or we would re-enter _write() + // if ( ret_i < 0 ) { - u3l_log("term: write failed %s\r\n", strerror(errno)); + fprintf(stderr, "term: write failed %s\r\n", strerror(errno)); c3_assert(0)...
Check Formatting: Fail if `reformat-cmake` fails
@@ -23,7 +23,7 @@ fi if which sponge > /dev/null || which cmake-format > /dev/null then - scripts/reformat-cmake + scripts/reformat-cmake || exit 1 else echo 'Warning: Since either `sponge` or `cmake-format` is not available I will not check the formatting of the CMake code.' fi
Avoid const castaway warning
@@ -162,8 +162,8 @@ static int test_engines(void) ENGINE_free(ptr); } for (loop = 0; loop < NUMTOADD; loop++) { - OPENSSL_free((void *)ENGINE_get_id(block[loop])); - OPENSSL_free((void *)ENGINE_get_name(block[loop])); + OPENSSL_free((void *)(intptr_t)ENGINE_get_id(block[loop])); + OPENSSL_free((void *)(intptr_t)ENGINE_...
Fixed setting timezone on RPI
@@ -264,6 +264,8 @@ void DeRestPluginPrivate::initTimezone() if (getenv("TZ") != gwTimezone) { setenv("TZ", qPrintable(gwTimezone), 1); + //also set zoneinfo on RPI + symlink("/usr/share/zoneinfo/" + timezone, "/etc/localtime"); } } tzset(); @@ -1960,6 +1962,9 @@ int DeRestPluginPrivate::modifyConfig(const ApiRequest &...
Ask glfw for an srgb capable window;
@@ -156,6 +156,7 @@ void lovrGraphicsCreateWindow(int w, int h, bool fullscreen, int msaa, const cha glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); glfwWindowHint(GLFW_SAMPLES, msaa); + glfwWindowHint(GLFW_SRGB_CAPABLE, state.gammaCorrect); #else glfwWindowHint(GLFW_CONTEX...
Teach cmake to find libusb-1.0 port/pkg on OpenBSD On OpenBSD libusb is provided by the libusb1 port/package.
@@ -43,6 +43,23 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") # FreeBSD; libusb is message(FATAL_ERROR "Expected libusb library not found on your system! Verify your system integrity.") endif () +elseif (CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") # OpenBSD; libusb-1.0 is available from ports + FIND_PATH( + LIBUSB_INCLUDE...
examples/sx127x_demo/sx127x_demo.c: RX/TX only if RX/TX enabled
@@ -435,7 +435,9 @@ errout: int main(int argc, FAR char *argv[]) { +#ifdef CONFIG_LPWAN_SX127X_RXSUPPORT struct sx127x_read_hdr_s data; +#endif struct sx127x_chanscan_ioc_s chanscan; struct args_s *args; struct timespec tstart; @@ -528,6 +530,7 @@ int main(int argc, FAR char *argv[]) { switch (args->app_mode) { +#ifdef...
BugID:22318586:[coap]add sleep for CoAPMessage_cycle to reduce power consumption
@@ -648,11 +648,14 @@ static void Retansmit(void *context) extern void *coap_yield_mutex; +#define COAP_CYCLE_DURATION 100 int CoAPMessage_cycle(CoAPContext *context) { int res = 0; CoAPIntContext *ctx = (CoAPIntContext *)context; + uint32_t exp_time, after_time; + exp_time = (uint32_t)HAL_UptimeMs() + COAP_CYCLE_DURAT...
mangoapp: don't write imgui.ini
@@ -124,6 +124,7 @@ GLFWwindow* init(GLFWwindow* window, const char* glsl_version){ glfwSwapInterval(1); // Enable vsync ImGui::CreateContext(); ImGuiIO& io = ImGui::GetIO(); (void)io; + io.IniFilename = NULL; ImGui::StyleColorsDark(); ImGui_ImplGlfw_InitForOpenGL(window, true); ImGui_ImplOpenGL3_Init(glsl_version);
Removed unused ++etch arms from agent.
~& [%r-peer-sole ost.hid] ra-abet:(ra-console:ra src.hid t.pax) :: -::TODO move to lib. -++ etch :: parse wire - ::x parse wire to obtain either %friend with story and station or %repeat - ::x with message number, source ship and story. - :: - |= way/wire - ^- weir - ?+ -.way !! - $friend - ?> ?=({$show @ @ @ $~} t.way...
add fortran build components for powerpc. Now all archs build all components
@@ -89,12 +89,8 @@ elif [ "$AOMP_STANDALONE_BUILD" != 1 ] ; then components="project libdevice comgr rocminfo hip extras atmi openmp pgmath flang flang_runtime" else # The standalone build builds all rocm components and installs in the compiler installation. - if [ "$AOMP_PROC" == "ppc64le" ] ; then - components="roct ...
Fix gpsegstop unittests It looks like this is passing in concourse, however, this test suite is having issues running properly. One of the mocks is not returning the proper behavior causing the test to fail.
@@ -38,7 +38,8 @@ class SegStopTestCase(unittest.TestCase): @patch('gppylib.commands.gp.SegmentIsShutDown.is_shutdown', return_value=True) @patch('gpsegstop.unix.kill_9_segment_processes') @patch('gpsegstop.pg.ReadPostmasterTempFile.getResults', return_value=(True, 1234, '/tmp/gpseg0')) - def test_run(self, mock1, mock...
spi_slave.c:fix DMA channel set to zero which might gets conflict with assert close
@@ -218,7 +218,7 @@ cleanup: free(spihost[host]); spihost[host] = NULL; spicommon_periph_free(host); - spicommon_dma_chan_free(dma_chan); + if (dma_chan != 0) spicommon_dma_chan_free(dma_chan); return ret; }
adjusts schematic for renderer tests, disables failing renderers
our live=| ^- schematic:ford - :: XX what should the rail be? - :- [%bake a fake-fcgi now-disc /example] + =/ bem=beam (need (de-beam %/example)) + =/ =rail [[p q] s]:bem + :- [%bake a fake-fcgi rail] [%$ %cont !>(b)] :: ++ poke-noun %cores [ost (build-core [- +]:(list-hoons p.a skip=(sy /sys /ren ~)))]~ %names ~&((lis...
Package: Shallow clone repository
os.rmdir(pkgName) print("Cloning source code") - local z = execQuiet("git clone .. %s -b %s --recurse-submodules", pkgName, branch) + local z = execQuiet("git clone .. %s -b %s --recurse-submodules --depth 1 --shallow-submodules", pkgName, branch) if not z then error("clone failed", 0) end
in_serial: replace msgpack_pack_bin with str
@@ -83,8 +83,8 @@ static inline int process_pack(struct flb_in_serial_config *ctx, msgpack_pack_uint64(&ctx->i_ins->mp_pck, time(NULL)); msgpack_pack_map(&ctx->i_ins->mp_pck, 1); - msgpack_pack_bin(&ctx->i_ins->mp_pck, 3); - msgpack_pack_bin_body(&ctx->i_ins->mp_pck, "msg", 3); + msgpack_pack_str(&ctx->i_ins->mp_pck, 3...
mINI: Extend test for configuration write back
key=value +space=wide open spaces
ansi: Fix bug in strncpy()
@@ -26,7 +26,7 @@ void *memmove(void *dest, const void *src, size_t size) { char *strcpy(char *__restrict dest, const char *src) { char *dest_bytes = (char *)dest; char *src_bytes = (char *)src; - for(size_t i = 0; *src_bytes; i++) + while(*src_bytes) *(dest_bytes++) = *(src_bytes++); *dest_bytes = 0; return dest; @@ -...
Dashed lines on connections
@@ -86,6 +86,7 @@ export default React.memo( e="M10 80 Q 95 10 180 80" stroke="#00bcd4" fill="transparent" + strokeDasharray="3" /> </g> ))}
[examples] Fix tetra.py comments.
@@ -46,11 +46,11 @@ with Hdf5() as io: ch = ConvexHull(pts) inertia,volume=ch.inertia(ch.centroid()) - # The cube object made with an unique Contactor : the tetrahedron shape. - # As a mass is given, it is a dynamic system involved in contact - # detection and in the simulation. With no group id specified the - # Conta...
Mention FP opcodes in CHANGELOG
@@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added support for the OTP `math` module - Added support for `erlang:integer_to_list/2` and `erlang:integer_to_binary/2` - Added functions `esp:sleep_enable_ext0_wakeup/2` and `esp:sleep_enable_ext1_wakeup/2.` +- Added s...
Add the ability to supress deprecation warnings We add a new macro OPENSSL_SUPRESS_DEPRECATED which enables applications to supress deprecation warnings where necessary.
*/ # ifndef DECLARE_DEPRECATED # define DECLARE_DEPRECATED(f) f; +# ifndef OPENSSL_SUPPRESS_DEPRECATED # ifdef __GNUC__ # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) # undef DECLARE_DEPRECATED # endif # endif # endif +# endif /* * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
[core] make setrlimit() warn, not fatal (thx limb) make setrlimit() issue warning on error, not fatal, and add suggesting to configure SELinux permissions
@@ -1357,7 +1357,8 @@ static int server_main_setup (server * const srv, int argc, char **argv) { if (0 != setrlimit(RLIMIT_NOFILE, &rlim)) { log_perror(srv->errh, __FILE__, __LINE__, "setrlimit()"); - return -1; + log_error(srv->errh, __FILE__, __LINE__, "setrlimit() may need root to run once: setsebool -P httpd_setrli...
Update sandbox whitelists
@@ -196,7 +196,7 @@ void LuaSandbox::InitializeExtraLibsForSandbox(Sandbox& aSandbox) const auto& sbEnv = aSandbox.GetEnvironment(); // copy extra whitelisted libs from global table - constexpr std::array<std::string_view, 18> whitelistedTables = + constexpr std::array<std::string_view, 22> whitelistedTables = { "ImGui...
Updated MPI layer to post Irecvs and **not** issues any Iprobes as part of recv. message processing.
@@ -33,8 +33,8 @@ static struct act_q posted_sends; static struct act_q posted_recvs; static tw_eventq outq; -static unsigned int read_buffer = 50000; -static unsigned int send_buffer = 50000; +static unsigned int read_buffer = 16; +static unsigned int send_buffer = 1024; static int world_size = 1; static const tw_optd...
Code of conduct link in contributing guidelines was broken
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. -Please note we have a [Code of Conduct](/.github/CODE_OF_CONDUCT), please follow it in all your interactions with the project. +Please ...
Do not destroy uninitialized screen When --no-display was passed, screen_destroy() was called while screen_init() was never called. In practice, it did not crash because it just freed NULL pointers, but it was still incorrect.
@@ -282,6 +282,7 @@ scrcpy(const struct scrcpy_options *options) { bool stream_started = false; bool controller_initialized = false; bool controller_started = false; + bool screen_initialized = false; bool record = !!options->record_filename; struct server_params params = { @@ -399,6 +400,7 @@ scrcpy(const struct scrcp...
nimble/hw: Apply and erratas also for nRF52840 Although Nordic's infocenter claims this is fixed in final build of nRF52840, LL/ENC/MAS/BI-01-C was failing without enabling those.
@@ -245,7 +245,6 @@ struct nrf_ccm_data struct nrf_ccm_data g_nrf_ccm_data; #endif -#ifdef NRF52 static void ble_phy_apply_errata_102_106_107(void) { @@ -256,7 +255,6 @@ ble_phy_apply_errata_102_106_107(void) *(volatile uint32_t *)0x40001774 = ((*(volatile uint32_t *)0x40001774) & 0xfffffffe) | 0x01000000; } -#endif #i...
mpi-families/libfabric: bump version to v1.10.1
%define pname libfabric Name: libfabric%{PROJ_DELIM} -Version: 1.10.0 +Version: 1.10.1 Release: 1%{?dist} Summary: User-space RDMA Fabric Interfaces Group: %{PROJ_NAME}/mpi-families
Note version requirement for glfw;
@@ -93,6 +93,9 @@ elseif(NOT EMSCRIPTEN) include_directories(${GLFW_INCLUDE_DIRS}) set(LOVR_GLFW ${GLFW_LIBRARIES}) endif() +if(GLFW_VERSION VERSION_LESS "3.2") + message(FATAL_ERROR "GLFW 3.2 is required") +endif() unset(LIB_SUFFIX CACHE) # Lua
odissey: print periodic statistics
#include "od_fe.h" #include "od_be.h" +static inline void +od_periodic_stats (od_pooler_t *pooler) +{ + od_log(&pooler->od->log, NULL, "statistics: clients %d", + pooler->client_list.count); + od_list_t *i; + od_listforeach(&pooler->route_pool.list, i) { + od_route_t *route; + route = od_container_of(i, od_route_t, lin...
memif: construct interface name out of socket file idx and intf id
@@ -50,9 +50,11 @@ static char *memif_tx_func_error_strings[] = { u8 * format_memif_device_name (u8 * s, va_list * args) { - u32 i = va_arg (*args, u32); + u32 dev_instance = va_arg (*args, u32); + memif_main_t *mm = &memif_main; + memif_if_t *mif = pool_elt_at_index (mm->interfaces, dev_instance); - s = format (s, "me...
common BUGFIX condition typo
@@ -2331,7 +2331,7 @@ sr_chmodown(const char *path, const char *owner, const char *group, mode_t perm) /* apply owner changes, if any */ if (chown(path, uid, gid) == -1) { - if ((errno == EACCES) || (errno = EPERM)) { + if ((errno == EACCES) || (errno == EPERM)) { err_code = SR_ERR_UNAUTHORIZED; } else { err_code = SR_...
Fix typo in comment The one in rsa.c was overlooked when fixing the same comment in pkey.c as part of
@@ -230,7 +230,7 @@ int rsa_main(int argc, char **argv) ERR_GET_REASON(err) != ERR_R_MALLOC_FAILURE) { BIO_printf(out, "RSA key error: %s\n", ERR_reason_error_string(err)); - ERR_get_error(); /* remove e from error stack */ + ERR_get_error(); /* remove err from error stack */ } } else if (r == -1) { ERR_print_errors(bi...
py/objgenerator: Save state in old_globals instead of local variable. The code_state.old_globals variable is there to save the globals state so should be used for this purpose, to avoid the need for additional local variables on the C stack.
@@ -117,10 +117,10 @@ mp_vm_return_kind_t mp_obj_gen_resume(mp_obj_t self_in, mp_obj_t send_value, mp_ *self->code_state.sp = send_value; } } - mp_obj_dict_t *old_globals = mp_globals_get(); + self->code_state.old_globals = mp_globals_get(); mp_globals_set(self->globals); mp_vm_return_kind_t ret_kind = mp_execute_bytec...
Fix a crash with malformed user notice policy numbers
@@ -345,10 +345,10 @@ static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos) return 1; merr: + ASN1_INTEGER_free(aint); X509V3err(X509V3_F_NREF_NOS, ERR_R_MALLOC_FAILURE); err: - sk_ASN1_INTEGER_pop_free(nnums, ASN1_STRING_free); return 0; }
core: cleanup old global keyset code
@@ -535,9 +535,7 @@ static int elektraGetCheckUpdateNeeded (Split * split, Key * parentKey, KeySet * ksRewind (split->keysets[i]); keySetName (parentKey, keyName (split->parents[i])); keySetString (parentKey, ""); - resolver->global = global; ret = resolver->kdbGet (resolver, split->keysets[i], parentKey); - resolver->...
Clean up: Remove examples/examples.dev from distro
@@ -425,10 +425,10 @@ add_subdirectory( ifs_samples ) # must come after samples # ecbuild_dont_pack( DIRS samples DONT_PACK_REGEX "*.grib" ) ecbuild_dont_pack( DIRS - concepts tests.ecmwf doxygen confluence examples.dev templates parameters java + concepts tests.ecmwf doxygen confluence templates parameters java perl c...
Fix update_config.sh to consider the new app scenario If user enables a new app and calls update_config.sh, updated_config.sh will concatenate new app config with .config
@@ -35,27 +35,34 @@ function write_config(){ sed -i '/CONFIG_ENTRY_MANUAL/{ s/# //g ; s/ is not set/=y/g }' $config_path fi - # update .config use config from metafile; - # if OLD_CONFIG_USE is not updated => maintain origin CONFIG_USE; - # else OLD_CONFIG and NEW_CONFIG are not equal => change CONFIG_USE; + # update ....
sdl/render: use normal SDL_RenderCopy() if `dst` is nil There was a workaround to prevent memory corruption if passed `dst` from Go but it failed to account for nil `dst`.
@@ -770,6 +770,14 @@ func (renderer *Renderer) FillRects(rects []Rect) error { // Copy copies a portion of the texture to the current rendering target. // (https://wiki.libsdl.org/SDL_RenderCopy) func (renderer *Renderer) Copy(texture *Texture, src, dst *Rect) error { + if dst == nil { + return errorFromInt(int( + C.SD...
Packages: include unit.spec under specs target.
@@ -59,7 +59,7 @@ all: check-build-depends-all unit modules modules: $(addprefix unit-, $(MODULES)) -specs: $(addsuffix .spec, $(addprefix rpmbuild/SPECS/unit-, $(MODULES))) +specs: rpmbuild/SPECS/unit.spec $(addsuffix .spec, $(addprefix rpmbuild/SPECS/unit-, $(MODULES))) check-build-depends-%: @{ \
update link to HermesIntf in sdr_receiver_hpsdr/bazaar/index.html
<h3>Running CW Skimmer Server</h3> <ul> <li>Install <a href="http://dxatlas.com/skimserver" target="_blank">CW Skimmer Server</a>.</li> -<li>Copy <a href="https://sourceforge.net/projects/hermesintf/files" target="_blank">HermesIntf.dll</a> to the CW Skimmer Server program directory (C:\Program Files (x86)\Afreet\SkimS...
publish: set font size for ordered lists
@@ -242,7 +242,7 @@ a { display: none; } -.md h1, .md h2, .md h3, .md h4, .md h5, .md p, .md a, .md ul, .md blockquote,.md code,.md pre { +.md h1, .md h2, .md h3, .md h4, .md h5, .md p, .md a, .md ul, .md ol, .md blockquote,.md code,.md pre { font-size: 14px; margin-bottom: 16px; }
I modified the CMakeLists.txt file in the data directory to untar files of the name "*test_data*.tar.gz" instead of just "*test_data.tar.gz".
# properly. Reworked the create_data_examples targets so things work # correctly on Windows. # +# Eric Brugger, Wed Sep 20 17:35:37 PDT 2017 +# Modify the script to untar files of the name "*test_data*.tar.gz" instead +# of just "*test_data.tar.gz". +# #******************************************************************...
sys/config: Simplify conf_str_from_value() Don't treat 64-bit integers specially. Just convert all integers to 64-bit and process them with common code.
@@ -258,45 +258,45 @@ conf_bytes_from_str(char *val_str, void *vp, int *len) char * conf_str_from_value(enum conf_type type, void *vp, char *buf, int buf_len) { - int32_t val; - uint32_t uval; + int64_t val; + uint64_t uval; if (type == CONF_STRING) { return vp; } switch (type) { + case CONF_BOOL: case CONF_INT8: case ...
Added surface_area_over_time tests to the skip list.
{"category":"operators","file":"ic_streamlines.py"}, {"category":"operators","file":"lcs_operator.py"}, {"category":"queries","file":"IntegralCurveInfo.py"}, + {"category":"queries","file":"surface_area_over_time.py"}, {"category":"rendering","file":"view.py","cases":["view_16","view_17"]}, {"category":"simulation","fi...
meson: fixed warnings.
@@ -75,7 +75,7 @@ libcriterion = both_libraries('criterion', sources, version: '3.1.0', dependencies: deps, install: true, - link_args: cc.get_supported_arguments([ + link_args: cc.get_supported_link_arguments([ '-Wl,--exclude-libs,ALL', ]), ) @@ -90,6 +90,5 @@ pkgconfig.generate( name: meson.project_name(), descriptio...
Add sce_paf_malloc_align function
@@ -15,6 +15,8 @@ extern "C" { void sce_paf_private_free(void *ptr); void *sce_paf_private_malloc(SceSize size); +void *sce_paf_malloc_align(SceUInt32 align, SceSize length); + void *sce_paf_private_bzero(void *ptr, SceSize num); void *sce_paf_private_memchr(const void *ptr, int value, SceSize num); int sce_paf_private...
dpdk: QAT devices update, add c4xxx and xeon d15xx Type: feature
@@ -915,7 +915,8 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf) ; /* all Intel QAT devices VFs */ else if (d->vendor_id == 0x8086 && d->device_class == PCI_CLASS_PROCESSOR_CO && - (d->device_id == 0x0443 || d->device_id == 0x37c9 || d->device_id == 0x19e3)) + (d->device_id == 0x0443 || d->device_id == 0x18a1 |...
Add -d flag to list -u details (now normally off)
@@ -19,17 +19,19 @@ use lib catdir(dirname($0), "perl"); use OpenSSL::Util::Pod; # Options. -our($opt_s); -our($opt_u); +our($opt_d); our($opt_h); -our($opt_n); our($opt_l); +our($opt_n); our($opt_p); +our($opt_s); +our($opt_u); sub help() { print <<EOF; Find small errors (nits) in documentation. Options: + -d Detailed...
configs/imxrt1020-evk: Enable BCH driver by default Binary manager has a dependency on BCH so this config needs to be enabled by default.
@@ -489,7 +489,7 @@ CONFIG_SPI_EXCHANGE=y # CONFIG_GPIO is not set CONFIG_I2S=y # CONFIG_AUDIO_DEVICES is not set -# CONFIG_BCH is not set +CONFIG_BCH=y # CONFIG_RTC is not set # CONFIG_WATCHDOG is not set # CONFIG_TIMER is not set
apps/builtin/Makefile. This commit changes apps/builtin to search the registry recursively. By supporting directories, external projects can install the hooks into the registry and easily clean them up and reinstall if something needs to be updated. Based on an idea from Anthony Merlino.
############################################################################ # apps/builtin/Makefile # -# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012, 2018 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binar...
BugID:16846667:Remove aos.c from mcu/stm32f4xx_syscall/aos.mk
@@ -6,7 +6,7 @@ $(NAME)_VERSION := 1.0.0 $(NAME)_SUMMARY := driver & sdk for platform/mcu stm32f4xx_syscall $(NAME)_COMPONENTS += arch_armv7m-svc -$(NAME)_COMPONENTS += newlib_stub rhino vfs +$(NAME)_COMPONENTS += newlib_stub rhino vfs log GLOBAL_DEFINES += USE_HAL_DRIVER @@ -102,20 +102,12 @@ $(NAME)_SOURCES := Driver...
IOC Mediator: Add return value check for snprintf Return value check for snprintf function. Acked-by: Yu Wang
@@ -1550,9 +1550,13 @@ ioc_parse(const char *opts) { char *tmp; char *param = strdup(opts); + int rc; tmp = strtok(param, ","); - snprintf(virtual_uart_path, sizeof(virtual_uart_path), "%s", param); + rc = snprintf(virtual_uart_path, sizeof(virtual_uart_path), "%s", param); + if (rc < 0 || rc >= sizeof(virtual_uart_pat...
Fix to mrb_gc_register for channel receivers
@@ -57,6 +57,7 @@ static mrb_value channel_initialize_method(mrb_state *mrb, mrb_value self) assert(shared_ctx->current_context != NULL); ctx->ctx = shared_ctx->current_context; ctx->receivers = mrb_ary_new(mrb); + mrb_gc_register(mrb, ctx->receivers); mrb_iv_set(mrb, self, mrb_intern_lit(mrb, "@queue"), mrb_ary_new(mr...
RPL Native Border Router: fix SLIP bug that may occur whenever there is more bytes left in tx buffer than what we just sent
@@ -336,7 +336,7 @@ slip_flushbuf(int fd) if(slip_begin == slip_packet_end) { slip_packet_count--; if(slip_end > slip_packet_end) { - memcpy(slip_buf, slip_buf + slip_packet_end, + memmove(slip_buf, slip_buf + slip_packet_end, slip_end - slip_packet_end); } slip_end -= slip_packet_end;
eldrid: Configure temperature sensors Enable the ADC alternate function to reduce power usage. TEST=make buildall BRANCH=none
@@ -177,3 +177,6 @@ ALTERNATE(PIN_MASK(0, BIT(0) | BIT(1) | BIT(2)), 0, MODULE_PMU, 0) /* GPIO00 = GPIO01 = H1_EC_PWR_BTN_ODL GPIO02 = EC_RST_ODL */ +/* Temperature sensors */ +ALTERNATE(PIN_MASK(4, BIT(2) | BIT(4) | BIT(5)), 0, MODULE_ADC, 0) /* TEMP_SENSOR1,2,4 */ +ALTERNATE(PIN(F, 1), 0, MODULE_ADC, 0) /* TEMP_SENSO...
Update SSDT-EC-USBX.dsl
@@ -77,8 +77,9 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "SsdtEC", 0x00001000) }) } } + } - Scope (PCI0.LPCB) + Scope (\_SB.PCI0.LPCB) { Device (EC) { @@ -97,4 +98,3 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "SsdtEC", 0x00001000) } } } -}
For aes, check the init return code
@@ -801,8 +801,14 @@ ACVP_RESULT acvp_aes_kat_handler (ACVP_CTX *ctx, JSON_Object *obj) { * TODO: this does mallocs, we can probably do the mallocs once for * the entire vector set to be more efficient */ - acvp_aes_init_tc(ctx, &stc, tc_id, test_type, key, pt, ct, iv, tag, aad, - kwcipher, keylen, ivlen, ptlen, aadlen...
test: add platone test case test_002InitWallet_0009InitPlatoneWalletWithNullConfig fix the issue aitos-io#1176 teambition task id:
@@ -759,6 +759,20 @@ START_TEST(test_002InitWallet_0008SetNodeUrlFailureNodeUrlOutOfLimit) } END_TEST +START_TEST(test_002InitWallet_0009InitPlatoneWalletWithNullConfig) +{ + BoatPlatoneWallet *rtnVal; + + /* 1. execute unit test */ + rtnVal = BoatPlatoneWalletInit(NULL, sizeof(BoatPlatoneWalletConfig)); + /* 2. verify...
Update ir_protocols_main.c RMT write should be non-blocking to wait the correct time for sending the repeat frame
@@ -99,12 +99,12 @@ static void example_ir_tx_task(void *arg) ESP_ERROR_CHECK(ir_builder->build_frame(ir_builder, addr, cmd)); ESP_ERROR_CHECK(ir_builder->get_result(ir_builder, &items, &length)); //To send data according to the waveform items. - rmt_write_items(example_tx_channel, items, length, true); + rmt_write_ite...
Remove redundant header listing
@@ -94,77 +94,7 @@ target_include_directories(${PROJECT_NAME} ) # Target for header-only usage -add_library(${PROJECT_NAME}_headers INTERFACE - include/cglm/affine-mat.h - include/cglm/affine.h - include/cglm/affine2d.h - include/cglm/applesimd.h - include/cglm/bezier.h - include/cglm/box.h - include/cglm/call.h - incl...
[vioscsi] fix for bz#1791147 BSOD when running Bus Reset Test
@@ -207,6 +207,9 @@ ENTER_FN(); cmd->req.tmf.type = VIRTIO_SCSI_T_TMF; cmd->req.tmf.subtype = VIRTIO_SCSI_T_TMF_LOGICAL_UNIT_RESET; + srbExt->psgl = srbExt->vio_sg; + srbExt->pdesc = srbExt->desc_alias; + srbExt->allocated = 0; sgElement = 0; srbExt->psgl[sgElement].physAddr = StorPortGetPhysicalAddress(DeviceExtension...
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL() Previously, esp_apptrace_lock_take() would manually disable interrupts and acquire the spinlock in order to allow the criticla section entry to have time outs, and also be preemptable in between attempts to acquired. However, the same can be ach...
@@ -57,47 +57,26 @@ esp_err_t esp_apptrace_tmo_check(esp_apptrace_tmo_t *tmo) esp_err_t esp_apptrace_lock_take(esp_apptrace_lock_t *lock, esp_apptrace_tmo_t *tmo) { - int res; + esp_err_t ret; while (1) { - //Todo: Replace the current locking mechanism and int_state with portTRY_ENTER_CRITICAL() instead. - // do not ov...
add copyright info for cJSON and list
@@ -4,7 +4,7 @@ Upstream-Contact: Gabriel Zachmann <gabriel.zachmann@kit.edu> Source: https://github.com/indigo-dc/oidc-agent Files: * -Copyright: 2017 - 2020 Gabriel Zachmann +Copyright: 2017 - 2020 Gabriel Zachmann <gabriel.zachmann@kit.edu> License: MIT-License License: MIT-License @@ -27,3 +27,52 @@ License: MIT-Li...
Check that Java 11 is present
@@ -17,11 +17,11 @@ check_java() if [[ "$_java" ]]; then version=$("$_java" -version 2>&1 | awk -F '"' '/version/ {print $2}' | awk -F '.' '{print $1}') echo version "$version" - if [[ "$version" -ge "1" ]]; then - echo Java version detected is OK + if [[ "$version" -ge "11" ]]; then + echo Java version detected $versi...
envydis/falcon: add missing indirect crypt opcodes
@@ -557,10 +557,12 @@ static struct insn tabm[] = { { 0x00010cf2, 0x001f0fff, OP3B, N("cimov"), REG1, .fmask = F_CRYPT }, { 0x00020cf2, 0x001f0fff, OP3B, N("cixsin"), REG1, .fmask = F_CRYPT }, { 0x00030cf2, 0x001f0fff, OP3B, N("cixsout"), REG1, .fmask = F_CRYPT }, + { 0x00040cf2, 0x001f0fff, OP3B, N("cirnd"), REG1, .fm...
Add Siri Shortcuts feature in page
@@ -52,6 +52,10 @@ features : description : Run code with the REPL. fontawesome_icon_name : play + - title : Siri Shortcuts + description : Run scripts or custom code with Siri Shortcuts. + fontawesome_icon_name : cubes + - title : PyPi description : Install pure Python modules from PyPi. fontawesome_icon_name : box-op...
acl: fix set acl-plugin cli unformat free. Type: fix
@@ -2844,6 +2844,7 @@ acl_set_aclplugin_interface_fn (vlib_main_t * vm, break; } + unformat_free (line_input); if (~0 == sw_if_index) return (clib_error_return (0, "invalid interface")); if (~0 == acl_index) @@ -2851,7 +2852,6 @@ acl_set_aclplugin_interface_fn (vlib_main_t * vm, acl_interface_add_del_inout_acl (sw_if_i...
interface: create proper group feed back button behavior
import { Box, Row, Text } from '@tlon/indigo-react'; import bigInt from 'big-integer'; -import React from 'react'; +import React, { + useEffect, + useState +} from 'react'; export function GroupFeedHeader(props) { const { baseUrl, history, graphResource, vip } = props; @@ -9,13 +12,18 @@ export function GroupFeedHeader...
[external/error_report]: Fix rendundant parameter in error report The `prv_fetch_taskaddr` internal function in error report does not require the `pid` argument, and can be deleted.
@@ -66,7 +66,7 @@ err_status_t error_report_deinit(void) return ERR_SUCCESS; } -static unsigned long prv_fetch_taskaddr(pid_t pid) +static unsigned long prv_fetch_taskaddr(void) { unsigned long task_addr = ERROR; const char buf[ERR_TASKADDR_LEN]; @@ -121,7 +121,7 @@ error_data_t *error_report_data_create(int module_id,...
bump Easybuild to v3.3.1
Summary: Build and installation framework Name: EasyBuild%{PROJ_DELIM} -Version: 3.2.1 +Version: 3.3.1 Release: 1 License: GPLv2 Group: %{PROJ_NAME}/dev-tools
Increase STM32L0 option_size to 20 The FLASH_OPTR, FLASH_WRPROT1 and FLASH_WRPROT2 registers are spread across 20 option bytes. With the original option_size of 4, only the lower 16 bits of FLASH_OPTR could be modified.
@@ -386,7 +386,7 @@ static const struct stlink_chipid_params devices[] = { .bootrom_base = 0x1ff0000, .bootrom_size = 0x1000, .option_base = STM32_L0_CATx_OPTION_BYTES_BASE, - .option_size = 4, + .option_size = 20, }, { // STM32L0x Category 5 @@ -400,7 +400,7 @@ static const struct stlink_chipid_params devices[] = { .b...
test BUGFIX data race Fixes
@@ -508,8 +508,6 @@ notif_stop_cb(sr_session_ctx_t *session, uint32_t sub_id, const sr_ev_notif_type case 1: assert_int_equal(notif_type, SR_EV_NOTIF_TERMINATED); assert_null(notif); - - pthread_barrier_wait(&st->barrier); break; default: fail(); @@ -517,6 +515,9 @@ notif_stop_cb(sr_session_ctx_t *session, uint32_t sub...
YAML CPP: Fix short variable name
Key * parentKey = keyNew (parent, KEY_END); \ KeySet * conf = ksNew (0, KS_END); \ PLUGIN_OPEN ("yamlcpp"); \ - KeySet * ks = ksNew (0, KS_END) + KeySet * keySet = ksNew (0, KS_END) #define CLOSE_PLUGIN() \ keyDel (parentKey); \ - ksDel (ks); \ + ksDel (keySet); \ PLUGIN_CLOSE () // -- Functions -----------------------...
Android builds may take longer
@@ -156,7 +156,7 @@ jobs: build-android: runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 10 steps: - uses: actions/checkout@v1 - uses: seanmiddleditch/gha-setup-ninja@master
Emitter: IS_LOOP_BLOCK is only used in one place so remove it.
#include "lily_int_opcode.h" #include "lily_int_code_iter.h" -# define IS_LOOP_BLOCK(b) (b == block_while || \ - b == block_do_while || \ - b == block_for_in) - # define lily_raise_adjusted(r, adjust, message, ...) \ { \ r->line_adjust = adjust; \ @@ -730,7 +726,9 @@ static lily_block *find_deepest_loop(lily_emit_state...
Completions: Add suggestions for `remount`
@@ -193,6 +193,14 @@ function __fish_kdb_subcommand_needs_storage_plugin -d 'Check if the current sub not __input_includes (__fish_kdb_print_storage_plugins) end +function __fish_kdb_subcommand_remount_needs_namespace -d 'Check if the subcommand remount needs a namespace completion' + not __fish_kdb_subcommand_includes...
UpnpInitLog, UpnpSetLogLevel and UpnpSetLogFileNames need also to be exported.
@@ -106,7 +106,7 @@ typedef enum Upnp_LogLevel_e * * \return -1 if fails or UPNP_E_SUCCESS if succeeds. */ -int UpnpInitLog(void); +UPNP_EXPORT_SPEC int UpnpInitLog(void); #if defined NDEBUG && !defined UPNP_DEBUG_C #define UpnpInitLog UpnpInitLog_Inlined @@ -115,7 +115,7 @@ static UPNP_INLINE int UpnpInitLog_Inlined(v...
[catboost] Make native lib build script wrapper compatible with oss yatool Opensource version yatool requires explicit `{-o|--output}` option to provide build artifacts.
from __future__ import absolute_import, print_function +import contextlib import os import shutil import subprocess import sys +import tempfile + + +@contextlib.contextmanager +def _tempdir(prefix=None): + tmp_dir = tempfile.mkdtemp(prefix=prefix) + yield tmp_dir + # TODO(yazevnul): log error + shutil.rmtree(tmp_dir, i...
groups: prevent long title from pushing buttons
@@ -154,7 +154,7 @@ export function GroupSwitcher(props: { > <Row p={2} alignItems="center"> <Row alignItems="center" mr={1} flex='1'> - <Text overflow='hidden' display='inline-block' maxWidth='144px' style={{ textOverflow: 'ellipsis', whiteSpace: 'pre'}}>{title}</Text> + <Text overflow='hidden' display='inline-block' ...
ignore validation failures with NO_CERTIFICATE_VALIDATION
@@ -1976,8 +1976,9 @@ CxPlatTlsWriteDataToSchannel( } } SecPkgContext_CertificateValidationResult CertValidationResult = {0,0}; - if (TlsContext->SecConfig->Flags & QUIC_CREDENTIAL_FLAG_REQUIRE_CLIENT_AUTHENTICATION || - TlsContext->SecConfig->Flags & QUIC_CREDENTIAL_FLAG_DEFER_CERTIFICATE_VALIDATION) { + if (!(TlsCont...
build CHANGE proper versioning scheme
@@ -5,13 +5,6 @@ include(GNUInstallDirs) include(CheckSymbolExists) include(CheckIncludeFile) -# setup version -set(SYSREPO_MAJOR_VERSION 1) -set(SYSREPO_MINOR_VERSION 0) -set(SYSREPO_MICRO_VERSION 0) -set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MICRO_VERSION}) -set(SYSREPO_SOVERSION...
Update another gmtime call.
@@ -214,7 +214,7 @@ server_log_to_file( *bufptr; /* Pointer into buffer */ ssize_t bytes; /* Number of bytes in message */ struct timeval curtime; /* Current time */ - struct tm *curdate; /* Current date and time */ + struct tm curdate; /* Current date and time */ static const char * const pris[] = /* Log priority stri...
tests/run-tests: Improve crash reporting when running on remote targets. It is very useful to know the actual error when debugging why a test fails.
@@ -143,8 +143,11 @@ def run_micropython(pyb, args, test_file, is_special=False): pyb.enter_raw_repl() try: output_mupy = pyb.execfile(test_file) - except pyboard.PyboardError: + except pyboard.PyboardError as e: had_crash = True + if not is_special and e.args[0] == 'exception': + output_mupy = e.args[1] + e.args[2] + ...
docs/conf: Version 2.11.0.19.
@@ -74,7 +74,7 @@ copyright = '2014-2019, Damien P. George, Paul Sokolovsky, and contributors' # # We don't follow "The short X.Y version" vs "The full version, including alpha/beta/rc tags" # breakdown, so use the same version identifier for both to avoid confusion. -version = release = '2.11.0.18' +version = release ...
Rephrase to match docs on github
@@ -9,7 +9,7 @@ AppScope is a single binary download with three components: a command-line inter There are two ways to "scope" an application: 1. Attach AppScope to a running process. -1. Configure the AppScope library to be loaded when the process starts. +1. Scope a new process. ### The Command Line Interface (CLI) @...
Enable Back Windows ASAN Testing
@@ -604,7 +604,8 @@ stages: platform: windows tls: schannel logProfile: Full.Light - extraTestArgs: -Filter -*ValidateConfiguration:*ValidAlpnLengths:*ResumeRejection*:*ClientCertificate*:*LoadBalanced*:TlsTest.InProc* + extraArtifactDir: '_Sanitize' + extraTestArgs: -ExtraArtifactDir Sanitize -Filter -*ValidateConfigu...
Change int to int64_t inside orka_iso8601_to_unix_ms
@@ -113,7 +113,7 @@ orka_iso8601_to_unix_ms(char *timestamp, size_t len, void *p_data) tm.tm_mon--; // struct tm takes month from 0 to 11 tm.tm_year -= 1900; // struct tm takes years from 1900 - int res = (((int64_t) mktime(&tm) - timezone) * 1000) + int64_t res = (((int64_t) mktime(&tm) - timezone) * 1000) + (int64_t)...