Opened 3 years ago

Closed 3 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:
Has a Patch: no 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 Changed 3 years ago by korli

Please try hrev50628 or newer.

comment:2 Changed 3 years ago by n3s

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

comment:3 Changed 3 years ago by waddlesplash

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