rtems-bsps: add ability to print architecture/bsps list

2020-09-28 Thread Ryan Long
Hi, The attached patch adds the ability to print the set of bsps in the form of architecture/bsp. This is useful for feeding into other programs. Thanks, Ryan 0001-rtems-bsps-add-ability-to-print-architecture-bsp-lis.patch Description:

Oddity with address recorded for gcc instrumentation on ARM

2020-12-18 Thread Ryan Long
Hi, We turned on gcc instrumentation with a test function, and got the following records. Timestamp Channel CPU Event type Contents TID PrioPID Source 18:00:06.483 017 719

rtems-record-lttng live support

2021-01-04 Thread Ryan Long
Hi, Can rtems-record-lttng provide a live feed of traces? Thanks, Ryan ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

RE: Debugging rtems-docs Sphinx issue

2021-02-03 Thread Ryan Long
Sent: Wednesday, February 3, 2021 11:28 AM To: Ryan Long Cc: devel@rtems.org Subject: Re: Debugging rtems-docs Sphinx issue Hi Ryan, On Tue, Feb 2, 2021 at 2:53 PM Ryan Long mailto:ryan.l...@oarcorp.com>> wrote: Hi, I’m working on https://devel.rtems.org/ticket/4229#ticket . The fol

[PATCH v1] GcovData: Convert to c++ and fix formatting

2021-06-14 Thread Ryan Long
Converted printf statements to c++'s method of printing, adjusted to use c++ file handling, changed char arrays to strings, fixed inconsistent formatting. --- tester/covoar/GcovData.cc | 388 +--- tester/covoar/GcovData.h | 32 +--

[PATCH v1] cpukit: Add timespecisnonnegative to Makefile.am

2021-06-21 Thread Ryan Long
--- cpukit/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index 78e33b6..df970e5 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -998,6 +998,7 @@ librtemscpu_a_SOURCES += score/src/timespeclessthan.c librtemscpu_a_SOURCES +=

RE: [PATCH v2 1/5] libcsupport: Added futimens() and utimensat()

2021-05-10 Thread Ryan Long
Reply is below. -Original Message- From: Gedare Bloom Sent: Monday, May 10, 2021 12:36 PM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH v2 1/5] libcsupport: Added futimens() and utimensat() On Thu, May 6, 2021 at 1:51 PM Ryan Long wrote: > > Created futimens.c and utime

[PATCH v3 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-12 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397 --- cpukit/libcsupport/src/utime.c | 77 +++--- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c

[PATCH v3 5/5] Change filesystem utime_h handler to utimens_h

2021-05-12 Thread Ryan Long
Also updated licenses. Closes #4400 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +- cpukit/include/rtems/confdefs/libio.h | 4 +- cpukit/include/rtems/imfs.h | 7 ++-- cpukit/include/rtems/libio.h

[PATCH v3 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-12 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 53 +++-- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c

[PATCH v3 0/5] Add nanosecond support patch

2021-05-12 Thread Ryan Long
Hi, The notable changes in this iteration are: - got rid of rtems_filesystem_utime_tv_sec_valid() created _Timespec_Is_non_negative() in rtems/score/timespec.h to take its place. - Fixed some license issues Thanks, Ryan Ryan Long (5): libcsupport: Added futimens() and utimensat

[PATCH v3 1/5] libcsupport: Added futimens() and utimensat()

2021-05-12 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h

[PATCH v3 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-12 Thread Ryan Long
Improved tests for utime() and utimes() and update license. Close #4399 --- testsuites/psxtests/psx13/main.c | 5 +- testsuites/psxtests/psx13/test.c | 517 +-- 2 files changed, 498 insertions(+), 24 deletions(-) diff --git

[PATCH v6 5/5] Change filesystem utime_h handler to utimens_h

2021-05-18 Thread Ryan Long
Also updated licenses. Closes #4400 Updates #3899 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +- cpukit/include/rtems/confdefs/libio.h | 4 +- cpukit/include/rtems/imfs.h | 35 -

[PATCH v6 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-18 Thread Ryan Long
Improved tests for utime() and utimes() and update license. Close #4399 --- testsuites/psxtests/psx13/main.c | 5 +- testsuites/psxtests/psx13/test.c | 499 +-- 2 files changed, 481 insertions(+), 23 deletions(-) diff --git

[PATCH v6 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-18 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397 --- cpukit/libcsupport/src/utime.c | 72 +++--- 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c

[PATCH v6 0/5] Add nanosecond support patch

2021-05-18 Thread Ryan Long
Hi, For this series of patches, I - Removed extra whitespace - Removed some changes made to licenses Thanks, Ryan Ryan Long (5): libcsupport: Added futimens() and utimensat() libcsupport: Implement utime() in terms of utimensat() libcsupport: Implement utimes() in terms of utimensat

[PATCH v6 1/5] libcsupport: Added futimens() and utimensat()

2021-05-18 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h

[PATCH v6 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-18 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 63 - 1 file changed, 49 insertions(+), 14 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c

RE: [PATCH v6 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-18 Thread Ryan Long
-Original Message- From: Gedare Bloom Sent: Tuesday, May 18, 2021 3:15 PM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH v6 4/5] psx13: Added tests for utimensat() and futimens() On Tue, May 18, 2021 at 2:03 PM Ryan Long wrote: > > Improved tests for utime() and

[PATCH v7 0/5] Add nanosecond support patch

2021-05-18 Thread Ryan Long
Hi, For this series of patches, I - Added the SPDX clause that had been accidentally removed in main.c - Removed the extra space in the clause Thanks, Ryan Ryan Long (5): libcsupport: Added futimens() and utimensat() libcsupport: Implement utime() in terms of utimensat() libcsupport

[PATCH v7 1/5] libcsupport: Added futimens() and utimensat()

2021-05-18 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h

[PATCH v7 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-18 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397 --- cpukit/libcsupport/src/utime.c | 72 +++--- 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c

[PATCH v7 5/5] Change filesystem utime_h handler to utimens_h

2021-05-18 Thread Ryan Long
Also updated licenses. Closes #4400 Updates #3899 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +- cpukit/include/rtems/confdefs/libio.h | 4 +- cpukit/include/rtems/imfs.h | 35 -

[PATCH v7 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-18 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 63 - 1 file changed, 49 insertions(+), 14 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c

[PATCH v7 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-18 Thread Ryan Long
Improved tests for utime() and utimes() and update license. Close #4399 --- testsuites/psxtests/psx13/main.c | 5 +- testsuites/psxtests/psx13/test.c | 499 +-- 2 files changed, 482 insertions(+), 22 deletions(-) diff --git

[PATCH v2 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-06 Thread Ryan Long
Improved tests for utime() and utimes() and update license. Close #4399 --- testsuites/psxtests/psx13/main.c | 5 +- testsuites/psxtests/psx13/test.c | 517 +-- 2 files changed, 498 insertions(+), 24 deletions(-) diff --git

[PATCH v2 5/5] Change filesystem utime_h handler to utimens_h

2021-05-06 Thread Ryan Long
Also updated licenses. Closes #4400 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +-- cpukit/include/rtems/confdefs/libio.h | 4 +-- cpukit/include/rtems/imfs.h | 7 +++-- cpukit/include/rtems/libio.h

[PATCH v2 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-06 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397 --- cpukit/libcsupport/src/utime.c | 75 +++--- 1 file changed, 41 insertions(+), 34 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c

[PATCH v2 1/5] libcsupport: Added futimens() and utimensat()

2021-05-06 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h |

[PATCH v2 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-06 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 51 ++--- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c

[PATCH v2 0/5] Add nanosecond support patch

2021-05-06 Thread Ryan Long
Hi, Here's the patch set with the recommended changes. Joel, Kinsey, and I changed the check for the EACCES and added the EPERM case. We believe that it is correct now. Thanks, Ryan Ryan Long (5): libcsupport: Added futimens() and utimensat() libcsupport: Implement utime() in terms

[PATCH v5 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-17 Thread Ryan Long
Improved tests for utime() and utimes() and update license. Close #4399 --- testsuites/psxtests/psx13/main.c | 5 +- testsuites/psxtests/psx13/test.c | 499 +-- 2 files changed, 481 insertions(+), 23 deletions(-) diff --git

[PATCH v5 5/5] Change filesystem utime_h handler to utimens_h

2021-05-17 Thread Ryan Long
Also updated licenses. Closes #4400 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +- cpukit/include/rtems/confdefs/libio.h | 4 +- cpukit/include/rtems/imfs.h | 35 - cpukit/include/rtems/libio.h

[PATCH v5 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-17 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 63 - 1 file changed, 49 insertions(+), 14 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c

[PATCH v5 1/5] libcsupport: Added futimens() and utimensat()

2021-05-17 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h

[PATCH v5 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-17 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397 --- cpukit/libcsupport/src/utime.c | 72 +++--- 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c

[PATCH v5 0/5] Add nanosecond support patch

2021-05-17 Thread Ryan Long
Hi, For this series of patches, I - fixed brace placement in utime.c and utimes.c - Changed license back to what it was in msdos_init.c Thanks, Ryan Ryan Long (5): libcsupport: Added futimens() and utimensat() libcsupport: Implement utime() in terms of utimensat() libcsupport: Implement

RE: [PATCH v3 1/5] libcsupport: Added futimens() and utimensat()

2021-05-14 Thread Ryan Long
Reply is below. -Original Message- From: Gedare Bloom Sent: Wednesday, May 12, 2021 12:34 PM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH v3 1/5] libcsupport: Added futimens() and utimensat() On Wed, May 12, 2021 at 7:33 AM Ryan Long wrote: > > Created futi

[PATCH v4 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-14 Thread Ryan Long
Improved tests for utime() and utimes() and update license. Close #4399 --- testsuites/psxtests/psx13/main.c | 5 +- testsuites/psxtests/psx13/test.c | 499 +-- 2 files changed, 481 insertions(+), 23 deletions(-) diff --git

[PATCH v4 0/5] Add nanosecond support patch

2021-05-14 Thread Ryan Long
Hi, Here are the patches with the requested changes. In this iteration, I: - Used timespec macros and defined constants - Updated more file copyrights - Fixed some wording - changed rtems_filesystem_utime_check_times() to rtems_filesystem_utime_update() Thanks, Ryan Ryan Long (5

[PATCH v4 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-14 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397 --- cpukit/libcsupport/src/utime.c | 75 +++--- 1 file changed, 42 insertions(+), 33 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c

[PATCH v4 1/5] libcsupport: Added futimens() and utimensat()

2021-05-14 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h

[PATCH v4 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-14 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 62 - 1 file changed, 49 insertions(+), 13 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c

[PATCH v4 5/5] Change filesystem utime_h handler to utimens_h

2021-05-14 Thread Ryan Long
Also updated licenses. Closes #4400 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +- cpukit/include/rtems/confdefs/libio.h | 4 +- cpukit/include/rtems/imfs.h | 35 - cpukit/include/rtems/libio.h

RE: [PATCH v2 1/5] libcsupport: Added futimens() and utimensat()

2021-05-11 Thread Ryan Long
-Original Message- From: Gedare Bloom Sent: Monday, May 10, 2021 11:50 PM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH v2 1/5] libcsupport: Added futimens() and utimensat() On Mon, May 10, 2021 at 3:16 PM Ryan Long wrote: > > Reply is below. > > -Orig

[PATCH v1 1/4] rtems-fdt.c: Fix Resource leak (CID #1437645)

2021-05-28 Thread Ryan Long
CID 1437645: Resource leak in rtems_fdt_load(). Closes #4297 --- cpukit/libmisc/rtems-fdt/rtems-fdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt.c b/cpukit/libmisc/rtems-fdt/rtems-fdt.c index 7747ba9..dc5393c 100644 ---

[PATCH v1 0/4] Acked patches

2021-05-28 Thread Ryan Long
Hi, These patches are from various patch sets to fix Coverity issues. These were previously acked, but other patches in the corresponding patch sets prevented them from getting pushed. Thanks, Ryan Ryan Long (4): rtems-fdt.c: Fix Resource leak (CID #1437645) main_rtrace.c: Add error return

[PATCH v1 2/4] main_rtrace.c: Add error return when malloc fails

2021-05-28 Thread Ryan Long
CID 1399709: Dereference after null check in rtems_trace_buffering_shell_save(). Closes #4329 --- cpukit/libmisc/shell/main_rtrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libmisc/shell/main_rtrace.c b/cpukit/libmisc/shell/main_rtrace.c index 753ab9d..e4f59c4 100644 ---

[PATCH v1 4/4] rtl-allocator.c: Put dereferences after nullcheck

2021-05-28 Thread Ryan Long
CID 1444139: Dereference null return value in rtems_rtl_alloc_hook(). Closes #4333 --- cpukit/libdl/rtl-allocator.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit/libdl/rtl-allocator.c b/cpukit/libdl/rtl-allocator.c index 647c0c8..861754e 100644 ---

[PATCH v1 3/4] objectextendinformation.c: Ensure information->object_blocks is not NULL

2021-05-28 Thread Ryan Long
CID 26033: Dereference after null check in _Objects_Extend_information(). Closes #4326 --- cpukit/score/src/objectextendinformation.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/cpukit/score/src/objectextendinformation.c b/cpukit/score/src/objectextendinformation.c index

[PATCH v1 6/6] ReportsBase.cc: Fix Resource leak

2021-05-28 Thread Ryan Long
CID 1503711: Resource leak in WriteSummaryReport(). Closes #4422 --- tester/covoar/ReportsBase.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc index d904f8d..b4a755c 100644 --- a/tester/covoar/ReportsBase.cc +++

[PATCH v1 5/6] DesiredSymbols.cc: Fix resource leak

2021-05-28 Thread Ryan Long
CID 1503018: Resource leak in load(). Closes #4421 --- tester/covoar/DesiredSymbols.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tester/covoar/DesiredSymbols.cc b/tester/covoar/DesiredSymbols.cc index 2866dbe..5278891 100644 --- a/tester/covoar/DesiredSymbols.cc +++

[PATCH v1 3/6] GcovData.cc: Fix resource leak

2021-05-28 Thread Ryan Long
CID 1399610: Resource leak in readFrame(). Closes #4418 --- tester/covoar/GcovData.cc | 40 ++-- tester/covoar/GcovData.h | 4 ++-- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/tester/covoar/GcovData.cc b/tester/covoar/GcovData.cc index

[PATCH v1 2/6] TraceReaderLogQEMU.cc: Fix resource leak

2021-05-28 Thread Ryan Long
CID 1399615: Resource leak in processFile(). Closes #4419 --- tester/covoar/TraceReaderLogQEMU.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tester/covoar/TraceReaderLogQEMU.cc b/tester/covoar/TraceReaderLogQEMU.cc index 508074a..b64a149 100644 ---

[PATCH v1 0/6] rtems-tools resource leak patches

2021-05-28 Thread Ryan Long
Hi, In these patches, I added missing fclose()'s and converted some pointers to be of the data type that they were pointing to. Thanks, Ryan Ryan Long (6): Explanations.cc: Fix resource leaks TraceReaderLogQEMU.cc: Fix resource leak GcovData.cc: Fix resource leak TraceWriterQEMU.cc: Fix

[PATCH v1 1/6] Explanations.cc: Fix resource leaks

2021-05-28 Thread Ryan Long
CID 1399608: Resource leak in load(). CID 1399611: Resource leak in load(). Closes #4417 --- tester/covoar/Explanations.cc | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/tester/covoar/Explanations.cc b/tester/covoar/Explanations.cc index 12bd809..d94cd2e

[PATCH v1 4/6] TraceWriterQEMU.cc: Fix resource leak

2021-05-28 Thread Ryan Long
CID 1399621: Resource leak in writeFile(). Closes #4420 --- tester/covoar/TraceWriterQEMU.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tester/covoar/TraceWriterQEMU.cc b/tester/covoar/TraceWriterQEMU.cc index 4bc9667..26447af 100644 --- a/tester/covoar/TraceWriterQEMU.cc +++

RE: [PATCH 1/2] rtl-obj.c: Added an early return if rtl lock fails

2021-05-28 Thread Ryan Long
-Original Message- From: Chris Johns Sent: Monday, April 5, 2021 6:46 PM To: Ryan Long ; Gedare Bloom Cc: devel@rtems.org Subject: Re: [PATCH 1/2] rtl-obj.c: Added an early return if rtl lock fails On 5/4/21 11:11 pm, Ryan Long wrote: > When you say "allocating the m

RE: [PATCH v2] legacy nfs.c: Change filesystem utime_h handler to utimens_h

2021-05-20 Thread Ryan Long
ping -Original Message- From: Ryan Long Sent: Monday, May 3, 2021 1:41 PM To: devel@rtems.org Cc: Ryan Long Subject: [PATCH v2] legacy nfs.c: Change filesystem utime_h handler to utimens_h Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead

RE: [PATCH v2] libbsd nfs.c: Change filesystem utime_h handler to utimens_h

2021-05-20 Thread Ryan Long
ping -Original Message- From: Ryan Long Sent: Monday, May 3, 2021 1:41 PM To: devel@rtems.org Cc: Ryan Long Subject: [PATCH v2] libbsd nfs.c: Change filesystem utime_h handler to utimens_h Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead

[PATCH] sysconf: Removed sysconf(515)

2021-05-20 Thread Ryan Long
GCC originally needed this 20 years ago. No longer needed, so it is being removed. Closes #4391 --- cpukit/posix/src/sysconf.c| 4 testsuites/psxtests/psxsysconf/init.c | 8 2 files changed, 12 deletions(-) diff --git a/cpukit/posix/src/sysconf.c

[PATCH v2] sysconf: Remove sysconf(515)

2021-05-20 Thread Ryan Long
GCC originally needed this 20 years ago. No longer needed, so it is being removed. Closes #4391 --- cpukit/posix/src/sysconf.c| 4 testsuites/psxtests/psxsysconf/init.c | 8 2 files changed, 12 deletions(-) diff --git a/cpukit/posix/src/sysconf.c

RE: [PATCH v1 1/6] Explanations.cc: Fix resource leaks

2021-06-04 Thread Ryan Long
We'll submit the C++ conversions as separate patches since they are larger. That patch will be submitted shortly. -Original Message- From: Chris Johns Sent: Friday, May 28, 2021 8:05 PM To: Ryan Long ; devel@rtems.org Subject: Re: [PATCH v1 1/6] Explanations.cc: Fix resource leaks

[PATCH v1] Explanations.cc: Convert to c++ file handling

2021-06-04 Thread Ryan Long
--- tester/covoar/Explanations.cc | 45 --- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/tester/covoar/Explanations.cc b/tester/covoar/Explanations.cc index d94cd2e..1449fb2 100644 --- a/tester/covoar/Explanations.cc +++

RE: [PATCH v2] legacy nfs.c: Change filesystem utime_h handler to utimens_h

2021-05-28 Thread Ryan Long
Reply is below. From: Joel Sherrill Sent: Friday, May 21, 2021 9:44 AM To: Gedare Bloom Cc: Ryan Long ; vi...@rtems.rog; rtems-de...@rtems.org Subject: Re: [PATCH v2] legacy nfs.c: Change filesystem utime_h handler to utimens_h As a warning, this and the corresponding libbsd patch

RE: [PATCH v2 3/3] main_help.c: Do not care what char is returned by getchar()

2021-05-28 Thread Ryan Long
You acked them, and I sent the tarball with the patches to Joel. So I think Joel just forgot to put them in. -Original Message- From: Gedare Bloom Sent: Friday, May 28, 2021 9:55 AM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH v2 3/3] main_help.c: Do not care what char

RE: [PATCH] Reports: Convert to C++

2021-07-07 Thread Ryan Long
: Tuesday, July 6, 2021 7:13 PM To: Ryan Long ; devel@rtems.org Subject: Re: [PATCH] Reports: Convert to C++ On 7/7/21 1:53 am, Ryan Long wrote: > Made formatting consistent and converted C code to C++. > --- > tester/covoar/ReportsBase.cc | 525 +-- > tester/covoar/R

RE: [PATCH v1 1/2] ReportsBase.cc: Remove possible division by zero

2021-06-29 Thread Ryan Long
No good reason. I'll make those changes and send V2. -Original Message- From: Gedare Bloom Sent: Tuesday, June 29, 2021 12:13 PM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH v1 1/2] ReportsBase.cc: Remove possible division by zero On Tue, Jun 29, 2021 at 11:06 AM Ryan Long

[PATCH v1 1/2] ReportsBase.cc: Remove possible division by zero

2021-06-29 Thread Ryan Long
CID 1503709: Division or modulo by float zero Closes #4415 --- tester/covoar/ReportsBase.cc | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc index b4a755c..31dc429 100644 --- a/tester/covoar/ReportsBase.cc

[PATCH v1 2/2] rtems-exeinfo.cpp: Fix division by zero errors

2021-06-29 Thread Ryan Long
CID 1503008: Division or modulo by zero CID 1503015: Division or modulo by zero Closes #4416 --- linkers/rtems-exeinfo.cpp| 20 tester/covoar/ReportsBase.cc | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/linkers/rtems-exeinfo.cpp

[PATCH v2 2/2] rtems-exeinfo.cpp: Fix division by zero errors

2021-06-29 Thread Ryan Long
CID 1503008: Division or modulo by zero CID 1503015: Division or modulo by zero Closes #4416 --- linkers/rtems-exeinfo.cpp | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/linkers/rtems-exeinfo.cpp b/linkers/rtems-exeinfo.cpp index 1e6d4b4..ec51597 100644

[PATCH v2 1/2] ReportsBase.cc: Remove possible division by zero

2021-06-29 Thread Ryan Long
CID 1503709: Division or modulo by float zero Closes #4415 --- tester/covoar/ReportsBase.cc | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc index b4a755c..328980d 100644 --- a/tester/covoar/ReportsBase.cc +++

[PATCH v3 2/2] rtems-exeinfo.cpp: Fix division by zero errors

2021-06-29 Thread Ryan Long
CID 1503008: Division or modulo by zero CID 1503015: Division or modulo by zero Closes #4416 --- linkers/rtems-exeinfo.cpp | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/linkers/rtems-exeinfo.cpp b/linkers/rtems-exeinfo.cpp index 1e6d4b4..6e92206 100644

[PATCH v3 1/2] ReportsBase.cc: Remove possible division by zero

2021-06-29 Thread Ryan Long
CID 1503709: Division or modulo by float zero Closes #4415 --- tester/covoar/ReportsBase.cc | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc index b4a755c..328980d 100644 --- a/tester/covoar/ReportsBase.cc +++

RE: [PATCH v2 2/2] rtems-exeinfo.cpp: Fix division by zero errors

2021-06-29 Thread Ryan Long
I'll cast those. Sorry I missed that. -Original Message- From: Gedare Bloom Sent: Tuesday, June 29, 2021 2:03 PM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH v2 2/2] rtems-exeinfo.cpp: Fix division by zero errors On Tue, Jun 29, 2021 at 11:50 AM Ryan Long wrote: > &g

[PATCH v1] Reports: Convert to C++

2021-07-12 Thread Ryan Long
--- tester/covoar/ReportsBase.cc | 296 ++-- tester/covoar/ReportsBase.h | 118 +++-- tester/covoar/ReportsHtml.cc | 1074 +- tester/covoar/ReportsHtml.h | 94 ++-- tester/covoar/ReportsText.cc | 261 +- tester/covoar/ReportsText.h |

[PATCH] Reports: Convert to C++

2021-07-06 Thread Ryan Long
Made formatting consistent and converted C code to C++. --- tester/covoar/ReportsBase.cc | 525 +-- tester/covoar/ReportsBase.h | 156 +++--- tester/covoar/ReportsHtml.cc | 1183 +- tester/covoar/ReportsHtml.h | 141 ++---

[PATCH] rtems-bsp-builder: Change to waf build system

2021-05-19 Thread Ryan Long
Closes #4124 --- config/rtems-bsps.ini | 28 ++-- tester/rt/check.py| 35 ++- 2 files changed, 40 insertions(+), 23 deletions(-) diff --git a/config/rtems-bsps.ini b/config/rtems-bsps.ini index 93156fb..d5de667 100644 ---

[PATCH v4] psx13: Reworked and relicensed

2021-04-26 Thread Ryan Long
Changed the way the tests were structured, added rtems_test_assert()'s, updated psx13.scn and the license. Update #3899 --- testsuites/psxtests/psx13/main.c| 37 +- testsuites/psxtests/psx13/psx13.scn | 21 +- testsuites/psxtests/psx13/test.c| 852

[PATCH v3] psx13: Reworked and relicensed

2021-04-26 Thread Ryan Long
Changed the way the tests were structured, added rtems_test_assert()'s, updated psx13.scn and the license. --- testsuites/psxtests/psx13/main.c| 37 +- testsuites/psxtests/psx13/psx13.scn | 21 +- testsuites/psxtests/psx13/test.c| 852 3 files

RE: [PATCH v3] psx13: Reworked and relicensed

2021-04-26 Thread Ryan Long
Didn't realize I screwed up my rebase. I thought the "Update #3899" had been added. Sending again. -Original Message----- From: Ryan Long Sent: Monday, April 26, 2021 10:00 AM To: devel@rtems.org Cc: Ryan Long Subject: [PATCH v3] psx13: Reworked and relicensed Changed the way

[PATCH] psx13: Reworked and relicensed

2021-04-21 Thread Ryan Long
Changed the way the tests were structured, added rtems_test_assert()'s, updated psx13.scn and the license. --- testsuites/psxtests/psx13/psx13.scn | 24 +- testsuites/psxtests/psx13/test.c| 879 +--- 2 files changed, 335 insertions(+), 568 deletions(-) diff

RE: [PATCH] psx13: Reworked and relicensed

2021-04-22 Thread Ryan Long
What other file? From: Joel Sherrill Sent: Thursday, April 22, 2021 9:21 AM To: Sebastian Huber Cc: Gedare Bloom ; Ryan Long ; rtems-de...@rtems.org Subject: Re: [PATCH] psx13: Reworked and relicensed While you are updating the license on the OAR authored code, you should pick up the other

RE: [PATCH v2] psx13: Reworked and relicensed

2021-04-23 Thread Ryan Long
Forgot to put the #Updates statement in the commit message. Will resend as V3. -Original Message- From: Ryan Long Sent: Thursday, April 22, 2021 2:34 PM To: devel@rtems.org Cc: Ryan Long Subject: [PATCH v2] psx13: Reworked and relicensed Changed the way the tests were structured

[PATCH] pwdgrp.c: Removed unused variable

2021-04-28 Thread Ryan Long
The 'sc' variable was originally storing the return value of mkdir(). This was causing an issue, so it was changed to make it to where we ignored the return value with (void). The 'sc' variable was left in by mistake. --- cpukit/libcsupport/src/pwdgrp.c | 2 -- 1 file changed, 2 deletions(-)

RE: [PATCH] psx13: Reworked and relicensed

2021-04-22 Thread Ryan Long
Gedare Bloom Sent: Thursday, April 22, 2021 8:45 AM To: Ryan Long Cc: devel@rtems.org Subject: Re: [PATCH] psx13: Reworked and relicensed See below for comments. This test suite might be a good candidate for conversion to T_TEST_CASE framework. At any rate, this refactor is a marked improvement. O

[PATCH] nfs.c: Change filesystem utime_h handler to utimens_h

2021-05-03 Thread Ryan Long
Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead of individual variables for access and modified time. Updates #4400 --- nfsclient/src/nfs.c | 50 +- 1 file changed, 25 insertions(+), 25 deletions(-) diff

RE: [PATCH v1 1/5] libcsupport: Added futimens() and utimensat()

2021-05-05 Thread Ryan Long
Reply is below. -Original Message- From: Gedare Bloom Sent: Tuesday, May 4, 2021 11:27 AM To: Ryan Long Cc: Sebastian Huber ; devel@rtems.org Subject: Re: [PATCH v1 1/5] libcsupport: Added futimens() and utimensat() On Tue, May 4, 2021 at 10:04 AM Ryan Long wrote

[PATCH] nfs.c: Change filesystem utime_h handler to utimens_h

2021-05-03 Thread Ryan Long
Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead of individual variables for access and modified time. Updates #4400 --- rtemsbsd/nfsclient/nfs.c | 50 1 file changed, 25 insertions(+), 25 deletions(-)

[PATCH v2] libbsd nfs.c: Change filesystem utime_h handler to utimens_h

2021-05-03 Thread Ryan Long
Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead of individual variables for access and modified time. Updates #4400 --- rtemsbsd/nfsclient/nfs.c | 50 1 file changed, 25 insertions(+), 25 deletions(-)

[PATCH v2] legacy nfs.c: Change filesystem utime_h handler to utimens_h

2021-05-03 Thread Ryan Long
Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead of individual variables for access and modified time. Updates #4400 --- nfsclient/src/nfs.c | 50 +- 1 file changed, 25 insertions(+), 25 deletions(-) diff

RE: [PATCH v1 1/5] libcsupport: Added futimens() and utimensat()

2021-05-04 Thread Ryan Long
-Original Message- From: Sebastian Huber Sent: Tuesday, May 4, 2021 12:04 AM To: Ryan Long ; devel@rtems.org Subject: Re: [PATCH v1 1/5] libcsupport: Added futimens() and utimensat() On 03/05/2021 15:40, Ryan Long wrote: > Created futimens.c and utimensat.c to add supp

RE: [PATCH v1 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-04 Thread Ryan Long
-Original Message- From: Sebastian Huber Sent: Monday, May 3, 2021 11:54 PM To: Ryan Long ; devel@rtems.org Subject: Re: [PATCH v1 2/5] libcsupport: Implement utime() in terms of utimensat() On 03/05/2021 15:40, Ryan Long wrote: > utime() now calls utimensat() to update file acc

[PATCH v1 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-03 Thread Ryan Long
Improved tests for utime() and utimes(). Close #4399 --- testsuites/psxtests/psx13/main.c | 2 - testsuites/psxtests/psx13/test.c | 484 +-- 2 files changed, 471 insertions(+), 15 deletions(-) diff --git a/testsuites/psxtests/psx13/main.c

[PATCH v1 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-03 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 54 ++--- 1 file changed, 40 insertions(+), 14 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c

[PATCH v1 5/5] Change filesystem utime_h handler to utimens_h

2021-05-03 Thread Ryan Long
Closes #4400 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +-- cpukit/include/rtems/confdefs/libio.h | 4 +-- cpukit/include/rtems/imfs.h | 7 +++-- cpukit/include/rtems/libio.h| 21

[PATCH v1 0/5] Add nanosecond support patch

2021-05-03 Thread Ryan Long
to change the handler itself. The main change that was made in that patch was changing the arguments from an access and modifcation time to a timespec array. The names of the functions were changed, and a couple of files were renamed as well. Thanks, Ryan Ryan Long (5): libcsupport: Added

[PATCH v1 1/5] libcsupport: Added futimens() and utimensat()

2021-05-03 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h |

[PATCH v1 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-03 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Closes #4397 --- cpukit/libcsupport/src/utime.c | 74 +++--- 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c

  1   2   3   4   5   6   7   >