samba as a 64 bit app - Was: stdio in smbd

Eric Dirks eric.dirks at
Tue Feb 26 23:18:02 GMT 2002

I've gotten samba compiled as a 64bit app and I think it has "disappeared" the 256 sun stdio problem
(although I only tried a simple test which is not conclusive). I did find at least one structure
alignment problem in the code for share_mode_entry data handling which makes me think that they may
be other similar problems elsewhere.

Has anyone else tried compiling samba as a 64 bit app and is there any data of how stable it should


David Collier-Brown wrote:

> Eric Dirks wrote:
> >
> > Hi Dave:
> >
> > No I'm referring to the limitation in the stdio library. (I've
> > confirmed this by trying an open right after the fopen fails as in
> > the logs from my modifed server below
>         Ok, that isn't fixed in 32-bit systems (we're
>         a bit trapped by cpmpatability), but it
>         disppears in 64-bit apps on 643-bit OSs
> --dave
> --
> David Collier-Brown,           | Always do right. This will gratify
> Performance & Engineering      | some people and astonish the rest.
> Americas Customer Engineering, |                      -- Mark Twain
> (905) 415-2849                 | davecb at

The information contained in this message may be privileged 
and confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any 
reproduction, dissemination or distribution of this 
communication is strictly prohibited. If you have received 
this communication in error, please notify us immediately by 
replying to the message and deleting it from your computer.

Thank you.

More information about the samba-technical mailing list