message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix bug with Image -> Texture copies;
@@ -943,7 +943,7 @@ static int l_lovrPassCopy(lua_State* L) { srcOffset[0] = luax_optu32(L, 4, 0); srcOffset[1] = luax_optu32(L, 5, 0); dstOffset[0] = luax_optu32(L, 6, 0); - srcOffset[1] = luax_optu32(L, 7, 0); + dstOffset[1] = luax_optu32(L, 7, 0); extent[0] = luax_optu32(L, 8, ~0u); extent[1] = luax_optu32(L, 9, ~0u...
CCode: Update variable names
@@ -284,10 +284,10 @@ int elektraCcodeGet (Plugin * handle, KeySet * returned, Key * parentKey) ksRewind (returned); while ((key = ksNext (returned)) != 0) { - size_t const valsize = keyGetValueSize (key); - if (valsize > mapping->bufferSize) + size_t const size = keyGetValueSize (key); + if (size > mapping->bufferSize...
pluginprocess: fix typo in comment
@@ -212,8 +212,7 @@ public: { if (this->gptr () == this->egptr ()) { - // read from the pipe directly, using an ifstream on - // /dev/fd/<fd> fails on macOS + // read from the pipe directly into the buffer ssize_t r = read (fd_, buffer_, 4096); this->setg (this->buffer_, this->buffer_, this->buffer_ + r); } @@ -248,7 +...
webxr: also support velocity of head device;
@@ -273,9 +273,17 @@ var webxr = { }, webxr_getVelocity: function(device, velocity, angularVelocity) { - if (state.hands[device]) { + var pose; + + if (device === 0 /* DEVICE_HEAD */) { + pose = state.viewer; + } else if (state.hands[device]) { var space = state.hands[device].gripSpace || state.hands[device].targetRayS...
Bluedroid: Fix BLE provisioning failure with bluedroid stack
@@ -1242,6 +1242,8 @@ void GATT_Deregister (tGATT_IF gatt_if) tGATT_REG *p_reg = gatt_get_regcb(gatt_if); tGATT_TCB *p_tcb; tGATT_CLCB *p_clcb; + list_node_t *p_node = NULL; + list_node_t *p_next = NULL; #if (GATTS_INCLUDED == TRUE) UINT8 ii; tGATT_SR_REG *p_sreg; @@ -1268,9 +1270,9 @@ void GATT_Deregister (tGATT_IF ga...
Solve more bugs from Python async handler.
@@ -1396,35 +1396,37 @@ PyObject *py_task_callback_handler_impl_unsafe(PyGILState_STATE gstate, PyObject Py_DECREF(result); + value ret = NULL; + if (PyErr_Occurred() != NULL) { loader_impl_py py_impl = loader_impl_get(callback_state->impl); py_loader_impl_error_print(py_impl); - /* TODO: Handle CancelledError or any e...
common/keyboard_8042: Track aux chan enable and aux irq enable Start tracking these so we can correctly filter mouse messages. BRANCH=none TEST=Verified 8042 command prints current state
@@ -95,9 +95,11 @@ struct host_byte { static struct queue const from_host = QUEUE_NULL(8, struct host_byte); static int i8042_keyboard_irq_enabled; +static int i8042_aux_irq_enabled; /* i8042 global settings */ static int keyboard_enabled; /* default the keyboard is disabled. */ +static int aux_chan_enabled; /* default...
Lambert azimuthal
@@ -145,7 +145,18 @@ static int get_native_type(grib_accessor* a) { return GRIB_TYPE_STRING; } - +#if 0 +static int proj_mercator(grib_handle* h, char* result) +{ + int err = 0; + double LaDInDegrees = 0; + if ((err = grib_get_double_internal(h, "LaDInDegrees", &LaDInDegrees)) != GRIB_SUCCESS) + return err; + sprintf(r...
fix for mpi
@@ -310,6 +310,7 @@ function build_uintah info "../src/configure CXX=\"$PAR_COMPILER_CXX\" CC=\"$PAR_COMPILER\" \ CFLAGS=\"$CFLAGS $C_OPT_FLAGS\" CXXFLAGS=\"$CXXFLAGS $CXX_OPT_FLAGS\" \ MPI_EXTRA_LIB_FLAG=\"$PAR_LIBRARY_NAMES\" \ + --with-mpi=built-in \ $FORTRANARGS \ $ZLIB_ARGS \ --prefix=\"$VISITDIR/uintah/$UINTAH_VE...
docs/fingerprint: Update audit report link BRANCH=none TEST=view in gitiles
@@ -745,7 +745,7 @@ The log file is `/var/log/cros_fp.log`. [RM0433]: https://www.st.com/content/ccc/resource/technical/document/reference_manual/group0/c9/a3/76/fa/55/46/45/fa/DM00314099/files/DM00314099.pdf/jcr:content/translations/en.DM00314099.pdf [sandboxing]: https://chromium.googlesource.com/chromiumos/docs/+/HE...
removing undocumented and incompatible tempo message from [mtr]
@@ -698,13 +698,6 @@ static void mtr_write(t_mtr *x, t_symbol *s) hammerpanel_save(x->x_filehandle, canvas_getdir(x->x_glist), 0); } -static void mtr_tempo(t_mtr *x, t_floatarg f) -{ - int ntracks = x->x_ntracks; - t_mtrack **tpp = x->x_tracks; - while (ntracks--) mtrack_tempo(*tpp++, f); -} - static void mtr_free(t_mt...
Fixing PSA return status
@@ -922,6 +922,7 @@ static int ssl_tls13_write_certificate_verify_body( mbedtls_ssl_context *ssl, size_t signature_len = 0; unsigned char verify_hash[ MBEDTLS_MD_MAX_SIZE ]; size_t verify_hash_len; + psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; *out_len = 0; @@ -984,11 +985,12 @@ static int ssl_tls13_write_cert...
Another increase of char array size
@@ -119,7 +119,7 @@ static void testAddressesSingleHyphen (void) static void testAddressesNumber (void) { - char intChar[15]; + char intChar[16]; convertLong (intChar, 0); testAddressSet (intChar, 1);
Values including `max` shall be allowed
@@ -4360,7 +4360,7 @@ static int do_send(quicly_conn_t *conn, quicly_send_context_t *s) conn->super.stats.num_handshake_timeouts++; goto CloseNow; } - if (conn->super.stats.num_packets.initial_handshake_sent >= conn->super.ctx->max_initial_handshake_packets) { + if (conn->super.stats.num_packets.initial_handshake_sent ...
fixed typo in action_wrapper.vhd_source
@@ -350,7 +350,7 @@ ARCHITECTURE STRUCTURE OF action_wrapper IS axi_nvme_buser : IN std_logic_vector(0 DOWNTO 0); -- only for NVME_USED=TRUE axi_nvme_rid : IN std_logic_vector(0 DOWNTO 0); -- only for NVME_USED=TRUE axi_nvme_ruser : IN std_logic_vector(0 DOWNTO 0); -- only for NVME_USED=TRUE - axi_nvme_wuser : OUT std_...
fix(user-agent): error description typo
@@ -141,7 +141,7 @@ http_reason_print(int httpcode) case HTTP_METHOD_NOT_ALLOWED: return "The HTTP method used is not valid for the location specified."; case HTTP_TOO_MANY_REQUESTS: - return "You got synced."; + return "You got ratelimited."; case HTTP_GATEWAY_UNAVAILABLE: return "There was not a gateway available to ...
remove shadow warning when building in static mode
@@ -246,10 +246,10 @@ static void mi_segment_os_free(mi_segment_t* segment, mi_segments_tld_t* tld) { if (MI_SECURE>0) { // _mi_os_unprotect(segment, mi_segment_size(segment)); // ensure no more guard pages are set // unprotect the guard pages; we cannot just unprotect the whole segment size as part may be decommitted ...
BugID:26073282: fix gbk path issue in create component script.
@@ -13,6 +13,12 @@ if sys.version_info[0] < 3: pass scriptdir = os.path.dirname(os.path.abspath(__file__)) +try: + from aos.util import locale_to_unicode + scriptdir = locale_to_unicode(scriptdir) +except: + pass + TEMPLATE_DIR = "templates/new_component_template" COMPONENTS_FOLDER = "components" AOS_MAKEFILE = "aos.mk...
Simply remove that line to avoid confusion
@@ -100,8 +100,6 @@ if (${CLAP_BUILD_TESTS}) MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/src/plugins.plist.in ) elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") - # this is already exported by using CLAP_EXPORT - # target_link_options(clap-plugin-template PRIVATE /EXPORT:clap_entry) set_target_properties(clap-plug...
docs: create table- fixed default storage options information * docs: create table- fixed default storage options information default storage options can be set for system, database, user. * Small edit to keep it in line with the 4.3.x commit.
<li> <cmdname>ORIENTATION</cmdname> </li> - </ul><p>The defaults can be set for a database, schema, and user. For information about - setting storage options, see the server configuration parameter - <codeph>gp_default_storage_options</codeph>.</p></li> + </ul><p>The defaults can be set for the system, a database, or a...
Update: fixes and additions
@@ -184,8 +184,8 @@ def process(line): (obj, x, y, w, h, c) = detection x_real = x+w/2 y_real = y+h #down side of bb - if y_real > y_real_temp and (pickobj == None or pickobj == obj): - (obj_temp, x_real_temp, y_real_temp, w_temp, h_temp, c_temp) = (obj, x_real_temp, y_real_temp, w, h, c) + if y_real > y_real_temp: + (...
rpz triggers, spelling fix.
@@ -77,7 +77,7 @@ rpz_action_to_string(enum rpz_action a) case RPZ_DISABLED_ACTION: return "rpz-disabled"; case RPZ_CNAME_OVERRIDE_ACTION: return "rpz-cname-override"; case RPZ_NO_OVERRIDE_ACTION: return "rpz-no-override"; - default: return "rpz-unkown-action"; + default: return "rpz-unknown-action"; } }
Ignore patches applied to 3rdparty/mbedtls
path = 3rdparty/mbedtls/mbedtls url = https://github.com/openenclave/openenclave-mbedtls.git branch = openenclave-mbedtls-2.28 + ignore = all [submodule "3rdparty/openssl/intel-sgx-ssl"] path = 3rdparty/openssl/intel-sgx-ssl url = https://github.com/intel/intel-sgx-ssl
rt1739: add es2 workaround Add a workaround to fix the incorrect CCD_MODE_ODL behavior on RT1739 ES2. TEST=manually BRANCH=none Tested-by: Ting Shen
@@ -183,6 +183,14 @@ static int rt1739_workaround(int port) case RT1739_DEVICE_ID_ES2: CPRINTS("RT1739 ES2"); + /* enter hidden mode */ + RETURN_ERROR(write_reg(port, 0xF1, 0x62)); + RETURN_ERROR(write_reg(port, 0xF0, 0x86)); + /* turn off SWENB output */ + RETURN_ERROR(write_reg(port, 0xE0, 0x07)); + /* leave hidden m...
OpenCoreMisc: Sync with OcSupportPkg changes
@@ -76,10 +76,12 @@ OcToolLoadEntry ( IN VOID *Context, IN OC_BOOT_ENTRY *ChosenEntry, OUT VOID **Data, - OUT UINT32 *DataSize + OUT UINT32 *DataSize, + OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath OPTIONAL ) { CHAR16 ToolPath[64]; + OC_STORAGE_CONTEXT *Storage; UnicodeSPrint ( ToolPath, @@ -88,8 +90,10 @@ OcToolLoadEntry...
Update vlsi/Makefile [skip ci]
@@ -70,7 +70,7 @@ SRAM_CONF=$(build_dir)/sram_generator-output.json srams: sram_generator sram_generator: $(SRAM_CONF) -# This should be built alongside $(SMEMS_FILE) +# This should be built alongside $(TOP_SMEMS_FILE) $(SMEMS_HAMMER): $(TOP_SMEMS_FILE) $(SRAM_GENERATOR_CONF): $(SMEMS_HAMMER)
OcMachoLib: Fix address range check.
@@ -469,7 +469,7 @@ MachoGetSectionByAddress64 ( Segment = MachoGetNextSegment64 (Context, Segment) ) { if ((Address >= Segment->VirtualAddress) - && (Address < (Segment->VirtualAddress + Address >= Segment->FileSize))) { + && (Address < (Segment->VirtualAddress + Segment->Size))) { Section = &Segment->Sections[0]; for...
test_jvpp: improve error message when JVpp JARS are missing The java command fails with missing class error, when some of the JARs given by -cp are missing, which may be missleading. This patch fixes that by adding os.path.isfile check to test_jvpp.py.
@@ -106,9 +106,16 @@ class TestJVpp(VppTestCase): REGISTRY_JAR_PREFIX, version) self.logger.info("JVpp Registry jar path : {0}" .format(registry_jar_path)) + if (not os.path.isfile(registry_jar_path)): + raise Exception( + "JVpp Registry jar has not been found: {0}" + .format(registry_jar_path)) api_jar_path = self.ful...
rms/pmix: latest also requiring libxml2
@@ -24,6 +24,7 @@ BuildRequires: libevent-devel BuildRequires: gcc-c++ BuildRequires: python3 BuildRequires: hwloc%{PROJ_DELIM} +BuildRequires: libxml2-devel #!BuildIgnore: post-build-checks %global install_path %{OHPC_ADMIN}/%{pname}
Fix fps not showing when using full config
@@ -520,6 +520,7 @@ parse_overlay_env(struct overlay_params *params, params->enabled[OVERLAY_PARAM_ENABLED_histogram] = 0; params->enabled[OVERLAY_PARAM_ENABLED_gpu_load_change] = 0; params->enabled[OVERLAY_PARAM_ENABLED_cpu_load_change] = 0; + params->enabled[OVERLAY_PARAM_ENABLED_fps_only] = 0; params->enabled[OVERLA...
test/usb_tcpmv2_td_pd_ll_e3.c: Format with clang-format BRANCH=none TEST=none
@@ -29,8 +29,8 @@ static int td_pd_ll_e3(enum pd_data_role data_role) /* * a) Run PROC.PD.E1 Bring-up according to the UUT role. */ - TEST_EQ(proc_pd_e1(data_role, INITIAL_AND_ALREADY_ATTACHED), - EC_SUCCESS, "%d"); + TEST_EQ(proc_pd_e1(data_role, INITIAL_AND_ALREADY_ATTACHED), EC_SUCCESS, + "%d"); /* * Make sure we ar...
formatting changes/PR feedback no logic changes
@@ -54,7 +54,8 @@ try{ "1804 SGX1FLC Package Release" : { LinuxPackaging('1804', 'Release') }, "1804 SGX1FLC Package Release LVI" : { LinuxPackaging('1804', 'Release', 'ControlFlow') }, "1804 SGX1FLC Package RelWithDebInfo" : { LinuxPackaging('1804', 'RelWithDebInfo') }, - "1804 SGX1FLC Package RelWithDebInfo LVI" : { ...
Layout is fixed
@@ -1487,9 +1487,9 @@ void xdag_print_block_list(struct block_internal **block_list, int count, int pr char time_buf[64]; if(!print_only_addresses) { - fprintf(out, "--------------------------------------------------------------------------------------\n"); + fprintf(out, "----------------------------------------------...
grib_dump error on GRIB edition 1 with raw packing
SUPER = grib_accessor_class_gen IMPLEMENTS = init IMPLEMENTS = unpack_long + IMPLEMENTS = get_native_type MEMBERS=const char* values MEMBERS=const char* precision END_CLASS_DEF @@ -45,6 +46,7 @@ or edit "accessor.class" and rerun ./make_class.pl */ +static int get_native_type(grib_accessor*); static int unpack_long(gri...
remove unused function decl
@@ -1805,8 +1805,6 @@ int h2o_socket_ebpf_init_key(h2o_ebpf_map_key_t *key, void *_sock) return h2o_socket_ebpf_init_key_raw(key, sock_type, (void *)&local, (void *)&remote); } -static void on_track_ebpf_lookup_timer(h2o_timer_t *timeout); - static void report_ebpf_lookup_errors(h2o_error_reporter_t *reporter, uint64_t...
BugID:24381709:Fixed the bug that uart demo could not send and receive data
@@ -24,7 +24,7 @@ static void task_recvdata_entry(void *arg) { int i; int ret; - char rev_buf[10]; + char rev_buf[1]; int rev_length; while (1) { @@ -34,7 +34,7 @@ static void task_recvdata_entry(void *arg) break; } - printf("recv data for uart:\r\n"); + printf("recv data from uart:\r\n"); for(i = 0; i < rev_length; i+...
avf: fix simultaneous txq wrap and tx retry Type: fix Fixes: Ticket:
@@ -376,7 +376,7 @@ VNET_DEVICE_CLASS_TX_FN (avf_device_class) (vlib_main_t * vm, u32 thread_index = vm->thread_index; u8 qid = thread_index; avf_txq_t *txq = vec_elt_at_index (ad->txqs, qid % ad->num_queue_pairs); - u16 next = txq->next; + u16 next; u16 mask = txq->size - 1; u32 *buffers = vlib_frame_vector_args (fram...
doc: prettify opal IMC counters calls
.. _opal-imc-counters: +.. _OPAL_IMC_COUNTERS_INIT: + OPAL_IMC_COUNTERS_INIT -============================== +====================== OPAL call interface to initialize In-memory collection infrastructure. Call does multiple scom writes on each invocation for Core/Trace IMC initialization. And for the @@ -37,18 +39,17 @@...
PEERDIR 4 test_tool
@@ -435,6 +435,7 @@ when ($NO_GPL == "yes") { NO_GPL_FLAG=--no-gpl } NEED_PLATFORM_PEERDIRS=yes +PEERDIR_TEST_TOOL=yes PYTHON2=no PYTHON3=no @@ -612,7 +613,7 @@ module BASE_UNIT { CFLAGS+=-DCYTHON_TRACE=1 -DCYTHON_TRACE_NOGIL=1 } - when ($TESTS_REQUESTED && $NEED_PLATFORM_PEERDIRS == "yes") { + when ($PEERDIR_TEST_TOOL...
Auto generate sprite name if file moved as long as current name matches previous filename
@@ -180,12 +180,16 @@ const loadSprite = createAsyncThunk<{ data: SpriteSheet }, string>( if (existingAsset) { delete inodeToRecentSpriteSheet[data.inode]; + const oldAutoName = existingAsset.filename.replace(/.png/i, ""); return { data: { ...existingAsset, ...data, id: existingAsset.id, - name: existingAsset.name || d...
[build] fix meson.build when building all TLS mods x-ref: "[lighttpd] -mod-openssl fails" "[lighttpd] -mod-wolfssl fails"
@@ -432,15 +432,20 @@ if get_option('with_mysql') endif libssl = [] -libx509 = [] libcrypto = [] +libsslcrypto = [] libgnutls = [] +libmbedtls = [] +libmbedcrypto = [] +libmbedx509 = [] +libwolfssl = [] if get_option('with_openssl') # manual search: # header: openssl/ssl.h # function: SSL_new (-lssl) # function: BIO_f_...
Fix integer overflow in _sdsMakeRoomFor (CVE-2021-41099) The existing overflow checks handled the greedy growing, but didn't handle a case where the addition of the header size is what causes the overflow.
@@ -239,7 +239,7 @@ void sdsclear(sds s) { sds _sdsMakeRoomFor(sds s, size_t addlen, int greedy) { void *sh, *newsh; size_t avail = sdsavail(s); - size_t len, newlen; + size_t len, newlen, reqlen; char type, oldtype = s[-1] & SDS_TYPE_MASK; int hdrlen; size_t usable; @@ -249,7 +249,7 @@ sds _sdsMakeRoomFor(sds s, size_...
Get rid of internal_recurse.
@@ -35,13 +35,12 @@ def onrun_java_program(unit, *args): Custom code generation @link: https://wiki.yandex-team.ru/yatool/java/#kodogeneracijarunjavaprogram """ - flat, kv = common.sort_by_keywords( - {'IN': -1, 'IN_DIR': -1, 'OUT': -1, 'OUT_DIR': -1, 'CWD': 1, 'CLASSPATH': -1, 'ADD_SRCS_TO_CLASSPATH': 0}, - args - ) -...
libhfuzz/memorycmp: cast characters to int before passing them to the cmp_func()
@@ -48,7 +48,7 @@ static inline int HF_strcmp(const char* s1, const char* s2, uintptr_t addr) { static inline int HF_strcasecmp( const char* s1, const char* s2, int (*cmp_func)(int), uintptr_t addr) { size_t i; - for (i = 0; cmp_func((unsigned char)s1[i]) == cmp_func((unsigned char)s2[i]); i++) { + for (i = 0; cmp_func...
BIO_lookup_ex: Retry with AI_ADDRCONFIG cleared if getaddrinfo fails The lookup for ::1 with getaddrinfo() might return error even if the ::1 would work if AI_ADDRCONFIG flag is used. Fixes:
@@ -696,6 +696,7 @@ int BIO_lookup_ex(const char *host, const char *service, int lookup_type, /* Note that |res| SHOULD be a 'struct addrinfo **' thanks to * macro magic in bio_lcl.h */ + retry: switch ((gai_ret = getaddrinfo(host, service, &hints, res))) { # ifdef EAI_SYSTEM case EAI_SYSTEM: @@ -706,6 +707,19 @@ int B...
Docs: Changing plr example as it was incorrect
@@ -257,8 +257,7 @@ LANGUAGE 'plr'; --table DROP TABLE IF EXISTS wj_model_results_roi; CREATE TABLE wj_model_results_roi AS SELECT * - FROM wj_plr_RE((SELECT wj_droi2_array), - (SELECT cs FROM wj_droi2_array));</codeblock> + FROM wj_plr_RE('{1,1,1}', '{"a", "b", "c"}');</codeblock> </body> </topic> </topic>
Fix conf parsing overflow After adding a new option to the 'struct conf_pool' list, a previously undiscovered bug came to light where we were casting data types of 'short' to 'int' and 'bool' to 'int' which would give us the wrong result. This patch fixes these bugs.
@@ -974,13 +974,38 @@ static char *conf_set_num(struct conf *cf, struct command *cmd, void *conf) { return CONF_OK; } +static char *conf_set_short(struct conf *cf, struct command *cmd, void *conf) { + uint8_t *p; + int num; + uint8_t *np; + struct string *value; + + p = conf; + np = (uint8_t *)(p + cmd->offset); + + if...
Temporarily add debug output for install-gsl
@@ -8,5 +8,7 @@ else tar -xzf gsl-2.4.tar.gz cd gsl-2.4 && ./configure --prefix=/usr && make && sudo make install fi +pwd +ls export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib export LD_RUN_PATH=$LD_RUN_PATH:/usr/lib
removed undefined calls
@@ -1082,12 +1082,12 @@ QvisSimulationWindow::UpdateWindow(bool doAll) else if(uiValues->GetName() == "STRIP_CHART_CLEAR_MENU") { - stripChartMgr->clearMenu(); + // stripChartMgr->clearMenu(); } else if(uiValues->GetName() == "STRIP_CHART_ADD_MENU_ITEM") { - stripChartMgr->addMenuItem( uiValues->GetSvalue().c_str() ); ...
Fix Misra 13.4 on safety code
@@ -166,7 +166,8 @@ void update_sample(struct sample_t *sample, int sample_new) { sample->values[0] = sample_new; // get the minimum and maximum measured samples - sample->min = sample->max = sample->values[0]; + sample->min = sample->values[0]; + sample->max = sample->values[0]; for (int i = 1; i < sizeof(sample->valu...
set TOP property for system_wrapper
@@ -81,6 +81,8 @@ make_wrapper -files [get_files $bd_path/system.bd] -top add_files -norecurse $bd_path/hdl/system_wrapper.v +set_property TOP system_wrapper [current_fileset] + set files [glob -nocomplain cores/common_modules/*.v] if {[llength $files] > 0} { add_files -norecurse $files
pbio/dcmotor: port is not part of setup Make this pattern consistent with servo. Port is only needed to get object, not setup. (and even this may ultimately go away.)
static pbio_dcmotor_t dcmotors[PBDRV_CONFIG_NUM_MOTOR_CONTROLLER]; -static pbio_error_t pbio_dcmotor_setup(pbio_dcmotor_t *dcmotor, pbio_port_t port, pbio_direction_t direction) { +static pbio_error_t pbio_dcmotor_setup(pbio_dcmotor_t *dcmotor, pbio_direction_t direction) { pbio_error_t err; @@ -27,14 +27,13 @@ static ...
[bsp][stm32] fix drv_pwm.c device register usefault
@@ -542,7 +542,7 @@ static int stm32_pwm_init(void) LOG_D("%s init success", stm32_pwm_obj[i].name); /* register pwm device */ - if (rt_device_pwm_register(rt_calloc(1, sizeof(struct rt_device_pwm)), stm32_pwm_obj[i].name, &drv_ops, &stm32_pwm_obj[i].tim_handle) == RT_EOK) + if (rt_device_pwm_register(&stm32_pwm_obj[i]...
build: bump minimum Linux kernel headers version to 5.4 opae-sdk requires [1] IOVA range capability support [2] added in Linux 5.4. [1] [2]
@@ -208,7 +208,7 @@ if (OPAE_BUILD_LIBOPAEVFIO) set(PLATFORM_SUPPORTS_VFIO FALSE CACHE BOOL "Platform supports vfio driver" FORCE) message(WARNING "Could not compile VFIO. - This most likely means that kernel( version >= 4.6) headers aren't installed. + This most likely means that kernel( version >= 5.4) headers aren't...
framework/media : fix a logical error at MediaWorker::startWorker() Even though a worker thread creation fails, the flag of 'mIsRunning' is set to true. Fix this logical error by updating 'mIsRunning' to false in case that the thread creation fails.
@@ -45,6 +45,7 @@ void MediaWorker::startWorker() if (ret != OK) { medvdbg("Fail to create worker thread, return value : %d\n", ret); --mRefCnt; + mIsRunning = false; return; } pthread_setname_np(mWorkerThread, mThreadName);
Let's Amazon Echo control On/Off devices like Ubisys S1/S2
@@ -281,6 +281,8 @@ bool DeRestPluginPrivate::lightToMap(const ApiRequest &req, const LightNode *lig map["uniqueid"] = lightNode->uniqueId(); map["name"] = lightNode->name(); map["modelid"] = lightNode->modelId(); // real model id + map["manufacturername"] = lightNode->manufacturer(); + if (!auth.strict) { map["hascolo...
build: fix spelling
@@ -529,7 +529,7 @@ def withDockerEnv(stage_name, image, cl) { def cpu_count = cpuCount() withEnv(["MAKEFLAGS='-j${cpu_count+2} -l${cpu_count*2}'", "CTEST_PARALLEL_LEVEL='${cpu_count+2}'"]) { - echo "Staring ${env.STAGE_NAME} on ${env.NODE_NAME}" + echo "Starting ${env.STAGE_NAME} on ${env.NODE_NAME}" checkout scm dock...
removed hardcoding of /opt/rocm. The EXTRA_LDFLAGS now use -L/lib and AOMPROCM is set to /tmp/grodgers/rocm/aomp if not already set.
@@ -16,8 +16,9 @@ endif CLANG = clang++ -lamdhip64 $(RPTH) $(USE_MALLOC) $(LARGE) $(ITERS) OMP_BIN = $(AOMP)/bin/$(CLANG) CC = $(OMP_BIN) $(VERBOSE) +AOMPROCM ?= $(AOMP) ifeq ($(EPSDB),1) -EXTRA_LDFLAGS = -L/opt/rocm/lib +EXTRA_LDFLAGS = -L$(AOMPROCM)/lib endif #-ccc-print-phases #"-\#\#\#"
Change alua transition in process message to a debug The message "Lock acquisition operation is already in process" should be a dbg message.
@@ -559,7 +559,7 @@ int alua_implicit_transition(struct tcmu_device *dev, struct tcmulib_cmd *cmd) if (rdev->lock_state == TCMUR_DEV_LOCK_LOCKED) { goto done; } else if (rdev->lock_state == TCMUR_DEV_LOCK_LOCKING) { - tcmu_dev_info(dev, "Lock acquisition operation is already in process.\n"); + tcmu_dev_dbg(dev, "Lock a...
Adjust the stack pointer before calling the C code to account for the current stack frame.
// Call the 'C' handler with the current stack pointer // as argument, e.g.: // go_write(stackptr) - mov %rsp, 0x08(%rsp) + mov %rsp, %r11 + add $0x20, %r11 + mov %r11, 0x08(%rsp) lea \c_func@GOTPCREL(%rip), %r11 mov (%r11), %r11 mov %r11, (%rsp)
Sync improvements from downstream
@@ -1599,7 +1599,7 @@ static CFStringRef copy_printer_interface_deviceid(printer_interface_t printer, /* This request takes the 0 based configuration index. IOKit returns a 1 based configuration index */ configurationIndex -= 1; - bzero(&request, sizeof(request)); + memset(&request, 0, sizeof(request)); request.bmReque...
Add links to wikipedia artciles
@@ -55,14 +55,14 @@ For an example of a project using SIMDe, see There are currently complete implementations of the following instruction sets: - * MMX - * SSE - * SSE2 - * SSE3 - * SSSE3 - * SSE4.1 - * AVX - * FMA + * [MMX](https://en.wikipedia.org/wiki/MMX_(instruction_set)) + * [SSE](https://en.wikipedia.org/wiki/S...
Trying table
@@ -40,33 +40,21 @@ build_libm.sh - Built the libm DBCL (Device BC Library) These scripts install into $HOME/rocm/aomp (or $AOMP if set). The repositories needed by AOMP are: - Component DIRECTORY NAME * AOMP REPOSITORY ** - --------- ---------------------------- --------------------------- - roct $HOME/git/aomp/roct-t...
Set flag to proper value Set flag to proper value. Was previously 0xFFFFFFF and has been corrected to 0xFFFFFFFF.
@@ -35,8 +35,8 @@ const mbedtls_x509_crt_profile compat_profile = MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA256 ) | MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA384 ) | MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA512 ), - 0xFFFFFFF, /* Any PK alg */ - 0xFFFFFFF, /* Any curve */ + 0xFFFFFFFF, /* Any PK alg */ + 0xFFFFFFFF, /* Any curve */ 102...
I updated one of the onion peel operator tests. The test suite should now pass again.
@@ -109,9 +109,6 @@ def TestUCD(): ResetView() SetViewExtentsType("actual") AddOperator("OnionPeel") - op = OnionPeelAttributes() - op.index = 1 - SetOperatorOptions(op) DrawPlots() Test("ops_onionpeel_04")
[io] enable to modify an existing nslaw in the scene to change the parameters of the nslaw can be useful for multiple simulation sequence
@@ -1164,7 +1164,7 @@ class MechanicsHdf5(object): collision_group2=0): """ Add a nonsmooth law for contact between 2 groups. - Only NewtonImpactFrictionNSL are supported. + Only NewtonImpactRollingFrictionNSL are supported. name is an user identifiant and must be unique, mu is the coefficient of friction, e is the coe...
admin/docs: bump version for 2.6.0
%include %{_sourcedir}/OHPC_macros Name: docs%{PROJ_DELIM} -Version: 2.5.0 +Version: 2.6.0 Release: 1 Summary: OpenHPC documentation License: BSD-3-Clause
OpenCoreNvram: Fix NVRAM GUID reading
@@ -87,7 +87,7 @@ OcLoadNvramSupport ( // // FIXME: Checking string length manually is due to inadequate assertions. // - AsciiVariableGuid = OC_BLOB_GET (VariableMap->Keys[GuidIndex]); + AsciiVariableGuid = OC_BLOB_GET (Config->Nvram.Add.Keys[GuidIndex]); if (AsciiStrLen (AsciiVariableGuid) == GUID_STRING_LENGTH) { St...
ci: sort build configuration output
@@ -100,7 +100,7 @@ jobs: west build -s zmk/app -b ${{ matrix.board }} -- -DZMK_CONFIG=${GITHUB_WORKSPACE}/${{ inputs.config_path }} ${{ steps.variables.outputs.extra-cmake-args }} ${{ matrix.cmake-args }} - name: ${{ steps.variables.outputs.display-name }} Kconfig file - run: cat build/zephyr/.config | grep -v "^#" | ...
doc: define hierarchy and order comparision for use cases
@@ -8,9 +8,16 @@ This folder contains the use cases for `libelektra-core`. 2. associates each key with 1. values: an arbitrary byte sequence 2. metadata: another ordered, hierarchical associative array, which only associates keys with values -3. orders keys first by namespace then lexicographically -4. supports the ope...
decisions: clarify when not needed
@@ -46,6 +46,9 @@ Substantial decisions, however, must be made in a transparent and participative Rather it is important that decisions: - contain everything relevant, and - what is written is technically correct. +- Usually no decisions are needed for libraries, plugins, tools or bindings if: + - they are similar to a...
common: fix SIMDE_FLOAT64_C macro when SIMDE_FLOAT64_TYPE is defined
@@ -496,7 +496,7 @@ typedef SIMDE_FLOAT32_TYPE simde_float32; # define SIMDE_FLOAT64_TYPE double # define SIMDE_FLOAT64_C(value) value #else -# define SIMDE_FLOAT32_C(value) ((SIMDE_FLOAT64_TYPE) value) +# define SIMDE_FLOAT64_C(value) ((SIMDE_FLOAT64_TYPE) value) #endif typedef SIMDE_FLOAT64_TYPE simde_float64;
Add fallback when rk unaligned with padlock
@@ -83,6 +83,10 @@ int mbedtls_padlock_xcryptecb( mbedtls_aes_context *ctx, unsigned char buf[256]; rk = ctx->buf + ctx->rk_offset; + + if( ( (long) rk & 15 ) != 0 ) + return( MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED ); + blk = MBEDTLS_PADLOCK_ALIGN16( buf ); memcpy( blk, input, 16 ); @@ -125,11 +129,13 @@ int mbedtls_padlo...
Update EVP_KDF-X942-ASN1.pod Replaced OSSL_KDF_PARAM_KEY with OSSL_KDF_PARAM_SECRET as that seems to be the intended value from the code (OSSL_KDF_PARAM_KEY is also supported but looks like a fallback). Fixed name for OSSL_KDF_PARAM_X942_USE_KEYBITS. CLA: trivial
@@ -30,7 +30,7 @@ The supported parameters are: These parameters work as described in L<EVP_KDF(3)/PARAMETERS>. -=item "key" (B<OSSL_KDF_PARAM_KEY>) <octet string> +=item "secret" (B<OSSL_KDF_PARAM_SECRET>) <octet string> The shared secret used for key derivation. This parameter sets the secret. @@ -60,7 +60,7 @@ An op...
Sync Juntalis' findings
@@ -180,6 +180,32 @@ public unsafe partial struct MJIManager { /// <inheritdoc cref="Facility1"/> [FieldOffset(0x1EC)] public MJIBuildingPlacement Cabin; + /// <summary> + /// The current day in the Craftworks cycle, from 0 to 6. + /// </summary> + /// <remarks> + /// 0 represents reset day (Tuesday). + /// </remarks> ...
ARMv8: adding comments on the needed steps to initialize the core
@@ -93,16 +93,57 @@ static void print_string(char *string) string++; } } +#include <barrelfish_kpi/arm_core_data.h> - +/** + * @brief initializes an application core + * + * @param state pointer to the armv8_core_data structure + * + * This function is intended to bring the core to the same state as if it + * has been ...
chat-cli: Add debug poke for connecting to store
~& %chat-cli-prep ?^ old [~ this(+<+ u.old)] - :- [ost.bowl %peer /chat-store [our-self %chat-store] /all]~ + :- [connect ~] %_ this audience [[our-self /] ~ ~] settings (sy %showtime %notify ~) width 80 == +:: +connect: connect to the chat-store +:: +++ connect + ^- move + [ost.bowl %peer /chat-store [our-self %chat-s...
improve qt finding on windows
@@ -81,8 +81,10 @@ function _find_sdkdir(sdkdir, sdkver) { "HKEY_CLASSES_ROOT\\Applications\\QtProject.QtCreator.c\\shell\\Open\\Command", "HKEY_CLASSES_ROOT\\Applications\\QtProject.QtCreator.cpp\\shell\\Open\\Command", + "HKEY_CLASSES_ROOT\\Applications\\QtProject.QtCreator.pro\\shell\\Open\\Command", "HKEY_CURRENT_U...
docs: seccomp: Update instruction to get seccomp operator relase 0.4.0. This release packages seccompprofile in v1beta1.
@@ -262,13 +262,13 @@ Operator](https://github.com/kubernetes-sigs/security-profiles-operator). To install the operator, use the following commands: <!-- -In our code, we include seccompprofile/v1alpha1, thus we apply from v0.3.0 to +In our code, we include seccompprofile/v1beta1, thus we apply from v0.4.0 to ensure op...
doc: adding more content to
\title{Skate in Barrelfish} \author{Barrelfish project} % \date{\today} % Uncomment (if needed) - date is automatic -\tnnumber{20} +\tnnumber{020} \tnkey{Skate} + \lstdefinelanguage{skate}{ morekeywords={schema,typedef,fact,enum}, sensitive=true, @@ -123,7 +124,7 @@ The Skate compiler is written in Haskell using the Pa...
Update TERMS.md Change format.
@@ -14,45 +14,65 @@ Scope CCL has a commitment to support key DESC analyses. In this regard, CCL aims to -support cosmological models that are priorities for WGs (e.g., as defined by the "Beyond wCDM" taskforce); + -ensure sufficient flexibility such that modifications can be implemented at a later stage as needed (e.g...
BUMP pymongocrypt 1.3.2.dev0
# See the License for the specific language governing permissions and # limitations under the License. -__version__ = '1.3.1' +__version__ = '1.3.2.dev0' _MIN_LIBMONGOCRYPT_VERSION = '1.5.2'
fixing problems with vtune for mpi engine
@@ -1350,14 +1350,18 @@ class VTuneProfiler(Debugger): vtargs = self.DebuggerArguments() if len(vtargs) == 0: - vtargs = ["-collect", "hotspots", - "-result-dir", "./vtune_%s_hotspots.dir/"%(visitargs[0].split('/')[-1]), - "-trace-mpi", "-quiet"] + try: + os.mkdir("./vtune_%s"%self.launcher.generalArgs.exe_name) + exce...
output: added handling of case where the coro wasn't completely initialized
@@ -84,7 +84,10 @@ static FLB_INLINE void flb_coro_destroy(struct flb_coro *coro) VALGRIND_STACK_DEREGISTER(coro->valgrind_stack_id); #endif + if (coro->callee != NULL) { co_delete(coro->callee); + } + flb_free(coro); }
Add console clear method.
@@ -105,7 +105,7 @@ typedef struct TCOD_ConsoleTile { @code{.cpp} tcod::ConsolePtr console = tcod::new_console({{80, 50}}); console->at({1, 1}).ch = '@'; // Bounds-checked references to a tile. - (*console)[{1, 1}].bg = {0, 0, 255, 255}; // Access a tile without bounds checking. + (*console)[{1, 1}].bg = {0, 0, 255, 25...
add "SUPER" parameter.
@@ -63,6 +63,7 @@ end # class: "Range", # file: "c_range_method_table.h", # func: "mrbc_init_class_range", +# super: "mrbc_class_object", # methods: [ # { name: "first", func: "c_range_first", if_exp: "" } # ... @@ -84,13 +85,13 @@ def parse_source_string( src ) next end - # e.g. CLASS("xxx") + # e.g. CLASS, METHOD and...
BIO_do_accept: correct error return value `BIO_do_accept` was returning incorrect values when unable to bind to a port. Fixes CLA: trivial
@@ -222,19 +222,20 @@ static int acpt_state(BIO *b, BIO_ACCEPT *c) break; case ACPT_S_CREATE_SOCKET: - ret = BIO_socket(BIO_ADDRINFO_family(c->addr_iter), + s = BIO_socket(BIO_ADDRINFO_family(c->addr_iter), BIO_ADDRINFO_socktype(c->addr_iter), BIO_ADDRINFO_protocol(c->addr_iter), 0); - if (ret == (int)INVALID_SOCKET) {...
Add missing documentation of OSSL_FUNC_store_export_object()
@@ -105,6 +105,15 @@ further loading. OSSL_FUNC_store_close() frees the provider side context I<ctx>. +When a provider-native object is created by a store manager it would be unsuitable +for direct use with a foreign provider. The export function allows for +exporting the object to that foreign provider if the foreign ...
Just fsync those affected files during pg_rewind. In gpdb we've ensured that the database is in sync state before rewinding, so we could just fsync those affected files after rewinding.
@@ -812,6 +812,12 @@ digestControlFile(ControlFileData *ControlFile, char *src, size_t size) * most dirty buffers to disk. Additionally fsync_pgdata uses a two-pass * approach (only initiating writeback in the first pass), which often reduces * the overall amount of IO noticeably. + * + * gpdb: We assume that all files...
Sockeye: Complete new AST for Frontend
@@ -17,58 +17,77 @@ module SockeyeASTFrontend where data SockeyeSpec = SockeyeSpec { modules :: [Module] - , nodeDecls :: [NodeDecl] + , net :: [NetSpec] } -data ParamType = Index | Address +data ParamType = IndexParam | AddressParam data ModuleParam = ModuleParam { paramName :: !String - , paramType :: !Maybe ParamTyp...
sched/cpuload: Define variable for time constant as static variable Define g_cpuload_timeconstant as 'static' variable because this variable is used in sched_cpuload.c only
*/ volatile uint32_t g_cpuload_total[SCHED_NCPULOAD]; -volatile uint32_t g_cpuload_timeconstant[SCHED_NCPULOAD] = { +static volatile uint32_t g_cpuload_timeconstant[SCHED_NCPULOAD] = { #ifdef CONFIG_SCHED_MULTI_CPULOAD CONFIG_SCHED_CPULOAD_TIMECONSTANT_SHORT, CONFIG_SCHED_CPULOAD_TIMECONSTANT_MID,
fix (test-encrypt): remove async mode from non-async test in examples.cfg
@@ -81,8 +81,8 @@ test-ipsec@veth @veth ctr=off x_crypto async=off cryp ; -------------------------------------------------- ; Veth PCAP (input goes from pcap file) variant of the examples -encrypt-async@vethpcap @vethpcap ctr=off x_crypto async=pd crypto_burst_size=64 -test-ipsec@vethpcap @vethpcap ctr=off x_crypto as...
Squashed 'opae-libs/' changes from c5f4c659..d1bc4cc9 opae-libs: change version to 2.0.10 git-subtree-dir: opae-libs git-subtree-split:
@@ -30,7 +30,7 @@ project(opae-libs) set(OPAE_VERSION_LOCAL "" CACHE STRING "OPAE local version") set(OPAE_VERSION_MAJOR 2 CACHE STRING "OPAE major version" FORCE) set(OPAE_VERSION_MINOR 0 CACHE STRING "OPAE minor version" FORCE) -set(OPAE_VERSION_REVISION 9${OPAE_VERSION_LOCAL} CACHE STRING "OPAE revision version" FOR...
increase Replaces version number
@@ -18,7 +18,7 @@ Build-Depends: debhelper-compat (= 13), check (>= 0.10.0), pkg-config (>= 0.29), libsecret-1-dev (>= 0.18.4), - libcjson-dev (>= 1.7.14), + libcjson-dev (>= 1.7.10-1.1), Package: oidc-agent-cli Architecture: any @@ -26,7 +26,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, liboidc-agent4 (= ${binary:...
BugID:17132041:fix bug Negative array index read
@@ -159,17 +159,17 @@ int uData_new_servicetask(const char *name, void (*fn)(void *),void *arg, int uData_observe_servicetask_tag(int taskid,sensor_tag_e tag) { - int actual_num = g_uData_own_task_tag[taskid].actual_num; int i = 0; - LOG("uData_set_servicetask_tag taskid=%d,actual_num=%d,tag=%d,g_uData_own_task_cnt=%d\...
Disable Distribution Stage for Feature Branches
@@ -423,6 +423,6 @@ stages: dependsOn: - build_windows - build_linux - condition: and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), succeeded()) + condition: and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/')), succeeded()...
merge -s should only affect how things are merged, not reported
@@ -84,12 +84,6 @@ bool RecordOutputMgr::printKeyAndTerminate(RecordKeyVector &keyList) { //bed3 format, which is surprisingly difficult to do. Had to use the following: const Bed3Interval *bed3 = static_cast<const Bed3Interval *>(keyList.getKey()); bed3->Bed3Interval::print(_outBuf); - - //in addition, if we're doing ...
scheduler: on timer callback, do not consume byte in OSX
@@ -44,7 +44,7 @@ static inline int consume_byte(flb_pipefd_t fd) /* We need to consume the byte */ ret = flb_pipe_r(fd, &val, sizeof(val)); if (ret <= 0) { - perror("read"); + flb_errno(); return -1; } @@ -318,7 +318,9 @@ int flb_sched_event_handler(struct flb_config *config, struct mk_event *event) } else if (timer->...
ci: travis: switch to bionic
-dist: xenial +dist: bionic language: c # The leak sanitizer uses ptrace, which doesn't work under the # travis container infrastructure, so we enable 'sudo' @@ -48,7 +48,7 @@ matrix: ci/do-ut || true - os: linux env: FLB_OPT="-DFLB_COVERAGE=On" - dist: xenial + dist: bionic sudo: true language: c compiler: gcc @@ -60,...
docs: Update skeleton README.md to support different PAL versions Use liberpal-skeleton-v${SKELETON_PAL_VERSION}.so to replace liberpal-skeleton.so in README.
@@ -14,7 +14,7 @@ Note that this step is only required when using SGX out-of-tree driver. ```shell cd "${path_to_inclavare_containers}/rune/libenclave/internal/runtime/pal/skeleton" make -cp liberpal-skeleton.so /usr/lib +cp liberpal-skeleton-v*.so /usr/lib ``` ## Build skeleton container image @@ -68,7 +68,7 @@ Runtim...