File: 514_nice_proxy_cache_cleanup

package info (click to toggle)
apache 1.3.34-4.1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 4,800 kB
  • ctags: 90
  • sloc: sh: 1,273; makefile: 685; perl: 215
file content (11 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
diff -Naurd build-tree.orig/apache_1.3.34/src/modules/proxy/proxy_cache.c build-tree/apache_1.3.34/src/modules/proxy/proxy_cache.c
--- build-tree.orig/apache_1.3.34/src/modules/proxy/proxy_cache.c	2007-02-23 11:00:19.641729000 +0000
+++ build-tree/apache_1.3.34/src/modules/proxy/proxy_cache.c	2007-02-23 11:01:29.490094942 +0000
@@ -191,6 +191,7 @@
 
         case 0:         /* Child */
             /* The setpgrp() stuff was snarfed from http_main.c */
+      	   nice(10);
 #ifndef NO_SETSID
             if ((pgrp = setsid()) == -1) {
                 perror("setsid");