projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* I had alphabetized the --configure options in the --help output
[mmh]
/
sbr
/
fmt_scan.c
diff --git
a/sbr/fmt_scan.c
b/sbr/fmt_scan.c
index
0af69ab
..
b8273c9
100644
(file)
--- a/
sbr/fmt_scan.c
+++ b/
sbr/fmt_scan.c
@@
-11,6
+11,17
@@
#include <zotnet/tws/tws.h>
#include <h/fmt_compile.h>
#include <zotnet/tws/tws.h>
#include <h/fmt_compile.h>
+#ifdef TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# ifdef TM_IN_SYS_TIME
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
+
#define NFMTS MAXARGS
extern char *formataddr (); /* hook for custom address formatting */
#define NFMTS MAXARGS
extern char *formataddr (); /* hook for custom address formatting */
@@
-749,9
+760,6
@@
fmt_scan (struct format *format, char *scanl, int width, int *dat)
len -= sp - lp + 1;
while (cp < ep && lp <= sp)
*cp++ = *lp++;
len -= sp - lp + 1;
while (cp < ep && lp <= sp)
*cp++ = *lp++;
- *cp++ = '\n';
- for (i=indent; cp < ep && i > 0; i--)
- *cp++ = ' ';
while (isspace(*lp))
lp++, len--;
if (*lp) {
while (isspace(*lp))
lp++, len--;
if (*lp) {