Module Name: othersrc
Committed By: lukem
Date: Wed Jan 23 02:32:36 UTC 2019
Modified Files:
othersrc/libexec/tnftpd/libnetbsd: arpa_ftp.h
Log Message:
sync to arpa/ftp.h 1.7
Update to NetBSD src/include/arpa/ftp.h revision 1.7 from revision 1.5:
- 1.6: Move UCB-licensed code from 4-clause to 3-clause licence. [already done]
- 1.7: Welcome to the constant age!
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 othersrc/libexec/tnftpd/libnetbsd/arpa_ftp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/libexec/tnftpd/libnetbsd/arpa_ftp.h
diff -u othersrc/libexec/tnftpd/libnetbsd/arpa_ftp.h:1.3 othersrc/libexec/tnftpd/libnetbsd/arpa_ftp.h:1.4
--- othersrc/libexec/tnftpd/libnetbsd/arpa_ftp.h:1.3 Sun Sep 21 16:35:25 2008
+++ othersrc/libexec/tnftpd/libnetbsd/arpa_ftp.h Wed Jan 23 02:32:36 2019
@@ -1,5 +1,5 @@
-/* $NetBSD: arpa_ftp.h,v 1.3 2008/09/21 16:35:25 lukem Exp $ */
-/* from NetBSD: ftp.h,v 1.5 1998/02/10 00:32:50 perry Exp */
+/* $NetBSD: arpa_ftp.h,v 1.4 2019/01/23 02:32:36 lukem Exp $ */
+/* from NetBSD: ftp.h,v 1.7 2017/01/12 18:42:53 christos Exp */
/*
* Copyright (c) 1983, 1989, 1993
@@ -55,7 +55,7 @@
#define TYPE_L 4 /* local byte size */
#ifdef FTP_NAMES
-char *typenames[] = {"0", "ASCII", "EBCDIC", "Image", "Local" };
+const char *typenames[] = {"0", "ASCII", "EBCDIC", "Image", "Local" };
#endif
/*
@@ -65,7 +65,7 @@ char *typenames[] = {"0", "ASCII", "EBC
#define FORM_T 2 /* telnet format effectors */
#define FORM_C 3 /* carriage control (ASA) */
#ifdef FTP_NAMES
-char *formnames[] = {"0", "Nonprint", "Telnet", "Carriage-control" };
+const char *formnames[] = {"0", "Nonprint", "Telnet", "Carriage-control" };
#endif
/*
@@ -75,7 +75,7 @@ char *formnames[] = {"0", "Nonprint", "
#define STRU_R 2 /* record structure */
#define STRU_P 3 /* page structure */
#ifdef FTP_NAMES
-char *strunames[] = {"0", "File", "Record", "Page" };
+const char *strunames[] = {"0", "File", "Record", "Page" };
#endif
/*
@@ -85,7 +85,7 @@ char *strunames[] = {"0", "File", "Reco
#define MODE_B 2 /* block */
#define MODE_C 3 /* compressed */
#ifdef FTP_NAMES
-char *modenames[] = {"0", "Stream", "Block", "Compressed" };
+const char *modenames[] = {"0", "Stream", "Block", "Compressed" };
#endif
/*