Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnumeric
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
355
Issues
355
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
ede94cc3
Commit
ede94cc3
authored
Dec 31, 2001
by
Jody Goldberg
Committed by
Jody Goldberg
Dec 31, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick patch.
2001-12-31 Jody Goldberg <jody@gnome.org> * sylk.c (fgets_mac) : quick patch.
parent
e6ad9030
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
plugins/sylk/ChangeLog
plugins/sylk/ChangeLog
+4
-0
plugins/sylk/sylk.c
plugins/sylk/sylk.c
+4
-2
No files found.
plugins/sylk/ChangeLog
View file @
ede94cc3
2001-12-31 Jody Goldberg <jody@gnome.org>
* sylk.c (fgets_mac) : quick patch.
2001-12-31 Jody Goldberg <jody@gnome.org>
* Release 1.0.0
...
...
plugins/sylk/sylk.c
View file @
ede94cc3
...
...
@@ -81,14 +81,16 @@ fgets_mac (char *s, size_t s_len, FILE *f)
{
size_t
read
=
0
;
char
*
orig_s
=
s
;
int
ch
;
s_len
--
;
while
(
!
ferror
(
f
)
&&
!
feof
(
f
)
&&
(
read
<
s_len
))
{
*
s
=
(
char
)
fgetc
(
f
);
if
(
*
s
==
EOF
)
ch
=
fgetc
(
f
);
if
(
ch
==
EOF
)
break
;
*
s
=
(
char
)
ch
;
read
++
;
if
(
*
s
==
'\n'
)
...
...
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