projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c16272
)
PrintTopics.c: fix up some warnings
author
Jon Trulson
<jon@radscan.com>
Sun, 23 Mar 2014 00:50:15 +0000
(18:50 -0600)
committer
Jon Trulson
<jon@radscan.com>
Sun, 23 Mar 2014 00:50:15 +0000
(18:50 -0600)
cde/programs/dthelp/dthelpprint/PrintTopics.c
patch
|
blob
|
history
diff --git
a/cde/programs/dthelp/dthelpprint/PrintTopics.c
b/cde/programs/dthelp/dthelpprint/PrintTopics.c
index a3a23bde2f8003acd510cc4e803b9de795e43fb4..5d200fb4bcb128bbc7a267bdaaf3220faf94ffee 100644
(file)
--- a/
cde/programs/dthelp/dthelpprint/PrintTopics.c
+++ b/
cde/programs/dthelp/dthelpprint/PrintTopics.c
@@
-61,6
+61,7
@@
$COPYRIGHT$:
#endif
#include <errno.h>
+#include <time.h>
#include "HelpPrintI.h" /* helpprint */
@@
-1354,7
+1355,7
@@
int PrintHeadFootStr(
free(formattedStr);
/*** output the str ***/
- fprintf(topicsFP,buf);
+ fprintf(topicsFP,
"%s",
buf);
return lineCnt;
} /*$END$*/
@@
-2484,9
+2485,10
@@
int DoHelpTopicsProcessing(
/* only do the operation if there are valid files */
if (validFile)
{
+ int rv;
sprintf(next,"> %s", *ret_resultsFile);
if(options->debugHelpPrint) printf("%s\n",buf);
- system(buf);
+
rv =
system(buf);
}
free(buf);
ret = 0;