Ignore:
Timestamp:
10/12/99 18:44:05 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d71fcab
Parents:
2b9f1f5d
Message:

Changed bcopy to strncpy to stick to ANSI/ISO routines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/scandir.c

    r2b9f1f5d rcb5056b3  
    113113                p->d_reclen = d->d_reclen;
    114114                p->d_namlen = d->d_namlen;
    115                 bcopy(d->d_name, p->d_name, p->d_namlen + 1);
     115                strncpy(d->d_name, p->d_name, p->d_namlen + 1);
    116116                /*
    117117                 * Check to make sure the array has space left and
Note: See TracChangeset for help on using the changeset viewer.