[Bug 27778] TYPE outputs extraneous blank line after file contents

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jul 13 16:38:13 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27778

André H. <nerv at dawncrow.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nerv at dawncrow.de

--- Comment #1 from André H. <nerv at dawncrow.de> 2011-07-13 16:38:13 CDT ---
maybe just

diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 0352e59..f7411e2 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -2523,7 +2523,7 @@ void WCMD_type (WCHAR *command) {
       errorlevel = 1;
     } else {
       if (writeHeaders) {
-        static const WCHAR fmt[] = {'\n','%','s','\n','\n','\0'};
+        static const WCHAR fmt[] = {'\n','%','s','\n','\0'};
         WCMD_output(fmt, thisArg);
       }

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list