Skip to content
  • Nobuyoshi Nakada's avatar
    79c50a77
    get rid of strcpy · 79c50a77
    Nobuyoshi Nakada authored
    * addr2line.c (follow_debuglink): insert global_debug_dir by using
      memmove instead of copying to temporary buffer.
    
    * dln.c (dln_load): use memcpy with the known length instead of
      strcpy.
    
    * gc.c (rb_gc_unprotect_logging): use strdup instead of malloc and
      strcpy.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    79c50a77
    get rid of strcpy
    Nobuyoshi Nakada authored
    * addr2line.c (follow_debuglink): insert global_debug_dir by using
      memmove instead of copying to temporary buffer.
    
    * dln.c (dln_load): use memcpy with the known length instead of
      strcpy.
    
    * gc.c (rb_gc_unprotect_logging): use strdup instead of malloc and
      strcpy.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading