[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#482303: luatex: getpwnam() implicitly converted to pointer





dann frazier wrote:
Package: luatex
Version: 0.25.2-1
Severity: important
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
cause your package to segfault on architectures where the size of a
pointer is greater than the size of an integer, such as ia64 and amd64.

  Function `getpwnam' implicitly converted to pointer at ../../../src/texk/kpathsea/tilde.c:103

This is often due to a missing function prototype definition.
For more information, see [2].

luatex provides its own pwd.h file which is getting included instead
of the system pwd.h file and does not include a prototype for
getpwnam(). If the luatex pwd.h file is not available in the include
path, the system one gets properly included:

Thanks, I have come up with a solution where luatex is
using the system-wide pwd.h except while crosscompiling
for win32 (that is what the file was there for).

Best wishes,
Taco




Reply to: