Bug fix from Stephanie Allison and Till Straumann.
Warning, cannot access the index:
_darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)
diff -rN -u old-branch-2-0/src/seq/seq_ca.c new-branch-2-0/src/seq/seq_ca.c
--- old-branch-2-0/src/seq/seq_ca.c 2022-09-28 10:45:21.204706644 +0200
+++ new-branch-2-0/src/seq/seq_ca.c 2022-09-28 10:45:21.204706644 +0200
@@ -227,7 +227,9 @@
/* Copy error message (only when severity indicates error) */
if (pDB->severity != pvSevrNONE)
{
- pDB->message = pvVarGetMess(pDB->pvid);
+ char *pmsg = pvVarGetMess(pDB->pvid);
+ if (!pmsg) pmsg = "unknown";
+ pDB->message = Strdcpy(pDB->message, pmsg);
}
/* Get ptr to the state program that owns this db entry */
patch 3a55dc4924e2144564ee570ba4bb4edd5ecf8179
Author: Andrew Johnson <anj@aps.anl.gov>
Date: Tue Jul 26 01:28:49 CEST 2005
* Bug fix from Stephanie Allison and Till Straumann