Hi!
> +static void setup(void)
> +{
> + tst_tmpdir();
> +
> + fd = open(testfile, O_CREAT | O_RDWR);
Sorry for not exposing this earlier. But you should specify mode for
open with O_CREAT. That's part of the open() inteface that is kind of
badly engineered...
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list