? coder-check-blank-lines-222672-3.patch
? coder-check-blank-lines-222672-4.patch
? coder-id-tags-212400-17.patch
? coder-menu-upgrade-link-222599-1.patch
? coder-test-files-212388-5.patch
? coder-watchdog-t-222405-1.patch
? coder_212400_0.patch
Index: coder.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/coder/coder.module,v
retrieving revision 1.88.2.23
diff -u -p -r1.88.2.23 coder.module
--- coder.module	10 Feb 2008 19:58:19 -0000	1.88.2.23
+++ coder.module	17 Feb 2008 00:12:53 -0000
@@ -900,25 +900,25 @@ function _coder_read_and_parse_file(&$co
 
         // Remove blank lines now, so we avoid processing them over-and-over.
         if ($this_all_lines != '') {
-          if (trim($this_all_lines) != '') {
+          if (trim($this_all_lines, "\r\n") != '') {
             $all_lines[$lineno] = $this_all_lines;
           }
-          if (trim($this_php_lines) != '') {
+          if (trim($this_php_lines, "\r\n") != '') {
             $php_lines[$lineno] = $this_php_lines;
           }
-          if (trim($this_allphp_lines) != '') {
+          if (trim($this_allphp_lines, "\r\n") != '') {
             $allphp_lines[$lineno] = $this_allphp_lines;
           }
-          if (trim($this_html_lines) != '') {
+          if (trim($this_html_lines, "\r\n") != '') {
             $html_lines[$lineno] = $this_html_lines;
           }
-          if (trim($this_quote_lines) != '') {
+          if (trim($this_quote_lines, "\r\n") != '') {
             $quote_lines[$lineno] = $this_quote_lines;
           }
-          if (trim($this_doublequote_lines) != '') {
+          if (trim($this_doublequote_lines, "\r\n") != '') {
             $doublequote_lines[$lineno] = $this_doublequote_lines;
           }
-          if (trim($this_comment_lines) != '') {
+          if (trim($this_comment_lines, "\r\n") != '') {
             $comment_lines[$lineno] = $this_comment_lines;
           }
         }

