/[hurd]/hurd-l4/libc/hurd-l4/sysdeps/l4/hurd/fxstat64.c
ViewVC logotype

Diff of /hurd-l4/libc/hurd-l4/sysdeps/l4/hurd/fxstat64.c

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

revision 1.1 by marcus, Sun Jan 23 21:30:41 2005 UTC revision 1.2 by marcus, Mon Jan 31 00:41:25 2005 UTC
# Line 41  __fxstat64 (int vers, int fd, struct sta Line 41  __fxstat64 (int vers, int fd, struct sta
41        return -1;        return -1;
42      }      }
43    
44      /* FIXME: This is only here to make our cheesy stdin/stdout/stderr
45         replacement work in line-buffered mode, see
46         libio/filedoalloc.c.  */
47      if (fd == 0 || fd == 1 || fd == 2)
48        {
49          buf->st_mode = S_IFCHR;
50          buf->st_blksize = 0;
51          return 0;
52        }
53    
54    __set_errno (ENOSYS);    __set_errno (ENOSYS);
55    return -1;    return -1;
56  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26