Busy porting FPCUP to Linux... think it's time to quit for the day
This code:
OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
debugln('todo: debug: forcedirectories bootstrap compiler dir:
'+bootstrapcompilerdirectory+' result: '+BoolToStr(Operationsucceeded));
should create
On Mon, Feb 6, 2012 at 18:40, Reinier Olislagers <
reinierolislag...@gmail.com> wrote:
> Busy porting FPCUP to Linux... think it's time to quit for the day
>
> This code:
> OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
> debugln('todo: debug: forcedirectories bootstrap comp
On 06/02/12 16:40, Reinier Olislagers wrote:
Busy porting FPCUP to Linux... think it's time to quit for the day
This code:
OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
debugln('todo: debug: forcedirectories bootstrap compiler dir:
'+bootstrapcompilerdirectory+' result: '
On 6-2-2012 17:49, ik wrote:
> On Mon, Feb 6, 2012 at 18:40, Reinier Olislagers
> mailto:reinierolislag...@gmail.com>> wrote:
>
> Busy porting FPCUP to Linux... think it's time to quit for the day
>
> This code:
> OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
>
On 06/02/12 16:50, Henry Vermaak wrote:
Your shell expands ~ to your home directory. Your program will have to
do this manually (i.e. read the "HOME" environment variable).
Like Ido mentioned, ExpandFileName does this already. Perhaps the
documentation could mention it.
Henry
_
On 6-2-2012 17:50, Henry Vermaak wrote:
> On 06/02/12 16:40, Reinier Olislagers wrote:
>> This code:
>> OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
>> debugln('todo: debug: forcedirectories bootstrap compiler dir:
>> '+bootstrapcompilerdirectory+' result: '+BoolToStr(Operation
On 2/6/12 11:49 AM, ik wrote:
> You should use ExpandFileName on ForceDirectory's content prior on
> sending it to it.
And then go find the directory that you created in error and remove it! ;)
Rich
___
fpc-pascal maillist - fpc-pascal@lists.freepasc
On 06.02.2012 18:14, Reinier Olislagers wrote:
On 6-2-2012 17:50, Henry Vermaak wrote:
On 06/02/12 16:40, Reinier Olislagers wrote:
This code:
OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
debugln('todo: debug: forcedirectories bootstrap compiler dir:
'+bootstrapcompilerdire
On Mon, 06 Feb 2012 18:14:03 +0100
Reinier Olislagers wrote:
>[...]
> - On Unix/Linux, directories starting with ~ are considered relative
> (but where should that be put...)
Only in shells the tilde has the special meaning. Linux (the kernel)
does not treat tilde special.
Mattias
_
On 6-2-2012 20:53, Sven Barth wrote:
> On 06.02.2012 18:14, Reinier Olislagers wrote:
>> On 6-2-2012 17:50, Henry Vermaak wrote:
>>> On 06/02/12 16:40, Reinier Olislagers wrote:
>> Perhaps I should submit a patch for the docs indicating that:
>> - ForceDirectories requires an absolute path
>
> Thi
Reinier Olislagers schrieb:
> And while ~ is a relative path,
No, this is an absolute path (pointing to the home directory). It only
needs expansion to give you this absolute path. It's just a placeholder
for a certain absolute path (which can vary). One or two dots would be a
relative path (m
On 7-2-2012 17:37, Jürgen Hestermann wrote:
> Reinier Olislagers schrieb:
> But ~ is not the only placeholder that will be expanded. Relative paths
> would become absolute paths and environment variables will be replaced
> by their values too. And I think it's not restricted to Linus/Unix, it
> hap
On Tue, 7 Feb 2012, Jürgen Hestermann wrote:
Reinier Olislagers schrieb:
And while ~ is a relative path,
But ~ is not the only placeholder that will be expanded. Relative paths would
become absolute paths and environment variables will be replaced by their
values too. And I think it's no
On Tue, February 7, 2012 17:43, michael.vancann...@wisa.be wrote:
> On Tue, 7 Feb 2012, Jürgen Hestermann wrote:
>> Reinier Olislagers schrieb:
>>> And while ~ is a relative path,
>>
>> But ~ is not the only placeholder that will be expanded. Relative paths
>> would
>> become absolute paths and env
Reinier Olislagers schrieb:
> That's fine. If you just say "anything gets expanded to an absolute
> path", in my mind:
> 1. you're implying the thing you're expanding is relative (even if
> you're not saying so)
No, IMO this is not true. A relative path is relative to the current
directory (or s
On 7-2-2012 18:34, Jürgen Hestermann wrote:
> Reinier Olislagers schrieb:
>> That's fine. If you just say "anything gets expanded to an absolute
>> path", in my mind:
>> 1. you're implying the thing you're expanding is relative (even if
>> you're not saying so)
>
> No, IMO this is not true. A rela
16 matches
Mail list logo