On 2010-10-11 13:33, ik wrote:
Hello List,
I'm looking for a proper way to detect the type of Linux distro.
At first I thought about /etc/issue, but it seems that some are
abusing this file.
Many distro's uses /etc/__release, where is their name, but
it's not a proper way either to
On 11 October 2010 13:33, ik ido...@gmail.com wrote:
At first I thought about /etc/issue, but it seems that some are abusing this
file.
Many distro's uses /etc/__release, where is their name, but it's
not a proper way either to detect, because not everyone uses it.
Any additional
2010/10/11 ik ido...@gmail.com
Hello List,
I'm looking for a proper way to detect the type of Linux distro.
At first I thought about /etc/issue, but it seems that some are abusing
this file.
Many distro's uses /etc/__release, where is their name, but it's
not a proper way either
On Sun, Oct 10, 2010 at 1:09 PM, Mark Morgan Lloyd
markmll.fpc-pas...@telemetry.co.uk wrote:
Could you suid it to root or to an appropriate group? I've not tried this
for a Pascal/Lazarus program and don't know what the precise rules are for
port usage (i.e. whether the user has to be root or
In our previous episode, Graeme Geldenhuys said:
file.
Many distro's uses /etc/__release, where is their name, but it's
not a proper way either to detect, because not everyone uses it.
Any additional ideas ?
If your distro complies with the LSB standards (most popular
Hi,
I think I have found a bug in FPC 2.4.0. Tested under Windows XP 32
bits and Linux 32 bits.
program TestLength;
begin
WriteLn('L =', Length('') );
end.
This program gives L = 1 but I think it should give L = 0.
Is this really a bug ? Can you reproduce this ?
Thanks
Confirmed on linux.
Please enter a bug report for this.
Michael.
On Mon, 11 Oct 2010, Yann Bat wrote:
Hi,
I think I have found a bug in FPC 2.4.0. Tested under Windows XP 32
bits and Linux 32 bits.
program TestLength;
begin
WriteLn('L =', Length('') );
end.
This program gives L = 1 but
2010/10/11 Michael Van Canneyt mich...@freepascal.org:
Please enter a bug report for this.
Done.
http://mantis.freepascal.org/view.php?id=17604
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Marco van de Voort wrote:
If your distro complies with the LSB standards (most popular distros
do), then you should have a /etc/lsb-release text file that you can
parse.
FC11, no such file, but there is a dir lsb-release.d with the contents
You're not really supposed to be looking at
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.
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
10 matches
Mail list logo