1. 07 Mar, 2018 1 kayıt (commit)
  2. 25 Ock, 2018 1 kayıt (commit)
  3. 12 Ock, 2018 1 kayıt (commit)
  4. 07 Ara, 2017 1 kayıt (commit)
  5. 24 Eki, 2017 1 kayıt (commit)
  6. 25 Eyl, 2017 1 kayıt (commit)
  7. 17 Eyl, 2017 1 kayıt (commit)
  8. 29 Agu, 2017 1 kayıt (commit)
  9. 21 Agu, 2017 1 kayıt (commit)
    • Stephan Bergmann's avatar
      Make cpp cope with long source lines · dac11d8d
      Stephan Bergmann yazdı
      under --with-lang=ALL it had started to crash during e.g.
      
      > LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}".../instdir/program:.../instdir/program" .../workdir/LinkTarget/Executable/cpp -+ -P -DWITH_POSTGRESQL_SDBC -DWITH_FIREBIRD_SDBC -DWITHOUT_EXTENSION_MEDIAWIKI -DWITHOUT_SCRIPTING_BEANSHELL -DWITHOUT_SCRIPTING_JAVASCRIPT -DWITH_HELPPACK_INTEGRATION -DWITH_EXTENSION_INTEGRATION -DENABLE_EXTENSION_UPDATE -DX86_64 -DLINUX -D_PTHREADS -DUNIX -DUNX -DCOMID=gcc3 -D_gcc3 -DWITH_LPSOLVER -I.../scp2/inc -I.../workdir -I.../config_host -I.../workdir/CustomTarget/scp2/macros -I.../workdir/ScpTemplateTarget/scp2/source/templates .../scp2/source/calc/file_calc.scp > .../workdir/ScpPreprocessTarget/scp2/source/calc/file_calc.pre
      
      because of
      
      > Syscall param read(buf) points to unaddressable byte(s)
      >    at 0x4F31A80: __read_nocancel (syscall-template.S:84)
      >    by 0x404F98: fillbuf (_lex.c:631)
      >    by 0x404CCF: gettokens (_lex.c:479)
      >    by 0x400F0A: process (_cpp.c:77)
      >    by 0x400E80: main (_cpp.c:60)
      >  Address 0x5278494 is 0 bytes after a block of size 32,772 alloc'd
      >    at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
      >    by 0x402034: domalloc (_cpp.c:321)
      >    by 0x40554F: setsource (_lex.c:679)
      >    by 0x403E38: doinclude (_include.c:130)
      >    by 0x401F9D: control (_cpp.c:297)
      >    by 0x401002: process (_cpp.c:101)
      >    by 0x400E80: main (_cpp.c:60)
      
      There appears to be no other check that fillbuf doesn't overflow the Source's
      input buffer, other than gettokens checking that the buffer isn't more than
      three quarters full ("if (ip >= s->inb + (3 * INS / 4)) ...").  That smells like
      cpp assumes input lines to be shorter than some maximum number of characters
      (like the C99 standard setting a minimum limit of "4095 characters in logical
      source lines"), and
      
      > #define README_TXT_ALL_LANG(key, name, ext) \
      > 	key (af) = READMETXTFILENAME(name,_af,ext); \
      > 	Name (am) = CONFIGLANGFILENAME(name,am,ext); \
      > 	Name (ar) = CONFIGLANGFILENAME(name,ar,ext); \
      [...]
      > 	Name (zh-CN) = CONFIGLANGFILENAME(name,zh-CN,ext); \
      > 	Name (zh-TW) = CONFIGLANGFILENAME(name,zh-TW,ext); \
      > 	key (zu) = READMETXTFILENAME(name,_zu,ext)
      
      in workdir/CustomTarget/scp2/macros/langmacros.inc (which appears to be the
      culprit here) exceeding that limit under --with-lang=ALL.
      
      So just bump the input buffer size.
      
      Change-Id: I5d863050fb772dc7e691a604009ff8702dc718e3
      dac11d8d
  10. 14 Agu, 2017 1 kayıt (commit)
  11. 10 Agu, 2017 1 kayıt (commit)
  12. 21 Tem, 2017 1 kayıt (commit)
  13. 06 Tem, 2017 1 kayıt (commit)
  14. 03 Tem, 2017 1 kayıt (commit)
  15. 21 Haz, 2017 1 kayıt (commit)
  16. 23 Mar, 2017 1 kayıt (commit)
  17. 22 Mar, 2017 2 kayıt (commit)
  18. 19 Mar, 2017 1 kayıt (commit)
  19. 06 Mar, 2017 1 kayıt (commit)
  20. 26 Ock, 2017 1 kayıt (commit)
  21. 09 Ock, 2017 1 kayıt (commit)
  22. 23 Haz, 2016 1 kayıt (commit)
  23. 10 Nis, 2016 1 kayıt (commit)
  24. 10 Mar, 2016 2 kayıt (commit)
  25. 04 Mar, 2016 2 kayıt (commit)
    • Stephan Bergmann's avatar
      -Werror,-Wundef · c665a1bc
      Stephan Bergmann yazdı
      For MSVC/clang-cl: "__STDC__: Indicates conformance with the ANSI/ISO C99
      tandard. Defined as the integer literal constant 1 only if the /Za compiler
      option is given and you are not compiling C++ code; otherwise is undefined."
      (<https://msdn.microsoft.com/en-us/library/b0084kay.aspx>)
      
      Presumably fine to just replace #if with #ifdef here (as is used in all the
      other cases surrounding it), and not care whether it actually expands to true.
      
      Change-Id: Ie58c76d7e72321b06a11a370fd28221e85fcf871
      c665a1bc
    • Stephan Bergmann's avatar
      -Werror,-Wunused-macros · cd8e720b
      Stephan Bergmann yazdı
      Whatever those _POSIX_ for _MSV_VER were supposed to be good for (have been in
      there at least ever since 4f4b7415 "Moved cpp
      from cpp to soltools"), but cause -Wunused-macros at least when building with
      clang-cl.
      
      Change-Id: I356bf663cd1e86298ba72a179f46bb9d0c10016b
      cd8e720b
  26. 23 Şub, 2016 1 kayıt (commit)
  27. 17 Şub, 2016 1 kayıt (commit)
  28. 16 Şub, 2016 1 kayıt (commit)
  29. 26 Ock, 2016 1 kayıt (commit)
  30. 10 Ock, 2016 1 kayıt (commit)
  31. 23 Kas, 2015 1 kayıt (commit)
  32. 10 Kas, 2015 2 kayıt (commit)
  33. 02 Eki, 2015 1 kayıt (commit)
  34. 30 Eyl, 2015 1 kayıt (commit)
  35. 04 Tem, 2015 1 kayıt (commit)
  36. 16 Haz, 2015 1 kayıt (commit)