Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2002 23:49:43 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/nfsd nfsd.c
Message-ID:  <200205010649.g416niA89157@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2002/04/30 23:49:43 PDT

  Modified files:
    sbin/nfsd            nfsd.c 
  Log:
  Make this compile and not segfault on ia64.  ptr = strdup("foo"); is
  fatal if the declaration of strdup() isn't in scope.  The upper 32 bits
  of the pointer are lost since it defaults to returning "int".  Fix some
  warnings while here, including trying to make gcc-3.1 happy.
  
  Revision  Changes    Path
  1.24      +4 -3      src/sbin/nfsd/nfsd.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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