2010-07-23 17:17:11 +02:00
|
|
|
--- Source/kwsys/SystemInformation.cxx
|
|
|
|
+++ Source/kwsys/SystemInformation.cxx
|
|
|
|
@@ -152,7 +152,7 @@
|
2010-02-25 00:55:46 +01:00
|
|
|
|
2010-02-13 16:24:19 +01:00
|
|
|
public:
|
|
|
|
#define VENDOR_STRING_LENGTH (12 + 1)
|
|
|
|
-#define CHIPNAME_STRING_LENGTH (48 + 1)
|
|
|
|
+#define CHIPNAME_STRING_LENGTH (70 + 1)
|
|
|
|
#define SERIALNUMBER_STRING_LENGTH (29 + 1)
|
|
|
|
|
2010-02-25 00:55:46 +01:00
|
|
|
typedef struct tagID
|
2010-07-23 17:17:11 +02:00
|
|
|
--- Utilities/cmtar/encode.c
|
|
|
|
+++ Utilities/cmtar/encode.c
|
|
|
|
@@ -32,7 +32,10 @@
|
|
|
|
int i, sum = 0;
|
|
|
|
|
|
|
|
if (t->options & TAR_GNU)
|
|
|
|
- strncpy(t->th_buf.magic, "ustar ", 8);
|
|
|
|
+ {
|
|
|
|
+ strncpy(t->th_buf.version, " ", TVERSLEN);
|
|
|
|
+ strncpy(t->th_buf.magic, "ustar", TMAGLEN);
|
|
|
|
+ }
|
|
|
|
else
|
|
|
|
{
|
|
|
|
strncpy(t->th_buf.version, TVERSION, TVERSLEN);
|