diff options
| author | Jim Meyering <meyering@redhat.com> | 2012-04-18 14:49:22 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2012-04-19 13:10:36 +0200 |
| commit | bcb9078e380d81be62e8df00c45afc2f57392dc2 (patch) | |
| tree | 2736fc34691d541f3a44706c26fa80c68318a66c /scripts/git-hooks/commit-msg | |
| parent | maint: modernize/clean-up a small function in ls.c (diff) | |
| download | coreutils-bcb9078e380d81be62e8df00c45afc2f57392dc2.tar.gz coreutils-bcb9078e380d81be62e8df00c45afc2f57392dc2.zip | |
maint: ls: use stpncpy/stpcpy, not strncpy/strcpy
* src/ls.c (gobble_file): Move a decl "down".
(make_link_name): Do not hard-code '/'. Use IS_ABSOLUTE_FILE_NAME
and dir_len instead.
Use stpcpy/stpncpy in place of strncpy/strcpy.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
