Opened 8 years ago

Closed 8 years ago

#13036 closed bug (fixed)

cuserid() - behaviour different to BeOS

Reported by: n3s Owned by: nobody
Priority: low Milestone: Unscheduled
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Version: hrev50595 Reference: man cuserid

char[1024] strTemp; const char* strUsername = cuserid(strTemp);

Under R5, the function would return the current username, under Haiku it returns an invalid pointer.

Note: this can be closed immediately, but the difference in behaviour should be documented.

Change History (3)

comment:1 by korli, 8 years ago

Please try hrev50628 or newer.

comment:2 by n3s, 8 years ago

I tried hrev50629 and it now behaves as in R5. With thanks from BeGeistert030.

comment:3 by waddlesplash, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.