Bug 2156 - SMB_STRUCT_STAT
Summary: SMB_STRUCT_STAT
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.8
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 04:46 UTC by Marek 'marx' Grac
Modified: 2005-02-17 10:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek 'marx' Grac 2004-12-14 04:46:21 UTC
Hi,

There is a problem with definition of SMB_STRUCT_STAT. I have VFS module which
includes this:

#include <stdio.h>
#include <ibase.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include "includes.h"

then size of SMB_STRUCT_STAT is 88 and dir on share is:
  .                                   D        0  Tue Jul 23 02:00:00 2002
  ..                                  D        0  Tue Jul 23 02:00:00 2002
  ahoj                                  17592186352456  Thu Jan  1 01:02:36 1970
  frufru.mp3                            17592186352456  Thu Jan  1 01:02:36 1970

after I move "includes.h" to the first place, then it works correctly. I believe
that it should work correctly even if it is placed last.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-17 10:07:22 UTC
I would classify this as a bug in your vfs module unless 
you can help me understand why this would be our bug ?
A patch would be nice.  Thanks.