From b687712e95e426d00b6eecbefbba8df7b47e9c7b Mon Sep 17 00:00:00 2001 From: lukem Date: Fri, 16 Mar 2001 20:35:35 +0000 Subject: don't support t(erabyte) as a suffix in strsuftoll() #ifdef NO_LONG_LONG --- libexec/ftpd/conf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libexec') diff --git a/libexec/ftpd/conf.c b/libexec/ftpd/conf.c index 53b9c9e2505..8260ba88bfa 100644 --- a/libexec/ftpd/conf.c +++ b/libexec/ftpd/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.37 2000/12/18 02:32:50 lukem Exp $ */ +/* $NetBSD: conf.c,v 1.38 2001/03/16 20:35:35 lukem Exp $ */ /*- * Copyright (c) 1997-2000 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #ifndef lint -__RCSID("$NetBSD: conf.c,v 1.37 2000/12/18 02:32:50 lukem Exp $"); +__RCSID("$NetBSD: conf.c,v 1.38 2001/03/16 20:35:35 lukem Exp $"); #endif /* not lint */ #include @@ -933,9 +933,11 @@ strsuftoll(const char *arg) case 'g': val <<= 30; break; +#ifndef NO_LONG_LONG case 't': val <<= 40; break; +#endif default: return (-1); } -- cgit