2024-04-16 04:37 ftp://ftp.de.debian.org/debian/pool/main/e/enscript/enscript_1.6.5.90.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 8cd680b (2024-04-15 22:43:04 +0200) count: 472 418 elapsed-time: 15.0 27.8 head-timing-info: old-timing-info: head results: enscript-1.6.5.90/afmlib/afmtest.c:87:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmtest.c:179:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afm.c:127:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SEPARATOR [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afm.c:696:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afm.c:703:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afm.c:728:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmparse.c:184:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmparse.c:515:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmparse.c:527:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmparse.c:559:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmparse.c:697:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmparse.c:898:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/afmlib/afmtest.c:123:13: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] enscript-1.6.5.90/afmlib/afmtest.c:119:13: note: error is assigned enscript-1.6.5.90/afmlib/afmtest.c:123:13: note: error is overwritten enscript-1.6.5.90/afmlib/afmtest.c:143:39: style: Variable 'cm' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/afmlib/afmtest.c:152:22: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/afmlib/afm.c:127:28: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/afmlib/afm.c:132:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/afmlib/afm.c:138:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/afm.c:734:8: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/afmlib/afm.c:738:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/afm.c:743:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/afm.c:74:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'AFMError {aka unsigned int}'. [invalidPrintfArgType_sint] enscript-1.6.5.90/afmlib/afm.c:751:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] enscript-1.6.5.90/afmlib/afm.c:61:9: style: Variable 'syserr' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/afmlib/afm.c:423:21: style: Variable 'cm' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/afmlib/afm.c:451:21: style: Variable 'tk' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/afmlib/afm.c:462:61: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/afmlib/afm.c:469:34: style: Variable 'cm' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/afmlib/afm.c:515:34: style: Variable 'cm' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/afmlib/afm.c:691:58: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/afmlib/afm.c:701:36: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/afmlib/afm.c:712:40: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/afmlib/afm.c:97:18: style: Variable 'error' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/afmlib/afm.c:244:18: style: Variable 'error' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/compat/alloca.c:119:16: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/alloca.c:153:8: style: union member 'hdr::align' is never used. [unusedStructMember] enscript-1.6.5.90/afmlib/afmparse.c:664:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/afmparse.c:675:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/afmparse.c:682:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/afmparse.c:691:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/afmparse.c:705:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/afmlib/strhash.c:119:40: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/afmlib/afmparse.c:515:3: style:inconclusive: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] enscript-1.6.5.90/afmlib/afmparse.c:590:18: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/compat/xalloc.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/xalloc.c:88:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/xalloc.c:109:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/strtol.c:205:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/strtol.c:370:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/xalloc.c:70:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] enscript-1.6.5.90/compat/xalloc.c:88:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] enscript-1.6.5.90/compat/xalloc.c:109:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] enscript-1.6.5.90/compat/xalloc.c:130:12: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/compat/getopt.c:628:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/bindtextdom.c:206:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/regex.c:5149:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] enscript-1.6.5.90/compat/regex.c:5258:24: debug: Function::addArguments found argument 'end' with varid 0. [varid0] enscript-1.6.5.90/compat/regex.c:5295:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] enscript-1.6.5.90/compat/strtol.c:276:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] enscript-1.6.5.90/compat/strtol.c:269:11: note: Assignment 'end=0', assigned value is 0 enscript-1.6.5.90/compat/strtol.c:278:13: note: Assuming that condition 's==end' is not redundant enscript-1.6.5.90/compat/strtol.c:250:10: note: Assignment 'save=s', assigned value is 0 enscript-1.6.5.90/compat/strtol.c:250:8: note: save is assigned 's' here. enscript-1.6.5.90/compat/strtol.c:276:13: note: Null pointer dereference enscript-1.6.5.90/intl/bindtextdom.c:232:12: style: Local variable 'len' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/bindtextdom.c:204:14: note: Shadowed declaration enscript-1.6.5.90/intl/bindtextdom.c:232:12: note: Shadow variable enscript-1.6.5.90/intl/bindtextdom.c:261:15: style: Local variable 'len' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/bindtextdom.c:204:14: note: Shadowed declaration enscript-1.6.5.90/intl/bindtextdom.c:261:15: note: Shadow variable enscript-1.6.5.90/intl/dgettext.c:52:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/dngettext.c:53:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/finddomain.c:61:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:243:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. enscript-1.6.5.90/intl/finddomain.c:61:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. enscript-1.6.5.90/intl/finddomain.c:61:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:243:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. enscript-1.6.5.90/intl/finddomain.c:61:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. enscript-1.6.5.90/intl/finddomain.c:62:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:244:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. enscript-1.6.5.90/intl/finddomain.c:62:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. enscript-1.6.5.90/intl/finddomain.c:62:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:245:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. enscript-1.6.5.90/intl/finddomain.c:62:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. enscript-1.6.5.90/intl/gettext.c:57:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/getopt.c:721:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/intl/dcigettext.c:547:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msgid [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/loadmsgcat.c:784:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/l10nflist.c:321:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/intl/localcharset.c:124:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/localcharset.c:358:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] enscript-1.6.5.90/intl/localcharset.c:349:24: note: Assignment 'locale=NULL', assigned value is 0 enscript-1.6.5.90/intl/localcharset.c:358:14: note: Condition 'locale==NULL' is always true enscript-1.6.5.90/intl/localealias.c:163:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/localealias.c:159:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/intl/localealias.c:261:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/intl/localealias.c:262:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/intl/localealias.c:175:41: error: Uninitialized variable: &item.value [uninitvar] enscript-1.6.5.90/intl/log.c:113:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/ngettext.c:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/os2compat.c:60:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/loadmsgcat.c:861:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] enscript-1.6.5.90/intl/loadmsgcat.c:791:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. enscript-1.6.5.90/intl/loadmsgcat.c:861:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. enscript-1.6.5.90/intl/loadmsgcat.c:780:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:247:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. enscript-1.6.5.90/intl/loadmsgcat.c:780:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. enscript-1.6.5.90/intl/loadmsgcat.c:781:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:248:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. enscript-1.6.5.90/intl/loadmsgcat.c:781:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. enscript-1.6.5.90/intl/os2compat.c:51:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] plural.y:164:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] plural.c:1160:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] plural.c:1416:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] plural.c:1413:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 plural.c:1414:11: note: Assuming that condition 'yyn<=0' is not redundant plural.c:1416:15: note: Condition 'yyn==0' is always true plural.y:156:21: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:158:52: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:164:96: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:172:71: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:180:72: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:188:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:196:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:204:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:212:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:220:48: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:237:42: style: Same expression on both sides of '-'. [duplicateExpression] enscript-1.6.5.90/compat/regex.c:5156:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/regex.c:5264:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/regex.c:5324:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/xsize.h:60:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/printf-parse.c:165:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/vasnprintf.c:1431:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/printf.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/printf.c:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/printf.c:170:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/dcigettext.c:650:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] enscript-1.6.5.90/intl/dcigettext.c:697:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] enscript-1.6.5.90/intl/dcigettext.c:487:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:80:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. enscript-1.6.5.90/intl/dcigettext.c:487:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. enscript-1.6.5.90/intl/dcigettext.c:487:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:81:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. enscript-1.6.5.90/intl/dcigettext.c:487:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. enscript-1.6.5.90/intl/dcigettext.c:487:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:81:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. enscript-1.6.5.90/intl/dcigettext.c:487:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. enscript-1.6.5.90/intl/dcigettext.c:488:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:82:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. enscript-1.6.5.90/intl/dcigettext.c:488:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. enscript-1.6.5.90/intl/dcigettext.c:488:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:82:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. enscript-1.6.5.90/intl/dcigettext.c:488:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. enscript-1.6.5.90/intl/dcigettext.c:488:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] enscript-1.6.5.90/intl/gettextP.h:83:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. enscript-1.6.5.90/intl/dcigettext.c:488:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. enscript-1.6.5.90/intl/tsearch.c:184:8: style: Local variable 'root' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/dcigettext.c:278:14: note: Shadowed declaration enscript-1.6.5.90/intl/tsearch.c:184:8: note: Shadow variable enscript-1.6.5.90/intl/tsearch.c:284:12: style: Local variable 'root' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/dcigettext.c:278:14: note: Shadowed declaration enscript-1.6.5.90/intl/tsearch.c:284:12: note: Shadow variable enscript-1.6.5.90/intl/tsearch.c:345:12: style: Local variable 'root' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/dcigettext.c:278:14: note: Shadowed declaration enscript-1.6.5.90/intl/tsearch.c:345:12: note: Shadow variable enscript-1.6.5.90/intl/tsearch.c:370:8: style: Local variable 'root' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/dcigettext.c:278:14: note: Shadowed declaration enscript-1.6.5.90/intl/tsearch.c:370:8: note: Shadow variable enscript-1.6.5.90/intl/tsearch.c:620:14: style: Local variable 'root' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/dcigettext.c:278:14: note: Shadowed declaration enscript-1.6.5.90/intl/tsearch.c:620:14: note: Shadow variable enscript-1.6.5.90/intl/tsearch.c:643:14: style: Local variable 'root' shadows outer variable [shadowVariable] enscript-1.6.5.90/intl/dcigettext.c:278:14: note: Shadowed declaration enscript-1.6.5.90/intl/tsearch.c:643:14: note: Shadow variable enscript-1.6.5.90/intl/dcigettext.c:639:10: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/intl/dcigettext.c:1384:25: style: Variable 'domaindata' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/intl/tsearch.c:623:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leaf [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/main.c:979:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/main.c:1859:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/main.c:1885:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/main.c:1905:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/main.c:2000:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/main.c:2636:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/main.c:938:13: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/src/main.c:969:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] enscript-1.6.5.90/src/main.c:972:26: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] enscript-1.6.5.90/src/main.c:977:12: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] enscript-1.6.5.90/src/main.c:1666:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] enscript-1.6.5.90/src/main.c:2052:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/main.c:2310:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/main.c:2202:23: style: Checking if unsigned expression 'lines_per_page' is less than zero. [unsignedLessThanZero] enscript-1.6.5.90/src/main.c:2413:14: style: Checking if unsigned expression 'slice' is less than zero. [unsignedLessThanZero] enscript-1.6.5.90/src/main.c:1553:10: style: Local variable 'cp' shadows outer variable [shadowVariable] enscript-1.6.5.90/src/main.c:930:9: note: Shadowed declaration enscript-1.6.5.90/src/main.c:1553:10: note: Shadow variable enscript-1.6.5.90/src/main.c:1893:27: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/main.c:1897:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/main.c:1994:33: style: Parameter 'argv' can be declared as const array [constParameter] enscript-1.6.5.90/src/mkafmmap.c:148:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/mkafmmap.c:198:10: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/prt_dos.c:60:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/prt_dos.c:120:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/prt_dos.c:59:11: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] enscript-1.6.5.90/src/psgen.c:292:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:736:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNITS_PER_POINT [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:1211:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:1893:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:2384:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:2569:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:2653:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:2795:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/psgen.c:2812:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/intl/vasnprintf.c:4645:3: style: Label 'overflow' is not used. [unusedLabel] enscript-1.6.5.90/intl/vasnprintf.c:4215:12: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] gram.y:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_stmts [valueFlowBailoutIncompleteVar] gram.y:216:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gram.c:1337:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gram.c:1588:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] gram.c:1585:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 gram.c:1586:11: note: Assuming that condition 'yyn<=0' is not redundant gram.c:1588:15: note: Condition 'yyn==0' is always true gram.y:104:45: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:132:55: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:174:32: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:181:67: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:188:55: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:209:67: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:216:55: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:223:39: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:230:64: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:244:55: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:285:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:293:97: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:301:75: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:310:19: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:325:51: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:333:51: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:341:52: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:349:49: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:357:51: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:365:48: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:373:73: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:380:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:395:76: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:403:79: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:411:79: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:419:79: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:427:79: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:451:54: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:459:54: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:468:19: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:491:19: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:498:74: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:505:73: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:512:74: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:519:75: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:527:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:534:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:541:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:548:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:555:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:562:72: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:576:33: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:590:32: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:597:67: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:604:55: style: Same expression on both sides of '-'. [duplicateExpression] gram.y:214:12: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] lex.c:774:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lex.c:1326:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lex.c:1510:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lex.c:1657:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lex.c:1895:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lex.l:155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lex.l:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linenum [valueFlowBailoutIncompleteVar] lex.l:326:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linenum [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:134:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:453:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:483:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:613:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:837:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:869:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AFM_ENCODE_ACCEPT_COMPOSITES [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:1068:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AFM_SUCCESS [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:1391:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:1705:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SEPARATOR [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:1736:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:1824:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:1945:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/src/util.c:2006:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lex.c:1174:16: style: Condition 'yywrap()' is always true [knownConditionTrueFalse] lex.c:1174:16: note: Calling function 'yywrap' returns 1 lex.c:1174:16: note: Condition 'yywrap()' is always true lex.c:1509:17: style: Condition 'yywrap()' is always true [knownConditionTrueFalse] lex.c:1509:17: note: Calling function 'yywrap' returns 1 lex.c:1509:17: note: Condition 'yywrap()' is always true lex.c:1292:27: warning: Possible null pointer dereference: b [nullPointer] lex.c:1289:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 lex.c:1292:27: note: Null pointer dereference lex.c:1294:9: warning: Possible null pointer dereference: b [nullPointer] lex.c:1289:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 lex.c:1294:9: note: Null pointer dereference lex.c:1661:2: warning: Possible null pointer dereference: b [nullPointer] lex.c:1550:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lex.c:1661:2: note: Null pointer dereference lex.c:1662:2: warning: Possible null pointer dereference: b [nullPointer] lex.c:1550:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lex.c:1662:2: note: Null pointer dereference lex.c:1326:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] lex.c:1326:3: note: c is initialized lex.c:1326:3: note: c is overwritten lex.c:1402:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lex.c:357:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.c:1402:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.c:1425:49: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lex.c:629:38: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.c:1425:49: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.c:1846:48: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lex.c:310:47: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.c:1846:48: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.c:1859:48: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lex.c:311:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.c:1859:48: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.c:1859:62: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lex.c:311:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.c:1859:62: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.c:1991:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. [funcArgNamesDifferent] lex.c:595:23: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.c:1991:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.c:1239:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lex.c:1440:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lex.c:1859:48: style: Parameter 'yybytes' can be declared as pointer to const [constParameterPointer] lex.c:1893:43: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/compat/regex.c:147:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] enscript-1.6.5.90/compat/regex.c:2115:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] enscript-1.6.5.90/compat/regex.c:3134:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] enscript-1.6.5.90/compat/regex.c:3322:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] enscript-1.6.5.90/compat/regex.c:3322:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/compat/regex.c:4420:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] enscript-1.6.5.90/compat/regex.c:4420:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/compat/regex.c:4485:23: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] enscript-1.6.5.90/compat/regex.c:4574:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] enscript-1.6.5.90/compat/regex.c:4574:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/compat/regex.c:4631:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] enscript-1.6.5.90/compat/regex.c:4631:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/compat/regex.c:4851:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] enscript-1.6.5.90/compat/regex.c:4851:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/compat/regex.c:4864:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] enscript-1.6.5.90/compat/regex.c:4864:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] enscript-1.6.5.90/states/main.c:184:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/states/main.c:187:13: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/states/main.c:249:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/states/main.c:370:12: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/states/main.c:345:8: style: Variable 'data' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/main.c:369:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:469:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/states/prims.c:492:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/compat/regex.c:1907:26: error: Memory leak: compile_stack.stack [memleak] enscript-1.6.5.90/compat/regex.c:5656:9: error: Memory leak: regs.start [memleak] enscript-1.6.5.90/compat/regex.c:5656:9: error: Memory leak: regs.end [memleak] enscript-1.6.5.90/states/prims.c:93:12: style: Parameter 'prim_name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/prims.c:97:12: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/prims.c:118:1: style: Parameter 'prim_name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/prims.c:240:1: style: Parameter 'prim_name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/prims.c:328:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:405:1: style: Parameter 'prim_name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/prims.c:482:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:574:1: style: Parameter 'prim_name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/prims.c:891:1: style: Parameter 'prim_name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/prims.c:896:10: style: Variable 'state' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:990:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:1113:9: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:1113:15: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:1211:9: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:1211:15: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/prims.c:1304:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:4808:13: style: Variable 'reg_dummy[this_reg]' is reassigned a value before the old one has been used. [redundantAssignment] enscript-1.6.5.90/compat/regex.c:4808:13: note: reg_dummy[this_reg] is assigned enscript-1.6.5.90/compat/regex.c:4808:13: note: reg_dummy[this_reg] is overwritten enscript-1.6.5.90/states/process.c:120:10: style: Redundant initialization for 'result'. The initialized value is overwritten before it is read. [redundantInitialization] enscript-1.6.5.90/states/process.c:105:16: note: result is initialized enscript-1.6.5.90/states/process.c:120:10: note: result is overwritten enscript-1.6.5.90/states/utils.c:1346:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/states/utils.c:1381:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SEPARATOR [valueFlowBailoutIncompleteVar] enscript-1.6.5.90/states/utils.c:1381:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/states/utils.c:835:14: style: Local variable 'i' shadows outer variable [shadowVariable] enscript-1.6.5.90/states/utils.c:795:7: note: Shadowed declaration enscript-1.6.5.90/states/utils.c:835:14: note: Shadow variable enscript-1.6.5.90/states/utils.c:881:14: style: Local variable 'c' shadows outer variable [shadowVariable] enscript-1.6.5.90/states/utils.c:791:9: note: Shadowed declaration enscript-1.6.5.90/states/utils.c:881:14: note: Shadow variable enscript-1.6.5.90/states/utils.c:218:12: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:432:12: style: Parameter 'super' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:469:12: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:492:12: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:593:12: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:628:12: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:836:10: style: Variable 'stmts' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/states/utils.c:1334:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:1365:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/states/utils.c:842:10: style: Variable 'stmts' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/w32/getpwd.c:74:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/compat/regex.c:2999:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] enscript-1.6.5.90/compat/regex.c:3002:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] enscript-1.6.5.90/compat/regex.c:3070:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] enscript-1.6.5.90/compat/regex.c:1929:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:1944:16: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2037:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2062:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2076:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2086:11: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2098:6: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2104:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2112:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2385:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2415:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2459:21: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2475:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2503:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2590:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2609:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2705:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2713:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2720:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2726:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2732:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2738:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2744:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2750:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2768:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2816:8: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2820:4: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:2838:5: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:3041:23: style: Parameter 'translate' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/compat/regex.c:3473:18: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:3474:30: style: Variable 'translate' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:3773:18: style: Variable 'just_past_start_mem' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:4804:28: style: Variable 'pdummy' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/compat/regex.c:5385:24: style: Parameter 'translate' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/compat/regex.c:3109:12: style: Variable 'num_regs' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/compat/regex.c:4808:13: style: Variable 'sdummy' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/compat/regex.c:4808:13: style: Variable 'pdummy' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/src/psgen.c:293:8: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/src/psgen.c:2223:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/psgen.c:2229:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/psgen.c:2256:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/psgen.c:2262:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/psgen.c:2832:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/psgen.c:387:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2049:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2049:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2049:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2054:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2054:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2054:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2099:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2103:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2118:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2118:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2132:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2132:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2149:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2175:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2291:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2759:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:2837:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/psgen.c:1236:11: style: Local variable 'i' shadows outer variable [shadowVariable] enscript-1.6.5.90/src/psgen.c:1207:7: note: Shadowed declaration enscript-1.6.5.90/src/psgen.c:1236:11: note: Shadow variable enscript-1.6.5.90/src/psgen.c:283:9: style: Variable 'ps_version_string' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/psgen.c:553:21: style: Parameter 'fname_arg' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/psgen.c:2025:9: style: Variable 'cstr' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/psgen.c:2631:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/psgen.c:135:13: style: union member 'Anonymous0::bgcolor' is never used. [unusedStructMember] enscript-1.6.5.90/src/psgen.c:446:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/src/psgen.c:449:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/src/psgen.c:561:18: style: Variable 'page_clear' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/src/psgen.c:1607:10: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/src/psgen.c:2386:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] enscript-1.6.5.90/src/util.c:126:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:133:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:139:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:146:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:152:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:158:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:165:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:172:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:179:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:191:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:198:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:207:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:219:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:225:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:231:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:237:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:244:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:254:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:258:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:262:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:266:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:270:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:274:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:278:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:286:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:293:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:300:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:307:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:314:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:320:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:326:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:333:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:340:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:346:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:353:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:360:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:366:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:373:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:380:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:387:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:393:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:399:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:406:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:413:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:420:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:426:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:434:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:566:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:573:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] enscript-1.6.5.90/src/util.c:727:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/src/util.c:735:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/util.c:784:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/util.c:1363:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/src/util.c:1427:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/util.c:1444:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/util.c:1618:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] enscript-1.6.5.90/src/util.c:1661:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/util.c:1705:28: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/util.c:1710:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] enscript-1.6.5.90/src/util.c:1794:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] enscript-1.6.5.90/src/util.c:1493:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/util.c:1495:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/util.c:1595:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/util.c:1602:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/util.c:1628:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] enscript-1.6.5.90/src/util.c:99:10: style: Local variable 'fname' shadows outer variable [shadowVariable] enscript-1.6.5.90/src/gsint.h:342:14: note: Shadowed declaration enscript-1.6.5.90/src/util.c:99:10: note: Shadow variable enscript-1.6.5.90/src/util.c:611:9: style: Local variable 'name' shadows outer argument [shadowArgument] enscript-1.6.5.90/src/util.c:513:19: note: Shadowed declaration enscript-1.6.5.90/src/util.c:611:9: note: Shadow variable enscript-1.6.5.90/src/util.c:1060:10: style: Local variable 'fname' shadows outer variable [shadowVariable] enscript-1.6.5.90/src/gsint.h:342:14: note: Shadowed declaration enscript-1.6.5.90/src/util.c:1060:10: note: Shadow variable enscript-1.6.5.90/src/util.c:96:20: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:96:32: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:101:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/util.c:449:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:475:34: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:716:24: style: Parameter 'spec_a' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:1316:27: style: Parameter 'context_name' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:1316:47: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:1702:9: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/util.c:1729:20: style: Parameter 'path' can be declared as pointer to const. However it seems that 'file_lookup' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] enscript-1.6.5.90/src/util.c:526:27: note: You might need to cast the function pointer here enscript-1.6.5.90/src/util.c:1729:20: note: Parameter 'path' can be declared as pointer to const enscript-1.6.5.90/src/util.c:1758:20: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:1760:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/util.c:1762:18: style: Variable 'pswd' can be declared as pointer to const [constVariablePointer] enscript-1.6.5.90/src/util.c:1816:20: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:1871:43: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:2099:22: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:2118:21: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] enscript-1.6.5.90/src/util.c:2125:21: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] diff: head enscript-1.6.5.90/afmlib/afm.c:462:61: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] head enscript-1.6.5.90/afmlib/afm.c:696:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afm.c:703:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afm.c:728:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afm.c:74:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'AFMError {aka unsigned int}'. [invalidPrintfArgType_sint] 2.13.0 enscript-1.6.5.90/afmlib/afm.c:74:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head enscript-1.6.5.90/afmlib/afmparse.c:515:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afmparse.c:527:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afmparse.c:559:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afmparse.c:697:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afmparse.c:898:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/afmlib/afmtest.c:179:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/compat/regex.c:3041:23: style: Parameter 'translate' can be declared as pointer to const [constParameterPointer] head enscript-1.6.5.90/compat/regex.c:5264:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/compat/regex.c:5324:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/compat/strtol.c:370:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/compat/xalloc.c:109:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/compat/xalloc.c:88:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/intl/printf-parse.c:165:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/intl/printf.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/intl/printf.c:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/intl/printf.c:170:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/intl/vasnprintf.c:1431:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/main.c:1859:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/main.c:1885:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/main.c:1905:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/main.c:2000:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/main.c:2636:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/prt_dos.c:120:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:1211:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:1893:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:2384:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:2569:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:2653:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:2795:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:2812:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/psgen.c:736:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNITS_PER_POINT [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:1068:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AFM_SUCCESS [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:1391:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:1705:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SEPARATOR [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:1736:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:1824:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:1945:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:2006:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:453:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:483:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:613:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:837:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/src/util.c:869:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AFM_ENCODE_ACCEPT_COMPOSITES [valueFlowBailoutIncompleteVar] 2.13.0 enscript-1.6.5.90/states/prims.c:118:1: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.13.0 enscript-1.6.5.90/states/prims.c:240:1: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.13.0 enscript-1.6.5.90/states/prims.c:405:1: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] head enscript-1.6.5.90/states/prims.c:492:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] 2.13.0 enscript-1.6.5.90/states/prims.c:574:1: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.13.0 enscript-1.6.5.90/states/prims.c:891:1: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] head enscript-1.6.5.90/states/utils.c:1381:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SEPARATOR [valueFlowBailoutIncompleteVar] head enscript-1.6.5.90/w32/getpwd.c:74:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head gram.y:216:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head lex.c:1326:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head lex.c:1510:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head lex.c:1657:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head lex.c:1895:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head lex.l:155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head lex.l:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linenum [valueFlowBailoutIncompleteVar] head lex.l:326:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linenum [valueFlowBailoutIncompleteVar] head plural.y:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] DONE