Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 15:48:32 +1300
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ibcs2 emulation & stat(2)
Message-ID:  <Pine.SGI.4.02.9810151542190.5617-100000@tui.pinnacle.co.nz>

next in thread | raw e-mail | index | archive | help
Hi,

I've encountered an incompatibilty in the ibcs2 emulation which is
somewhat worrying. Running 2.2.7-RELEASE, the following code:

	#include	<stdlib.h>
	#include	<sys/types.h>
	#include	<sys/stat.h>

	main ()
	{
		struct stat	info;

		if (stat (".", &info))
		{
			printf ("Failed!\n");
			return EXIT_FAILURE;
		}
		printf ("inode: %d\n", info.st_ino);
		return EXIT_SUCCESS;
	}

returns different inode-values, when run using COFF binaries (compiled
on SCO OpenServer 5) vs. running a native-compiled binary.

Has anyone encountered this error, with a possible fix? Or do I have
to delve into the ibcs2 LKM code cold?
--
Jonathan Chen            |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
                         |  and a sheep voting on what's for dinner.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.02.9810151542190.5617-100000>