* fhandler_socket.cc (fhandler_socket::fstat): Don't use PC_POSIX.

This commit is contained in:
Corinna Vinschen 2003-09-10 10:01:32 +00:00
parent 7119fc0d0b
commit 136265194d
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-09-10 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::fstat): Don't use PC_POSIX.
2003-09-09 Pierre Humblet <pierre.humblet@ieee.org> 2003-09-09 Pierre Humblet <pierre.humblet@ieee.org>
* shared_info.h: Include security.h. * shared_info.h: Include security.h.

View File

@ -366,8 +366,7 @@ fhandler_socket::fstat (struct __stat64 *buf, path_conv *pc)
int res; int res;
if (get_addr_family () == AF_LOCAL && get_sun_path () && !get_socket_type ()) if (get_addr_family () == AF_LOCAL && get_sun_path () && !get_socket_type ())
{ {
path_conv spc (get_sun_path (), path_conv spc (get_sun_path (), PC_SYM_NOFOLLOW | PC_NULLEMPTY | PC_FULL,
PC_SYM_NOFOLLOW | PC_NULLEMPTY | PC_FULL | PC_POSIX,
NULL); NULL);
fhandler_base *fh = cygheap->fdtab.build_fhandler (-1, FH_DISK, fhandler_base *fh = cygheap->fdtab.build_fhandler (-1, FH_DISK,
get_sun_path (), get_sun_path (),