fpc/rtl/netbsd
Jonas Maebe 598d2feeb6 + rtldefs.inc file for every target that contains defines shared by multiple
RTL units. Comes with a FPCRTL_FILESYSTEM_UTF8 define that can be
    activated for targets whose single byte filesystem interface enforces
    UTF-8; included in inc/systemh.inc and unix/cwstring.pp until now
  + DefaultFileSystemCodePage variable that holds the code page used for
    communicating with the OS single byte file system APIs, and for the
    strings returned by those same APIs. Initialized with
   o the result of GetACP in the system unit of Windows platforms, except for
     WinCE which uses UTF-8 since its file system OS API calls already use
     the UTF-16 versions
   o CP_UTF8 on Unix platforms with FPCRTL_FILESYSTEM_UTF8 defined, and with
     DefaultSystemCodePage on other Unix platforms
   o DefaultSystemCodePage on Java/Android JVM targets
  + DefaultRTLFileSystemCodePage variable that holds the code page used to
    encode strings returned by RTL routines that return filenames obtained
    from OS API calls. By default the same as DefaultFileSystemCodePage on
    all platforms. Separate from DefaultFileSystemCodePage for clarity on
    platforms that may use either utf-16 or single byte OS API calls to
    send/receive file names (such as most Windows platforms)
  + new scpFileSystemSingleByte enum that can be passed to
    GetStandardCodePage() to get the default code page for OS single byte file
    system APIs, with implementations for Unix and Windows
  + SetMultiByteFileSystemCodePage() procedure to override the value of
    DefaultFileSystemCodePage

  In principle, in the long run unchanged programs only using generic
  ansistrings and unicodestrings should (mostly) behave the same as in
  FPC 2.6.0 as far as RTL-level file system APIs are concerned if
  they set DefaultFileSystemCodePage and DefaultRTLFileSystemCodePage
  to DefaultSystemCodePage at the start of their execution

git-svn-id: branches/cpstrrtl@22466 -
2012-09-27 07:54:06 +00:00
..
i386 Add missing .note.netbsd.ident section 2012-03-29 14:05:12 +00:00
powerpc
x86_64 x86_64 subdirectory added 2012-05-23 09:09:46 +00:00
errno.inc Corrected NetBSD system errors 2012-04-18 16:04:01 +00:00
errnostr.inc messages checked 2012-04-19 14:51:43 +00:00
Makefile Regenerated after: Add x86_64 cpu specific units 2012-05-23 09:16:57 +00:00
Makefile.fpc Add x86_64 cpu specific units 2012-05-23 09:13:06 +00:00
pmutext.inc
pthread.inc Changed sem_t to pointer to a anonymous struct as in system header and fixed wrong constant values 2012-04-19 12:52:28 +00:00
ptypes.inc correct TStatFs for netbsd 2012-04-17 15:25:29 +00:00
rtldefs.inc + rtldefs.inc file for every target that contains defines shared by multiple 2012-09-27 07:54:06 +00:00
signal.inc Fix SigContextRec record for x86_64 cpu 2012-09-14 12:06:07 +00:00
syscalls.inc
sysconst.inc
sysctlh.inc
sysnr.inc Define USE_SIGACTION_SIGTRAMP for x86_64 2012-04-24 23:06:22 +00:00
sysofft.inc
systypes.inc
termio.pp
termios.inc
termiosproc.inc * tcflow and tcsendbreak fix for open/net 2012-05-05 20:15:43 +00:00
unixsock.inc
unxconst.inc
unxfunc.inc
unxsockh.inc
unxsysc.inc * Fix typo in last commit 2012-04-08 21:42:20 +00:00