Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2001 00:25:27 -0700 (PDT)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/lpr/common_source displayq.c src/usr.sbin/lpr/lpd printjob.c recvjob.c
Message-ID:  <200107220725.f6M7PR212407@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2001/07/22 00:25:27 PDT

  Modified files:
    usr.sbin/lpr/common_source displayq.c 
    usr.sbin/lpr/lpd     printjob.c recvjob.c 
  Log:
  Replace calls to strncpy with calls to strlcpy, and remove the extra step
  needed to ensure that the result is null-terminated when using strncpy().
  
  MFC after:	8 days
  
  Revision  Changes    Path
  1.22      +4 -7      src/usr.sbin/lpr/common_source/displayq.c
  1.41      +19 -26    src/usr.sbin/lpr/lpd/printjob.c
  1.24      +5 -7      src/usr.sbin/lpr/lpd/recvjob.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?200107220725.f6M7PR212407>