[MacPorts] #41226: gmt4 @4.5.9_0: update to 4.5.11

MacPorts noreply at macports.org
Sat Nov 9 14:49:46 PST 2013


#41226: gmt4 @4.5.9_0: update to 4.5.11
------------------------+---------------------------------
  Reporter:  florian@…  |      Owner:  takeshi@…
      Type:  update     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  fixed      |   Keywords:  haspatch maintainer
      Port:  gmt4       |
------------------------+---------------------------------

Comment (by florian@…):

 Thanks. The issue with strcpy is actually not a Mavericks bug but a
 general issue because strcpy's behavior is undefined with overlapping
 strings
 (http://pubs.opengroup.org/onlinepubs/009695399/functions/strcpy.html).
 The "fix" in our case was to test whether the arguments of strcpy are the
 same (pointers equal). You could create a macro wrapper as such and
 include it early in the ncarg code:
 {{{
 #define strcpy(a, b) {if (a!=b) strcpy (a, b)}
 }}}
 but this only catches identical pointers and not string overlaps. So you
 may be lucky or you may not.

 Btw, where would I see buildbot failures and logs?

-- 
Ticket URL: <https://trac.macports.org/ticket/41226#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list