projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9ce08
)
(pipe_lines): Declare local `cp' to be const.
author
Jim Meyering
<jim@meyering.net>
Sun, 6 Aug 2000 09:03:29 +0000
(09:03 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 6 Aug 2000 09:03:29 +0000
(09:03 +0000)
src/tail.c
patch
|
blob
|
history
diff --git
a/src/tail.c
b/src/tail.c
index
79be4f3
..
5eaa2f9
100644
(file)
--- a/
src/tail.c
+++ b/
src/tail.c
@@
-545,7
+545,7
@@
pipe_lines (const char *pretty_filename, int fd, long int n_lines)
/* Find the correct beginning, then print the rest of the file. */
if (total_lines > n_lines)
{
- char *cp;
+ c
onst c
har *cp;
/* Skip `total_lines' - `n_lines' newlines. We made sure that
`total_lines' - `n_lines' <= `tmp->nlines'. */