~ubuntu-branches/ubuntu/maverick/coccinelle/maverick

« back to all changes in this revision

Viewing changes to debian/patches/fixes/unsafe-tmp-handling.diff

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2009-08-10 01:01:24 UTC
  • mfrom: (7.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090810010124-9fn4c8m93ic60fqx
Tags: 0.1.9.deb-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/control: build-depend on python2.6-dev,
    set XB-Python-Version to 2.6
* New upstream (Debian) packaging applied fix for
  LP: #410907 (see changelog entry below)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: Eugeniy Meshcheryakov <eugen@debian.org>
2
 
Subject: [PATCH] fixes/unsafe-tmp-handling
3
 
 
4
 
Patch fixes unsafe temporary file handling (reported to upstream).
5
 
 
6
 
Signed-off-by: Eugeniy Meshcheryakov <eugen@debian.org>
7
 
 
8
 
---
9
 
 main.ml |    2 ++
10
 
 1 files changed, 2 insertions(+), 0 deletions(-)
11
 
 
12
 
diff --git a/main.ml b/main.ml
13
 
index 7aa9ab5..02b4357 100644
14
 
--- a/main.ml
15
 
+++ b/main.ml
16
 
@@ -798,9 +798,11 @@ let main_action xs =
17
 
              
18
 
              if !output_file =$= "" 
19
 
              then begin
20
 
+                (*
21
 
                 let tmpfile = "/tmp/"^Common.basename infile in
22
 
                 pr2 (spf "One file modified. Result is here: %s" tmpfile);
23
 
                 Common.command2 ("cp "^outfile^" "^tmpfile);
24
 
+                *)
25
 
              end
26
 
            ));
27
 
           if !output_file <> "" then
28
 
tg: (220e8c3..) fixes/unsafe-tmp-handling (depends on: upstream)