Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 18:01:04 -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 common.c displayq.c lp.h net.c rmjob.c src/usr.sbin/lpr/lpd extern.h lpd.c printjob.c recvjob.c src/usr.sbin/lpr/lpq lpq.c src/usr.sbin/lpr/lpr lpr.c src/usr.sbin/lpr/lprm lprm.c
Message-ID:  <200106250101.f5P115L32320@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2001/06/24 18:01:04 PDT

  Modified files:        (Branch: RELENG_4)
    usr.sbin/lpr/common_source common.c displayq.c lp.h net.c 
                               rmjob.c 
    usr.sbin/lpr/lpd     extern.h lpd.c printjob.c recvjob.c 
    usr.sbin/lpr/lpq     lpq.c 
    usr.sbin/lpr/lpr     lpr.c 
    usr.sbin/lpr/lprm    lprm.c 
  Log:
  [MFC from 2001/06/15]
  Rename a few global variables which hold hostname-related values to be
  more sensible/understandable.  'from'->'from_host'  'host'->'local_host'
  'fromb'->'frombuf'  'fromhost'->'origin_host'  and a local-variable
  named 'host'->'hostbuf'.
  
  Other than renaming variables, the only actual code changes are to call
  strlcpy() instead of strncpy() when setting those (renamed) variables,
  and that 'from_ip' is now a strdup()-created buffer instead of being a
  static buffer compiled in as 1025 bytes.
  
  Reviewed by:	freebsd-print@bostonradio.org
  
  Revision   Changes    Path
  1.12.2.9   +4 -3      src/usr.sbin/lpr/common_source/common.c
  1.15.2.5   +8 -8      src/usr.sbin/lpr/common_source/displayq.c
  1.9.2.6    +19 -5     src/usr.sbin/lpr/common_source/lp.h
  1.3.2.4    +10 -4     src/usr.sbin/lpr/common_source/net.c
  1.12.2.5   +13 -12    src/usr.sbin/lpr/common_source/rmjob.c
  1.5.2.3    +1 -2      src/usr.sbin/lpr/lpd/extern.h
  1.12.2.10  +20 -21    src/usr.sbin/lpr/lpd/lpd.c
  1.22.2.13  +11 -12    src/usr.sbin/lpr/lpd/printjob.c
  1.14.2.6   +5 -4      src/usr.sbin/lpr/lpd/recvjob.c
  1.7.2.3    +2 -2      src/usr.sbin/lpr/lpq/lpq.c
  1.32.2.6   +7 -6      src/usr.sbin/lpr/lpr/lpr.c
  1.6.2.3    +2 -2      src/usr.sbin/lpr/lprm/lprm.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?200106250101.f5P115L32320>