On Apr 2, 11:20pm, mark.shepp...@oracle.com (Mark Sheppard) wrote: -- Subject: Re: RFR-8008118
| Hi Martin, | are there any concerns that the string literal "." might be on the | stack and not in data segment or heap? | In previous exchanges the static const char *const cwd was declared to | put it in read only memory. Constant string literal end up in the text or ro data segment. | Also, is it assured that the returned parentPathv will never be | de-allocated? I don't see parentPathv exposed beyond // | that of UNIXProcess_md.c, at least not directly. The parent can deal with freeing it I guess. christos