wok-next view bzip2/stuff/patches/bzip2-1.0.4-bzip2recover.patch @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | |
children |
line source
1 --- bzip2-1.0.4/bzip2recover.c.pom 2007-01-03 03:00:55.000000000 +0100
2 +++ bzip2-1.0.4/bzip2recover.c 2007-02-05 11:55:17.000000000 +0100
3 @@ -309,7 +309,8 @@
4 UInt32 buffHi, buffLo, blockCRC;
5 Char* p;
7 - strcpy ( progName, argv[0] );
8 + strncpy ( progName, argv[0], BZ_MAX_FILENAME-1);
9 + progName[BZ_MAX_FILENAME-1]='\0';
10 inFileName[0] = outFileName[0] = 0;
12 fprintf ( stderr,