Skip to content

Commit

Permalink
fix ck data struct
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjiaqi committed Sep 24, 2019
1 parent 219403a commit c83f853
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <stdio.h> /* */
#include <limits.h>
#include <math.h>
#include <sys/types.h>
#include <ctype.h>
#include <signal.h>
#include <string.h>
Expand Down
4 changes: 2 additions & 2 deletions dss.h
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ extern tdef tdefs[];

/******* output macros ********/
#ifndef SEPARATOR
#define SEPARATOR '|' /* field spearator for generated flat files */
#define SEPARATOR ',' /* field spearator for generated flat files */
#endif
/* Data type flags for a single print routine */
#define DT_STR 0
Expand Down Expand Up @@ -517,7 +517,7 @@ int dbg_print(int dt, FILE *tgt, void *data, int len, int eol);

#ifdef SSBM
#define PR_DATE(tgt, yr, mn, dy) \
sprintf(tgt, "19%02d%02d%02d", yr, mn, dy)
sprintf(tgt, "19%02d-%02d-%02d", yr, mn, dy)
#else
#ifdef MDY_DATE
#define PR_DATE(tgt, yr, mn, dy) \
Expand Down
2 changes: 1 addition & 1 deletion print.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ dbg_print(int format, FILE *target, void *data, int len, int sep)
if (columnar)
fprintf(target, "%-*s", len, (char *)data);
else
fprintf(target, "%s", (char *)data);
fprintf(target, "\"%s\"", (char *)data);
break;
#ifdef MVS
case DT_VSTR:
Expand Down

0 comments on commit c83f853

Please sign in to comment.