Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ftpd don't support t(erabyte) as a suffix in strsuft...



details:   https://anonhg.NetBSD.org/src/rev/525d777dc0d2
branches:  trunk
changeset: 507205:525d777dc0d2
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Mar 16 20:35:35 2001 +0000

description:
don't support t(erabyte) as a suffix in strsuftoll() #ifdef NO_LONG_LONG

diffstat:

 libexec/ftpd/conf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r b6016832e48a -r 525d777dc0d2 libexec/ftpd/conf.c
--- a/libexec/ftpd/conf.c       Fri Mar 16 20:34:08 2001 +0000
+++ b/libexec/ftpd/conf.c       Fri Mar 16 20:35:35 2001 +0000
@@ -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 <sys/cdefs.h>
 #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 <sys/types.h>
@@ -933,9 +933,11 @@
                case 'g':
                        val <<= 30;
                        break;
+#ifndef NO_LONG_LONG
                case 't':
                        val <<= 40;
                        break;
+#endif
                default:
                        return (-1);
                }



Home | Main Index | Thread Index | Old Index