[haiku-bugs] [Haiku] #15366: Consider renaming dprintf?

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 19 Sep 2019 09:50:12 -0000

#15366: Consider renaming dprintf?
--------------------------+------------------------------
 Reporter:  jessicah      |        Owner:  nobody
     Type:  enhancement   |       Status:  new
 Priority:  normal        |    Milestone:  Unscheduled
Component:  System/POSIX  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 `dprintf` is now a part of POSIX.1-2008, so we probably shouldn't overload
 the use of this function.

 Came up from running lgtm.com on the Haiku tree, as POSIX `dprintf` takes
 an extra argument.

 Given it's mainly exported from KernelExport.h, it could be safe to do a
 mass rename to something better, even if it is public API. I'm sure we
 could retain binary compatibility if we keep a forwarding definition but
 rename the declaration. Thoughts?

 LGTM alerts: https://lgtm.com/projects/g/haiku/haiku/alerts
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15366>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: