diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-05-16 21:24:55 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-05-16 21:24:55 +0000 |
commit | a4dcbc381b6b7da47d8345d3bc90312c99aa753f (patch) | |
tree | 6d199f7e6975c9acc2c8c674671c8a24c41c3361 /palm/jfconv | |
parent | 2bd29d2c3db2c2ac1c44cb05c0f60c09bde3e81e (diff) | |
download | ports-a4dcbc381b6b7da47d8345d3bc90312c99aa753f.tar.gz ports-a4dcbc381b6b7da47d8345d3bc90312c99aa753f.zip |
Notes
Diffstat (limited to 'palm/jfconv')
-rw-r--r-- | palm/jfconv/Makefile | 2 | ||||
-rw-r--r-- | palm/jfconv/files/patch-aa | 38 |
2 files changed, 39 insertions, 1 deletions
diff --git a/palm/jfconv/Makefile b/palm/jfconv/Makefile index 7845493e889c..1808aed4627e 100644 --- a/palm/jfconv/Makefile +++ b/palm/jfconv/Makefile @@ -6,7 +6,7 @@ # PORTNAME= jconv -PORTVERSION= 2000.05.14 +PORTVERSION= 2000.05.17 CATEGORIES= palm databases MASTER_SITES= http://www.land-j.com/files/ \ http://people.FreeBSD.org/~knu/ports/distfiles/ diff --git a/palm/jfconv/files/patch-aa b/palm/jfconv/files/patch-aa index cbf52e18eb34..d849e2516e93 100644 --- a/palm/jfconv/files/patch-aa +++ b/palm/jfconv/files/patch-aa @@ -18,3 +18,41 @@ break; case 't': strncpy(title, optarg, 32); title[31] = 0; +@@ -176,7 +176,7 @@ + FILE* input; + FILE* output; + FILE* info; +- tHeader header; ++ tHeader header = { 0 }; + WORD oddity = 0x008C; + int numNonDeletedRecs; + JFileAppInfoType appInfo; +@@ -185,7 +185,7 @@ + int curDumpLoc; + char* tempPopupPtr; + int usesInfoFile; +- int fldLens[MAX_FIELDS]; ++ int fldLens[MAX_FIELDS] = { 0 }; + unsigned char holdChr[2]; + char endMsg[2048]; + char recNumStr[10]; +@@ -437,7 +437,7 @@ + int i,j; + char dbName[200]; + int usesInfoFile; +- tHeader header; ++ tHeader header = { 0 }; + char inputString[MAX_RECORD_LENGTH]; + int inputStringLoc, inputStringLen; + JFileAppInfoType appInfo; +@@ -1165,10 +1165,6 @@ + sprintf(recNumStr, "%d", currentRecord+1); + sprintf(endMsg, "Conversion of %s records in %s to %s was successful!", + recNumStr, m_CSVPath, m_PDBPath); +- +- if(!m_IsCommandLine) +- MessageBox( endMsg, NULL, MB_OK ); +- + } + + int TypeIsString(int t) |