Skip to content

Commit

Permalink
Removed memset to clear buffer; it isn't needed now the real problem
Browse files Browse the repository at this point in the history
(writing ahead of the buffer in paching CRLF) has been fixed.


git-svn-id: https://svn.r-project.org/R/branches/R-uthreads@15403 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
luke committed Aug 10, 2001
1 parent a2a04f8 commit 1e446f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/uthreads.c
Expand Up @@ -682,10 +682,6 @@ static R_code_t replcon_loop_cont_fun(R_code_t code)
rs = (struct replstate_st *) CHAR(EVAL_FRAME_VAR1());

if(*rs->bufp == 0) {
/**** for some reason this seems to be needed on PPC Linuc
then LC_ALL=C. I have no idea why -- LT */
memset(rs->buf, 0, rs->len);

if (rs->prompt_needed) {
char *prompt = R_PromptString(R_BrowseLevel, rs->prompt_type);
R_Busy(0);
Expand Down

0 comments on commit 1e446f9

Please sign in to comment.