Opened 12 years ago

Closed 9 years ago

#194 closed defect (fixed)

libc: _getdcwd(0, NULL, 8) should not fail

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.4
Component: libc-frontend Version: 0.6
Severity: normal Keywords: _getdcwd cwd


The buffer size isn't absolute, it's just a minimum. At least this is how MSC defines it.

Change History (3)

comment:1 Changed 12 years ago by bird

_getdcwd(0,0,0) doesn't work right either.

comment:2 Changed 10 years ago by bird

Status: newassigned

comment:3 Changed 9 years ago by bird

Resolution: fixed
Status: assignedclosed

(In [3711]) 0.6: Backported r3710: _getdcwd: When the buffer is NULL, the size is just a minimum. Fixes #194.

Note: See TracTickets for help on using tickets.