Opened 11 years ago

Closed 8 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 Changed 11 years ago by bird

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

comment:2 Changed 9 years ago by bird

  • Status changed from new to assigned

comment:3 Changed 8 years ago by bird

  • Resolution set to fixed
  • Status changed from assigned to closed

(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.