The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
svenbarth dcfd734bbf Fix cycling with -dFPC_USE_LIBC on Linux systems to allow usage of FPC Linux programs on OSv.
memchr seems to have a bug on recent Linux systems if the count that is passed in is larger than the buffer (in our specific case the count is -1 to find the 0 byte of \0 terminated strings): the function "randomly" fails to find the byte and returns zero thus leading to for example incorrect parameter handling.

rtl/inc/cgeneric.inc:
  * use rawmemchr on Linux if -1 is passed as count

git-svn-id: trunk@30160 -
2015-03-10 18:34:04 +00:00
compiler Avoid line longer than 255 characters, to be able to edit inside FP IDE 2015-03-10 07:56:18 +00:00
ide Avoid double definition of FPBaseName for powerpc cpu target on i386 2015-03-10 07:52:44 +00:00
installer * regenerated for iphonesim/x86-64 2015-02-23 22:56:41 +00:00
packages fcl-db: mysql: fix return type of function InternalStrToCurrency. Revealed by test: TestSupportBCDFields 2015-03-10 06:42:18 +00:00
rtl Fix cycling with -dFPC_USE_LIBC on Linux systems to allow usage of FPC Linux programs on OSv. 2015-03-10 18:34:04 +00:00
tests * extended bsf/bsr tests with values in which more than one bit is set 2015-03-09 16:48:26 +00:00
utils * updated fpcmake's revision.inc 2015-03-02 12:19:04 +00:00
.gitattributes Add initial support in ARM-embedded for Allwinner A20. 2015-03-08 12:22:57 +00:00
.gitignore * Removed empty tests directory from svn 2014-11-08 15:47:53 +00:00
fpmake_add1.inc
fpmake_proc1.inc
fpmake.pp
Makefile * turn off compiler and utils building for nds 2015-02-26 20:03:29 +00:00
Makefile.fpc * turn off compiler and utils building for nds 2015-02-26 20:03:29 +00:00