FreeBSD Bugzilla – Attachment 12666 Details for
Bug 24372
[PATCH] (cosmetic) -current send-pr breaks NIS support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 880 bytes, created by
dima
on 2001-01-16 06:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dima
Created:
2001-01-16 06:40:01 UTC
Size:
880 bytes
patch
obsolete
>Index: send-pr.sh >=================================================================== >RCS file: /st/src/FreeBSD/src/gnu/usr.bin/send-pr/send-pr.sh,v >retrieving revision 1.20 >diff -u -r1.20 send-pr.sh >--- send-pr.sh 2000/10/29 22:11:39 1.20 >+++ send-pr.sh 2001/01/16 06:23:59 >@@ -58,8 +58,8 @@ > # host-dependent. > MAIL_AGENT="${MAIL_AGENT:-/usr/sbin/sendmail -oi -t}" > >-# How to read the passwd database. >-PASSWD="cat /etc/passwd" >+# Path to pw(8) >+PW="/usr/sbin/pw" > > ECHON=bsd > >@@ -97,7 +97,7 @@ > PTEMP=`mktemp -t p` || exit 1 > # Must use temp file due to incompatibilities in quoting behavior > # and to protect shell metacharacters in the expansion of $LOGNAME >- $PASSWD | grep "^$LOGNAME:" | awk -F: '{print $5}' | sed -e 's/,.*//' > $PTEMP >+ $PW usershow $LOGNAME | awk -F: '{ print $8 }' | sed -e 's/,.*//' > $PTEMP > ORIGINATOR="`cat $PTEMP`" > rm -f $PTEMP > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24372
: 12666