Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ftp use an off_t instead of quad_t (or long #ifndef ...
details: https://anonhg.NetBSD.org/src/rev/0aaed5424337
branches: trunk
changeset: 476671:0aaed5424337
user: lukem <lukem%NetBSD.org@localhost>
date: Fri Sep 24 12:52:18 1999 +0000
description:
use an off_t instead of quad_t (or long #ifndef NO_QUAD) to store the
temporary restart point. (yet another portability fix...)
diffstat:
usr.bin/ftp/cmds.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r 79b316712f36 -r 0aaed5424337 usr.bin/ftp/cmds.c
--- a/usr.bin/ftp/cmds.c Fri Sep 24 07:53:21 1999 +0000
+++ b/usr.bin/ftp/cmds.c Fri Sep 24 12:52:18 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cmds.c,v 1.59 1999/09/24 00:48:24 lukem Exp $ */
+/* $NetBSD: cmds.c,v 1.60 1999/09/24 12:52:18 lukem Exp $ */
/*
* Copyright (C) 1997 and 1998 WIDE Project.
@@ -107,7 +107,7 @@
#if 0
static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94";
#else
-__RCSID("$NetBSD: cmds.c,v 1.59 1999/09/24 00:48:24 lukem Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.60 1999/09/24 12:52:18 lukem Exp $");
#endif
#endif /* not lint */
@@ -2178,11 +2178,7 @@
return;
}
if (argc == 2) {
-#ifndef NO_QUAD
- quad_t rp;
-#else
- long rp;
-#endif
+ off_t rp;
char *ep;
#ifndef NO_QUAD
Home |
Main Index |
Thread Index |
Old Index