Opened 17 years ago

Closed 14 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
Cc:

Description

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

Change History (3)

comment:1 by bird, 17 years ago

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

comment:2 by bird, 14 years ago

Status: newassigned

comment:3 by bird, 14 years ago

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.