From d8c14fc15e0dc083e54fa81ae636f0e3b74af676 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Mar 2005 17:57:57 +0000 Subject: [PATCH] (extract_regexp): Use NULL, not `0'. --- src/csplit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/csplit.c b/src/csplit.c index 6ed6c5a9f5..b138ff65bd 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1,5 +1,5 @@ /* csplit - split a file into sections determined by context lines - Copyright (C) 91, 1995-2004 Free Software Foundation, Inc. + Copyright (C) 91, 1995-2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1115,7 +1115,7 @@ extract_regexp (int argnum, bool ignore, char *str) p->re_compiled.allocated = len * 2; p->re_compiled.buffer = xmalloc (p->re_compiled.allocated); p->re_compiled.fastmap = xmalloc (1 << CHAR_BIT); - p->re_compiled.translate = 0; + p->re_compiled.translate = NULL; err = re_compile_pattern (p->regexpr, len, &p->re_compiled); if (err) { -- 2.47.3