Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
08c69097
Commit
08c69097
authored
Feb 21, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* test-distrib.c (buf): Make this local, to avoid shadowing.
parent
f0939c31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib-src/ChangeLog
lib-src/ChangeLog
+1
-0
lib-src/test-distrib.c
lib-src/test-distrib.c
+1
-2
No files found.
lib-src/ChangeLog
View file @
08c69097
...
...
@@ -4,6 +4,7 @@
But if the file already has the right ownership, don't worry about it.
* make-docfile.c (input_buffer): Rename variables to avoid shadowing.
* test-distrib.c (buf): Make this local, to avoid shadowing.
* movemail.c (main, pop_retr): Rename locals to avoid shadowing.
(progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
...
...
lib-src/test-distrib.c
View file @
08c69097
...
...
@@ -34,8 +34,6 @@ static char string2[] = ".\n\
This file is read by the `test-distribution' program.
\n
\
If you change it, you will make that program fail.
\n
"
;
static
char
buf
[
300
];
/* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */
static
int
cool_read
(
int
fd
,
char
*
buf
,
size_t
size
)
...
...
@@ -57,6 +55,7 @@ int
main
(
int
argc
,
char
**
argv
)
{
int
fd
;
char
buf
[
300
];
if
(
argc
!=
2
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment