git://git.jankratochvil.net
/
mdsms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Localization added together with Czech catalog. Czech man page missing.
[mdsms.git]
/
manfmt.c
diff --git
a/manfmt.c
b/manfmt.c
index
344a56c
..
03b8303
100644
(file)
--- a/
manfmt.c
+++ b/
manfmt.c
@@
-3,17
+3,18
@@
static char rcsid[] ATTR_UNUSED = "$Id$";
#endif
static char rcsid[] ATTR_UNUSED = "$Id$";
#endif
-/*
- * $Log$
- * Revision 1.1.1.1 1999/05/26 13:06:26 short
- * First alpha release.
- *
- */
-
+#ifdef HAVE_STDIO_H
#include <stdio.h>
#include <stdio.h>
-#include <string.h>
+#endif
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+#ifdef HAVE_LIMITS_H
#include <limits.h>
#include <limits.h>
+#endif
static char buf[LINE_MAX];
static char buf[LINE_MAX];
@@
-31,6
+32,7
@@
char f;
if (*s=='\t') {
if ((f=!f)) {
/*fprintf(stderr,"DURING TURN-ON:%s",s);*/
if (*s=='\t') {
if ((f=!f)) {
/*fprintf(stderr,"DURING TURN-ON:%s",s);*/
+ while (s[1]==' ') s++;
if (s[1]=='"') s++;
}
else {
if (s[1]=='"') s++;
}
else {