projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add one more hint for developers, to explicitly point at docs/README.developers
[mmh]
/
uip
/
distsbr.c
diff --git
a/uip/distsbr.c
b/uip/distsbr.c
index
be2716b
..
1b5f5e1
100644
(file)
--- a/
uip/distsbr.c
+++ b/
uip/distsbr.c
@@
-3,10
+3,15
@@
* distsbr.c -- routines to do additional "dist-style" processing
*
* $Id$
* distsbr.c -- routines to do additional "dist-style" processing
*
* $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 <fcntl.h>
*/
#include <h/mh.h>
#include <fcntl.h>
+#include <h/utils.h>
static int hdrfd = NOTOK;
static int txtfd = NOTOK;
static int hdrfd = NOTOK;
static int txtfd = NOTOK;
@@
-25,7
+30,8
@@
int
distout (char *drft, char *msgnam, char *backup)
{
int state;
distout (char *drft, char *msgnam, char *backup)
{
int state;
- register char *dp, *resent;
+ register unsigned char *dp;
+ register char *resent;
char name[NAMESZ], buffer[BUFSIZ];
register FILE *ifp, *ofp;
char name[NAMESZ], buffer[BUFSIZ];
register FILE *ifp, *ofp;