1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

68 Commits

Author SHA1 Message Date
Andrew Tridgell
ecc691041c r8749: for completeness, add rewinddir() and dirfd()
(This used to be commit ce022e40908dabad41de276941d2ee7a5739aea4)
2007-10-10 13:30:02 -05:00
Andrew Tridgell
f92c000fc9 r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
are broken (apparently all BSD systems). This breakage leads to unlink
on files in an open directory causing a later seekdir to miss
files. The bug happens due to a block boundary bug in the BSD libc
implementation of these calls.

This replacement code also fixes a severe memory usage problem with
telldir that can cause closedir() to take an arbitrary amount of time.

I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer)
(This used to be commit e1bf7c4279fbc03a52497d24cea375e75059cba1)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
0edd0f43c0 r8710: another attempt at fixing HPUX
(This used to be commit eb3b3c8b407b2208291385539c3379f0420a448e)
2007-10-10 13:29:56 -05:00
Andrew Tridgell
fe6eeeb601 r8698: attempt to cope with lack of strtoull() on HPUX
(This used to be commit c84c516b179fcbbcdb36c0c0aa4ffb4ff12f2c35)
2007-10-10 13:29:55 -05:00
Andrew Tridgell
b484221730 r8580: try to fix the build on stratus
(This used to be commit 58d7a1e6a311c98c9b4dfc9e280b328406165997)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
5c453f5698 r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
(This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
c4173f6725 r8458: next target is irix - this gets the socket wrapper code building
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
af0574378b r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
(This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
2007-10-10 13:23:04 -05:00
Jelmer Vernooij
e151284693 r8437: Win32 doesn't have u_int*_t
(This used to be commit 5b007037dfacc5e13141ca41241543ac11a567b6)
2007-10-10 13:23:02 -05:00
Jelmer Vernooij
84db066207 r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- undefine anything in the win32 api or PSDK headers that Samba already defines
 - map BSD error codes to Winsock Error codes
(This used to be commit d2ea6191259a28a32a1f4ffdff067b1a80e8dcc9)
2007-10-10 13:23:02 -05:00
Andrew Tridgell
2ea372afd9 r8420: slowly getting my way through some more heimdal portability fixes
(This used to be commit 59c3de6ca8b8e153e5cfd67da5f2afc2e23d36db)
2007-10-10 13:23:01 -05:00
Andrew Tridgell
12ed349f90 r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)
(This used to be commit a1ca8352f48cf1942e5a060c79ae1cc78b8a3668)
2007-10-10 13:23:00 -05:00
Andrew Tridgell
72fbfff1a7 r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
(This used to be commit 117d2fa31d3a7e0b37c09979aa41243c564c0385)
2007-10-10 13:23:00 -05:00
Andrew Tridgell
54ffd4fdbf r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with heimdal
(This used to be commit 7d4e309f02cfcef661ebf3bbe9c227938318077c)
2007-10-10 13:20:05 -05:00
Jelmer Vernooij
d5888fbb60 r7866: Remove some unused autoconf macro calls.
Some of these should probably be re-added again later when
we need them. They should then be added to the appropriate config.m4 file
in the source tree rather then in rewrite.m4.
(This used to be commit 4eca613470139f6425f454aea016566f9deffa3e)
2007-10-10 13:18:45 -05:00
Jelmer Vernooij
66a52992ff r7850: Support mkdir() with just one parameter. Patch from
Steven Edwards <steven_ed4153@yahoo.com>.

I've moved the Win32-specific tests to win32.m4 so it does not
make any of the POSIX configure stuff more complicated.
(This used to be commit bf85fdd01552f75b745fdf3159a7a87cd6521ed2)
2007-10-10 13:18:42 -05:00
Andrew Tridgell
bce8cda061 r7352: the internal heimdal build change. This changes quite a few things:
- if you want kerberos now, you need to unpack a lorikeet heimdal
   tree in source/heimdal/. If source/heimdal/ does not exist at
   configure time then all kerberos features are disabled. You cannot
   use an external kerberos library for now. That may change later.

 - moved lib/replace/ config stuff to lib/replace/ and create a
   lib/replace/replace.h. That allows the heimdal build to use our
   portability layer, and prevenets duplicate definitions of functions
   like strlcat()

 - if you do enable heimdal, then you will need to do 'make
   HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once
   I explain the problem to jelmer (the problem is the inability to
   set a depend without also dragging in the object list of the
   dependency. We need this for building the heimdal asn1 compiler and
   et compiler.

 - disabled all of the m4 checks for external kerberos libraries. I
   left them in place in auth/kerberos/, but disabled it in
   configure.in

some of the heimdal_build/ code is still very rough, for example I
don't correctly detect the correct awk, flex, bison replacements for
heimdal_build/build_external.sh. I expect to fix that stuff up over
the next few days.
(This used to be commit d4648249b2c7fc8b5e7c0fc8d8f92ae043b5691f)
2007-10-10 13:17:45 -05:00
Jelmer Vernooij
e4a505192d r7166: Move replacement stuff to seperate directory
(easier to add win32-specific bits later)
Trim LIBBASIC a bit more
(This used to be commit fc7f519e4ae2051e9515df5f549c8e1842b7e70b)
2007-10-10 13:17:22 -05:00