On October 4, 2014 7:02:38 PM CDT, Chris Johns <chr...@rtems.org> wrote:
>On 5/10/2014 4:12 am, Gedare Bloom wrote:
>> Just a comment, is there already code in the filesystem path
>> evaluation that implements similar functionality? Would it make sense
>> to replace with a call to this?
>
>I am not sure the actual semantics exactly match up, ie this call 
>mallocs and returns a buffer that needs to be freed. The call is part
>of 
>the SUSv4 I have handy and I assume newlib is supplying a suitable
>header.

Looks like a POSIX call also. Buffer returned is to be freed.

http://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html

>I only added it because the editor uses it when printing the actual
>name 
>in the status line.

>Chris
>_______________________________________________
>devel mailing list
>devel@rtems.org
>http://lists.rtems.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to