# [PATCH] Missing linefeeds

3 messages from 2005-04-21 to 2005-04-21. Participants: Matthias Urlichs, Petr Baudis.
Thread: https://gitlist.dev/t/198

## Matthias Urlichs, 2005-04-21 12:44

Subject: [PATCH] Missing linefeeds
Message-ID: <20050421124430.ACDC77F894@smurf.noris.de>
URL: https://gitlist.dev/e/20050421124430.ACDC77F894%40smurf.noris.de

```
This patch fixes die() and error() to print linefeeds after the message.

Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>

--- 42a073eb6b5bb397a3e8768a032463a7fa02e6b9/usage.c  (mode:100644 sha1:e774d2ef32726af0707d817cdb63fc8751ddc9d8)
+++ 265515f9c4f089b1b61e9d2312c4b3babe189618/usage.c  (mode:100644 sha1:21715d88b1a82aa06a3914e3f0e69fb1b61cc442)
@@ -26,6 +26,7 @@
 	va_start(params, err);
 	report("fatal: ", err, params);
 	va_end(params);
+	fputs("\n", stderr);
 	exit(1);
 }
 
@@ -36,5 +37,6 @@
 	va_start(params, err);
 	report("error: ", err, params);
 	va_end(params);
+	fputs("\n", stderr);
 	return -1;
 }

```

## Petr Baudis, 2005-04-21 16:26

Subject: Re: [PATCH] Missing linefeeds
Message-ID: <20050421162614.GF30991@pasky.ji.cz>
URL: https://gitlist.dev/e/20050421162614.GF30991%40pasky.ji.cz
In-Reply-To: <20050421124430.ACDC77F894@smurf.noris.de>

```
Dear diary, on Thu, Apr 21, 2005 at 02:44:30PM CEST, I got a letter
where Matthias Urlichs <smurf@smurf.noris.de> told me that...
> This patch fixes die() and error() to print linefeeds after the message.

Why? report() already prints linefeed.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor

```

## Matthias Urlichs, 2005-04-21 23:08

Subject: Re: [PATCH] Missing linefeeds
Message-ID: <20050421230826.GB13311@kiste.smurf.noris.de>
URL: https://gitlist.dev/e/20050421230826.GB13311%40kiste.smurf.noris.de
In-Reply-To: <20050421162614.GF30991@pasky.ji.cz>

```
Hi,

Petr Baudis:
> Why? report() already prints linefeed.
> 
Ah, it didn't when I wrote this.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de

```
