Commit Graph
18313 Commits
Author SHA1 Message Date
Abdalla Al-Dalleh f4ea5cc1e9 biRecord.c/boRecord.c: Fix gcc -Wsizeof-pointer-memaccess (#887)
../rec/biRecord.c:191:42: warning: argument to ‘sizeof’ in ‘strncpy’
call is the same expression as the source; did you mean to use the
size of the destination? [-Wsizeof-pointer-memaccess]
  191 |         strncpy(pstring,prec->znam,sizeof(prec->znam));
      |                                          ^

Use memcpy instead of snprintf.

STATIC_ASSERT is added to ensure znam and onam are sized enough.
2026-10-14 11:00:22 +02:00
Andrew Johnson 0b1ec9809e Fix #859 in template CONFIG file
Instructions on updating existing modules in the Notes entry.

Also prints warning messages from the modules/Makefile if
$(INSTALL_LOCATION) is empty.
2026-10-14 10:57:56 +02:00
Michael Davidsaver e564d85e62 asDump* quote UAG and HAG entries 2026-10-14 10:57:27 +02:00
Michael Davidsaver 270a6a6aca GHA churn 2026-10-14 10:57:19 +02:00
Torsten Bögershausen 88a2b165ae dbAccess.c: Improve logging of illegal field_type
Debugging a problem and looking at the message

recGblDbaddrError: dbPut: Request type is 0 Illegal Database Request Type...
does not help very much: request type 0 is a legal value.

Improve the message to show the field type as well:
recGblDbaddrError: dbPut: dbrType = 0 field_type = DBF_INLIK (14)...

Do the same for both dbPut and dbGet.
2026-10-14 10:57:09 +02:00
Simon Rose 9972f8ab3a Refactor tests and add test that errlogInit() can be run more than once 2026-10-13 10:25:21 +02:00
Simon Rose 8e56569e41 Add error/warning ANSI prefixes to error/warning messages 2026-10-13 10:25:09 +02:00
Simon Rose 90c287fbaa Add unrelease for errloginit2 change 2026-10-13 10:24:53 +02:00
Simon Rose ca424832a7 Block resizes from listener callbacks 2026-10-13 10:24:41 +02:00
Simon Rose 2bb445a992 Lock buffer size changes while running thread 2026-10-13 10:24:24 +02:00
Simon Rose 9668255042 Call errlogClampConfig only a single time 2026-10-13 10:24:12 +02:00
Simon Rose 8999ee7a0b Move frees out of mutex lock 2026-10-13 10:23:57 +02:00
Simon Rose 6503c86c8b Add release note 2026-10-13 10:23:36 +02:00
Simon Rose 2c12fdec86 Stop flushing the errorlog during init 2026-10-13 10:23:29 +02:00
Simon Rose b16f8cfd8d Change initial errlogprintfs to printfs
RTEMS performs a few early errlogPrintf calls. This initialises
the errlog buffers to some default values blocking certain tests
from re-initialising the error log later.
2026-10-13 10:23:16 +02:00
Simon Rose 9cdd14d47d Remove errlogBufResize in favour of allowing errlogInit[2] to be called repeatedly 2026-10-13 10:22:47 +02:00
Simon Rose 63b22565fc Add warning if errorlog configuration has been clamped 2026-10-13 10:22:36 +02:00
Simon Rose b86265e682 Make the maximum message size dependent on the buffer size 2026-10-13 10:22:25 +02:00
Simon Rose 0e0a815e7c Update the error log functionality to avoid losing writes 2026-10-13 10:22:15 +02:00
Simon Rose 9b835a1fdb Add command to show errlog buffer contents 2026-10-13 10:21:59 +02:00
Simon Rose d3ff8dca3f Add commandline utility to resize buffer after being initialised 2026-10-13 10:21:35 +02:00
Simon Rose 53a3e4b694 Modify errorlog initialisation to add separate default value 2026-10-13 10:20:50 +02:00
Andrew Johnson eaab38f3f7 Adjust make-notes.pl sorting code to avoid a Perl warning 2026-10-13 10:19:06 +02:00
Michael Davidsaver 68ff68cb31 epicsStrPrintEscaped() operate on unterminated string
see 3a2d225682
see f488765631
2026-10-13 10:18:56 +02:00
Michael Davidsaver 70070d8276 doc dbBase.h
document dbBase list node types
2026-10-13 10:18:22 +02:00
Andrew Johnson a90ee1dc6b Reformat the ReleaseChecklist file
- Remove all the HTML tags
- Convert the table into Markdown sections
- Set release version to 7.0.11
2026-10-13 10:18:09 +02:00
Andrew Johnson ce00a50fd8 Adjust the sort order of the new-notes files
Preparing to sort PR-999.md and PR-1000.md correctly
2026-10-13 10:18:02 +02:00
Andrew Johnson 362bb3300e Remove duplicate link to dbDefs
Header file lives in libCom so that's what we keep.
2026-10-13 10:17:47 +02:00
Andrew Johnson c2726b87d2 Error message fixes/improvements 2026-10-13 10:17:37 +02:00
Michael Davidsaver 267b56d495 doc 2026-10-13 10:17:03 +02:00
Michael Davidsaver 12e75c541c doc dbProcess() 2026-10-13 10:16:51 +02:00
zimoch d6df659acf Merge commit '631c8831b942ee5533a2f7016085dcef52c2f3ba' into PSI-7.0
Merge latest 7.0 until before records are modified
2026-10-13 10:15:50 +02:00
Michael Davidsaver cf7ab0f65e dbCa: iocInit wait for all conditions
After connectCallback, need to wait for up to three
concurrent actions.  Native and string subscriptions,
as well as GET of metadata.

Complicated because event_handler_args does not identify
the evid.

see 717d69e1fc
2026-10-13 09:42:17 +02:00
zimoch 6e8557cf73 get back our old version string 2026-10-12 17:46:37 +02:00
zimoch d1abe3d42e update submodules PSI-7.0.10.1-3 2026-10-05 16:45:57 +02:00
zimoch ca9d5439ed install libpvxs, libnt and libpvDatabase for cross archs in devel 2026-10-05 16:45:25 +02:00
zimoch e4e83105a3 better fix for old libraries of compat mode 2026-10-01 09:05:59 +02:00
zimoch 2d9256366b give a default value (NO) to EPICS_MUTEX_USE_PRIORITY_INHERITANCE 2026-10-01 09:05:59 +02:00
zimoch 15ba5ed863 Merge branch '7.0' into PSI-7.0 2026-09-28 09:39:12 +02:00
zimoch 3b04f8176a add pvxs for architectures that support libevent natively 2026-09-28 09:05:57 +02:00
zimoch a61ed8eab3 update pvData 2026-09-28 09:05:56 +02:00
zimoch 5e8ca657cc run cleanup script only on final uninstall 2026-09-28 09:05:56 +02:00
zimoch 6b5a73b0da export EPICS_BASE and EPICS_HOST_ARCH 2026-09-28 09:05:56 +02:00
zimoch a5a7ad7c37 remove -DEV from version string to avoid confusion 2026-09-28 09:05:48 +02:00
zimoch 30e7e320d0 move version string overrides to separate file 2026-09-28 09:03:36 +02:00
zimoch abe6802659 fix perl requirements and re-add perl CA 2026-09-28 09:01:58 +02:00
zimoch 60436556f5 mount /usr/lib readonly 2026-09-04 11:04:08 +02:00
zimoch f29e84c051 fix auto mount problem on RHEL10 2026-05-22 16:32:45 +02:00
zimoch 316ba90b83 extend spec file for RHEL10 PSI-7.0.10.1-2 2026-05-11 14:32:35 +02:00
zimoch 99c0ad5e08 wrap 32 bit compilers on RHEL10 2026-05-11 11:00:26 +02:00