Browse Source

* hmprf, Linux has different ioctls kernel<->libc

marco 21 years ago
parent
commit
401641ae28
2 changed files with 10 additions and 4 deletions
  1. 5 2
      rtl/linux/ossysc.inc
  2. 5 2
      rtl/linux/sysconst.inc

+ 5 - 2
rtl/linux/ossysc.inc

@@ -450,7 +450,7 @@ CONST
 
 
   {Constansts Termios/Ioctl (used in Do_IsDevice) }
   {Constansts Termios/Ioctl (used in Do_IsDevice) }
   {$ifdef PowerPc}
   {$ifdef PowerPc}
-  IOCtl_TCGETS=$403c7413;
+  IOCtl_TCGETS=$402c7413;
   {$else}
   {$else}
   IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this
   IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this
   {$endif}
   {$endif}
@@ -483,7 +483,10 @@ end;
 
 
 {
 {
  $Log$
  $Log$
- Revision 1.17  2004-02-21 15:14:55  marco
+ Revision 1.18  2004-02-21 16:27:29  marco
+  * hmprf, Linux has different ioctls kernel<->libc
+
+ Revision 1.17  2004/02/21 15:14:55  marco
   * ppc ioctl nr fixed
   * ppc ioctl nr fixed
 
 
  Revision 1.16  2004/02/06 15:58:21  florian
  Revision 1.16  2004/02/06 15:58:21  florian

+ 5 - 2
rtl/linux/sysconst.inc

@@ -98,13 +98,16 @@ Const
 
 
   {Constansts Termios/Ioctl (used in Do_IsDevice) }
   {Constansts Termios/Ioctl (used in Do_IsDevice) }
   {$ifdef PowerPC}
   {$ifdef PowerPC}
-  IOCtl_TCGETS=$403c7413;
+  IOCtl_TCGETS=$402c7413;
   {$else}
   {$else}
   IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this
   IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this
   {$endif}
   {$endif}
 {
 {
   $Log$
   $Log$
-  Revision 1.9  2004-02-21 15:14:56  marco
+  Revision 1.10  2004-02-21 16:27:29  marco
+   * hmprf, Linux has different ioctls kernel<->libc
+
+  Revision 1.9  2004/02/21 15:14:56  marco
    * ppc ioctl nr fixed
    * ppc ioctl nr fixed
 
 
   Revision 1.8  2003/11/19 10:56:15  marco
   Revision 1.8  2003/11/19 10:56:15  marco