Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 17:41:15 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/gen basename.c dirname.c
Message-ID:  <200212300141.gBU1fF23038958@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2002/12/29 17:41:15 PST

  Modified files:
    lib/libc/gen         basename.c dirname.c 
  Log:
  Fix LP64 architectures and especially ia64. Functions that return
  a pointer and lack a prototype will have the return value (assumed
  to be an integer) zero-extended to a pointer. On ia64 this is
  unconditionally fatal as it zeroes-out the region bits, forming an
  invalid pointer. Fix the sigsegv by including <stdlib.h>.
  
  Pointy hat: bbraun
  
  Revision  Changes    Path
  1.7       +1 -0      src/lib/libc/gen/basename.c
  1.7       +1 -0      src/lib/libc/gen/dirname.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?200212300141.gBU1fF23038958>