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/branches/SMLNJ/src/runtime/c-libs/posix-filesys/stat.c
ViewVC logotype

Diff of /sml/branches/SMLNJ/src/runtime/c-libs/posix-filesys/stat.c

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

revision 7, Sun Jan 18 00:59:30 1998 UTC revision 8, Sun Jan 18 01:01:29 1998 UTC
# Line 95  Line 95 
95      sts = stat(path, &buf);      sts = stat(path, &buf);
96    
97      if (sts < 0)      if (sts < 0)
98        return RaiseSysError(msp, NIL(char*));          return RAISE_SYSERR(msp, sts);
99    
100      return (mkStatRep(msp, &buf));      return (mkStatRep(msp, &buf));
101    
# Line 114  Line 114 
114      sts = fstat(fd, &buf);      sts = fstat(fd, &buf);
115    
116      if (sts < 0)      if (sts < 0)
117        return RaiseSysError(msp, NIL(char*));          return RAISE_SYSERR(msp, sts);
118    
119      return (mkStatRep(msp, &buf));      return (mkStatRep(msp, &buf));
120    
# Line 134  Line 134 
134      sts = lstat(path, &buf);      sts = lstat(path, &buf);
135    
136      if (sts < 0)      if (sts < 0)
137        return RaiseSysError(msp, NIL(char*));          return RAISE_SYSERR(msp, sts);
138    
139      return (mkStatRep(msp, &buf));      return (mkStatRep(msp, &buf));
140    

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

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