standards/129554: commit references a PR

dfilter service dfilter at FreeBSD.org
Fri Oct 2 09:30:06 UTC 2009


The following reply was made to PR standards/129554; it has been noted by GNATS.

From: dfilter at FreeBSD.org (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: standards/129554: commit references a PR
Date: Tue, 29 Sep 2009 21:29:20 +0000 (UTC)

 Author: jilles
 Date: Tue Sep 29 21:28:32 2009
 New Revision: 197625
 URL: http://svn.freebsd.org/changeset/base/197625
 
 Log:
   Fix using lp(1) without the new -t option after r194171.
   
   PR:		standards/129554
   Tested by:	Steve Kargl
   MFC after:	1 week
 
 Modified:
   head/usr.sbin/lpr/lp/lp.sh
 
 Modified: head/usr.sbin/lpr/lp/lp.sh
 ==============================================================================
 --- head/usr.sbin/lpr/lp/lp.sh	Tue Sep 29 21:25:59 2009	(r197624)
 +++ head/usr.sbin/lpr/lp/lp.sh	Tue Sep 29 21:28:32 2009	(r197625)
 @@ -70,7 +70,7 @@ do
  	s)			# (silent option)
  		: ;;
  	t)			# title for banner page
 -		title="-J${OPTARG}";;
 +		title="${OPTARG}";;
  	*)			# (error msg printed by getopts)
  		exit 2;;
  	esac
 @@ -78,4 +78,4 @@ done
  
  shift $(($OPTIND - 1))
  
 -exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} "${title}" "$@"
 +exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} ${title:+-J"${title}"} "$@"
 _______________________________________________
 svn-src-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-standards mailing list