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/lovinstem.cpp

    r2468 r2928  
    450450  /* [RPAP - Jan 97: Stem Index Change] */
    451451  u_char copy[MAX_STEM_LENGTH + 2];
    452   bcopy ((void *) word, (void *) copy, *word + 1);
     452  memcpy (copy, word, *word + 1);
    453453
    454454  old_length = *copy; /* [RPAP - Jan 97: Stem Index Change] */
     
    470470
    471471  /* [RPAP - Jan 97: Stem Index Change] */
    472   bcopy ((void *) copy, (void *) word, *copy + 1);
     472  memcpy (word, copy, *copy + 1);
    473473
    474474}               /*stem_complex */
Note: See TracChangeset for help on using the changeset viewer.