Experimental Physics and Industrial Control System
>> > It appears that the cut-off in the addressing is not in the mail
>> > forwarding but in the alarm handler reading its configuration file.
>> > What is the limit on the line length in alarm handler config files?
>>
>> Oops,
>>
>> the config file line length is limited by a buffer which is of length
>> MAX_STRING_LENGTH, i.e. 500 (defined in alh.h).
> the line length was definitely below 200 characters at all times.
> I don't know whether I exceeded 2 lines (wrapped) at some point in
> time.
Hi Maren,
I dug through the CVS repository and found out that the line length was
increased from 150 to 500 characters with revision 1.9 on 1998/08/03.
If you are using an antique version of alh (with alh.h being older than
revision 1.9) any input line will be truncated at 149 characters - this
would fit your problem, right?
In any case (especially when your version is that old) I would suggest
updating to a recent version - there's a few other bugs that have been
fixed and lots of new things added.
If your alh is recent ... phhh. I don't see any reason why alh should
cut off your command line. All internal structures support variable
length strings. The only point I could possibly think of is that your
shell (that gets started with a system() call in file process.c) has a
limit on command line length. Not very likely, but ... *shrug*.
Good luck!
Ralph
- Replies:
- Re: alarm handler confusion (and solution) Maren Purves
- References:
- alarm handler confusion (and solution) Maren Purves
- Re: alarm handler confusion (and solution) Ralph . Lange
- Re: alarm handler confusion (and solution) Maren Purves
- Navigate by Date:
- Prev:
CapFast Linux version Dr. Chong Lee
- Next:
Re: Alarm handler Ralph . Lange
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: alarm handler confusion (and solution) Maren Purves
- Next:
Re: alarm handler confusion (and solution) Maren Purves
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024