Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2003 21:43:02 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/restore dirs.c
Message-ID:  <200310260443.h9Q4h2Et016566@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2003/10/25 21:43:02 PDT

  FreeBSD src repository

  Modified files:
    sbin/restore         dirs.c 
  Log:
  Fix gcc warnings.  If NAME_MAX is 255, and d_namlen is a uint8_t, then
  d_namlen can never be > NAME_MAX.  Stop gcc worrying about this by
  using a preprocessor test to see if NAME_MAX changes.
  
  Revision  Changes    Path
  1.25      +7 -2      src/sbin/restore/dirs.c



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