Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
d88423ea
Commit
d88423ea
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: move a debug statement to its proper place, and improve aspect
parent
8b28de13
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rcfile.c
+3
-6
src/rcfile.c
with
3 additions
and
6 deletions
+3
-6
src/rcfile.c
View file @
d88423ea
...
...
@@ -1067,7 +1067,8 @@ void parse_rcfile(FILE *rcstream
}
#ifdef DEBUG
fprintf
(
stderr
,
"parse_rcfile(): option name =
\"
%s
\"\n
"
,
rcopts
[
i
].
name
);
fprintf
(
stderr
,
" Option name =
\"
%s
\"\n
"
,
rcopts
[
i
].
name
);
fprintf
(
stderr
,
" Flag = %ld
\n
"
,
rcopts
[
i
].
flag
);
#endif
/* First handle unsetting. */
if
(
set
==
-
1
)
{
...
...
@@ -1098,7 +1099,7 @@ void parse_rcfile(FILE *rcstream
option
=
mallocstrcpy
(
NULL
,
option
);
#ifdef DEBUG
fprintf
(
stderr
,
"
o
ption argument =
\"
%s
\"\n
"
,
option
);
fprintf
(
stderr
,
"
O
ption argument =
\"
%s
\"\n
"
,
option
);
#endif
/* Make sure the option argument is a valid multibyte string. */
if
(
!
is_valid_mbstring
(
option
))
{
...
...
@@ -1191,10 +1192,6 @@ void parse_rcfile(FILE *rcstream
free
(
option
);
}
else
assert
(
FALSE
);
#ifdef DEBUG
fprintf
(
stderr
,
"flag = %ld
\n
"
,
rcopts
[
i
].
flag
);
#endif
}
#ifndef DISABLE_COLOR
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help