Re: coredump in df_readascii
- From: merritt@xxxxxxxxxxxxxxxx (Ethan Merritt)
- Date: Mon, 24 Mar 2008 22:59:33 -0700 (PDT)
In article <980e1957-d347-4871-ba91-caec429395fb@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<dipesh_kamdar@xxxxxxxxx> wrote:
thanks for quick reply.
Version : 4.2.3
OS : AS3
It looks like problem with is_comment(c) in datafile.c.
Reason : df_commentschars is null.
#define is_comment(c) ((c) && (strchr(df_commentschars, (c)) != NULL))
Strange.
I can think of no way in which df_commentschars could ever become NULL.
It is initialized to "#", and any further set/unset commands can only replace
this with another string. You can set it to an empty string, but that
is a normal condition and shouldn't cause a segfault.
Did you intentionally use
set datafile commentschar ...
to set it to something unusual?
--
Ethan A Merritt
.
- Follow-Ups:
- Re: coredump in df_readascii
- From: dipesh_kamdar
- Re: coredump in df_readascii
- References:
- coredump in df_readascii
- From: dipesh_kamdar
- Re: coredump in df_readascii
- From: Ethan Merritt
- Re: coredump in df_readascii
- From: dipesh_kamdar
- coredump in df_readascii
- Prev by Date: Re: coredump in df_readascii
- Next by Date: Re: Once again about yellow colour
- Previous by thread: Re: coredump in df_readascii
- Next by thread: Re: coredump in df_readascii
- Index(es):
Relevant Pages
|