Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/patch correct indentation. spotted by Roland.
details: https://anonhg.NetBSD.org/src/rev/545c69ec70e6
branches: trunk
changeset: 983468:545c69ec70e6
user: cjep <cjep%NetBSD.org@localhost>
date: Wed May 26 07:57:05 2021 +0000
description:
correct indentation. spotted by Roland.
diffstat:
usr.bin/patch/inp.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 2800adf344e3 -r 545c69ec70e6 usr.bin/patch/inp.c
--- a/usr.bin/patch/inp.c Wed May 26 06:11:50 2021 +0000
+++ b/usr.bin/patch/inp.c Wed May 26 07:57:05 2021 +0000
@@ -1,7 +1,7 @@
/*
* $OpenBSD: inp.c,v 1.34 2006/03/11 19:41:30 otto Exp $
* $DragonFly: src/usr.bin/patch/inp.c,v 1.6 2007/09/29 23:11:10 swildner Exp $
- * $NetBSD: inp.c,v 1.27 2021/05/25 11:25:59 cjep Exp $
+ * $NetBSD: inp.c,v 1.28 2021/05/26 07:57:05 cjep Exp $
*/
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: inp.c,v 1.27 2021/05/25 11:25:59 cjep Exp $");
+__RCSID("$NetBSD: inp.c,v 1.28 2021/05/26 07:57:05 cjep Exp $");
#include <sys/types.h>
#include <sys/file.h>
@@ -194,10 +194,10 @@
filebase = basename(tmp_filename1);
filedir = dirname(tmp_filename2);
- lbufsz = INITLINELEN;
- if ((lbuf = malloc(bufsz)) == NULL)
- pfatal("allocating line buffer");
- lbuf[0] = '\0';
+ lbufsz = INITLINELEN;
+ if ((lbuf = malloc(bufsz)) == NULL)
+ pfatal("allocating line buffer");
+ lbuf[0] = '\0';
#define try(f, a1, a2, a3) \
(snprintf(lbuf, lbufsz, f, a1, a2, a3), stat(lbuf, &cstat) == 0)
Home |
Main Index |
Thread Index |
Old Index