projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply bug fix reported to Debian (#136976) by Peter Maydell; allows
[mmh]
/
uip
/
dp.c
diff --git
a/uip/dp.c
b/uip/dp.c
index
0041198
..
c20e1ac
100644
(file)
--- a/
uip/dp.c
+++ b/
uip/dp.c
@@
-3,11
+3,15
@@
* dp.c -- parse dates 822-style
*
* $Id$
* dp.c -- parse dates 822-style
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
#include <h/fmt_scan.h>
*/
#include <h/mh.h>
#include <h/fmt_scan.h>
-#include <zotnet/tws/tws.h>
+#include <h/tws.h>
#define NDATES 100
#define NDATES 100
@@
-26,7
+30,7
@@
static struct swit switches[] = {
#define VERSIONSW 3
{ "version", 0 },
#define HELPSW 4
#define VERSIONSW 3
{ "version", 0 },
#define HELPSW 4
- { "help", 4 },
+ { "help", 0 },
{ NULL, 0 }
};
{ NULL, 0 }
};
@@
-132,7
+136,7
@@
main (int argc, char **argv)
status += process (dates[datep], width);
context_save (); /* save the context file */
status += process (dates[datep], width);
context_save (); /* save the context file */
- done (status);
+ return done (status);
}
}