[Freeciv-tickets] [freeciv] #45259: fc_utf8.c functions returning 'const' parameter with 'const' stripped

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Mon Nov 21 13:19:28 JST 2022


#45259: fc_utf8.c functions returning 'const' parameter with 'const' stripped

  Open Date: 2022-07-28 16:14
Last Update: 2022-11-21 06:19

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45259
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45259

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-11-21 06:19 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.5
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

fc_utf8.c casts some 'consts away. They even return 'char *' instead of 'const char *', allowing the caller to change what is supposed to be 'const'.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45259
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45259



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index