delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/11/06/03:52:05

From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen)
Subject: B20 patch: Adding error codes
6 Nov 1998 03:52:05 -0800 :
Message-ID: <3642DBEC.279BC723.cygnus.cygwin32.developers@cityweb.de>
Mime-Version: 1.0
To: cygwin32-developers AT cygnus DOT com

The following additional error codes are necessery for
the later patch to fhandler_dev_tape.

Regards,
Corinna

ChangeLog:
Tue Nov 03 00:15:05 1998 Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>

        * errno.cc: Extended errmap array for error codes, used e.g.
        by WinNT tape driver.

---- snip ----
--- errno.cc.orig       Tue Nov 03 00:15:05 1998
+++ errno.cc    Tue Nov 03 00:15:27 1998
@@ -92,6 +92,12 @@ errmap[] =
   X (INVALID_AT_INTERRUPT_TIME,        EINTR),
   X (IO_DEVICE,                        EIO),
   X (NOT_OWNER,                        EPERM),
+  X (END_OF_MEDIA,                     ENOSPC),
+  X (EOM_OVERFLOW,                     ENOSPC),
+  X (BEGINNING_OF_MEDIA,               ESPIPE),
+  X (SETMARK_DETECTED,                 ESPIPE),
+  X (NO_DATA_DETECTED,                 ENOSPC),
+  X (POSSIBLE_DEADLOCK,                EDEADLOCK),
   { 0, NULL, 0}
 };

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019