Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ftp fix previous; use append instead of write.
details: https://anonhg.NetBSD.org/src/rev/2e4b5624487b
branches: trunk
changeset: 772776:2e4b5624487b
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 15 20:43:24 2012 +0000
description:
fix previous; use append instead of write.
diffstat:
usr.bin/ftp/cmds.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r bb9dec29f594 -r 2e4b5624487b usr.bin/ftp/cmds.c
--- a/usr.bin/ftp/cmds.c Sun Jan 15 20:27:58 2012 +0000
+++ b/usr.bin/ftp/cmds.c Sun Jan 15 20:43:24 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cmds.c,v 1.133 2012/01/15 03:58:28 christos Exp $ */
+/* $NetBSD: cmds.c,v 1.134 2012/01/15 20:43:24 christos Exp $ */
/*-
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
#if 0
static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94";
#else
-__RCSID("$NetBSD: cmds.c,v 1.133 2012/01/15 03:58:28 christos Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.134 2012/01/15 20:43:24 christos Exp $");
#endif
#endif /* not lint */
@@ -557,14 +557,14 @@
reget(int argc, char *argv[])
{
- (void)getit(argc, argv, 1, restart_point ? "r+" : "w" );
+ (void)getit(argc, argv, 1, restart_point ? "r+" : "a");
}
void
get(int argc, char *argv[])
{
- (void)getit(argc, argv, 0, restart_point ? "r+" : "w" );
+ (void)getit(argc, argv, 0, restart_point ? "r+" : "w");
}
/*
Home |
Main Index |
Thread Index |
Old Index