FreeBSD Bugzilla – Attachment 77503 Details for
Bug 111617
[PATCH] net/openldap-server: slapd.sh: simplify string splitting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
openldap-server-2.3.35.patch
openldap-server-2.3.35.patch (text/plain), 762 bytes, created by
Ulrich Spoerlein
on 2007-04-15 16:30:01 UTC
(
hide
)
Description:
openldap-server-2.3.35.patch
Filename:
MIME Type:
Creator:
Ulrich Spoerlein
Created:
2007-04-15 16:30:01 UTC
Size:
762 bytes
patch
obsolete
>Index: files/slapd.sh.in >=================================================================== >RCS file: /home/ncvs/ports/net/openldap23-server/files/slapd.sh.in,v >retrieving revision 1.1 >diff -u -p -u -r1.1 slapd.sh.in >--- files/slapd.sh.in 18 May 2006 15:03:48 -0000 1.1 >+++ files/slapd.sh.in 15 Apr 2007 15:22:05 -0000 >@@ -51,8 +51,8 @@ start_precmd() > chown -RL "$slapd_owner" "%%DATABASEDIR%%" > chown "$slapd_owner" "%%PREFIX%%/etc/openldap/slapd.conf" > >- slapd_ownername=`expr //"$slapd_owner" : //'\([^:]*\)'` >- slapd_groupname=`expr //"$slapd_owner" : //'.*:\([^:]*\)'` >+ slapd_ownername="${slapd_owner%:*}" >+ slapd_groupname="${slapd_owner#*:}" > > if [ -n "$slapd_ownername" ]; then > rc_flags="$rc_flags -u $slapd_ownername"
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 111617
: 77503