plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit c77223280246ddb86def848bb3e24bf6ebe90185
parent 23fdde49f133a4c443fd8d04c710496826f1f54a
Author: rsc <devnull@localhost>
Date:   Tue, 28 Feb 2006 20:12:18 +0000

cannot say isnumber

Diffstat:
Msrc/cmd/upas/nfs/a.h | 14+++++++++-----
Msrc/cmd/upas/nfs/fs.c | 2+-
2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/cmd/upas/nfs/a.h b/src/cmd/upas/nfs/a.h @@ -22,11 +22,6 @@ void mailthread(void (*fn)(void*), void*); void warn(char*, ...); -#define esmprint smprint -#define emalloc(n) mallocz(n, 1) -#define erealloc realloc -#define estrdup strdup - enum { NoEncoding, @@ -40,3 +35,12 @@ char* tcs(char*, char*); char* unrfc2047(char*); extern Imap *imap; + +#undef isnumber +#define isnumber upas_isnumber + +#define esmprint smprint +#define emalloc(n) mallocz(n, 1) +#define erealloc realloc +#define estrdup strdup + diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c @@ -222,7 +222,7 @@ fsattach(Req *r) respond(r, nil); } -int +static int isnumber(char *s) { int n;