9958fee
--- lib/viewvc.py.orig	2007-03-02 13:12:25.000000000 +1100
9958fee
+++ lib/viewvc.py	2007-03-02 13:12:39.000000000 +1100
9958fee
@@ -1244,7 +1244,7 @@
9958fee
   def __call__(self, ctx):
9958fee
     # create a temporary file with the same name as the file in
9958fee
     # the repository so enscript can detect file type correctly
9958fee
-    dir = compat.mkdtemp()
9958fee
+    dir = compat.mkdtemp('','','/var/spool/viewvc')
9958fee
     try:
9958fee
       file = os.path.join(dir, self.filename)
9958fee
       try: