[haiku-bugs] [Haiku] #13036: cuserid() - behaviour different to BeOS

  • From: "n3s" <trac@xxxxxxxxxxxx>
  • Date: Sat, 29 Oct 2016 16:37:41 -0000

#13036: cuserid() - behaviour different to BeOS
-----------------------+------------------------------
 Reporter:  n3s        |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  low        |    Milestone:  Unscheduled
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 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.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13036>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: