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
2583d6d7
Commit
2583d6d7
authored
May 04, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(xmalloc): Declare it to return long *.
parent
0404b62c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib-src/movemail.c
lib-src/movemail.c
+3
-3
No files found.
lib-src/movemail.c
View file @
2583d6d7
...
...
@@ -116,7 +116,7 @@ void error ();
void
pfatal_with_name
();
void
pfatal_and_delete
();
char
*
concat
();
char
*
xmalloc
();
long
*
xmalloc
();
int
popmail
();
int
pop_retr
();
int
mbx_write
();
...
...
@@ -430,11 +430,11 @@ concat (s1, s2, s3)
/* Like malloc but get fatal error if memory is exhausted. */
char
*
long
*
xmalloc
(
size
)
unsigned
size
;
{
char
*
result
=
(
char
*
)
malloc
(
size
);
long
*
result
=
(
long
*
)
malloc
(
size
);
if
(
!
result
)
fatal
(
"virtual memory exhausted"
,
0
);
return
result
;
...
...
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