system.pp 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time librar~y.
  4. Copyright (c) 2000 by Marco van de Voort
  5. member of the Free Pascal development team.
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. { These things are set in the makefile, }
  13. { But you can override them here.}
  14. { If you use an aout system, set the conditional AOUT}
  15. { $Define AOUT}
  16. Unit {$ifdef VER1_0}SysBSD{$else}System{$endif};
  17. Interface
  18. {$I sysunixh.inc}
  19. Implementation
  20. {$I sysunix.inc}
  21. {
  22. $Log$
  23. Revision 1.1 2000-10-15 08:19:48 peter
  24. * system unit rename for 1.1 branch
  25. Revision 1.2 2000/09/18 13:42:35 marco
  26. * FreeBSD support into 1.1
  27. Revision 1.1.2.1 2000/09/16 11:19:08 marco
  28. * Moved files from BSD to FreeBSD directory, with some small changes
  29. Revision 1.1.2.4 2000/09/16 11:10:43 marco
  30. * Introduced using sysunix and sysunixh
  31. Revision 1.1.2.3 2000/09/10 16:12:40 marco
  32. The rearrangement to linux for
  33. Revision 1.1.2.2 2000/08/05 18:33:29 peter
  34. * paramstr(0) fix for linux 2.0 kernels
  35. Revision 1.1.2.1 2000/07/14 07:33:15 michael
  36. + Fixed do_open call. Directory checking must not be performed
  37. Revision 1.1 2000/07/13 06:30:54 michael
  38. + Initial import
  39. Revision 1.49 2000/07/08 18:02:39 peter
  40. * do_open checks for directory, if directory then ioerror 2
  41. Revision 1.48 2000/06/30 22:14:03 peter
  42. * removed obsolete crtlib code
  43. * support EINTR for read/write to restart the syscall
  44. Revision 1.47 2000/05/11 17:55:13 peter
  45. * changed order of fpustate checking to first check the more
  46. specific states
  47. Revision 1.46 2000/05/08 14:27:36 peter
  48. * released newsignal
  49. * newsignal gives now better backtraces using the sigcontext eip/ebp
  50. fields
  51. Revision 1.45 2000/04/16 16:07:58 marco
  52. * BSD fixes
  53. Revision 1.44 2000/04/14 13:04:53 marco
  54. * Merged bsd/syslinux.pp and 1.43 linux/syslinux.pp to this file with ifdefs
  55. Revision 1.43 2000/04/07 14:56:36 peter
  56. * switch to direct asm if not correctfldcw defined
  57. Revision 1.42 2000/03/31 23:26:32 pierre
  58. * FPU needs reset for all SIGFPE even from integer division by zero
  59. Revision 1.41 2000/03/31 23:21:19 pierre
  60. * multiple exception handling works
  61. (for linux only if syslinux is compiled with -dnewsignal)
  62. Revision 1.40 2000/03/31 13:24:28 jonas
  63. * signal handling using sigaction when compiled with -dnewsignal
  64. (allows multiple signals to be received in one run)
  65. Revision 1.39 2000/03/25 12:28:37 peter
  66. * patch for getdir from Pierre
  67. Revision 1.38 2000/03/23 15:24:18 peter
  68. * remove handle check for do_close
  69. Revision 1.37 2000/02/09 16:59:32 peter
  70. * truncated log
  71. Revision 1.36 2000/02/09 12:17:51 peter
  72. * moved halt to system.inc
  73. * syslinux doesn't use direct asm anymore
  74. Revision 1.35 2000/02/08 11:47:09 peter
  75. * paramstr(0) support
  76. Revision 1.34 2000/01/20 23:38:02 peter
  77. * support fm_inout as stdoutput for assign(f,'');rewrite(f,1); becuase
  78. rewrite opens always with filemode 2
  79. Revision 1.33 2000/01/16 22:25:38 peter
  80. * check handle for file closing
  81. Revision 1.32 2000/01/07 16:41:41 daniel
  82. * copyright 2000
  83. Revision 1.31 2000/01/07 16:32:28 daniel
  84. * copyright 2000 added
  85. Revision 1.30 1999/12/01 22:57:31 peter
  86. * cmdline support
  87. Revision 1.29 1999/11/06 14:39:12 peter
  88. * truncated log
  89. Revision 1.28 1999/10/28 09:50:06 peter
  90. * use mmap instead of brk
  91. Revision 1.27 1999/09/10 15:40:35 peter
  92. * fixed do_open flags to be > $100, becuase filemode can be upto 255
  93. Revision 1.26 1999/09/08 16:14:43 peter
  94. * pointer fixes
  95. Revision 1.25 1999/07/28 23:18:36 peter
  96. * closedir fixes, which now disposes the pdir itself
  97. }