projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c15c93a
)
Read and ignore author field in portable files.
author
Ben Pfaff
<blp@gnu.org>
Mon, 25 Jul 2005 01:48:57 +0000
(
01:48
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Mon, 25 Jul 2005 01:48:57 +0000
(
01:48
+0000)
src/ChangeLog
patch
|
blob
|
history
src/pfm-read.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 2505600b37d08ee43f81f2153ebeea6f5ab7d9f4..f889b7234097dd4b0fdf321c69f1b1908680dfd0 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+Sun Jul 24 18:47:37 2005 Ben Pfaff <blp@gnu.org>
+
+ * pfm-read.c: (read_version_data) Read and ignore author field.
+
Wed Jul 6 20:44:27 2005 Ben Pfaff <blp@gnu.org>
* get.c: (mtf_processing) Don't assume that
Wed Jul 6 20:44:27 2005 Ben Pfaff <blp@gnu.org>
* get.c: (mtf_processing) Don't assume that
diff --git
a/src/pfm-read.c
b/src/pfm-read.c
index 7967926e600c0cb33a99859f487b85eac1483d48..0d5fbcc98000079c4739d8ec6d84ac89b5d6f5ea 100644
(file)
--- a/
src/pfm-read.c
+++ b/
src/pfm-read.c
@@
-408,7
+408,7
@@
read_header (struct pfm_reader *r)
static void
read_version_data (struct pfm_reader *r, struct pfm_read_info *info)
{
static void
read_version_data (struct pfm_reader *r, struct pfm_read_info *info)
{
- char *date, *time, *product, *subproduct;
+ char *date, *time, *product, *
author, *
subproduct;
int i;
/* Read file. */
int i;
/* Read file. */
@@
-417,6
+417,7
@@
read_version_data (struct pfm_reader *r, struct pfm_read_info *info)
date = read_pool_string (r);
time = read_pool_string (r);
product = match (r, '1') ? read_pool_string (r) : (unsigned char *) "";
date = read_pool_string (r);
time = read_pool_string (r);
product = match (r, '1') ? read_pool_string (r) : (unsigned char *) "";
+ author = match (r, '2') ? read_pool_string (r) : (unsigned char *) "";
subproduct
= match (r, '3') ? read_pool_string (r) : (unsigned char *) "";
subproduct
= match (r, '3') ? read_pool_string (r) : (unsigned char *) "";