wok rev 17058

syslinux/c32box: x86_64 auto select (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 21 10:08:05 2014 +0200 (2014-08-21)
parents 5e47b1bdb6f4
children e96cc1fa3f68
files syslinux/stuff/extra/md5sum.c
line diff
     1.1 --- a/syslinux/stuff/extra/md5sum.c	Thu Aug 21 09:56:57 2014 +0200
     1.2 +++ b/syslinux/stuff/extra/md5sum.c	Thu Aug 21 10:08:05 2014 +0200
     1.3 @@ -800,7 +800,7 @@
     1.4  	FILE *fp;
     1.5  
     1.6  	if (strlen(filename) + strlen(ext) <= NEWFILENAMESZ) {
     1.7 -		strcpy(newfilename, filename, NEWFILENAMESZ);
     1.8 +		strcpy(newfilename, filename);
     1.9  		if (cpu_has_feature(feature)) {
    1.10  			strcat(newfilename, ext);
    1.11  			fp = fopen(newfilename, "r");