Ignore:
Timestamp:
2002-01-30T15:40:53+13:00 (22 years ago)
Author:
jrm21
Message:

replaced bzero and bcopy with memset and memcpy in the src, even though it was
already done in the headers, just to make the code a bit clearer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/lib/local_strings.cpp

    r2468 r2928  
    189189    return NULL;
    190190
    191   bcopy ((void *) src_str, (void *) (copy), src_str[0] + 1);
     191  memcpy (copy, src_str, src_str[0] + 1);
    192192  return copy;
    193193
     
    282282  int i, len = (int) *s++;
    283283
    284   bzero (buf, sizeof (buf));
     284  memset (buf, '\0', sizeof(buf));
    285285  for (i = 0; i < len; i++)
    286286    {
Note: See TracChangeset for help on using the changeset viewer.