[ldm-users] Problem with blank line in pqact.conf

A blank nonempty line in pqact.conf causes pqact to skip silently the rest
of the file. Example (using vim's :set list):

#$
^I$
NGRID^I^(HIN[B-X][0-9][0-9]) (KWNH) (..)(..)(..)$
^IFILE^I-overwrite -log -close
-edex^I/data_store/grib2/(\3:yyyy)(\3:mm)\3/\4/PWPF/GRID184/\1_\2_\3\4\5_(seq).grib2.%Y%m%d%H$

The NGRID entry and anything that follows will not be processed. Should the
last line in function pal_line in palt.c be

return len > 0 ? len : -2;

If there is a character to unget then the pointer is not at the end of the
file.

George
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: