summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 17:57:57 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 17:57:57 +0000
commitd8c14fc15e0dc083e54fa81ae636f0e3b74af676 (patch)
treea0f3693e99d1a52c729fc91b3d112c9d6a55501c /src/csplit.c
parent3fbb037ff8e2d0db0baf07ed0eef2d110ed30ad4 (diff)
downloadcoreutils-d8c14fc15e0dc083e54fa81ae636f0e3b74af676.tar.xz
(extract_regexp): Use NULL, not `0'.
Diffstat (limited to 'src/csplit.c')
-rw-r--r--src/csplit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csplit.c b/src/csplit.c
index 6ed6c5a9f..b138ff65b 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)
{