Re: [PATCH 1/2] libcsupport: Add realpath.

2014-10-05 Thread Joel Sherrill
On October 4, 2014 7:02:38 PM CDT, Chris Johns 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

Re: [PATCH 1/2] libcsupport: Add realpath.

2014-10-04 Thread Chris Johns
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 b

Re: [PATCH 1/2] libcsupport: Add realpath.

2014-10-04 Thread Gedare Bloom
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? -Gedare On Sat, Oct 4, 2014 at 1:14 AM, Chris Johns wrote: > --- > cpukit/libcsupport/Makefile.am| 2 +- > cpukit/libcsupport/

[PATCH 1/2] libcsupport: Add realpath.

2014-10-03 Thread Chris Johns
--- cpukit/libcsupport/Makefile.am| 2 +- cpukit/libcsupport/src/realpath.c | 253 ++ 2 files changed, 254 insertions(+), 1 deletion(-) create mode 100644 cpukit/libcsupport/src/realpath.c diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/