changed comment for CWD_BUFSIZE to say that the buffer holds the name of the cwd instead of cwd