/[hurd]/hurd/trans/fakeroot.c
ViewVC logotype

Diff of /hurd/trans/fakeroot.c

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

revision 1.4 by roland, Sun May 5 19:31:46 2002 UTC revision 1.5 by roland, Sun May 5 20:26:32 2002 UTC
# Line 336  netfs_attempt_lookup (struct iouser *use Line 336  netfs_attempt_lookup (struct iouser *use
336    
337    flags = O_RDWR|O_EXEC;    flags = O_RDWR|O_EXEC;
338    file = file_name_lookup_under (dirfile, name, flags | O_NOLINK, 0);    file = file_name_lookup_under (dirfile, name, flags | O_NOLINK, 0);
339    if (file == MACH_PORT_NULL && errno == EACCES)    if (file == MACH_PORT_NULL && (errno == EACCES
340                                     || errno == EROFS || errno == EISDIR))
341      {      {
342        flags = O_RDWR;        flags = O_RDWR;
343        file = file_name_lookup_under (dirfile, name, flags | O_NOLINK, 0);        file = file_name_lookup_under (dirfile, name, flags | O_NOLINK, 0);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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