Re: Why no core dump???????????

2002-03-05 Thread Mikael Aronsson
Hi ! malloc() never allocates just one byte, it depends on the implementation, but you get at least 4 bytes to use maybe 8 or more so there is room for that number of bytes. And even if you do overwrite the end, you may not get a core dump, a normal C app runs in a single segment and writing out

Re: FIND SIZE OF MEMORY ALLOCATE???

2002-02-26 Thread Mikael Aronsson
Hi ! I think he wanted to know how much memory was allocated in the malloc request, like the _msize( ptr) function on Visual Studio, as far as I know there is no way to do that with gcc. Mikael - Original Message - From: "Ivan Jager" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tue

Re: FIND SIZE OF MEMORY ALLOCATE???

2002-02-26 Thread Mikael Aronsson
Hi ! I think he wanted to know how much memory was allocated in the malloc request, like the _msize( ptr) function on Visual Studio, as far as I know there is no way to do that with gcc. Mikael - Original Message - From: "Ivan Jager" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tue

yacc/bison problem...

2000-12-26 Thread Mikael Aronsson
Hi ! Does anyone know if it is possible to use yacc or bison with input in unicode format, or if there is a similar tool that can do the same ? Mikael ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/

External references, a small problem.

2000-09-29 Thread Mikael Aronsson
Hi !   I have two shared libraries and the first has references into the other, is there a way to find out the names of the symbols the the first librariy needs from the other ?   The linker just says that I need to link with the second library because the first one needs it.   Mikael  

libc doc formats ?

2000-09-27 Thread Mikael Aronsson
Hi !   Are the libc documentation available in any other format then info ?, pdf, ps or html would be fine.   Mikael  

Re: SMP question ?

2000-09-04 Thread Mikael Aronsson
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 04, 2000 12:27 PM Subject: Re: SMP question ? > * Mikael Aronsson ([EMAIL PROTECTED]) [000904 03:16]: > > > > Hi ! > > > > What is the best way to detect the number of CPU's ?, I guess I could

SMP question ?

2000-09-04 Thread Mikael Aronsson
Hi !   What is the best way to detect the number of CPU's ?, I guess I could look in /proc/cpuinfo, but is there a better more portable way to do it ?   Mikael  

Re: spamming

2000-07-19 Thread Mikael Aronsson
Yes I agree, only subscribers should be allowed to post mails to the list.   Mikael Aronsson  

GDB question

2000-06-19 Thread Mikael Aronsson
Hi ! Does any one have any idea of where I can find patches to gdb 4.18 to support multithreading ?, I have old patchs for 4.17 but nothing for 4.18 Mikael -- To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null