message
stringlengths
6
474
diff
stringlengths
8
5.22k
delete_dialog.c: merge `_gftp_gtk_free_del_data()` into `yesCB()`
#include "gftp-gtk.h" static void -_gftp_gtk_free_del_data (gftp_transfer * transfer, gftp_dialog_data * ddata) -{ - free_tdata (transfer); -} - - -static void -yesCB (gftp_transfer * transfer, gftp_dialog_data * ddata) +yesCB (gftp_transfer * transfer) { gftpui_callback_data * cdata; gftp_window_data * wdata; @@ -46,7...
lib: add support for aws customsized error reporting logger
#include <mcheck.h> #endif +#ifdef FLB_HAVE_AWS_ERROR_REPORTER +#include <fluent-bit/aws/flb_aws_error_reporter.h> + +struct flb_aws_error_reporter *error_reporter; +#endif + /* thread initializator */ static pthread_once_t flb_lib_once = PTHREAD_ONCE_INIT; @@ -194,6 +200,12 @@ flb_ctx_t *flb_create() return NULL; } + ...
fix lib jvm not found in docker bug
@@ -118,13 +118,12 @@ else $(JRE_LIB)/jrockit \ 2> /dev/null)) endif - PLJAVA_CPPFLAGS += -I"$(JDK_HOME)/include" -I"$(JDK_HOME)/include/$(JRE_INCL)" + SHLIB_LINK += -L"$(JDK_HOME)/jre/lib/$(JRE_CPU)/server" SHLIB_LINK += -L. -L"$(JVM_LIB)" -ljvm endif endif - override CPPFLAGS += $(PLJAVA_CPPFLAGS) override CFLAGS += ...
docs: add PlatON official websites to the list
+ [Hyperledger Fabric Docs](https://hyperledger-fabric.readthedocs.io/) + [FISCO BCOS](http://fisco-bcos.org/) + [FISCO BCOS Github](https://github.com/FISCO-BCOS) ++ [PlatON](https://www.platon.network/) # Supported Module List
DOCS: Change default max connections reserved for superuser
@@ -2734,7 +2734,7 @@ Determines the number of connection slots that are reserved for Greenplum Databa |Value Range|Default|Set Classifications| |-----------|-------|-------------------| -|integer < *max\_connections*|3|local, system, restart| +|integer < *max\_connections*|10|local, system, restart| ## <a id="tcp_keep...
Update README.md Separated #build and #install Properly formatted Fixed some Arch stuff Changed "Packaging Status" to "Pre-packaged binaries" to make more sense
@@ -7,7 +7,7 @@ A modification of the Mesa Vulkan overlay. Including GUI improvements, temperatu # Installation -If you do not wish to compile anything, simply download the file under Releases, extract it, and run `./mangohud-setup.sh install` from within the extracted folder. +## Build If you wish to compile MangoHud ...
Tests: fixed opcache detection. opcache_get_status() returns array, so square brackets should be used to access "opcache_enabled" value.
@@ -10,7 +10,8 @@ if (isset($_GET['chdir']) && $_GET['chdir'] != "") { $opcache = -1; if (function_exists('opcache_get_status')) { - $opcache = opcache_get_status()->opcache_enabled; + $status = opcache_get_status(); + $opcache = $status['opcache_enabled']; } header('X-OPcache: ' . $opcache);
filter_parser: use kv interface to query properties
#include <fluent-bit/flb_time.h> #include <fluent-bit/flb_mem.h> #include <fluent-bit/flb_pack.h> +#include <fluent-bit/flb_kv.h> #include <msgpack.h> #include <string.h> @@ -96,7 +97,7 @@ static int configure(struct filter_parser_ctx *ctx, int ret; const char *tmp; struct mk_list *head; - struct flb_config_prop *p; + ...
Empty actorId becomes $self$ rather than player
@@ -2395,7 +2395,7 @@ class ScriptBuilder { } const { entity, scene } = this.options; const newIndex = - id === "$self$" && entity + (id === "" || id === "$self$") && entity ? getActorIndex(entity.id, scene) : getActorIndex(id, scene); return newIndex;
simplify to exit(1) on first tool with >= 1 failure.
@@ -2,20 +2,17 @@ set -e; STARTWD=$(pwd); FAILURES=0; -TEST_PASSES=0; TOOL_PASSES="" TOOL_FAILURES="" -for dir in $(ls); do - echo $dir - [ -d $dir ] || continue - echo "Testing bedtools $dir:" - (cd $dir bash && bash test-$dir.sh) || FAILURES=$(expr $FAILURES + 1); - if [ $? -eq 0 ]; then - TEST_PASSES=$((TEST_PASSES ...
Add custom sig_info_set for
@@ -371,6 +371,14 @@ static int ecd_item_sign(EVP_MD_CTX *ctx, const ASN1_ITEM *it, void *asn, return 3; } +static int ecd_sig_info_set(X509_SIG_INFO *siginf, const X509_ALGOR *alg, + const ASN1_STRING *sig) +{ + X509_SIG_INFO_set(siginf, NID_undef, NID_ED25519, X25519_SECURITY_BITS, + X509_SIG_INFO_TLS); + return 1; +...
slip-radio: make architecture override explicit The sky subdirectory overrides the architecture putchar(), make that explicit in the build system.
@@ -5,6 +5,9 @@ all: $(CONTIKI_PROJECT) PLATFORMS_EXCLUDE = native nrf52dk BOARDS_EXCLUDE = nrf52840/dongle +# The sky directory overrides the architecture putchar(). +CONTIKI_SOURCES_EXCLUDES_SKY += uart1-putchar.c + CONTIKI=../.. include $(CONTIKI)/Makefile.identify-target
OcCpuLib: Provide TSC frequency under Hyper-V
#include <IndustryStandard/GenericIch.h> #include <Protocol/PciIo.h> #include <Library/BaseLib.h> +#include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/IoLib.h> #include <Library/OcCpuLib.h> @@ -422,8 +423,13 @@ InternalCalculateVMTFrequency ( { UINT32 CpuidEax; UINT32 CpuidEbx; + UINT32 C...
hv: instr_emul: add `const` qualifier for some function Add `const` qualifier for is_desc_valid and vie_calculate_gla Acked-by: Eddie Dong
@@ -445,7 +445,7 @@ static int32_t vie_canonical_check(enum vm_cpu_mode cpu_mode, uint64_t gla) return ret; } -static bool is_desc_valid(struct seg_desc *desc, uint32_t prot) +static bool is_desc_valid(const struct seg_desc *desc, uint32_t prot) { bool ret = true; uint32_t type; @@ -487,7 +487,7 @@ static bool is_desc_...
add rho_app_id option to build.yml of generated application
@@ -4,6 +4,9 @@ sdkversion: <%=Rhodes::VERSION%> name: <%=@app_name%> version: 1.0 vendor: rhomobile +## Note: rho_app_id send to RhoConnect server for identify application (used in multi-push configuration only) +## we recommend make it same with BundleIdentifier +rho_app_id: com.rhomobile.<%=@app_name_cleared%> build...
update lv_init function name
@@ -63,7 +63,7 @@ See the [example HAL](https://github.com/littlevgl/hal) repository! * your_systick_init(); * your_disp_init(); * your_indev_init(); - * **lvgl_init()**; + * **lv_init()**; 10. To **test** create a label: `lv_obj_t * label = lv_label_create(lv_scr_act(), NULL);` 11. In the main *while(1)* call `ptask_h...
ames: address review
:: =< =* adult-gate . =| queued-events=(qeu queued-event) - =| cached-state=[?(%5 %~) ames-state-5] + =| cached-state=(unit [%5 ames-state-5]) :: |= [now=@da eny=@ rof=roof] =* larval-gate . ~|(%ames-larval-call-dud (mean tang.u.dud)) :: =/ update-ready=? - ?& ?=([%5 *] cached-state) + ?& ?=(^ cached-state) ?=(~ queued...
Improve .ppasm function.
(def sourcemap (in dasm :sourcemap)) (var last-loc [-2 -2]) (print "\n signal: " (.signal)) + (print " status: " (fiber/status (.fiber))) (print " function: " (dasm :name) " [" (in dasm :source "") "]") (when-let [constants (dasm :constants)] (printf " constants: %.4q" constants))
docs: add step to copy slurm.conf.ohpc on SMS
@@ -9,6 +9,9 @@ the corresponding compute image in a subsequent step. # Install slurm server meta-package [sms](*\#*) (*\install*) ohpc-slurm-server +# Use ohpc-provided file for starting SLURM configuration +[sms](*\#*) cp /etc/slurm/slurm.conf.ohpc /etc/slurm/slurm.conf + # Identify resource manager hostname on maste...
rnn/demmio: Allow specifying chipset gen manually Add the -a option based off some copypasta from lookup.c
@@ -210,9 +210,20 @@ void doi2cw (struct cctx *cc, struct i2c_ctx *ctx, int byte) { int main(int argc, char **argv) { char *file = NULL; + char *variant = NULL; + unsigned long chip = 0; int c,use_colors=1; - while ((c = getopt (argc, argv, "f:c")) != -1) { + while ((c = getopt (argc, argv, "f:ca:")) != -1) { switch (c...
chat: pad message, not daybreak Fixes urbit/landscape#475
@@ -189,7 +189,6 @@ export default class ChatMessage extends Component<ChatMessageProps> { ref={this.divRef} pt={renderSigil ? 2 : 0} pb={isLastMessage ? 4 : 2} - pr={5} className={containerClass} style={style} > @@ -199,10 +198,10 @@ export default class ChatMessage extends Component<ChatMessageProps> { {renderSigil ?...
Avoid stack overflow in self_talk_nonblocking_test Build was failing in unit tests on my machine where the stack limit is 8MB (ulimit -s 8192) Confirmed build now works with ulimit -s 512
@@ -103,7 +103,7 @@ int mock_client(int writefd, int readfd, uint8_t *expected_data, uint32_t size) result = s2n_negotiate(conn, &blocked); if (result < 0) { - _exit(1); + return 1; } /* Receive 10MB of data */ @@ -124,7 +124,7 @@ int mock_client(int writefd, int readfd, uint8_t *expected_data, uint32_t size) for (int ...
amdgpu: average gfx and cpu power as float
@@ -137,6 +137,7 @@ void amdgpu_get_instant_metrics(struct amdgpu_common_metrics *metrics) { } #define UPDATE_METRIC_AVERAGE(FIELD) do { int value_sum = 0; for (size_t s=0; s < METRICS_SAMPLE_COUNT; s++) { value_sum += metrics_buffer[s].FIELD; } amdgpu_common_metrics.FIELD = value_sum / METRICS_SAMPLE_COUNT; } while(0)...
Add tests for string.escapepattern
function suite.startswith_OnEmptyNeedle() test.istrue(string.startswith("Abcdef", "")) end + + + +-- +-- string.escapepattern() tests +-- + + function suite.escapepattern_escapes() + test.isequal("boost_filesystem%-vc140%.1%.61%.0%.0", string.escapepattern("boost_filesystem-vc140.1.61.0.0")) + test.isequal("footage/dow...
node_id address in flash doesn't need to be known by the bootloader
@@ -78,7 +78,7 @@ void LuosBootloader_SaveNodeID(void) { uint16_t node_id = Robus_GetNodeID(); - LuosHAL_SaveNodeID(SHARED_MEMORY_ADDRESS, node_id); + LuosHAL_SaveNodeID(node_id); } /****************************************************************************** @@ -88,7 +88,7 @@ void LuosBootloader_SaveNodeID(void) ***...
hv: pci: remove some unnecessary functions We define some functions to read some fields of the CFG header registers. We could remove them since they're not necessary since calling pci_pdev_read_cfg is simple.
@@ -259,7 +259,7 @@ static inline bool is_host_bridge(const struct pci_pdev *pdev) static inline bool is_bridge(const struct pci_pdev *pdev) { - return pdev->hdr_type == PCIM_HDRTYPE_BRIDGE; + return ((pdev->hdr_type & PCIM_HDRTYPE) == PCIM_HDRTYPE_BRIDGE); } static inline uint32_t pci_bar_offset(uint32_t idx) @@ -350,...
pbio/drivebase: set default settings Still need appropriate setters like for motors, but this sets it to reasonable default while testing.
@@ -164,21 +164,21 @@ static pbio_error_t pbio_drivebase_setup(pbio_drivebase_t *db, db->log.num_values = DRIVEBASE_LOG_NUM_VALUES; // Configure heading controller - err = pbio_control_set_limits(&db->control_heading.settings, db->dif_per_deg, 45, 20); + err = pbio_control_set_limits(&db->control_heading.settings, db->...
fix overlaying of resizehint windows in tiling layout
@@ -330,6 +330,9 @@ tile(Monitor *m) // client is in the master h = (m->wh - my) / (MIN(n, m->nmaster) - i); animateclient(c, m->wx, m->wy + my, mw - (2*c->bw), h - (2*c->bw), framecount, 0); + if (m->nmaster == 1 && n > 1) { + mw = c->w + c->bw * 2; + } if (my + HEIGHT(c) < m->wh) my += HEIGHT(c); } else {
test SCTP security
@@ -21,14 +21,20 @@ static const char *request_tail = "User-agent: libneat\r\nConnection: close\r\n\ static char *config_property = "{\ \"transport\": [\ {\ - \"value\": \"TCP\",\ + \"value\": \"SCTP\",\ \"precedence\": 1\ }\ ],\ \"security\": {\ \"value\": true,\ \"precedence\": 2\ + },\ + \"local_ips\": [\ + { \ + \"...
[chainmaker][#553]modify free location
@@ -512,7 +512,15 @@ BOAT_RESULT BoatHlchainmakerContractInvoke(BoatHlchainmakerTx *tx_ptr, char* met if (tx_response->code == SUCCESS) { transactation_info = common__transaction_info__unpack(NULL, tx_response->contract_result->result.len, tx_response->contract_result->result.data); invoke_response->gas_used = transact...
Don't allow invalid sample format
@@ -91,6 +91,7 @@ static uint32_t lovrSoundDataReadRing(SoundData* soundData, uint32_t offset, uin SoundData* lovrSoundDataCreateRaw(uint32_t frameCount, uint32_t channelCount, uint32_t sampleRate, SampleFormat format, struct Blob* blob) { + lovrAssert(format != SAMPLE_INVALID, "Invalid format"); SoundData* soundData =...
Remove scopeLog call avoid stack overflow with `doWrite` when log destination path is file `doWrite` | 'scopeLog' | 'logSend' | 'transportSend' | '__write_libc' | `doWrite` ... closes
@@ -2120,7 +2120,6 @@ doWrite(int fd, uint64_t initialTime, int success, const void *buf, ssize_t byte struct net_info_t *net = getNetEntry(fd); if (success) { - scopeLog(CFG_LOG_TRACE, "fd:%d %s", fd, func); if (net) { // This is a network descriptor doSetAddrs(fd);
Include all streetnames (separated using '/') in Valhalla routing results
@@ -480,8 +480,9 @@ namespace carto { std::string streetName; if (maneuver.get("street_names").is<picojson::array>()) { - const picojson::array& streetNames = maneuver.get("street_names").get<picojson::array>(); - streetName = !streetNames.empty() ? streetNames[0].get<std::string>() : std::string(""); + for (const pico...
asm: do not set SDR1 on POWER9 This register does not exist in ISAv3.
@@ -655,7 +655,6 @@ cleanup_tlb: .global init_shared_sprs init_shared_sprs: li %r0,0 - mtspr SPR_SDR1, %r0 mtspr SPR_AMOR, %r0 mfspr %r3,SPR_PVR @@ -676,18 +675,21 @@ init_shared_sprs: b 9f 1: /* P7 */ + mtspr SPR_SDR1, %r0 /* TSCR: Value from pHyp */ LOAD_IMM32(%r3,0x880DE880) mtspr SPR_TSCR, %r3 b 9f 2: /* P7+ */ + m...
fixed mouse cursor after alt+tab
@@ -1116,19 +1116,21 @@ void tic_sys_poll() } } -#if defined(__LINUX__) - if(lockInput) - return; -#endif - processMouse(); #if defined(TOUCH_INPUT_SUPPORT) processTouchInput(); #endif - processKeyboard(); processGamepad(); + + SCOPE(processKeyboard()) + { +#if defined(__LINUX__) + if(!lockInput) + return; +#endif + } ...
Pointing common.mk's SOURCE_DIR to subdirectories of fpga, to avoid circular dependency caused by pointing to fpga, which contains generated-src.
@@ -58,7 +58,7 @@ include $(base_dir)/tools/dromajo/dromajo.mk # Returns a list of files in directory $1 with file extension $2. lookup_srcs = $(shell find -L $(1)/ -name target -prune -o -iname "*.$(2)" -print 2> /dev/null) -SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools/iocell fpga...
Updated how the uid field is initialized to account for char16->char8
@@ -2700,7 +2700,7 @@ NVM_API int nvm_get_jobs(struct job *p_jobs, const NVM_UINT32 count) UINT32 DimmCount = 0; PT_OUTPUT_PAYLOAD_FW_LONG_OP_STATUS *pLongOpStatus; int job_index = 0; - unsigned int i; + unsigned int i, j; int nvm_status = 0; struct Command CmdStub; @@ -2777,8 +2777,17 @@ NVM_API int nvm_get_jobs(struc...
Add AVX flags for clang/aocc as well
@@ -78,6 +78,10 @@ GCCMINORVERSIONGTEQ7 := $(shell expr `$(CC) -dumpversion | cut -f2 -d.` \>= 7) ifeq ($(GCCVERSIONGTEQ4)$(GCCMINORVERSIONGTEQ7), 11) CCOMMON_OPT += -mavx2 endif +else +ifeq ($(C_COMPILER), CLANG) +CCOMMON_OPT += -mavx2 +endif endif ifeq ($(F_COMPILER), GFORTRAN) # AVX2 support was added in 4.7.0
data MAINTENANCE add missing description of lyd_dup_recursive()
@@ -1677,6 +1677,13 @@ lyd_compare(const struct lyd_node *node1, const struct lyd_node *node2, int opti * @brief Duplicate a single node and connect it into @p parent (if present) or last of @p first siblings. * * Ignores LYD_DUP_WITH_PARENTS and LYD_DUP_WITH_SIBLINGS which are supposed to be handled by lyd_dup(). + * ...
update README to show portage support
@@ -176,6 +176,7 @@ The test project: [xmake-core](https://github.com/xmake-io/xmake/tree/master/cor * Apt on ubuntu/debian (apt::zlib1g-dev) * Clib (clib::clibs/bytes@0.0.4) * Dub (dub::log 0.4.3) +* Portage on Gentoo/Linux (portage::libhandy) ## Supported platforms
Make gard display show that a record is cleared When clearing gard records, Hostboot only modifies the record_id portion to be 0xFFFFFFFF. The remainder of the entry remains. Without this change it can be confusing to users to know that the record they are looking at is no longer valid.
@@ -488,11 +488,12 @@ static int do_list(struct gard_ctx *ctx, int argc, char **argv) draw_ruler('-', ruler_size); for_each_gard(ctx, pos, &gard, &rc) { - printf(" %08x | %08x | %-10s | %s\n", + printf(" %08x | %08x | %-10s | %s%s\n", be32toh(gard.record_id), be32toh(gard.errlog_eid), deconfig_reason_str(gard.error_typ...
Seed random number on each script start using time register
#include "game.h" #include "Macros.h" +UBYTE *ptr_div_reg = (UBYTE *)0xFF04; UBYTE script_ptr_bank = 0; UWORD script_ptr = 0; UWORD script_ptr_x = 0; @@ -105,8 +106,13 @@ UBYTE ScriptLastFnComplete(); void ScriptStart(BANK_PTR *events_ptr) { + UBYTE rnd; script_ptr_bank = events_ptr->bank; script_ptr = ((UWORD)bank_dat...
libhfuzz: make memcmp function succeed if length==0
@@ -49,6 +49,10 @@ int strcasecmp(const char *s1, const char *s2) int strncmp(const char *s1, const char *s2, size_t n) { + if (n == 0) { + return 0; + } + unsigned int v = 0; size_t i = 0; @@ -67,6 +71,10 @@ int strncmp(const char *s1, const char *s2, size_t n) int strncasecmp(const char *s1, const char *s2, size_t n)...
docs: add an example list for esp-wrover-kit
@@ -363,6 +363,11 @@ Now to Development Please proceed to :doc:`../../get-started/index`, where Section :ref:`get-started-step-by-step` will quickly help you set up the development environment and then flash an example project onto your board. +The application examples that use some hardware specific to your ESP-WROVER...
[misc] change cmake to indicate debugable luagit when debug mode
@@ -7,6 +7,16 @@ if(NOT EXISTS ${LUAJIT_SRC_DIR}) execute_process(COMMAND git submodule update --init --force) endif() +set(LUAJIT_GIT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/src/luajit/.git) + +if(CMAKE_BUILD_TYPE MATCHES "Debug") + execute_process(COMMAND git submodule update) + execute_process(COMMAND git --git-dir=${LUAJI...
Fixed pipelined request processing, broken by
@@ -1058,7 +1058,7 @@ nxt_h1p_keepalive(nxt_task_t *task, nxt_h1proto_t *h1p, nxt_conn_t *c) in->mem.pos = in->mem.start; in->mem.free = in->mem.start + size; - nxt_h1p_conn_header_parse(task, c, c->socket.data); + nxt_h1p_conn_request_init(task, c, c->socket.data); } }
Corrected minor typos in value descriptions
@@ -94,7 +94,7 @@ syscfg.defs: value: 100 SPI_0_MASTER: - description: 'Enable DA14xxx SPI Master' + description: 'Enable DA1469x SPI Master' value: 0 restrictions: - "!SPI_0_SLAVE" @@ -109,7 +109,7 @@ syscfg.defs: value: '' SPI_0_SLAVE: - description: 'Enable DA14xxx SPI Slave' + description: 'Enable DA1469x SPI Slave...
better cuda configuration
@@ -165,10 +165,10 @@ ENDIF() IF (CUDA_REQUIRED) IF(HOST_OS_LINUX) LDFLAGS("-L${CUDA_ROOT}/lib64/stubs") + EXTRALIBS(-lcuda) ELSEIF(HOST_OS_DARWIN) LDFLAGS("-F${CUDA_ROOT}/lib/stubs -framework CUDA") ENDIF() - EXTRALIBS(-lcuda) ENDIF() IF (HOST_OS_WINDOWS)
vboot: Remove unused VBOOT_HASH_SYSJUMP defines Remove unused defines BRANCH=none TEST=make buildall
@@ -30,9 +30,6 @@ struct vboot_hash_tag { uint32_t size; }; -#define VBOOT_HASH_SYSJUMP_TAG 0x5648 /* "VH" */ -#define VBOOT_HASH_SYSJUMP_VERSION 1 - #define CHUNK_SIZE 1024 /* Bytes to hash per deferred call */ #define WORK_INTERVAL_US 100 /* Delay between deferred calls */
Fix primitive restart overflow for u32 indices;
@@ -491,8 +491,8 @@ static void lovrGpuBindMesh(Mesh* mesh, Shader* shader, int divisorMultiplier) { if (mesh->indexBuffer && mesh->indexCount > 0) { lovrGpuBindBuffer(BUFFER_INDEX, mesh->indexBuffer->id); lovrBufferFlush(mesh->indexBuffer); -#ifdef LOVR_GL - uint32_t primitiveRestart = (1 << (mesh->indexSize * 8)) - 1...
comment out unimplemented function
@@ -111,8 +111,8 @@ lv_color_t lv_canvas_get_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y); * Get the image of the canvas as a pointer to an `lv_img_dsc_t` variable. * @param canvas pointer to a canvas object * @return pointer to the image descriptor. - */ lv_img_dsc_t * lv_canvas_get_img(lv_obj_t * canvas); + */ /...
feat(boards): Add battery sensor for Makerdiary M60 keyboard
zephyr,sram = &sram0; zephyr,flash = &flash0; zephyr,console = &cdc_acm_uart; + zmk,battery = &vbatt; }; leds { }; }; + vbatt: vbatt { + compatible = "zmk,battery-voltage-divider"; + label = "BATTERY"; + io-channels = <&adc 0>; + output-ohms = <1000000>; + full-ohms = <(1000000 + 1000000)>; + }; + }; &adc {
Use coverage analyze as default task
@@ -140,9 +140,9 @@ def do_analyze_driver_vs_reference(outcome_file, components, ignored_tests): def main(): try: parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument('--outcomes', metavar='OUTCOMES.CSV', + parser.add_argument('outcomes', metavar='OUTCOMES.CSV', help='Outcome file to analyze') - ...
[CUDA] Fix issue with PTX files not being closed properly
#include "common.h" #include "pocl.h" +#include "pocl_file_util.h" #include "pocl_runtime_config.h" #include "pocl-ptx-gen.h" @@ -130,10 +131,9 @@ int pocl_ptx_gen(const char *bc_filename, llvm::legacy::PassManager passes; // Add pass to emit PTX - std::error_code ec; - llvm::raw_fd_ostream *ptx = - new llvm::raw_fd_os...
Added --no-backup-if-mismatch to the patchrepo and removepatch functions to avoid creating a .orig file
@@ -232,13 +232,13 @@ if [ "$AOMP_APPLY_ROCM_PATCHES" == 1 ] ; then fi if [ "$applypatch" == "yes" ] ; then echo "Applying patch $patchfile to $patchdir" - patch -p1 <$patchfile + patch -p1 --no-backup-if-mismatch <$patchfile fi fi } function removepatch(){ -if [ "$AOMP_APPLY_ROCM_PATCHES" == 1 ] && [ "AOMP_STANDALONE_...
linux-cp: fix endianess for autoendian methods If an API methos is specified as "autoendian" it should use macros with _END at the end. Type: fix
@@ -94,7 +94,7 @@ vl_api_lcp_itf_pair_add_del_t_handler (vl_api_lcp_itf_pair_add_del_t *mp) } BAD_SW_IF_INDEX_LABEL; - REPLY_MACRO (VL_API_LCP_ITF_PAIR_ADD_DEL_REPLY); + REPLY_MACRO_END (VL_API_LCP_ITF_PAIR_ADD_DEL_REPLY); } static void @@ -122,7 +122,7 @@ vl_api_lcp_itf_pair_add_del_v2_t_handler (vl_api_lcp_itf_pair_a...
Need to set MSG_NOSIGNAL for some sendmsg() calls.
@@ -4566,7 +4566,11 @@ neat_write_flush(struct neat_ctx *ctx, struct neat_flow *flow) msghdr.msg_flags = 0; if (flow->socket->fd != -1) { +#ifndef MSG_NOSIGNAL rv = sendmsg(flow->socket->fd, (const struct msghdr *)&msghdr, 0); +#else + rv = sendmsg(flow->socket->fd, (const struct msghdr *)&msghdr, MSG_NOSIGNAL); +#endi...
chip/stm32/hwtimer.c: Format with clang-format BRANCH=none TEST=none Tricium: disable
@@ -419,8 +419,9 @@ void IRQ_HANDLER(IRQ_WD)(void) "pop {r0,pc}\n"); } const struct irq_priority __keep IRQ_PRIORITY(IRQ_WD) - __attribute__((section(".rodata.irqprio"))) = { IRQ_WD, - 0 }; /* put the watchdog + __attribute__((section(".rodata.irqprio"))) = { + IRQ_WD, 0 + }; /* put the watchdog at the highest priority...
session BUGFIX wrong conversion msec -> sec
@@ -85,8 +85,8 @@ nc_difftimespec(struct timespec *ts1, struct timespec *ts2) void nc_addtimespec(struct timespec *ts, uint32_t msec) { - ts->tv_sec += msec / 1000000L; - ts->tv_nsec += (msec % 1000000L) * 1000000L; + ts->tv_sec += msec / 1000; + ts->tv_nsec += (msec % 1000) * 1000000L; if (ts->tv_nsec > 1000000000L) {...
test/shlibloadtest.c: fix various errors These errors were hidden because compiling this file didn't get the macros derived from the dso_scheme attribute, and therefore, some code never got compiled.
@@ -163,10 +163,10 @@ static int test_lib(void) # define COMPATIBILITY_MASK 0xfff00000L myOpenSSL_version_num = (OpenSSL_version_num_t)symbols[1].func; if (!TEST_int_eq(myOpenSSL_version_num() & COMPATIBILITY_MASK, - OPENSSL_VERSION_NUMBER & COMPATIBILITY_MASK) + OPENSSL_VERSION_NUMBER & COMPATIBILITY_MASK)) goto end; ...
Rate limited SBA to run only once per sweep pair
#include "assert.h" #include "linmath.h" +#include "math.h" #include "string.h" +#include "survive_cal.h" #include "survive_config.h" #include "survive_reproject.h" -#include "math.h" - typedef struct { survive_calibration_config calibration_config; PoserData *pdfs; @@ -442,22 +442,34 @@ static double run_sba(survive_c...
tcptop: Cleanup argument parsing
@@ -34,6 +34,13 @@ from subprocess import call import ctypes as ct # arguments +def range_check(string): + value = int(string) + if value < 1: + msg = "value must be stricly positive, got %d" % (value,) + raise argparse.ArgumentTypeError(msg) + return value + examples = """examples: ./tcptop # trace TCP send/recv by ho...
Remove unused pixel_packet_to_hexname() function
@@ -198,28 +198,6 @@ static VALUE set_dbl_option(VALUE self, const char *option, VALUE value) } -#if 0 -/** - * Convert a PixelPacket to a hex-format color name. - * - * No Ruby usage (internal function) - * - * @param pp the pixel packet - * @param name pointer to the name - * @return the name - */ -static char *pixel...
extern C only applies C-style naming conventions, not C-style calling converntions. Applying the CDECL macro consistently.
@@ -20,7 +20,7 @@ extern "C" { // TODO: expose struct LogConfiguration as a second parameter // TODO: allow the customer to specify their module name // - bool aria_initialize(const char* token) + bool ARIASDK_LIBABI_CDECL aria_initialize(const char* token) { if (!is_inited.exchange(true)) { @@ -48,7 +48,7 @@ extern "C...
use %{lustre_name} again for package name
@@ -138,7 +138,7 @@ BuildRequires: kernel-devel = %{centos_kernel} %endif Summary: Lustre File System -Name: %{lustre_name}%{PROJ_DELIM} +Name: %{lustre_name} Version: %{version} Release: 1%{?dist} License: GPL @@ -329,8 +329,8 @@ make install DESTDIR=$RPM_BUILD_ROOT # kernel_module_path macro. # karl.w.schulz@intel.co...
Fix default padding regression against 3.0.0 FIPS provider
@@ -105,6 +105,8 @@ CEKAlg=id-aes128-wrap Ctrl = dh_pad:1 SharedSecret=89A249DF4EE9033B89C2B4E52072A736D94F51143A1ED5C8F1E91FCBEBE09654 +# FIPS(3.0.0): allows the padding to be set, later versions do not #17859 +FIPSversion = >3.0.0 Derive=ffdhe2048-2 PeerKey=ffdhe2048-1-pub KDFType=X942KDF-ASN1
StatusBar: update for new design
@@ -67,9 +67,7 @@ export const Content = (props) => { path="/~profile" render={ p => ( <Profile - ship={this.ship} - api={this.api} - {...state} + {...props} /> )} />
super_rsu: add configuration argument Add a "--configuration" argument to the tool that can be used when a manifest file is not given and it needs to look for a file.
@@ -1079,7 +1079,7 @@ def sighandler(signum, frame): raise KeyboardInterrupt('interrupt signal received') -def find_config(program='super-rsu'): +def find_config(program='super-rsu', configuration=None): candidates = [] for root, dirs, files in os.walk('/usr/share/opae'): for f in glob.glob(os.path.join(root, '*.json')...
srtp: fix uninitialized value Type: fix Fixes:
@@ -227,7 +227,7 @@ srtp_ctx_write (srtp_tc_t *ctx, session_t *app_session, { u32 n_wrote = 0, to_deq, dgram_sz; session_dgram_pre_hdr_t hdr; - app_session_transport_t at; + app_session_transport_t at = {}; svm_msg_q_t *mq; session_t *us; u8 buf[2000];
move rvc in model
@@ -173,6 +173,12 @@ static struct noir_op_s* noir_init(const long dims[DIMS], const complex float* m const struct nlop_s* nlw2 = nlop_from_linop(data->weights); data->nl = nlop_chain2_FF(nlw2, 0, nlw1, 1); + if (conf->rvc) { + + const struct nlop_s* nlop_zreal = nlop_from_linop_F(linop_zreal_create(DIMS, data->imgs_di...
Only build-depend on fail with ancient GHC
@@ -103,7 +103,6 @@ library , bytestring >= 0.10.2 && < 0.11 , containers >= 0.5 && < 0.7 , exceptions >= 0.8 && < 0.11 - , fail >= 4.9 && < 5 , mtl >= 2.2 && < 2.3 , text >= 1.0 && < 1.3 hs-source-dirs: src @@ -189,6 +188,8 @@ library if flag(hardcode-reg-keys) cpp-options: -DHARDCODE_REG_KEYS + if !impl(ghc >= 8.0) +...
mactime: fix handle_get_mactime fcn prototype Type: fix
#include <vlib/unix/plugin.h> static int -handle_get_mactime (u8 * request, http_session_t * hs) +handle_get_mactime (http_builtin_method_type_t reqtype, + u8 * request, http_session_t * hs) { mactime_main_t *mm = &mactime_main; mactime_device_t *dp; @@ -24,9 +25,9 @@ handle_get_mactime (u8 * request, http_session_t * ...
Fix calico link The previous link we were using is now invalid, and so we must switch to using GitHub instead.
@@ -126,7 +126,7 @@ Vagrant.configure("2") do |config| kubectl taint nodes --all node-role.kubernetes.io/control-plane- # Install CNI - kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yaml + kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.24.0/manifests/tigera-oper...
[readme] update keybinds, note about TZ
@@ -129,9 +129,9 @@ A partial list of parameters are below. See the config file for a complete list. | `position=` | Location of the hud: `top-left` (default), `top-right`, `bottom-left`, `bottom-right`, `top-center` | | `offset_x` `offset_y` | Hud position offsets | | `no_display` | Hide the hud by default | -| `toggl...
Enumerating the legacy provider's cipher algorithms
@@ -52,6 +52,32 @@ The OpenSSL legacy provider supports these operations and algorithms: =back +=head2 Symmetric Ciphers + +Not all of these symmetric cipher algorithms are enabled by default. + +=over 4 + +=item Blowfish + +=item CAST + +=item DES + +=item IDEA + +=item RC2 + +=item RC4 + +=item RC5 + +Disabled by def...
hdata_to_dt: Add PVR overrides to the usage text Save us a few headaches in the future.
@@ -272,7 +272,14 @@ int main(int argc, char *argv[]) " -q Quiet mode\n" " -b Keep blobs in the output\n" "\n" - "Pipe to 'dtc -I dtb -O dts' for human readable\n"); + " -7 Force PVR to POWER7\n" + " -8 Force PVR to POWER8\n" + " -8E Force PVR to POWER8E\n" + " -9 Force PVR to POWER9 (nimbus)\n" + "\n" + "When no PVR i...
Fix reading vendor names for Paulmann and Paul Neuhaus lights
@@ -5140,7 +5140,7 @@ bool DeRestPluginPrivate::processZclAttributes(LightNode *lightNode) if (lightNode->mustRead(READ_VENDOR_NAME) && tNow > lightNode->nextReadTime(READ_VENDOR_NAME)) { - if (!lightNode->manufacturer().isEmpty()) + if (!lightNode->manufacturer().isEmpty() && lightNode->manufacturer() != QLatin1String...
Add TODO to describe more keywords.
@@ -12,7 +12,7 @@ be enclosed by curly `{}`s. There is no 'dangling else' ambiguity. ## Keywords -The Puffs language has 24 keywords. 7 of those introduce top-level concepts: +7 keywords introduce top-level concepts: - `const` - `error` @@ -57,6 +57,8 @@ The Puffs language has 24 keywords. 7 of those introduce top-leve...
Ensure that replication slots are still active after rebalance.
@@ -12,6 +12,7 @@ Feature: Replication Slots When the user runs "gprecoverseg -ra" Then gprecoverseg should return a return code of 0 + And the primaries and mirrors should be replicating using replication slots When a mirror has crashed And I fully recover a mirror
Use better terminology for marking items to be excluded from Xcode build.
node.isResource = xcode.isItemResource(prj, node) -- assign build IDs to buildable files - if xcode.getbuildcategory(node) and not node.nobuild then + if xcode.getbuildcategory(node) and not node.excludefrombuild then node.buildid = xcode.newid(node.name, "build", node.path) end -- don't link the dependency if it's a d...
Ruby: Exclude 2.3 from windows-latest
@@ -238,6 +238,9 @@ jobs: matrix: os: [windows-latest, macos-latest] ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1'] + exclude: + - os: windows-latest + ruby-version: 2.3 steps: - uses: actions/checkout@v3
IDFDUT: seperate into different classes The DUT should be created as the correct sub classes. This can be done in the config file (UT_xxx_x.yml) Filter
@@ -122,7 +122,7 @@ def _uses_esptool(func): settings = self.port_inst.get_settings() try: - rom = esptool.ESP32ROM(self.port_inst) + rom = self._get_rom()(self.port_inst) rom.connect('hard_reset') esp = rom.run_stub() @@ -159,6 +159,10 @@ class IDFDUT(DUT.SerialDUT): self.exceptions = _queue.Queue() self.performance_i...
CLEANUP: refactored do_item_get() function.
@@ -1140,31 +1140,32 @@ static void do_item_stats_sizes(struct default_engine *engine, ADD_STAT add_stat static hash_item *do_item_get(struct default_engine *engine, const char *key, const size_t nkey, bool do_update) { - rel_time_t current_time = engine->server.core->get_current_time(); + hash_item *it; const char *hk...
Correct system guessing for solaris64-x86_64-* targets Previously the system guessing script was choosing a target that did not exist for these platforms. Fixes
@@ -704,13 +704,16 @@ EOF my $KERNEL_BITS = $ENV{KERNEL_BITS}; my $ISA64 = `isainfo 2>/dev/null | grep amd64`; my $KB = $KERNEL_BITS // '64'; - return { target => "solaris64-x86_64" } - if $ISA64 ne "" && $KB eq '64'; + if ($ISA64 ne "" && $KB eq '64') { + return { target => "solaris64-x86_64-gcc" } if $CCVENDOR eq "gn...
Fix record_element_start_handler() to use XML_Char correctly
@@ -4870,7 +4870,7 @@ record_element_start_handler(void *userData, const XML_Char *name, const XML_Char **UNUSED_P(atts)) { - CharData_AppendString((CharData *)userData, name); + CharData_AppendXMLChars((CharData *)userData, name, xcstrlen(name)); } START_TEST(test_nested_groups)
h2olog: add -dd option to print BPF program
@@ -183,7 +183,7 @@ int main(int argc, char **argv) init_http_tracer(&tracer); } - bool debug = false; + int debug = 0; const char *out_file = nullptr; std::vector<std::string> event_type_filters; std::vector<std::string> response_header_filters; @@ -204,7 +204,7 @@ int main(int argc, char **argv) out_file = optarg; br...
rowan: change battery profile to 2 cell Rowan use 2 cell battery. TEST=manual load into rowan and see if EC complains about battery low. BRANCH=none
#define SB_SHUTDOWN_DATA 0xC574 static const struct battery_info info = { - .voltage_max = 13200, - .voltage_normal = 11550, - .voltage_min = 9100, + .voltage_max = 8800, + .voltage_normal = 7600, + .voltage_min = 6000, /* Pre-charge values. */ .precharge_current = 256, /* mA */ .start_charging_min_c = 0, .start_chargi...
quote pick from Derek
@@ -19,17 +19,7 @@ configuration options. These tips are highlighted via the following format: \begin{center} \begin{tcolorbox}[] \small -\begin{lstlisting}[language=bash,literate={-}{-}1,keywords={},upquote=true] - ________________________________ -/ Simplicity is prerequisite for \ -\ reliability. / - ---------------...
[ArgoUI] 0.1.4
Pod::Spec.new do |s| s.name = 'ArgoUI' - s.version = '0.1.3' + s.version = '0.1.4' s.summary = 'A lib of Momo Lua UI.' # This description is used to generate tags and improve search results.
Fix to Nordic
@@ -211,19 +211,22 @@ static void conn_params_error_handler( uint32_t nrf_error ) void prvUartEventHandler( app_uart_evt_t * pxEvent ) { - uint8_t ucRxByte = 0; + /* Declared as static so it can be pushed into the queue from the ISR. */ + static volatile uint8_t ucRxByte = 0; INPUTMessage_t xInputMessage; - + BaseType_...
Docs: Document Zero key hotkey alias for Escape
@@ -3343,10 +3343,16 @@ the default boot entry choice will remain changed until the next manual reconfig \emph{Note 1}: The \texttt{KeySupport}, \texttt{OpenUsbKbDxe}, or similar drivers are required for key handling. However, not all of the key handling functions can be implemented on several types of firmware. - \emp...
Update Kconfig Change I2C configuration hierarchy
@@ -95,13 +95,12 @@ if RT_USING_I2C config RT_USING_I2C_BITOPS bool "Use GPIO to simulate I2C" default y -endif - if RT_USING_I2C_BITOPS config RT_I2C_BITOPS_DEBUG bool "Use simulate I2C debug message" default n endif +endif config RT_USING_PIN bool "Using generic GPIO device drivers"
cmake: stack-protector-strong only supported on gcc 4.9+
@@ -113,10 +113,13 @@ if(LNX_BUILD) -D_GNU_SOURCE -D__LINUX__ ) - + if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.8) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-strong") + endif() + if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4....
change option name to --skipCopy; begin to add logic for including .repo file
@@ -22,7 +22,7 @@ sub usage { print "\n"; print "Usage: mk_dist [OPTIONS]\n\n"; print "OPTIONS:\n"; - print " --skip-assembly skip reassembly of repo tarball\n"; + print " --skip-copy skip copying of repo data (for debug only)\n"; print " --help generate help message and exit\n"; print "\n"; exit 0; @@ -32,10 +32,10 @@...
BugID:18505596: Clean CLI macro reference for ulog
bool log_init = false; -#ifdef CONFIG_AOS_CLI +#ifdef AOS_COMP_CLI #ifdef ULOG_CONFIG_ASYNC @@ -86,7 +86,7 @@ static struct cli_command ulog_cmd[] = { #endif }; -#endif /*CONFIG_AOS_CLI*/ +#endif /* AOS_COMP_CLI */ void ulog_init(const uint8_t host_name[8]) { @@ -95,7 +95,7 @@ void ulog_init(const uint8_t host_name[8])...
OcAcpiLib: Only print RSDP normalization message if modified
@@ -1156,8 +1156,9 @@ AcpiNormalizeHeaders ( EFI_ACPI_COMMON_HEADER *NewTable; UINT32 TablePrintSignature; - AcpiNormalizeRsdp (Context->Rsdp, Context->Xsdt != NULL); + if (AcpiNormalizeRsdp (Context->Rsdp, Context->Xsdt != NULL)) { DEBUG ((DEBUG_INFO, "OCA: Normalized RSDP\n")); + } if (Context->Xsdt != NULL) { if (!A...
in_proc: use new api for time management
* limitations under the License. */ +#include <fluent-bit/flb_info.h> +#include <fluent-bit/flb_config.h> +#include <fluent-bit/flb_utils.h> +#include <fluent-bit/flb_pack.h> +#include <msgpack.h> + #include <stdio.h> #include <string.h> #include <sys/types.h> #include <limits.h> #include <dirent.h> -#include <msgpack....
OcAppleKernelLib: Fix typo in pm log
@@ -753,7 +753,7 @@ PatchThirdPartyDriveSupport ( if (RETURN_ERROR (Status)) { DEBUG ((DEBUG_INFO, "OCAK: Failed to apply patch com.apple.iokit.IOAHCIBlockStorage V1 - %r\n", Status)); } else { - DEBUG ((DEBUG_INFO, "OCAK: Patch success com.apple.iokit.IOAHCIBlockStorage V2\n")); + DEBUG ((DEBUG_INFO, "OCAK: Patch succ...
Enable breakpoints for ARM8M (e.g. cortex-m33)
#define _MESS_FAILED() do {} while (0) #endif -// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7 -#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__) +// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7, M33 +#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARC...
peview: Fix regression/crash for image load config
@@ -151,9 +151,12 @@ VOID PvpAddPeEnclaveConfig( PIMAGE_LOAD_CONFIG_DIRECTORY32 imageConfig32 = ImageConfig; PIMAGE_ENCLAVE_CONFIG32 enclaveConfig; - enclaveConfig = PhMappedImageRvaToVa( + if (!RTL_CONTAINS_FIELD(imageConfig32, imageConfig32->Size, EnclaveConfigurationPointer)) + return; + + enclaveConfig = PhMappedIm...