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/pathconf.c
ViewVC logotype

Diff of /sml/branches/SMLNJ/src/runtime/c-libs/posix-filesys/pathconf.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 52  Line 52 
52      else if (errno == 0)      else if (errno == 0)
53        obj = OPTION_NONE;        obj = OPTION_NONE;
54      else      else
55        obj = RaiseSysError(msp, NIL(char *));          obj = RAISE_SYSERR(msp, val);
56    
57      return obj;      return obj;
58    
# Line 72  Line 72 
72      attr = _ml_posix_nv_lookup (REC_SELPTR(char, arg, 1), values, NUMELMS);      attr = _ml_posix_nv_lookup (REC_SELPTR(char, arg, 1), values, NUMELMS);
73      if (!attr) {      if (!attr) {
74        errno = EINVAL;        errno = EINVAL;
75        return RaiseSysError(msp, NIL(char *));          return RAISE_SYSERR(msp, -1);
76      }      }
77    
78      errno = 0;      errno = 0;
# Line 99  Line 99 
99      attr = _ml_posix_nv_lookup (REC_SELPTR(char, arg, 1), values, NUMELMS);      attr = _ml_posix_nv_lookup (REC_SELPTR(char, arg, 1), values, NUMELMS);
100      if (!attr) {      if (!attr) {
101        errno = EINVAL;        errno = EINVAL;
102        return RaiseSysError(msp, NIL(char *));          return RAISE_SYSERR(msp, -1);
103      }      }
104    
105      errno = 0;      errno = 0;

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