From: Jim Meyering Date: Fri, 2 Feb 2007 07:57:47 +0000 (+0100) Subject: * src/nl.c (proc_text): Use "NULL", not "(struct re_registers *) 0". X-Git-Tag: COREUTILS-6_8~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=251f774621735e208e3800022ad4acd0b785784e;p=platform%2Fupstream%2Fcoreutils.git * src/nl.c (proc_text): Use "NULL", not "(struct re_registers *) 0". --- diff --git a/ChangeLog b/ChangeLog index ee43b25..c7f04aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-02-02 Jim Meyering + * src/nl.c (proc_text): Use "NULL", not "(struct re_registers *) 0". + * src/c99-to-c89.diff: Make shred.c Index: and a/b prefixes consistent, so this can be applied with patch -p0. Reported by Matthew Woehlke. diff --git a/src/nl.c b/src/nl.c index e8502a8..8d3bb52 100644 --- a/src/nl.c +++ b/src/nl.c @@ -1,5 +1,5 @@ /* nl -- number lines of files - Copyright (C) 89, 92, 1995-2006 Free Software Foundation, Inc. + Copyright (C) 89, 92, 1995-2007 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 @@ -348,7 +348,7 @@ proc_text (void) break; case 'p': switch (re_search (current_regex, line_buf.buffer, line_buf.length - 1, - 0, line_buf.length - 1, (struct re_registers *) 0)) + 0, line_buf.length - 1, NULL)) { case -2: error (EXIT_FAILURE, errno, _("error in regular expression search"));