FreeBSD Bugzilla – Attachment 92119 Details for
Bug 129697
[patch] fix misbehavior of periodic/daily/100.clean-disks vs. port lang/sbcl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.19 KB, created by
V.Chukharev
on 2008-12-16 23:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
V.Chukharev
Created:
2008-12-16 23:10:01 UTC
Size:
1.19 KB
patch
obsolete
>--- /etc/periodic/daily/100.clean-disks 2007-12-24 12:11:21.000000000 +0200 >+++ progs/100.clean-disks 2008-12-17 00:50:59.000000000 +0200 >@@ -29,10 +29,18 @@ > echo "" > echo "Cleaning disks:" > set -f noglob >- args="$args -name "`echo "$daily_clean_disks_files" | >+ args="$args ( -name "`echo "$daily_clean_disks_files" | > sed -e 's/^[ ]*//' \ > -e 's/[ ]*$//' \ >- -e 's/[ ][ ]*/ -o -name /g'` >+ -e 's/[ ][ ]*/ -o -name /g'`" )" >+ >+ if ! [ -z "$daily_clean_disks_ignore" ] >+ then >+ args="$args -a ! ( -name "`echo "$daily_clean_disks_ignore" | >+ sed -e 's/^[ ]*//' \ >+ -e 's/[ ]*$//' \ >+ -e 's/[ ][ ]*/ -o -name /g'`" )" >+ fi > > case "$daily_clean_disks_verbose" in > [Yy][Ee][Ss]) >@@ -41,9 +49,9 @@ > print=;; > esac > >- rc=$(find / \( ! -fstype local -o -fstype rdonly \) -a -prune -o \ >- \( $args \) -atime +$daily_clean_disks_days -delete $print | >- tee /dev/stderr | wc -l) >+ command="find / ( ! -fstype local -o -fstype rdonly ) -a -prune -o \ >+ ( $args ) -atime +$daily_clean_disks_days -delete $print " >+ rc=$($command | tee /dev/stderr | wc -l) > [ -z "$print" ] && rc=0 > [ $rc -gt 1 ] && rc=1 > set -f glob
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 129697
:
92119
|
92120