On 11 October 2010 20:51, ik wrote:
>
> 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.
A general problem under Linux (and it's hundreds of distros). That is
why I think it is so important to sup
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
http://lists.
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
2010/10/11 Michael Van Canneyt :
>
> Please enter a bug report for this.
>
Done.
http://mantis.freepascal.org/view.php?id=17604
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
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
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
__
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 p
On Sun, Oct 10, 2010 at 1:09 PM, Mark Morgan Lloyd
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 using the root group is
> suffici
2010/10/11 ik
> 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 detect
On 11 October 2010 13:33, ik 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 ideas ?
I
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 d
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 detect, because not everyone uses it
12 matches
Mail list logo