Svante Signell, le Mon 16 Apr 2012 19:36:29 +0200, a écrit : > char *readLinkBuffer; -> static char *readLinkBuffer; > similar to static char readLinkBuffer[PATH_MAX]; before?
Yes. > So static works even if the memory allocated for the buffer is > malloced?? Of course the pointer remains the same, right?? Yes. > What about if the result is a null pointer?? The result of malloc? Then return CString();, as already being done on error. Samuel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

