Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 04:30:23 -0700 (PDT)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec/ftpd ftpcmd.y
Message-ID:  <200306161130.h5GBUNB4055237@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yar         2003/06/16 04:30:23 PDT

  FreeBSD src repository

  Modified files:
    libexec/ftpd         ftpcmd.y 
  Log:
  If ftpd is run with an -h option (hide host-specific info,)
  don't reveal the info in reply to the SYST command.
  
  Get rid of using the "unix" macro at the same time.  It was a rather
  poor way to check if the system was Unix since there were quite a
  few Unix clones out there whose cc didn't define "unix" (e.g.,
  NetBSD.)  It was also sensitive to the C standard used, which caused
  unnecessary trouble:  With -std=c99, it should have been "__unix__",
  and so on.
  
  PR:             bin/50690
  Submitted by:   Alex Semenyaka <alexs _at_ snark.ratmir.ru>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.51      +8 -8      src/libexec/ftpd/ftpcmd.y



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306161130.h5GBUNB4055237>