cvs commit: fptools/libraries/base/cbits rawSystem.c

Simon Marlow simonmar at haskell.org
Wed Sep 1 05:47:35 EDT 2004


simonmar    2004/09/01 02:47:34 PDT

  Modified files:
    libraries/base/cbits rawSystem.c 
  Log:
  Win32 rawSystem: set errno to EINVAL on error.  This is a gross hack,
  but is slightly better than the existing situation (errno not set at
  all, caller tries to report errno and draws a blank).
  
  Microsoft's C runtime has a conversion function from Win32 error codes
  into errno error codes, but it isn't part of the external interface.
  grrrrr.
  
  Strictly speaking, we should have support for Win32 error codes in the
  base package.
  
  Revision  Changes    Path
  1.8       +5 -1      fptools/libraries/base/cbits/rawSystem.c


More information about the Cvs-libraries mailing list