On Sun, 30 Sep 2012, Marcin Cieslak wrote:

>
>> Technically strcpy's ranges cannot overlap at all,
>> although in practice this is usually not an issue.
>> Does quiet a valgrind warning, however.
>
>> -        strcpy (string, &string[*idx+1]);
>> *        strmove (string, &string[*idx+1]);
>
>
> Interesting, although I agree with others that
> introducing strmove() is a bit too much, I need
> to check this problem, since compiling with -O2
> produced malformed .sdl help files for me
> (lowering optimization to -O did help).
>

I've applied the patch, it's the right way to do it.

I recently setup a 64b ubuntu 12.04 system in a vm, and noticed help
files failing to build as well.  But at the time I was more
interested in tracking down another problem:

When I login, everything comes up, but a dialog appears saying that
the session manager (I'm paraphrasing) could not be contacted.  It has
an Ok buton, which if you hit, ends the session.  I'm guessing it has
something to do with the fact that the 'hostname' does not match the
dhcp IP and DNS reverse lookup on that IP.

At anyrate, I disabled -O2 and added -g3 to start debugging - strangely
help files built fine again.  So it's interesting that I too see this
problem on a 64b build on a completely different OS :)

Anyone else besides Marcin and I seen this on 64b builds?

-- 
Jon Trulson

The Higgs Field is what make atoms matter.
                 -- Tom L.



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to