Browse Source
- includes a fix for blockette 395, where byte swapping of timestamp seems to have been broken (Calibration Abort Blockette, end of calibration time)conda
4 changed files with 29 additions and 0 deletions
@ -0,0 +1,14 @@
|
||||
diff -ruN libmseed/parseutils.c libmseed_mod/parseutils.c
|
||||
--- libmseed/parseutils.c 2019-06-19 10:59:29.000000000 +0200
|
||||
+++ libmseed_mod/parseutils.c 2022-03-15 09:08:10.735934106 +0100
|
||||
@@ -943,8 +943,9 @@
|
||||
{
|
||||
struct blkt_395_s *blkt_395 = (struct blkt_395_s *)(record + blkt_offset + 4);
|
||||
|
||||
- if (swapflag)
|
||||
+ if (swapflag) {
|
||||
MS_SWAPBTIME (&blkt_395->time);
|
||||
+ }
|
||||
|
||||
if (details >= 1)
|
||||
{
|
@ -0,0 +1,11 @@
|
||||
diff -ruN libmseed/selection.c libmseed_mod/selection.c
|
||||
--- libmseed/selection.c 2019-06-19 10:59:29.000000000 +0200
|
||||
+++ libmseed_mod/selection.c 2022-03-15 08:54:29.178367090 +0100
|
||||
@@ -703,6 +703,7 @@
|
||||
case '\\':
|
||||
if (*pattern)
|
||||
c = *pattern++;
|
||||
+ /* FALLTHRU */
|
||||
default:
|
||||
if (c != *string)
|
||||
return GLOBMATCH_FALSE;
|
Loading…
Reference in new issue