Mail Archives: cygwin-developers/1998/09/16/02:18:42
Sergey Okhapkin wrote:
> E:\$>bash
> bash-2.01$ cat >aaa
> weqweqweqwe
> bash-2.01$ ln -s aaa bbb
> bash-2.01$ cat bbb
> !<symlink>aaa bash-2.01$
>
--- /winsup/fhandler.cc Tue Sep 15 10:59:02 1998
+++ fhandler.cc Wed Sep 16 11:58:32 1998
@@ -1031,7 +1031,7 @@
syscall_printf ("(%s, %p)", path, flags);
/* O_NOSYMLINK is an internal flag for implementing lstat, nothing more. */
- path_conv real_path (path, !!(flags & O_NOSYMLINK));
+ path_conv real_path (path, !(flags & O_NOSYMLINK));
if (real_path.error &&
(flags & O_NOSYMLINK || real_path.error != ENOENT || !(flags & O_CREAT)))
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
- Raw text -