digitalmars.D.bugs - [Issue 24319] New: OpenBSD: Use correct type for file_time
- d-bugmail puremagic.com (19/19) Jan 04 https://issues.dlang.org/show_bug.cgi?id=24319
https://issues.dlang.org/show_bug.cgi?id=24319 Issue ID: 24319 Summary: OpenBSD: Use correct type for file_time Product: D Version: D2 Hardware: x86 OS: Other Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bcallah openbsd.org In https://github.com/dlang/dmd/blob/master/compiler/src/dmd/libmach.d#L488, file_time is a c_long. However, in https://github.com/dlang/dmd/blob/master/compiler/src/dmd/libmach.d#L228, it is assigned from a statbuf.st_ctime, which is a time_t and thus always long on OpenBSD. Fixing the type fixes the build on OpenBSD/i386. --
Jan 04