Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| Lars> You get a dynamic char* that you have to manually delete. How
| Lars> large should the char[] buffer be?
| 
| The size of the file, probably.

Dynamic char[] is just as easy to work with. (in this case)

| Lars> | I am trying to fix the bugs reported on 1.1.5 which just
| Lars> crashed in | lyxsum.
| 
| Lars> Can you send me the reports, I can't remember/find them.
| 
| I just had to pick from the archives the references I already gave you
| last week :)
| 
| [snip]
| OK, a few references. these two are probably the same bug:
|      http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11937.html

I'd really like to know what strlen(s) in #0 is...
And I can't really se why it craches... s != NULL, *s != "" n > 0 < npos.

|      http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11917.html
| [snip]

This one makes even less sense.

Ok, had a look... The only think I can thing of would be to add a '\0'
to the read...hmm this can be strlen crashing because of a missing
'\0'... let's add that. (seems like a good candidate.)

        Lgb

Reply via email to