On 19-Oct-99 Jean-Marc Lasgouttes wrote:
>>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:
> 
> Juergen> Thank's this is exactly what I looked for :). This IS a bug
> Juergen> and it should be solved! Did someone already apply the patch
> Juergen> for this '-'->'_' problem? Otherwise I'll have a look.
> 
> This has not been fixed yet. However, this exposes another problem:
> you should use SpaceLess() on the file name to get them right (there
> are other characters---like spaces---which can be modified).
> 

Ok I'll have a look!

> Juergen> Really Lars we should fix this and the problem with
> Juergen> xforms_0.89 and release a 1.0.4.1!
> 
> Not sure about this one. 

Ok then at least we should now stop inserting new stuff, fix the
bugs and release the first 1.1.0 version :)

I just discovered a new bug, try to insert a lable you get a abort!

I traced this down to the lyxstring construtor and there is a command like:

Assert(s); // we don't allow null pointers

But then something like this is not possible:

string str = ptr; // ptr could also be 0

but we always have to do something like:

string str;

if (ptr) str = ptr;

I think this should be removed and there should be a check in the constructor
which just does not initialize if the pointer is a 0 pointer!

I'll fix this now and if you don't like it then you (you is general not JMarc;)
can refix this and also all instances in the code where we allocate a string
like this with the warning never do this :)

Greets Jürgen
 
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna                      E-Mail: [EMAIL PROTECTED]
Gerbergasse 60                        Tel:    +39-0471-450260
I-39100 Bozen                         Fax:    +39-0471-970042
ITALY                                 Web:    http://www.sad.it/~jug

Never trust anybody whose arm is bigger than your leg.

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to