Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
b73b43ea
Commit
b73b43ea
authored
Dec 07, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6l, 8l: make string buffer big enough for 8 chars (and then some)
Fixes #221. R=ken2
https://golang.org/cl/165086
parent
86c0c54d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/cmd/6l/list.c
src/cmd/6l/list.c
+1
-1
src/cmd/8l/list.c
src/cmd/8l/list.c
+1
-1
No files found.
src/cmd/6l/list.c
View file @
b73b43ea
...
...
@@ -361,7 +361,7 @@ int
Sconv
(
Fmt
*
fp
)
{
int
i
,
c
;
char
str
[
3
0
],
*
p
,
*
a
;
char
str
[
10
0
],
*
p
,
*
a
;
a
=
va_arg
(
fp
->
args
,
char
*
);
p
=
str
;
...
...
src/cmd/8l/list.c
View file @
b73b43ea
...
...
@@ -275,7 +275,7 @@ int
Sconv
(
Fmt
*
fp
)
{
int
i
,
c
;
char
str
[
3
0
],
*
p
,
*
a
;
char
str
[
10
0
],
*
p
,
*
a
;
a
=
va_arg
(
fp
->
args
,
char
*
);
p
=
str
;
...
...
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