Index: path.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/path.cc,v
retrieving revision 1.224
diff -u -u -r1.224 path.cc
--- path.cc	13 Jun 2002 03:04:50 -0000	1.224
+++ path.cc	14 Jun 2002 22:24:09 -0000
@@ -1444,16 +1444,20 @@
       goto out_no_chroot_check;
     }
 
-  /* Check if the cygdrive prefix was specified.  If so, just strip
-     off the prefix and transform it into an MS-DOS path. */
-  MALLOC_CHECK;
   if (isproc (pathbuf))
     {
       devn = fhandler_proc::get_proc_fhandler (pathbuf);
       if (devn == FH_BAD)
 	return ENOENT;
+      *flags = MOUNT_BINARY;	/* FIXME: Is this a sensible default for /proc files? */
+      rc = 0;
+      goto out_no_chroot_check;
     }
-  else if (iscygdrive (pathbuf))
+
+  /* Check if the cygdrive prefix was specified.  If so, just strip
+     off the prefix and transform it into an MS-DOS path. */
+  MALLOC_CHECK;
+  if (iscygdrive (pathbuf))
     {
       int n = mount_table->cygdrive_len - 1;
       if (!pathbuf[n] ||
