Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Patches - Fixes - Bazaar addition
Patches - Fixes - Bazaar addition [message #15859] Mon, 12 May 2008 23:41 Go to next message
mdelfede is currently offline  mdelfede
Messages: 1259
Registered: September 2007
Senior Contributor
In Uvs2 -- Revision 2543

------------------------------------------------------------ ---
File 'BiCont.h' still contains a bug; line 39, which is :
	void     DropHead(int n)         { while(n-- > 0) DropHeap(); }


should be :
	void     DropHead(int n)         { while(n-- > 0) DropHead(); }


(note the ending letter, DropHead() instead DropHeap() )

------------------------------------------------------------ ---
File 'Valgrind.cpp' uses a wrong (or not compatible with default ubuntu Valgrind version) flag calling valgrind executable.
The line 20, which is :
	cmdline << "valgrind --xml=yes --num-callers=40 --log-file-exactly=" << fn << ' ';


Should be :
	cmdline << "valgrind --xml=yes --num-callers=40 --log-file=" << fn << ' ';


------------------------------------------------------------ ---
I've added copying of bazaar stuffs in user path plus creation of new MyApps-Bazaar assembly, to test instable/contributed stuffs.
I'll attach here the needed patches.

Ciao

Max

p.s.: SVN still contains all that stuffs!

Max
  • Attachment: AddBazaar.zip
    (Size: 10.52KB, Downloaded 203 times)

[Updated on: Mon, 12 May 2008 23:41]

Report message to a moderator

Re: Patches - Fixes - Bazaar addition [message #15881 is a reply to message #15859] Wed, 14 May 2008 08:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 11991
Registered: November 2005
Ultimate Member
mdelfede wrote on Mon, 12 May 2008 17:41


File 'Valgrind.cpp' uses a wrong (or not compatible with default ubuntu Valgrind version) flag calling valgrind executable.
The line 20, which is :
	cmdline << "valgrind --xml=yes --num-callers=40 --log-file-exactly=" << fn << ' ';


Should be :
	cmdline << "valgrind --xml=yes --num-callers=40 --log-file=" << fn << ' ';




Ops. This will not work with my copy of valgrind. "--log-file" produces non-fixed filenames there... (valgrind appends process number to extension - that is why it has -exactly option....)

Mirek
Re: Patches - Fixes - Bazaar addition [message #15884 is a reply to message #15881] Wed, 14 May 2008 08:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 11991
Registered: November 2005
Ultimate Member
Bazaar changes applied.

Mirek
Re: Patches - Fixes - Bazaar addition [message #15889 is a reply to message #15881] Wed, 14 May 2008 10:36 Go to previous messageGo to next message
mdelfede is currently offline  mdelfede
Messages: 1259
Registered: September 2007
Senior Contributor
luzr wrote on Wed, 14 May 2008 08:14

mdelfede wrote on Mon, 12 May 2008 17:41


File 'Valgrind.cpp' uses a wrong (or not compatible with default ubuntu Valgrind version) flag calling valgrind executable.
The line 20, which is :
	cmdline << "valgrind --xml=yes --num-callers=40 --log-file-exactly=" << fn << ' ';


Should be :
	cmdline << "valgrind --xml=yes --num-callers=40 --log-file=" << fn << ' ';




Ops. This will not work with my copy of valgrind. "--log-file" produces non-fixed filenames there... (valgrind appends process number to extension - that is why it has -exactly option....)

Mirek


Uhmmm... that's weird. From where did you download valgrind ? I've got the latest ubuntu package and it doesn't have "exactly" stuff.
BTW, I think I can patch valgrind.cpp to check wether the option is available or not.... should I ?

Max

Re: Patches - Fixes - Bazaar addition [message #15891 is a reply to message #15889] Wed, 14 May 2008 12:13 Go to previous message
mirek is currently offline  mirek
Messages: 11991
Registered: November 2005
Ultimate Member
Ubuntu 7.10 32 bit, Synaptics, Search "Valgrind"...
Previous Topic: HEAPDBG improvements
Next Topic: GCC default compiler version change in Linux packages
Goto Forum:
  


Current Time: Tue Aug 20 13:42:57 CEST 2019

Total time taken to generate the page: 0.00779 seconds