Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ftp s/strtoq/strtoll/ (the latter is standardised)
details: https://anonhg.NetBSD.org/src/rev/4b7886b0050b
branches: trunk
changeset: 484818:4b7886b0050b
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Apr 13 08:13:30 2000 +0000
description:
s/strtoq/strtoll/ (the latter is standardised)
diffstat:
usr.bin/ftp/cmds.c | 6 +++---
usr.bin/ftp/fetch.c | 12 ++++++------
usr.bin/ftp/util.c | 6 +++---
usr.bin/ftp/version.h | 6 +++---
4 files changed, 15 insertions(+), 15 deletions(-)
diffs (127 lines):
diff -r d228e8e8f8c8 -r 4b7886b0050b usr.bin/ftp/cmds.c
--- a/usr.bin/ftp/cmds.c Thu Apr 13 07:53:29 2000 +0000
+++ b/usr.bin/ftp/cmds.c Thu Apr 13 08:13:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cmds.c,v 1.82 2000/01/31 22:01:03 lukem Exp $ */
+/* $NetBSD: cmds.c,v 1.83 2000/04/13 08:13:30 lukem Exp $ */
/*-
* Copyright (c) 1996-1999 The NetBSD Foundation, Inc.
@@ -107,7 +107,7 @@
#if 0
static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94";
#else
-__RCSID("$NetBSD: cmds.c,v 1.82 2000/01/31 22:01:03 lukem Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.83 2000/04/13 08:13:30 lukem Exp $");
#endif
#endif /* not lint */
@@ -2380,7 +2380,7 @@
char *ep;
#ifndef NO_QUAD
- rp = strtoq(argv[1], &ep, 10);
+ rp = strtoll(argv[1], &ep, 10);
#else
rp = strtol(argv[1], &ep, 10);
#endif
diff -r d228e8e8f8c8 -r 4b7886b0050b usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c Thu Apr 13 07:53:29 2000 +0000
+++ b/usr.bin/ftp/fetch.c Thu Apr 13 08:13:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.107 2000/03/09 22:07:59 itojun Exp $ */
+/* $NetBSD: fetch.c,v 1.108 2000/04/13 08:13:31 lukem Exp $ */
/*-
* Copyright (c) 1997-1999 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.107 2000/03/09 22:07:59 itojun Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.108 2000/04/13 08:13:31 lukem Exp $");
#endif /* not lint */
/*
@@ -892,7 +892,7 @@
sizeof(CONTENTLEN) - 1) == 0) {
cp += sizeof(CONTENTLEN) - 1;
#ifndef NO_QUAD
- filesize = strtoq(cp, &ep, 10);
+ filesize = strtoll(cp, &ep, 10);
#else
filesize = strtol(cp, &ep, 10);
#endif
@@ -912,7 +912,7 @@
sizeof(CONTENTRANGE) - 1) == 0) {
cp += sizeof(CONTENTRANGE) - 1;
#ifndef NO_QUAD
- rangestart = strtoq(cp, &ep, 10);
+ rangestart = strtoll(cp, &ep, 10);
#else
rangestart = strtol(cp, &ep, 10);
#endif
@@ -921,7 +921,7 @@
cp = ep + 1;
#ifndef NO_QUAD
- rangeend = strtoq(cp, &ep, 10);
+ rangeend = strtoll(cp, &ep, 10);
#else
rangeend = strtol(cp, &ep, 10);
#endif
@@ -931,7 +931,7 @@
cp = ep + 1;
#ifndef NO_QUAD
- entitylen = strtoq(cp, &ep, 10);
+ entitylen = strtoll(cp, &ep, 10);
#else
entitylen = strtol(cp, &ep, 10);
#endif
diff -r d228e8e8f8c8 -r 4b7886b0050b usr.bin/ftp/util.c
--- a/usr.bin/ftp/util.c Thu Apr 13 07:53:29 2000 +0000
+++ b/usr.bin/ftp/util.c Thu Apr 13 08:13:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.91 2000/01/31 22:01:05 lukem Exp $ */
+/* $NetBSD: util.c,v 1.92 2000/04/13 08:13:31 lukem Exp $ */
/*-
* Copyright (c) 1997-1999 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: util.c,v 1.91 2000/01/31 22:01:05 lukem Exp $");
+__RCSID("$NetBSD: util.c,v 1.92 2000/04/13 08:13:31 lukem Exp $");
#endif /* not lint */
/*
@@ -611,7 +611,7 @@
if (cp != NULL) {
cp++;
#ifndef NO_QUAD
- size = strtoq(cp, &ep, 10);
+ size = strtoll(cp, &ep, 10);
#else
size = strtol(cp, &ep, 10);
#endif
diff -r d228e8e8f8c8 -r 4b7886b0050b usr.bin/ftp/version.h
--- a/usr.bin/ftp/version.h Thu Apr 13 07:53:29 2000 +0000
+++ b/usr.bin/ftp/version.h Thu Apr 13 08:13:30 2000 +0000
@@ -1,6 +1,6 @@
-/* $NetBSD: version.h,v 1.5 2000/01/31 22:01:52 lukem Exp $ */
+/* $NetBSD: version.h,v 1.6 2000/04/13 08:13:31 lukem Exp $ */
/*-
- * Copyright (c) 1999 The NetBSD Foundation, Inc.
+ * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -40,5 +40,5 @@
#endif
#ifndef FTP_VERSION
-#define FTP_VERSION "20000201"
+#define FTP_VERSION "20000403"
#endif
Home |
Main Index |
Thread Index |
Old Index