Re: [fpc-pascal] Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x64

2010-10-12 Thread Florian Klaempfl
Am 13.10.2010 00:51, schrieb Andrew Brunner: > > This test case illustrates a FPC memory leak. What makes you think so? Internally freed memory is not immediatly released to the OS as well. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org h

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread Marco van de Voort
In our previous episode, David W Noon said: > > ArchLinux does not use a System V init system, but a simpler BSD one. > > And thus it does not use /etc/init.d, but only /etc/rc.d. > > So does the BSD init use run levels? Yes. > One of the major distinctions > between /etc/init.d/ and /etc/rc.d

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread Henry Vermaak
On 12 October 2010 17:06, ik wrote: > It's not just that. Lets say you have a UI for IPTables. In Redhat based, it > will be located under /etc/sysconfig/iptables . On debian based, it should > be under /etc/networking/post-config or something like that (don't have a > debian based machine here),

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread ik
It's not just that. Lets say you have a UI for IPTables. In Redhat based, it will be located under /etc/sysconfig/iptables . On debian based, it should be under /etc/networking/post-config or something like that (don't have a debian based machine here), and so on... Please note that I do not talk

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread David W Noon
On Tue, 12 Oct 2010 16:29:42 +0200, Sven Barth wrote about Re: [fpc-pascal] Detecting what is the linux distro: > Am 12.10.2010 14:01, schrieb David W Noon: [snip] > > This is a consequence of using an init process based on the System V > > model. > > ArchLinux does not use a System V init system

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread Sven Barth
Am 12.10.2010 14:01, schrieb David W Noon: On Tue, 12 Oct 2010 09:54:35 +0200, ik wrote about Re: [fpc-pascal] Detecting what is the linux distro: On Tue, Oct 12, 2010 at 09:30, Henry Vermaak wrote: [snip] Just curious, why would you like to detect this? You want to know how to install fil

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread David W Noon
On Tue, 12 Oct 2010 09:54:35 +0200, ik wrote about Re: [fpc-pascal] Detecting what is the linux distro: > On Tue, Oct 12, 2010 at 09:30, Henry Vermaak > wrote: [snip] > > Just curious, why would you like to detect this? > > > > You want to know how to install files for daemons, append information

Re: [fpc-pascal] Re: Disk Full

2010-10-12 Thread Sven Barth
Am 11.10.2010 00:16, schrieb Bernd Kreuss: from rtl/win/syswin.inc: DLL_THREAD_ATTACH : begin inclocked(Thread_count); WinEnterCriticalSection(AttachingThread); if Win32GetCurrentThreadId<> MainThreadIdWin32 then begin

Re: [fpc-pascal] Re: Disk Full

2010-10-12 Thread Sven Barth
Am 11.10.2010 00:16, schrieb Bernd Kreuss: from rtl/win/syswin.inc: DLL_THREAD_ATTACH : begin inclocked(Thread_count); WinEnterCriticalSection(AttachingThread); if Win32GetCurrentThreadId<> MainThreadIdWin32 then begin

Re: [fpc-pascal] Re: Disk Full

2010-10-12 Thread Sven Barth
Am 12.10.2010 09:51, schrieb Sven Barth: [4 times the same mail] Sorry for the spam, but Thunderbird reported an error which wasn't one. *blush* Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mai

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread ik
On Tue, Oct 12, 2010 at 09:30, Henry Vermaak wrote: > On 11 October 2010 19:51, ik wrote: > > Thanks all for the answers. > > > > It's sad to see that there is no specific way to get this information on > all > > distro's but at least I can get it on the most used distros out there. > > Just curi

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread Graeme Geldenhuys
On 12 October 2010 09:30, Henry Vermaak wrote: > > Just curious, why would you like to detect this? I don't know about the original poster, but I for one use such information for our custom security components - generating trial unlock keys for our commercial software. -- Regards,   - Graeme -

Re: [fpc-pascal] Detecting what is the linux distro

2010-10-12 Thread Henry Vermaak
On 11 October 2010 19:51, ik wrote: > Thanks all for the answers. > > It's sad to see that there is no specific way to get this information on all > distro's but at least I can get it on the most used distros out there. Just curious, why would you like to detect this? Henry _