dtable.cc (build_fh_pc): serial port handling

Corinna Vinschen cygwin-patches@cygwin.com
Wed Nov 19 11:24:00 GMT 2003


On Thu, Nov 13, 2003 at 08:37:39PM -0500, Christopher Faylor wrote:
> On Wed, Nov 12, 2003 at 01:24:21PM -0600, Brian Ford wrote:
> >2003-11-12  Brian Ford  <ford@vss.fsi.com>
> >
> >	* dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all
> >	serial ports.  Remove redundant FH_CYGDRIVE case since it is
> >	handled by DEV_CYGDRIVE_MAJOR.
> >
> >FYI, this is the reason I am here:
> >
> >http://www.cygwin.com/ml/cygwin/2003-10/msg01750.html
> >
> >He offered to test my tcflush patch, but reported being unable to
> >open /dev/ttyS0 with the cvs compiled Cygwin.
> 
> Reporting that this solved an actual bug would have been useful
> information in the patch.  I was holding off approving this until
> I had a chance to investigate and I'm extremely busy with real
> work this week.
> 
> So, approved and applied.

Today I found out that you accidentally removed both cases, the
DEV_CYGDRIVE_MAJOR and the FH_CYGDRIVE case.  The effect is, that
/cygdrive is not recognized as directory anymore and `ls -l /mnt'
prints something like

  crw-rw-rw-    1 corinna  root      98,   0 Nov 19 12:23 /mnt

I checked in a patch which resurrects the DEV_CYGDRIVE_MAJOR case. 

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list