Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 110637
Collapse All | Expand All

(-)thttpd-2.23beta1.orig/extras/syslogtocern (-3 / +2 lines)
Lines 31-38 Link Here
31
    exit 1
31
    exit 1
32
fi
32
fi
33
33
34
tmp1=/tmp/stc1.$$
34
tmp1=``mktemp -t stc1.XXXXXX` || { echo "$0: Cannot create temporary file" >&2; exit 1;  }
35
rm -f $tmp1
35
trap " [ -f \"$tmp1\" ] && /bin/rm -f -- \"$tmp1\"" 0 1 2 3 13 15
36
36
37
# Gather up all the thttpd entries.
37
# Gather up all the thttpd entries.
38
egrep ' thttpd\[' $* > $tmp1
38
egrep ' thttpd\[' $* > $tmp1
Lines 65-68 Link Here
65
  sed -e "s,\([A-Z][a-z][a-z] [0-9 ][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\) [^ ]* thttpd\[[0-9]*\]: \(.*\),[\1 ${year}] \2," > error_log
65
  sed -e "s,\([A-Z][a-z][a-z] [0-9 ][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\) [^ ]* thttpd\[[0-9]*\]: \(.*\),[\1 ${year}] \2," > error_log
66
66
67
# Done.
67
# Done.
68
rm -f $tmp1

Return to bug 110637