mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-13 22:32:33 +02:00
![]() getdir(rawbytestring):rawbytestring so it can accept strings in any encoding and cleanly return results in DefaultRTLFileSystemCodePage + getdir(unicodestring):unicodestring * renamed the getdir implementation of all platforms except for embedded- without-ansistring-support to do_getdir(), and depending on the FPCRTL_FILESYSTEM_SINGLE_BYTE_API/FPCRTL_FILESYSTEM_TWO_BYTE_API define changed its shortstring parameter to ansistring or unicodestring. The do_getdir(rawbytestring) routine should just set the code page of the return value to DefaultFileSystemCodePage without conversion (not DefaultRTLFileSystemCodePage with conversion, that conversion is performed in getdir if necessary; this avoids double conversions in case getdir(unicodestring) is called) + generic getdir(shortstring) for platforms supporting either ansistrings or widestrings o platform maintainers: o OS/2: adjust code to supports paths > 255 characters if those are supported o Wii: adjust used callback to use rawbytestring to support paths > 255 characters and avoid shortstring->rawbytestring conversion overhead o Windows: GetCurrentDirectoryW is now always used (to prevent data loss) git-svn-id: branches/cpstrrtl@24993 - |
||
---|---|---|
.. | ||
scripts | ||
aliasctp.inc | ||
aliasptp.inc | ||
baseunix.pp | ||
bunxh.inc | ||
bunxovl.inc | ||
bunxovlh.inc | ||
classes.pp | ||
clocale.pp | ||
convert.inc | ||
crt.pp | ||
cthreads.pp | ||
ctypes.inc | ||
cwstraix.inc | ||
cwstring.pp | ||
dl.pp | ||
dos.pp | ||
dynlibs.inc | ||
errors.pp | ||
fpmake.inc | ||
genfdset.inc | ||
genfunch.inc | ||
genfuncs.inc | ||
gensigset.inc | ||
initc.pp | ||
ipc.pp | ||
ipccdecl.inc | ||
keyboard.pp | ||
lnfogdb.pp | ||
mouse.pp | ||
oscdecl.inc | ||
oscdeclh.inc | ||
ports.pp | ||
printer.pp | ||
serial.pp | ||
settimeo.inc | ||
sockets.pp | ||
syscall.pp | ||
syscgen.inc | ||
sysdir.inc | ||
sysfile.inc | ||
sysheap.inc | ||
sysunixh.inc | ||
sysutils.pp | ||
terminfo.pp | ||
termiosh.inc | ||
timezone.inc | ||
tthread.inc | ||
ttyname.inc | ||
unix.pp | ||
unixcp.pp | ||
unixsockets.pas | ||
unixtype.pp | ||
unixutil.pp | ||
unxdeclh.inc | ||
unxovl.inc | ||
unxovlh.inc | ||
varutils.pp | ||
video.pp | ||
x86.pp |