Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/runtime/c-libs/posix-io/read.c
ViewVC logotype

Diff of /sml/trunk/src/runtime/c-libs/posix-io/read.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3, Sat Oct 4 23:33:46 1997 UTC revision 8, Sun Jan 18 01:01:29 1998 UTC
# Line 28  Line 28 
28      vec = ML_AllocString (msp, nbytes);      vec = ML_AllocString (msp, nbytes);
29      n = read (fd, PTR_MLtoC(char, vec), nbytes);      n = read (fd, PTR_MLtoC(char, vec), nbytes);
30      if (n < 0)      if (n < 0)
31          return RaiseSysError(msp, NIL(char *));          return RAISE_SYSERR(msp, n);
32    
33      if (n < nbytes) {      if (n < nbytes) {
34        /* we need to correct the length in the descriptor */        /* we need to correct the length in the descriptor */

Legend:
Removed from v.3  
changed lines
  Added in v.8

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0