James Morrison <rocketmail_com@rocketmail.com> writes: > This one was easy. The PATH_MAX usage was char name[PATH_MAX]; > I replaced it with char *name; then it compiles fine and it should > work > since any instance of name uses a length completely independent of > PATH_MAX E.g. strncpy(name, namep, len); You did malloc name before that, right? (... and free it after use) -- Robbe
Attachment:
signature.ng
Description: PGP signature