Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 14:27:36 -0700 (PDT)
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/truss syscalls.c
Message-ID:  <200108282127.f7SLRaw34265@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
joerg       2001/08/28 14:27:36 PDT

  Modified files:
    usr.bin/truss        syscalls.c 
  Log:
  In get_string(), 0-terminate the contents of buf ``just in case'';
  otherwise, if the very first fgetc() already yielded EOF, the returned
  string won't get terminated at all.
  
  MFC after:	1 day
  
  Revision  Changes    Path
  1.12      +2 -1      src/usr.bin/truss/syscalls.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?200108282127.f7SLRaw34265>