message
stringlengths
6
474
diff
stringlengths
8
5.22k
posix.signal: add some missing signals and flags
@@ -288,6 +288,7 @@ Any constants not available in the underlying system will be `nil` valued. @int SIGFPE floating point error @int SIGHUP hangup @int SIGILL illegal instruction +@int SIGINFO information request @int SIGINT interrupt @int SIGKILL kill @int SIGPIPE write on pipe with no reader @@ -304,12 +305,14 @@ Any...
Update libunwind-common.h.in
@@ -101,7 +101,7 @@ unw_caching_policy_t; typedef enum { - UNW_INIT_SIGNAL_FRAME = 1, /* We know this is a signal frame */ + UNW_INIT_SIGNAL_FRAME = 1 /* We know this is a signal frame */ } unw_init_local2_flags_t;
ERR: preserve system error number in a few more places It turns out that intialization may change the error number, so we need to preserve the system error number in functions where initialization is called for. These are ERR_get_state() and err_shelve_state() Fixes
@@ -697,6 +697,7 @@ DEFINE_RUN_ONCE_STATIC(err_do_init) ERR_STATE *ERR_get_state(void) { ERR_STATE *state; + int saveerrno = get_last_sys_error(); if (!OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL)) return NULL; @@ -728,6 +729,7 @@ ERR_STATE *ERR_get_state(void) OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS,...
I know this is probably obvious to you, but not me Any info you can give the user to save them confusion is a plus IMHO.
@@ -41,7 +41,7 @@ namespace (ebi::vcf::HELP_OPTION, "Display this help") (ebi::vcf::VERSION_OPTION, "Display version of the assembly checker") (ebi::vcf::INPUT_OPTION, po::value<std::string>()->default_value(ebi::vcf::STDIN), "Path to the input VCF file, or stdin") - (ebi::vcf::FASTA_OPTION, po::value<std::string>()->d...
* test fixes
@@ -1960,7 +1960,7 @@ void test4() { void test_invalid_binn() { - char buffers[][20] = { + unsigned char buffers[][20] = { { 0xE0 }, { 0xE0, 0x7E }, { 0xE0, 0x7E, 0x7F }, @@ -2000,7 +2000,7 @@ void test_invalid_binn() { }; int count, size, i; - char *ptr; + unsigned char *ptr; puts("testing invalid binn buffers..."); @...
Plugins: Fix minor spelling mistake
@@ -207,7 +207,7 @@ copied by the `spec` plugin just before): - [path](path/) by checking files on file system - [type](type/) using run-time type checking (CORBA types/) - [enum](enum/) compares the keyvalue against a list of valid values -- [mathcheck](mathcheck/) by mathematical expressions using keysvalues as opera...
BugID:16859273:add keil iar prebuild targets
@@ -92,5 +92,5 @@ component.add_global_macros('SYSINFO_DEVICE_NAME=\\"'+'developerkit'+'\\"') component.set_enable_vfp() -linux_only_targets="helloworld mqttapp acapp uDataapp tls netmgrapp networkapp linkkit_gateway littlevgl_developerkit linuxapp cameraapp linkkit_sched hdlcapp.hdlcclient developerkitgui alinkapp bli...
test/siphash_internal_test.c: ensure the SIPHASH structure is zeroed Fixes [extended tests]
@@ -169,7 +169,7 @@ static TESTDATA tests[] = { static int test_siphash(int idx) { - SIPHASH siphash; + SIPHASH siphash = { 0, }; TESTDATA test = tests[idx]; unsigned char key[SIPHASH_KEY_SIZE]; unsigned char in[64]; @@ -257,7 +257,7 @@ static int test_siphash(int idx) static int test_siphash_basic(void) { - SIPHASH si...
Delete superfluous frame_config.duration comment
@@ -351,7 +351,6 @@ var Funcs = []string{ "token_writer.available() u64", // ---- frame_config - // Duration's upper bound is the maximum possible i64 value. "frame_config.blend() u8", "frame_config.disposal() u8",
kdb-complete: add detection for missing / outdated namespaces
@@ -55,7 +55,7 @@ int CompleteCommand::execute (const Cmdline & cl) const Key originalUnprocessedKey (originalInput, KEY_END); KDB kdb; // Determine the actual root key, as for completion purpose originalRoot may not exist - // Maybe we want to complete an initial namespace, in that case bookmark expansion checks done ...
Add gl_sync to MangoHud.conf
### VSYNC [0-3] 0 = adaptive; 1 = off; 2 = mailbox; 3 = on # vsync= +### OpenGL VSYNC [0-N] 0 = off; >=1 = wait for N v-blanks, N > 1 acts as a fps limiter (fps = display refresh rate / N) +# gl_vsync= + ################### VISUAL ################### ### Display the current CPU information
rust/bb02_async: remove qualifier Already imported at the top.
@@ -38,7 +38,7 @@ pub struct AsyncOption<'a, O>(&'a RefCell<Option<O>>); impl<O> core::future::Future for AsyncOption<'_, O> { type Output = (); - fn poll(self: core::pin::Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Self::Output> { + fn poll(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Self::Output> { match ...
Pack: Enhanced uVision and EWARM Simulators for Armv8.1-M compatibility.
@@ -4013,6 +4013,7 @@ and 8-bit Java bytecodes in Jazelle state. <compatibleDevice deviceIndex="0" Dvendor="ARM:82" Dname="ARMv8MML"/> <compatibleDevice deviceIndex="0" Dvendor="ARM:82" Dname="ARMv8MML_SP"/> <compatibleDevice deviceIndex="0" Dvendor="ARM:82" Dname="ARMv8MML_DP"/> + <compatibleDevice deviceIndex="0" Dve...
nat plugin - fix test logic warning found by clang: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses]
@@ -409,7 +409,7 @@ typedef struct { @param s SNAT session @return 1 if SNAT session is created from static mapping otherwise 0 */ -#define snat_is_session_static(s) s->flags & SNAT_SESSION_FLAG_STATIC_MAPPING +#define snat_is_session_static(s) (s->flags & SNAT_SESSION_FLAG_STATIC_MAPPING) /** \brief Check if SNAT sess...
Updated travis ci script
-script: -language: python -python: - - "2.7" - - "3.5" - - "3.6" +language: c + +# Compiler selection +compiler: + - clang + - gcc -# Travis uses Ubuntu 12.04 and 14.04. None of them have GSL2x in apt-get -# We have to install it from source (this will make the tests slower) -# CLASS also needs to be downloaded and co...
Fixed blank time distribution panel when using timestamps. Fixes
@@ -2339,7 +2339,7 @@ gen_visit_time_key (GKeyData * kdata, GLogItem * logitem) { /* otherwise it attempts to convert the date given a time format, * though this is slower */ memset (hour, 0, sizeof *hour); - if (convert_date (hour, logitem->time, conf.time_format, "%H:%M", HRMI_LEN) != 0) + if (convert_date (hour, log...
http3: instrument with req-level dtrace probes
@@ -984,6 +984,8 @@ static int handle_input_expect_headers(struct st_h2o_http3_server_stream_t *stre return 0; } + h2o_probe_log_request(&stream->req, stream->quic->stream_id); + /* change state */ set_state(stream, H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK); @@ -1016,6 +1018,7 @@ static void do_send(h2o_ost...
out_td: use new http client api
@@ -159,7 +159,7 @@ struct flb_http_client *td_http_client(struct flb_upstream_conn *u_conn, /* Create client */ c = flb_http_client(u_conn, FLB_HTTP_PUT, tmp, - gz, gz_size, NULL, 0, NULL); + gz, gz_size, NULL, 0, NULL, 0); if (!c) { flb_free(tmp); flb_free(gz);
hls_search doesnt support demo_memcopy anymore
fi fi # memcopy - if [[ $t0l == "10141000" || ${env_action} == "hls_memcopy" || ${env_action} == "hls_search" ]];then echo -e "$del\ntesting demo_memcopy" + if [[ $t0l == "10141000" || ${env_action} == "hls_memcopy" ]];then echo -e "$del\ntesting demo_memcopy" t="$DONUT_ROOT/software/examples/demo_memcopy -h" ;echo -e ...
Add support for pinned actors in asm implementation
@@ -31,13 +31,45 @@ _UpdateActors_b:: push hl check_if_pinned: + ld a, #22 + _add_a h, l + ld a, (hl) + cp a, #0 + jp z, handle_unpinned + + handle_pinned: ; load pos y push to stack ; load pos x push to stack ; jp move_sprite_pair + ; Load current pos in de (only lowest bytes) + pop hl + push hl + ld a, (hl) + add a, ...
isLightNodeInGroup() shoud always return true for global group (0)
@@ -4314,6 +4314,10 @@ bool DeRestPluginPrivate::isLightNodeInGroup(LightNode *lightNode, uint16_t grou if (lightNode) { + if (groupId == 0) + { + return true; // global group + } std::vector<GroupInfo>::const_iterator i = lightNode->groups().begin(); std::vector<GroupInfo>::const_iterator end = lightNode->groups().end...
tsch-log: fix autoconfiguration of TSCH_LOG_PER_SLOT
#define TSCH_LOG_PER_SLOT TSCH_LOG_CONF_PER_SLOT #else /* TSCH_LOG_CONF_PER_SLOT */ #include "sys/log.h" -#define TSCH_LOG_PER_SLOT (LOG_LEVEL_MAC >= LOG_LEVEL_DBG) +#define TSCH_LOG_PER_SLOT (LOG_CONF_LEVEL_MAC >= LOG_LEVEL_DBG) #endif /* TSCH_LOG_CONF_PER_SLOT */ /* The length of the log queue, i.e. maximum number po...
secure_boot: Do not allow key revocation in bootloader
@@ -137,10 +137,13 @@ esp_err_t esp_secure_boot_verify_rsa_signature_block(const ets_secure_boot_signa #if SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS == 1 int sb_result = ets_secure_boot_verify_signature(sig_block, image_digest, trusted.key_digests[0], verified_digest); #else - ets_secure_boot_key_digests_t trusted_key_digests;...
grid: correct name for landscape Fixes urbit/landscape#1168
@@ -14,8 +14,8 @@ const cards: OnboardingCardProps[] = [ href: '/leap/search/direct/apps/~zod/webterm' }, { - title: 'Groups', - body: 'Install Groups, a suite of social software to communicate with other urbit users', + title: 'Landscape', + body: 'Install Landscape, a suite of social software to communicate with othe...
hw: pic32mz2048efg100: Remove unused variables in hal_gpio
@@ -136,7 +136,7 @@ static void hal_gpio_handle_isr(uint32_t port) { uint8_t index = 0; - static unsigned int i = 0; + for (index = 0; index < HAL_GPIO_MAX_IRQ; ++index) { uint32_t mask, val; @@ -377,7 +377,6 @@ hal_gpio_irq_release(int pin) void hal_gpio_irq_enable(int pin) { - volatile uint32_t dummy; uint32_t port, ...
hoon: refactors +stir types/comments for clarity
|= tub=nail ^- (like _rud) :: - :: lef: successful interim parse results per .fel - :: wag: initial accumulator + :: lef: successful interim parse results (per .fel) + :: wag: initial accumulator (.rud in .tub at farthest success) :: =+ ^= [lef wag] =| lef=(list _(fel tub)) - =| wag=[p=hair q=[~ u=[p=_rud q=nail]]] - |...
config tool:add support for bootargs missing Bugfix:bootargs is optional parameter, which may be not present in xml as a node, asl_gen.py needs to process that case.
@@ -829,7 +829,8 @@ def main(args): kern_args = common.get_leaf_tag_map(scenario, "os_config", "bootargs") kern_type = common.get_leaf_tag_map(scenario, "os_config", "kern_type") for vm_id, passthru_devices in dict_passthru_devices.items(): - if kern_args[int(vm_id)].find('reboot=acpi') == -1 and kern_type[int(vm_id)] ...
If printing out message about non-admin user then do not print error about verb.
@@ -363,9 +363,12 @@ EFI_STATUS findVerb(UINTN *pStart, struct CommandInput *pInput, struct Command * if (g_basic_commands) { // This should be updated when there are other comamnds a non-root user can run Print(L"A non-root user is restricted to run only version command\n"); - } + } else { #endif SetSyntaxError(CatSPr...
esp32/mphalport: Improve mp_hal_delay_us so it handles pending events. Thanks to for the initial idea and implementation.
@@ -113,7 +113,28 @@ void mp_hal_delay_ms(uint32_t ms) { } void mp_hal_delay_us(uint32_t us) { - ets_delay_us(us); + // these constants are tested for a 240MHz clock + const uint32_t this_overhead = 5; + const uint32_t pend_overhead = 150; + + // return if requested delay is less than calling overhead + if (us < this_o...
sbgemm: spr: oncopy: avoid handling too much pointer at a time
@@ -49,27 +49,39 @@ int CNAME(BLASLONG m, BLASLONG n, IFLOAT *a, BLASLONG lda, IFLOAT *b) { BLASLONG m2 = m & ~1; for (j = 0; j < n16; j += 16) { + IFLOAT *boffset0 = boffset; aoffset0 = aoffset; aoffset1 = aoffset0 + lda; aoffset2 = aoffset1 + lda; aoffset3 = aoffset2 + lda; + for (i = 0; i < m32; i += 32) { + COPY_32...
Change ApiResponse from struct to class Mainly for consistency and match forward declaration.
@@ -1018,8 +1018,9 @@ public: Helper to simplify HTTP REST request handling. */ -struct ApiResponse +class ApiResponse { +public: QString etag; const char *httpStatus; const char *contentType;
Fixed CMake error for newer CMake versions.
@@ -39,7 +39,7 @@ if(R_RSCRIPT_EXECUTABLE) OUTPUT_VARIABLE R_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE ) - string(REGEX REPLACE "[a-zA-Z]|[(].*|[ ]" "" R_VERSION ${R_VERSION}) + string(REGEX REPLACE "[a-zA-Z]|[(].*|[ ]" "" R_VERSION "${R_VERSION}") set(R_LIBRARY_DIR "${R_HOME_DIR}/bin/x64") if("${CMAKE_SIZEOF_VOID_P}" S...
sysdeps/managarm: Implement F_GETFD fcntl()
@@ -52,7 +52,6 @@ namespace mlibc { int sys_chroot(const char *path) { HelAction actions[3]; - globalQueue.trim(); managarm::posix::CntRequest<MemoryAllocator> req(getAllocator()); @@ -146,9 +145,39 @@ int sys_fcntl(int fd, int request, va_list args) { return -1; return newfd; }else if(request == F_GETFD) { - frigg::in...
Removed outdated warning message about moons.
leaf+"can't create a moon from a {?:(?=($earl ran) "moon" "comet")}" =/ mon (mix (lsh 5 1 (end 5 1 eny)) p.bec) =/ tic .^(@ /a/(scot %p p.bec)/tick/(scot %da now)/(scot %p mon)) -%+ sole-yo - leaf+"(see https://github.com/urbit/arvo/issues/327 for details)" -%+ sole-yo - :- %leaf - ;: weld - "WARNING: linking a moon to...
update the ASN and counter payload position.
@@ -13,8 +13,8 @@ while True: hisAddress = dist_addr[0] hisPort = dist_addr[1] - asn = struct.unpack('<HHB',request[:5]) - counter = struct.unpack('<h',request[-2:])[0] + asn = struct.unpack('<HHB',request[-14:-9]) + counter = struct.unpack('<h',request[-9:-7]) print 'received "{0}" from [{1}]:{2}'.format(counter,hisAd...
Query environment for desired version. Some minor stdout tweaks...
@@ -5,12 +5,34 @@ use warnings; use File::Path; use File::Copy::Recursive "dircopy"; -my @arches = ('aarch64', 'x86_64'); -my @distros = ('CentOS_7.2', 'SLE_12_SP1'); +#my @arches = ('aarch64', 'x86_64'); +#my @distros = ('CentOS_7.2', 'SLE_12_SP1'); +# debug for testing... +my @arches = ('x86_64'); +my @distros = ('Ce...
Don't use an RSA-PSS cert for RSA key exchange If we have selected a ciphersuite using RSA key exchange then we must not attempt to use an RSA-PSS cert for that. Fixes
@@ -2473,7 +2473,10 @@ static int tls12_get_cert_sigalg_idx(const SSL *s, const SIGALG_LOOKUP *lu) const SSL_CERT_LOOKUP *clu = ssl_cert_lookup_by_idx(sig_idx); /* If not recognised or not supported by cipher mask it is not suitable */ - if (clu == NULL || !(clu->amask & s->s3->tmp.new_cipher->algorithm_auth)) + if (cl...
gtkui: center about_dlg
@@ -443,8 +443,11 @@ about_dialog (gpointer data) gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(about_dlg), authors); gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(about_dlg), translators); set_window_icon(GTK_WINDOW(about_dlg), NULL); + gtk_window_set_transient_for( GTK_WINDOW (about_dlg), main_window ); + ...
handle out of memory errors in get/set_plugin_metadata
@@ -1300,6 +1300,10 @@ int set_plugin_metadata(protoop_plugin_t *plugin, plugin_struct_metadata_t **met HASH_FIND_PLUGIN(*metadata, &(plugin->hash), md); if (md == NULL) { md = (plugin_struct_metadata_t *) calloc(1, sizeof(plugin_struct_metadata_t)); + if (!md) { + printf("ERROR: out of memory !\n"); + return -1; + } m...
xcframeworkbuild.sh: add arm64 simulator target this fixes simulator builds on an M1
@@ -48,6 +48,7 @@ PLATFORMS[$MACOS_CATALYST]="MacOSX-Catalyst-x86_64" if [[ "${XCODE%%.*}" -ge 12 ]]; then PLATFORMS[$MACOS]+=" MacOSX-arm64" PLATFORMS[$MACOS_CATALYST]+=" MacOSX-Catalyst-arm64" + PLATFORMS[$IOS_SIMULATOR]+=" iPhoneSimulator-arm64" elif [[ "${XCODE%%.*}" -eq 11 ]]; then cat << EOF WARNING: Xcode 12.0 o...
artik055s/media:Disable gmock and update defconfig Disable CONFIG_GMOCK and update defconfig using make menuconfig
@@ -864,8 +864,6 @@ CONFIG_AUDIO_EXCLUDE_REWIND=y # Media Support # CONFIG_MEDIA=y -CONFIG_DEBUG_MEDIA=y -CONFIG_DEBUG_MEDIA_ERROR=y CONFIG_MEDIA_PLAYER=y CONFIG_MEDIA_RECORDER=y CONFIG_AUDIO_RESAMPLER_BUFSIZE=4096 @@ -996,6 +994,8 @@ CONFIG_DEBUG_ERROR=y # # CONFIG_DEBUG_FS is not set # CONFIG_DEBUG_AUDIO is not set +...
test: Fix misleading comment in usb_typec_drp_acc_trysrc BRANCH=none TEST=none
* Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * - * Test USB Type-C VPD and CTVPD module. + * Test USB Type-C Dual Role Port, Audio Accessory, and Try.SRC Device module. */ #include "charge_manager.h" #include "mock/tcpc_mock.h"
Add prototypes for cblas_csrot and cblas_zdrot
@@ -125,6 +125,8 @@ void cblas_zswap(OPENBLAS_CONST blasint n, void *x, OPENBLAS_CONST blasint incx, void cblas_srot(OPENBLAS_CONST blasint N, float *X, OPENBLAS_CONST blasint incX, float *Y, OPENBLAS_CONST blasint incY, OPENBLAS_CONST float c, OPENBLAS_CONST float s); void cblas_drot(OPENBLAS_CONST blasint N, double *...
Update rest client comment
/** * \brief Execute REST call and pass everything in single shot - * \param[in] m: HTTP method to ue + * \param[in] m: HTTP method used in request header * \param[in] uri: URI to open, including "http[s]://". Example: "http://example.com:80/test/data?param1=param2..." * \param[in] tx_data: Optional TX data to send. Us...
Python message
@@ -70,7 +70,7 @@ list( APPEND tests_extra # The high level python test requires new features in the unittest # which are only there for python 2.7 onwards if( HAVE_PYTHON AND PYTHON_VERSION_STRING VERSION_GREATER "2.7" ) - ecbuild_info("Python examples: Adding test for High-level Pythonic Interface") + #ecbuild_info("...
A little more logging.
@@ -37,13 +37,19 @@ func pollSensors() { // If it's not currently connected, try connecting to pressure sensor if globalSettings.Sensors_Enabled && !globalStatus.PressureSensorConnected { + log.Println("AHRS Info: attempting pressure sensor connection.") globalStatus.PressureSensorConnected = initPressureSensor() // I2...
Fix chip/imxrt_lpspi.c:553:23: error: unused function 'imxrt_lpspi_readbyte' and chip/imxrt_lpspi.c:580:20: error: unused function 'imxrt_lpspi_writebyte'
@@ -409,46 +409,6 @@ static struct imxrt_lpspidev_s g_lpspi4dev = * Private Functions ****************************************************************************/ -/**************************************************************************** - * Name: imxrt_lpspi_getreg8 - * - * Description: - * Get the contents of th...
Add installation instructions for Amazon Linux 1 AMI Sign-Off-By Travis Davies
- [Gentoo](#gentoo---portage) - [openSUSE](#opensuse---binary) - [RHEL](#rhel---binary) + - [Amazon Linux 1](#Amazon-Linux-1---Binary) * [Source](#source) - [Debian](#debian---source) - [Ubuntu](#ubuntu---source) @@ -164,6 +165,23 @@ For RHEL 7.6, bcc is already included in the official yum repository as bcc-tool yum i...
vere: refactors %lin blit handling in term.c
@@ -1203,6 +1203,28 @@ _term_it_show_stub(u3_utty* uty_u, u3z(tub); } +/* _term_it_show_tour(): send utf32 to terminal. +*/ +static void +_term_it_show_tour(u3_utty* uty_u, + u3_noun lin) +{ + c3_w len_w = u3qb_lent(lin); + c3_w* lin_w = c3_malloc( sizeof(c3_w) * len_w ); + + { + c3_w i_w; + + for ( i_w = 0; u3_nul != ...
Reduce the CPU usage
@@ -314,7 +314,7 @@ def input(prompt=""): __PyInputHelper__.showAlertWithPrompt(prompt) while __PyInputHelper__.userInput == None or threading.currentThread() in ignoredThreads: - continue + time.sleep(0.2) userInput = __PyInputHelper__.userInput __PyInputHelper__.userInput = None
Fix wrong cblas_dgemv call See
@@ -157,8 +157,10 @@ void Jac_F_FB(int n1, int n2, double* restrict z, double* restrict F, double* re } // workV1 = "z" in Facchinei--Pang (2003) p. 808 // "z_i" = 1 if z_i = w_i = 0.0 - // nabla_F^T.workV1 --> workV2 - cblas_dgemv(CblasColMajor,CblasTrans, n2, n2, 1.0, nabla_F_dense, n2, &workV1[n1], 1, 0.0, &workV2[n...
small fix inside ifdef z13mvc . (z13mvc code is not used in production)
@@ -27,7 +27,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "common.h" - #if defined(Z13mvc) static void dcopy_kernel_32(BLASLONG n, FLOAT *x, FLOAT *y) { @@ -42,9 +41,9 @@ static void dcopy_kernel_32(BLASLONG n, FLOAT *x, FLOAT *y) { "la %[ptr_x],256(%[ptr_x]) \n\t" "la %[ptr_y]...
out_s3: fix documentation for total_file_size option
@@ -1545,7 +1545,7 @@ static struct flb_config_map config_map[] = { { FLB_CONFIG_MAP_SIZE, "total_file_size", "100000000", 0, FLB_TRUE, offsetof(struct flb_s3, file_size), - "Specifies the size of files in S3. Maximum size is 50GB, minimim is 1MB" + "Specifies the size of files in S3. Maximum size is 50GB, minimum is 1...
test-suite: include mpi family in module tests for mfem
@@ -17,7 +17,7 @@ rpm=mfem-$LMOD_FAMILY_COMPILER-$LMOD_FAMILY_MPI${DELIM} check_rms -@test "[$testname] Verify $PKG module is loaded and matches rpm version ($LMOD_FAMILY_COMPILER)" { +@test "[$testname] Verify $PKG module is loaded and matches rpm version ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" { module list $module...
Allow username to differ from bucket name Tested-by: Mark Nunberg
@@ -90,10 +90,6 @@ Authenticator::init(const std::string& username_, const std::string& bucket, m_username = (!username_.empty()) ? username_ : bucket; m_password = passwd; - if (conntype == LCB_TYPE_BUCKET && m_username != bucket) { - return LCB_INVALID_USERNAME; - } - m_buckets[bucket] = m_password; return LCB_SUCCES...
Fix warning in lv_img_src_get_type
@@ -238,20 +238,25 @@ bool lv_img_color_format_has_alpha(lv_img_cf_t cf) */ lv_img_src_t lv_img_src_get_type(const void * src) { - if(src == NULL) return LV_IMG_SRC_UNKNOWN; + lv_img_src_t img_src_type = LV_IMG_SRC_UNKNOWN; + + if(src == NULL) return img_src_type; const uint8_t * u8_p = src; /*The first byte shows the ...
sysdeps/managarm: Implement chdir()
@@ -52,10 +52,45 @@ HelHandle __mlibc_getPassthrough(int fd) { namespace mlibc { int sys_chdir(const char *path) { - mlibc::infoLogger() << "\e[31mmlibc: chdir() is not implemented correctly\e[39m" - << frg::endlog; + SignalGuard sguard; + HelAction actions[3]; + globalQueue.trim(); + + managarm::posix::CntRequest<Memo...
Treat '.mp*' files as mp3 audio
@@ -254,7 +254,7 @@ namespace nme bool isMp3(const std::string &inFilename) { - return inFilename.size()>3 && inFilename.substr( inFilename.size()-3 )=="mp3"; + return inFilename.size()>3 && inFilename.substr( inFilename.size()-3,2 )=="mp"; }
merge add wch chip.
@@ -144,6 +144,8 @@ jobs: - {RTT_BSP: "stm32/stm32mp157a-st-ev1", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "stm32/stm32u575-st-nucleo", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "stm32/stm32wb55-st-nucleo", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "wch/arm/ch32f103c8-core", RTT_TOOL_CHAIN: "sourcery-arm"} + -...
Fix typo in aesccm.c CLA: trivial
@@ -89,7 +89,7 @@ void aes_ccm_decrypt(void) EVP_CIPHER_CTX *ctx; int outlen, tmplen, rv; unsigned char outbuf[1024]; - printf("AES CCM Derypt:\n"); + printf("AES CCM Decrypt:\n"); printf("Ciphertext:\n"); BIO_dump_fp(stdout, ccm_ct, sizeof(ccm_ct)); ctx = EVP_CIPHER_CTX_new();
moved laplacian to the vector expr list
@@ -708,6 +708,11 @@ IJ_Gradient Function: ``ij_gradient()`` : ``ij_gradient(expr0)`` IJK_Gradient Function: ``ijk_gradient()`` : ``ijk_gradient(expr0)`` No description available. +.. _Laplacian_Expression_Function: + +Laplacian Function: ``laplacian()`` : ``laplacian(expr0)`` + No description available. + .. _Surface_...
replace ifconfig & brctl with ip command clearlinux package will remove ifconfig/brctl tools. Acked-by: Eddie Dong
@@ -8,13 +8,13 @@ if [ ! -f "/data/$5/$5.img" ]; then fi #vm-name used to generate uos-mac address -mac=$(cat /sys/class/net/ens4/address) +mac=$(cat /sys/class/net/en*/address) vm_name=vm$1 vm_name=${vm_name}-${mac:9:8} # create a unique tap device for each VM tap=tap_LaaG -tap_exist=$(ifconfig | grep acrn_"$tap" | aw...
pnlBoardControls: add pointer check
@@ -255,6 +255,7 @@ void pnlBoardControls::OnReadAll( wxCommandEvent& event ) evt.SetId(additionalControls->GetId()); wxPostEvent(additionalControls, evt); } + if (txtDACValue) { uint16_t val; LMS_VCTCXORead(lmsControl, &val, true);
Version 1.2 - readme rev
-2017-11-01 - Version 1.2 +2017-11-01 - Version 1.2 (rev 8e04633) - Software-based coverage feedback (-z) is now enabled by default, can be disabled with (-x) - Better sigprocmask manipulation before executing a process - Updated fuzzing corpora for ssl packages
Make cubic spline error more polite;
@@ -113,7 +113,7 @@ bool lovrAnimatorEvaluate(Animator* animator, int nodeIndex, mat4 transform) { } break; case SMOOTH_LINEAR: lerp(value, next, z); break; - case SMOOTH_CUBIC: lovrThrow("No spline interpolation yet"); break; + case SMOOTH_CUBIC: lovrThrow("Cubic spline keyframe interpolation is not supported yet"); b...
Fix eventfd configuration bug.
@@ -341,7 +341,7 @@ else () nng_check_sym (backtrace_symbols_fd execinfo.h NNG_HAVE_BACKTRACE) nng_check_sym (alloca alloca.h NNG_HAVE_ALLOCA) nng_check_struct_member(msghdr msg_control sys/socket.h NNG_HAVE_MSG_CONTROL) - nng_check_sym (eventfd sys/eventfd NNG_HAVE_EVENTFD) + nng_check_sym (eventfd sys/eventfd.h NNG_H...
Remove unused "#ifdef"-related cgen strings
@@ -577,6 +577,11 @@ func (g *gen) generate() ([]byte, error) { return *b, nil } +var ( + wiStartImpl = []byte("\n// WUFFS C HEADER ENDS HERE.\n#ifdef WUFFS_IMPLEMENTATION\n\n") + wiEnd = []byte("\n#endif // WUFFS_IMPLEMENTATION\n\n") +) + func (g *gen) genIncludes(b *buffer) error { b.writes("#if defined(WUFFS_IMPLEME...
Fix incorrectly removed unrolljam option in PR
@@ -223,6 +223,7 @@ int main(int argc, char *argv[]) { {"parallelize", no_argument, &options->parallel, 1}, {"innerpar", no_argument, &options->innerpar, 1}, {"iss", no_argument, &options->iss, 1}, + {"unrolljam", no_argument, &options->unrolljam, 1}, {"nounrolljam", no_argument, &options->unrolljam, 0}, {"bee", no_arg...
restore upvalue
@@ -184,8 +184,22 @@ function serialize._resolvefunction(root, env, funccode) if type(funccode) ~= "string" then return nil, "func should called with a string" end - -- resolve - return load(funccode, "=(deserialized code)", "b", env) + + -- resolve funccode + local func, err = load(funccode, "=(deserialized code)", "b...
remove text process 0
@@ -78,7 +78,7 @@ def create_frame(codec, beatmap, skin, replay_event, replay_info, resultinfo, st while frame_info.osr_index < end_index: # len(replay_event) - 3: status = render_draw(beatmap, component, cursor_event, frame_info, img, np_img, pbuffer, preempt_followpoint, replay_event, start_index, time_preempt, updat...
[chainmaker][#436]modify create wallet return value
@@ -107,7 +107,7 @@ START_TEST(test_001Wallet_0002CreateOneTimeWalletFailureNullConfig) /* 3. verify test result */ /* 3-1. verify the return value */ - ck_assert_int_eq(rtnVal, -1); + ck_assert_int_eq(rtnVal, BOAT_ERROR_COMMON_INVALID_ARGUMENT); /* 3-2. verify the global variables that be affected */ ck_assert(g_boat_...
tweaks for CMakeLists.txt
@@ -26,8 +26,6 @@ ELSE (LIBBCC_LIB) MESSAGE(SEND_ERROR "libbcc not found") ENDIF (LIBBCC_LIB) -SET(SOURCE_FILES h2olog.cc http.cc quic.cc) - set(SOURCE_FILES "h2olog.cc" "http.cc" @@ -48,12 +46,12 @@ ADD_CUSTOM_COMMAND( LIST(APPEND DTRACE_FILES "${CMAKE_BINARY_DIR}/h2o-probes.d") ADD_CUSTOM_COMMAND( - OUTPUT "${CMAKE_B...
parser json BUGFIX correct metadata processing
@@ -734,7 +734,6 @@ lydjson_metadata(struct lyd_json_ctx *lydctx, const struct lysc_node *snode, str char *dynamic_prefname = NULL; size_t name_len, prefix_len = 0; struct lys_module *mod; - struct lyd_meta *meta = NULL; const struct ly_ctx *ctx = lydctx->jsonctx->ctx; ly_bool is_attr = 0; struct lyd_node *prev = node;...
hv: mmio: replace hi_mmio with mmio64 Now HI_MMIO_xxx is duplicate with MMIO64_xxx. This patch replace HI_MMIO_xxx with MMIO64_xxx.
@@ -294,12 +294,12 @@ void init_paging(void) pgtable_add_map((uint64_t *)ppt_mmu_pml4_addr, high64_min_ram, high64_min_ram, high64_max_ram - high64_min_ram, PAGE_ATTR_USER | PAGE_CACHE_WB, &ppt_pgtable); } - /* Map [low32_max_ram, 4G) and [HI_MMIO_START, HI_MMIO_END) MMIO regions as UC attribute */ + /* Map [low32_max_...
fix that testdata/rpz_clientip.rpl trigger tests succeed.
@@ -1356,7 +1356,7 @@ rpz_resolve_client_action_and_zone(struct auth_zones* az, struct query_info* qin z = rpz_find_zone(r->local_zones, qinfo->qname, qinfo->qname_len, qinfo->qclass, 0, 0, 0); node = rpz_ipbased_trigger_lookup(r->client_set, &repinfo->addr, repinfo->addrlen); - if(z && r->action_override == RPZ_DISABL...
GO_PACKAGE_NAME() macro to define current package name when package name doesn't match last syllable of import path
@@ -3501,6 +3501,11 @@ macro GO_FAKE_OUTPUT(FILES...) { CGO_ENABLED=yes +GO_PACKAGE_VALUE= +macro GO_PACKAGE_NAME(NAME) { + SET(GO_PACKAGE_VALUE $NAME) +} + GO_SRCS_VALUE= macro GO_SRCS(FILES...) { GO_FAKE_OUTPUT($FILES)
YAML CPP: Do not use exceptions in bool conversion See also:
@@ -237,14 +237,12 @@ YAML::Node createMetaDataNode (Key const & key) return YAML::Node ("Unsupported binary value!"); } - try + auto value = key.get<string> (); + if (value == "0" || value == "1") { return YAML::Node (key.get<bool> ()); } - catch (KeyTypeConversion const &) - { - return YAML::Node (key.getString ()); ...
cmake: Require GnuTLS >= 3.7.0
@@ -68,7 +68,7 @@ endforeach() if(ENABLE_GNUTLS) - find_package(GnuTLS 3.6.12) + find_package(GnuTLS 3.7.0) endif() if(ENABLE_OPENSSL) find_package(OpenSSL 1.1.1) @@ -130,19 +130,8 @@ set(HAVE_LIBEV ${LIBEV_FOUND}) # libnghttp3 (for examples) set(HAVE_LIBNGHTTP3 ${LIBNGHTTP3_FOUND}) -# GnuTLS (required for external htt...
Initialize per cc objective in PlutoOptions
@@ -2100,8 +2100,7 @@ isl_basic_map_extract_access_func(__isl_take isl_basic_map *bmap, void *user) { } /* Extract Pluto access functions from isl_map */ -isl_stat isl_map_extract_access_func(__isl_take isl_map *map, - void *user) { +isl_stat isl_map_extract_access_func(__isl_take isl_map *map, void *user) { /* Extract...
Analysis workflow, echo wrong directories.
@@ -292,6 +292,10 @@ jobs: echo "./configure SHELL=/usr/bin/bash CONFIG_SHELL=/usr/bin/bash --prefix=\"$prepath/expat\" --exec-prefix=\"$prepath/expat\" --bindir=\"$prepath/expat/bin\" --includedir=\"$prepath/expat/include\" --mandir=\"$prepath/expat/man\" --libdir=\"$prepath/expat/lib\"" ./configure SHELL=/usr/bin/bas...
Fix missing output include in antlr4
@@ -32,5 +32,5 @@ def onrun_antlr4_cpp(unit, *args): if '-visitor' in args: arg_list += [ 'OUT', grammar + 'Visitor.h', grammar + 'BaseVisitor.h' ] arg_list += [ 'CWD', '${BINDIR}' ] - + arg_list += [ 'OUTPUT_INCLUDES', '${ARCADIA_ROOT}/contrib/libs/antlr4_cpp_runtime/src/antlr4-runtime.h' ] unit.onrun_antlr4(arg_list)...
dojo: reintroduce "??? expr" parse debug mode NOTE does a somewhat quetionable type thing, original version didn't compile
^+ +> :: XX needs filter :: - :: ?: ?=({$show $3} -.mad) - :: (dy-rash %tan (dy-show-source q.mad) ~) :: XX separate command + ?: ?=({$show $3} -.mad) + (dy-rash %tan (dy-show-source q.mad) ~) :: XX separate command ?: ?=($brev -.mad) =. var (~(del by var) p.mad) =< dy-amok :: XX actually print something meaningful her...
Trap stb_image asserts to a clean error handler
* @brief Functions for building the implementation of stb_image and tinyexr */ +#include <cstdlib> +#include <cstdio> + #define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_WRITE_IMPLEMENTATION #define STBI_MSC_SECURE_CRT #define STBI_NO_PIC #define STBI_NO_PNM #define STBI_NO_PSD +#define STBI_ASSERT(x) astcenc_runtime_...
bricks/ev3dev/pbinit: display play symbol This is a bit more descriptive than an empty rectangle.
@@ -55,9 +55,43 @@ void pybricks_init() { exit(1); } grx_clear_screen(GRX_COLOR_WHITE); - GrxLineOptions options = { .width = 10 }; - gint margin = MIN(grx_get_width(), grx_get_height()) / 10; - grx_draw_box_with_options(margin, margin, grx_get_max_x() - margin, grx_get_max_y() - margin, &options); + + // Screen center...
Improve consistency in the HOLDS_ITER macros
@@ -79,7 +79,7 @@ BSON_BEGIN_DECLS #define BSON_ITER_HOLDS_INT64(iter) (bson_iter_type ((iter)) == BSON_TYPE_INT64) #define BSON_ITER_HOLDS_DECIMAL128(iter) \ - (bson_iter_type (iter)) == BSON_TYPE_DECIMAL128 + (bson_iter_type ((iter)) == BSON_TYPE_DECIMAL128) #define BSON_ITER_HOLDS_MAXKEY(iter) \ (bson_iter_type ((it...
Adjust the stack_top to bss
#define SUB_ISR_Stack_Size (SUB_UND_Stack_Size + SUB_SVC_Stack_Size + SUB_ABT_Stack_Size + \ SUB_RT_FIQ_STACK_PGSZ + SUB_RT_IRQ_STACK_PGSZ) -.section .data.share.isr +.section .bss.share.isr /* stack */ .globl stack_start .globl stack_top
Remove dead code from lpStringToInt64()
@@ -183,9 +183,6 @@ int lpStringToInt64(const char *s, unsigned long slen, int64_t *value) { if (p[0] >= '1' && p[0] <= '9') { v = p[0]-'0'; p++; plen++; - } else if (p[0] == '0' && slen == 1) { - *value = 0; - return 1; } else { return 0; }
parser common UPDATE explicit limited strcpy
@@ -1669,7 +1669,7 @@ lysp_stmt_revision(struct lysp_ctx *ctx, const struct lysp_stmt *stmt, struct ly /* store date */ LY_CHECK_RET(lysp_check_date(ctx, stmt->arg, strlen(stmt->arg), "revision")); - strcpy(rev->date, stmt->arg); + strncpy(rev->date, stmt->arg, LY_REV_SIZE - 1); /* parse substatements */ for (const str...
Testing: PNG packing
@@ -18,11 +18,18 @@ temp2=${label}".2.tmp" files=" reduced_gaussian_model_level.grib2 reduced_gaussian_sub_area.grib2 + regular_gaussian_model_level.grib2 regular_latlon_surface_constant.grib2 + test_file.grib2 + constant_field.grib2 " +if [ $HAVE_AEC -eq 1 ]; then + files="ccsds.grib2 "$files +fi + if [ $HAVE_JPEG -eq...
Fix building of rust tools in Docker Attempting to run `cargo install --git --bins` in the rust Docker image fails during compilation of jemalloc since make is not installed
@@ -13,7 +13,7 @@ RUN mkdir -p $SCCACHE_DIR RUN \ apt-get update \ - && apt-get install -y libssl-dev pkg-config curl build-essential \ + && apt-get install -y libssl-dev pkg-config curl build-essential make \ && curl -sSL -o /tmp/sccache.tgz "${SCCACHE_URL}" \ && mkdir /tmp/sccache \ && tar --strip-components=1 -C /tm...
npu2: Fix clearing the FIR bits FIR registers are SCOM-only so they cannot be accesses with the indirect write, and yet we use SCOM-based addresses for these; fix this.
@@ -331,7 +331,7 @@ static uint32_t reset_ntl_release(struct npu2_dev *ndev) npu2_fir = 0; for (i = 0; i < NPU2_TOTAL_FIR_REGISTERS; i++) { - npu2_write(ndev->npu, npu2_fir_addr, npu2_fir); + xscom_write(ndev->npu->chip_id, npu2_fir_addr, npu2_fir); npu2_fir_addr += NPU2_FIR_OFFSET; }
added a switch count to coroutine to prevent long runs of a single coroutine
@@ -211,6 +211,7 @@ public: , Func_(func) , Arg_(arg) , Name_(name) + , SwitchCount_(0) , Cancelled_(false) , Scheduled_(false) { @@ -225,7 +226,10 @@ public: inline void SwitchTo(TCont* next) noexcept { DBGOUT(PCORO(this) << " switch to " << PCORO(next)); - + if (next == this) { + return; + } + SwitchCount_ += 1; Cont...
core: do not duplicate already newly allocated KeySet
/** * @file * - * @brief Interna of mount functionality. + * @brief Internals of mount functionality. * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) */ #include <stdio.h> #endif +#include <kdbassert.h> + #include "kdbinternal.h" @@ -289,9 +291,11 @@ Plugin * elektraMountGlobalsLoadPlugin (Key...
Docker: Remove pinned apt versions.
@@ -12,21 +12,21 @@ RUN useradd -u 1000 -U -m -c Jenkins jenkins ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install --no-install-recommends -y \ - bc=1.07.1-2build1 \ - build-essential=12.8ubuntu1.1 \ - curl=7.68.0-1ubuntu2.5 \ - dos2unix=7.4.0-2 \ - git=1:2.25.1-1ubuntu3.1 \ - lib32stdc++6=10.2...
fix: get inheritable attribute from parent when /mediabox is inherited from parent, can't get rect.
@@ -217,14 +217,25 @@ extern "C" void pdf_add_type1_font(pdf_t *pdf, */ static bool dict_lookup_rect(QPDFObjectHandle object, std::string const& key, - float rect[4]) + float rect[4], + bool inheritable) { // preliminary checks - if (!object.isDictionary() || !object.hasKey(key)) + if (!object.isDictionary()) return fa...
zephyr/shim/src/gpio_id.c: Format with clang-format BRANCH=none TEST=none
#include "gpio.h" #include "util.h" -#define IS_BOARD_COMPATIBLE \ - DT_NODE_HAS_COMPAT(DT_PATH(board), cros_ec_gpio_id) -#define IS_SKU_COMPATIBLE \ - DT_NODE_HAS_COMPAT(DT_PATH(sku), cros_ec_gpio_id) +#define IS_BOARD_COMPATIBLE DT_NODE_HAS_COMPAT(DT_PATH(board), cros_ec_gpio_id) +#define IS_SKU_COMPATIBLE DT_NODE_HA...
build_qmcpack.sh - add option to not load ROCm module.
@@ -49,7 +49,9 @@ if [ -e /etc/profile.d/modules.sh ] ; then module load gcc module load hdf5/1.10.1 module load openblas + if [ "$ROCM_VER" != "none" ]; then module load $ROCM_VER + fi BOOST_ROOT=${BOOST_ROOT:-/cm/shared/opt/boost/1.72.0} FFTW_HOME=${FFTW_HOME:-/cm/shared/apps/fftw/openmpi/gcc/64/3.3.8} OPENMPI_INSTAL...
fix whitescan error
@@ -1507,7 +1507,7 @@ static int32_t _core_mqtt_subunsub(core_mqtt_handle_t *mqtt_handle, char *topic, pkt[idx++] = (uint8_t)((packet_id >> 8) & 0x00FF); pkt[idx++] = (uint8_t)((packet_id) & 0x00FF); - if (_core_mqtt_5_feature_is_enabled(mqtt_handle)) { + if (_core_mqtt_5_feature_is_enabled(mqtt_handle) && NULL != gene...
history: last part
# History -## Begin +## Elektrify The development of Elektra started in 2004. Initially the initiative only aimed at the straightforward idea to unify a configuration access API and a configuration format. @@ -11,21 +11,17 @@ Most proprietary software systems already had similar APIs for a long time. Nevertheless, it w...
out_stdout: set config_map flags
@@ -158,17 +158,17 @@ static int cb_stdout_exit(void *data, struct flb_config *config) static struct flb_config_map config_map[] = { { FLB_CONFIG_MAP_STR, "format", NULL, - FLB_FALSE, 0, + 0, FLB_FALSE, 0, NULL }, { FLB_CONFIG_MAP_STR, "json_date_format", NULL, - FLB_FALSE, 0, + 0, FLB_FALSE, 0, NULL }, { FLB_CONFIG_MA...