[Pkg-ocaml-maint-commits] [coccinelle] 01/01: New patch:

Eugeniy Meshcheryakov eugen at moszumanska.debian.org
Sat Mar 29 21:02:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

eugen pushed a commit to branch master
in repository coccinelle.

commit 2be83fdee462e6b9af86f1103f544647f0d47bb0
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date:   Sat Mar 29 21:41:50 2014 +0100

    New patch:
    
    * New patch:
      - whitespace-fix.diff - fix incorrectly whitespace handling with some
        semantic patches (by Julia Lawall, closes: #742779)
---
 debian/changelog                   |  8 ++++++++
 debian/patches/series              |  1 +
 debian/patches/whitespace-fix.diff | 19 +++++++++++++++++++
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ddf0dec..7eadf5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+coccinelle (1.0.0~rc20.deb-2) unstable; urgency=medium
+
+  * New patch:
+    - whitespace-fix.diff - fix incorrectly whitespace handling with some
+      semantic patches (by Julia Lawall, closes: #742779)
+
+ -- Євгеній Мещеряков <eugen at debian.org>  Sat, 29 Mar 2014 21:39:41 +0100
+
 coccinelle (1.0.0~rc20.deb-1) unstable; urgency=medium
 
   * New upstream RC
diff --git a/debian/patches/series b/debian/patches/series
index 87fc0b5..88966a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 pdf-docs-build.diff
+whitespace-fix.diff
diff --git a/debian/patches/whitespace-fix.diff b/debian/patches/whitespace-fix.diff
new file mode 100644
index 0000000..6102e91
--- /dev/null
+++ b/debian/patches/whitespace-fix.diff
@@ -0,0 +1,19 @@
+A patch is below.  Thanks very much for the report.  Someone else had 
+reported the problem in a more obscure context, and it wasn't until I saw 
+your report that I realized what the problem was.
+
+julia
+
+diff --git a/parsing_c/parsing_hacks.ml b/parsing_c/parsing_hacks.ml
+index b5f29c2..8c6d7fb 100644
+--- a/parsing_c/parsing_hacks.ml
++++ b/parsing_c/parsing_hacks.ml
+@@ -1004,7 +1004,7 @@ let fix_tokens_strings toks =
+ 		TString(str_isW,info) ->
+ 		  (Parse_string_c.parse_string str_isW info) @ front @
+ 		  out_strings rest
+-	      |	_ ->  a :: out_strings rest))
++	      |	_ ->  a :: front @ out_strings rest))
+ 	else a :: out_strings rest in
+   out_strings toks
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/coccinelle.git



More information about the Pkg-ocaml-maint-commits mailing list