Compilation fails in function reading /etc/mnttab on Solaris
------------------------------------------------------------
Key: CORE-4941
URL: http://tracker.firebirdsql.org/browse/CORE-4941
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 2.5.4
Environment: Solaris 10 U8 x86 Sun studio 12: cc: Sun C 5.9 SunOS_i386
Patch 124868-10 2009/04/30
Reporter: Mariusz Zynel
Compilation is broken because of the typo. In file src/jrd/isc_file.cpp line
1388 (function Mnt::get() for Solaris) reads as follows:
const int n = fscanf(mnt_tab.mtab, "%s %s %s %s %s ", device, mount_point,
type, opts, ftime);
but my guess is it should read:
const int n = fscanf(mtab, "%s %s %s %s %s ", device, mount_point, type, opts,
ftime);
There is an error reported by compiler as unknown mnt_tab in the first
argument.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel