unifdef some foolishness. note that BSD is not currently defined when this
file is built.


Index: ftpcmd.y
===================================================================
RCS file: /cvs/src/libexec/ftpd/ftpcmd.y,v
retrieving revision 1.60
diff -u -p -r1.60 ftpcmd.y
--- ftpcmd.y    18 Aug 2015 17:35:59 -0000      1.60
+++ ftpcmd.y    25 Oct 2015 21:29:45 -0000
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ftpcmd.y,v 1.60 2015/08/18 17:35:59 deraadt Exp $     */
+/*     $OpenBSD: ftpcmd.y,v 1.59 2015/03/17 19:31:30 millert Exp $     */
 /*     $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $   */
 
 /*
@@ -574,16 +574,7 @@ cmd
        | SYST check_login CRLF
                {
                        if ($2)
-#ifdef unix
-#ifdef BSD
-                       reply(215, "UNIX Type: L%d Version: BSD-%d",
-                               NBBY, BSD);
-#else /* BSD */
                        reply(215, "UNIX Type: L%d", NBBY);
-#endif /* BSD */
-#else /* unix */
-                       reply(215, "UNKNOWN Type: L%d", NBBY);
-#endif /* unix */
                }
 
                /*

Reply via email to