FreeBSD Bugzilla – Attachment 118768 Details for
Bug 161109
Fix rc.d script for databases/memcached
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
memcached-rcd.diff
memcached-rcd.diff (text/plain), 1.03 KB, created by
Doug Barton
on 2011-10-04 06:00:45 UTC
(
hide
)
Description:
memcached-rcd.diff
Filename:
MIME Type:
Creator:
Doug Barton
Created:
2011-10-04 06:00:45 UTC
Size:
1.03 KB
patch
obsolete
>Index: memcached.in >=================================================================== >RCS file: /home/pcvs/ports/databases/memcached/files/memcached.in,v >retrieving revision 1.7 >diff -u -r1.7 memcached.in >--- memcached.in 30 Sep 2011 13:52:30 -0000 1.7 >+++ memcached.in 4 Oct 2011 04:54:59 -0000 >@@ -29,7 +29,7 @@ > > if [ -n "$2" ]; then > profile="$2" >- if [ "x${memcached_profiles}" != "x" ]; then >+ if [ -n "${memcached_profiles}" ]; then > pidfile="${_piddir}/memcached.${profile}.pid" > eval memcached_enable="\${memcached_${profile}_enable:-${memcached_enable}}" > eval memcached_flags="\${memcached_${profile}_flags:-${memcached_flags}}" >@@ -72,12 +72,19 @@ > > memcached_poststop() > { >- local file >+ if [ -n "${profile}" ]; then >+ [ -e "$pidfile" ] && unlink $pidfile >+ else >+ local file > >- for file in ${_piddir}/* ; do >- case "$file" in *\*) continue ;; esac >- unlink $file >- done >+ for file in ${_piddir}/* ; do >+ case "$file" in >+ *\*) >+ continue ;; >+ esac >+ unlink $file >+ done >+ fi > } > > : ${memcached_enable="NO"}
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 161109
:
118764
|
118765
|
118766
|
118767
| 118768 |
118769