projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new hash functions. Provide full help for subcommands. Run the
[u/mdw/catacomb]
/
mptext-dstr.c
diff --git
a/mptext-dstr.c
b/mptext-dstr.c
index
112be2e
..
729c27e
100644
(file)
--- a/
mptext-dstr.c
+++ b/
mptext-dstr.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: mptext-dstr.c,v 1.
2 1999/12/22 15:56:21
mdw Exp $
+ * $Id: mptext-dstr.c,v 1.
3 2000/08/04 23:23:44
mdw Exp $
*
* Reading and writing large integers on strings
*
*
* Reading and writing large integers on strings
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: mptext-dstr.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: mptext-dstr.c,v $
+ * Revision 1.3 2000/08/04 23:23:44 mdw
+ * Various <ctype.h> fixes.
+ *
* Revision 1.2 1999/12/22 15:56:21 mdw
* Make the buffer passed to `put' op constant.
*
* Revision 1.2 1999/12/22 15:56:21 mdw
* Make the buffer passed to `put' op constant.
*
@@
-53,7
+56,7
@@
static int get(void *p)
mptext_dstrctx *c = p;
if (c->i >= c->d->len)
return (EOF);
mptext_dstrctx *c = p;
if (c->i >= c->d->len)
return (EOF);
- return (c->d->buf[c->i++]);
+ return (
(unsigned char)
c->d->buf[c->i++]);
}
static void unget(int ch, void *p)
}
static void unget(int ch, void *p)