1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

37 Commits

Author SHA1 Message Date
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Simo Sorce
c53c5eca15 compile fix -
Andrew Tridgell
614fd4119c got smbw to compile again on Linux -
Andrew Tridgell
453a822a76 first pass at updating head branch to be to be the same as the SAMBA_2_0 branch -
Tim Potter
d78224a7d2 Return a (void *)0 instead of NULL in readdir64() wrapper. -
Andrew Tridgell
9d863fb168 make sure that apps can't close one of the internal smbw file
descriptors by catching close attempts on those fds and returning
EBADF.
-
Andrew Tridgell
6121f7c8c2 fixed a problem with fchdir() that broke "cvs -d" in smbsh -
Andrew Tridgell
e5ed0e6f96 added some comments -
Andrew Tridgell
d651229ef3 use double for dummy arrays to ensure alignment -
Andrew Tridgell
ab5ed686f8 fixed facl() bug for solaris -
Andrew Tridgell
15aa1b52cd fixed __xstat() under linux -
Andrew Tridgell
96fc2856bc return type cleanups for IRIX -
Andrew Tridgell
fd6a59d8ca yet another attempt at making this stuff portable. This time I use
minimal includes in wrapped.c
-
Andrew Tridgell
6f2239c935 more OSF1 changes as well as changes to allow us to use the standard
includes.h in wrapped.c, thus making porting much simpler
-
Andrew Tridgell
4dbfec81b2 test whether seekdir() returns void or not -
Andrew Tridgell
77aea37bb8 - no getdents on OSF1
- try a new method of handling prototype mismatches in wrapped.c. We
  now try to disable prototypes!
-
Andrew Tridgell
b7ecbca3af added a wrapper for fork()
in a fork we have to close all server connections otherwise we can end
up with two processes writing to the same socket.
-
Andrew Tridgell
b923bb2aae removed unused variable -
Andrew Tridgell
4bacf32755 - fixed errno return in smbw_open()
- updated README a bit
- fixed Linux compilation of utime()
-
Andrew Tridgell
0c8288a72c this gets it compiling under IRIX 6.4. Doesn't work yet though. -
Andrew Tridgell
8aa6c16eeb test for creat64() -
Andrew Tridgell
4379f0fe48 handle systems that are missing either SYS_utime or SYS_utimes -
Andrew Tridgell
541f1c4211 ported smbwrapper to SunOS4. It seems to work. pity so many binaries on
my SunOS box are statically linked.
-
Andrew Tridgell
c185585dd9 need to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn't
work right.
-
Andrew Tridgell
c6ee915336 got rid of all assembly code and gcc special features. I'm hoping to
get smbsh working with the normal sun compiler
-
Andrew Tridgell
9047bf59b4 - added pread pread64 pwrite pwrite64 and open64
- fixed utime() for null tbuf
-
Andrew Tridgell
6a1b346d98 this gets smbwrapper working under Solaris 2.6. Not tested much yet. -
Andrew Tridgell
86b66d9277 don't define creat() under linux until we get the CREAT_BITS stuff
sorted out.
-
Andrew Tridgell
c63ad1b698 we need to use __readdir() in preference to SYS_readdir for systems
that use getdents.
-
Andrew Tridgell
cfc06af0b7 drat. We can't include sys/fcntl.h because that gives
conflicts. Instead use "01101" for O_CREAT|O_WRONLY|O_TRUNC.

uggh.
-
Andrew Tridgell
c4e4508178 more solaris 2.5 fixups. It now seems to be working pretty well. -
Andrew Tridgell
ee349bb329 fixed some stuff for Linux that porting to Solaris broke -
Andrew Tridgell
e5c7cabae4 started basic support for solaris 2.5 in smbwrapper. -
Andrew Tridgell
c5210cb0ff add support for dup() and dup2() -
Andrew Tridgell
83e93d2a44 refuse symlinks to or from a smb path -
Andrew Tridgell
04e92e692e more smbw cleanups.
- cleaned up prototyping. Unfortunately we can't auto-prototype
  wrapped.c because it replaces system functions.
- split stat functions into smbw_stat.c
-
Andrew Tridgell
a59d4e93da simplied the layout of the smbwrapper code. All those 3 line files
were getting unwieldy
-