1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
Andrew Tridgell
9db6c79e90 r5298: - got rid of pstring.h from includes.h. This at least makes it a bit
less likely that anyone will use pstring for new code

 - got rid of winbind_client.h from includes.h. This one triggered a
   huge change, as winbind_client.h was including system/filesys.h and
   defining the old uint32 and uint16 types, as well as its own
   pstring and fstring.
2007-10-10 13:09:38 -05:00
Andrew Tridgell
6f79432fe6 r5296: - only include the tdb headers where they are needed
- removed the u32 hack in events.c as I think this was only needed as
  tdb.h defines u32. Metze, can you check that this hack is indeed no
  longer needed on your suse system?
2007-10-10 13:09:38 -05:00
Andrew Tridgell
e820fca506 r5292: ensure we cleanup the epoll_fd on event context destruction 2007-10-10 13:09:37 -05:00
Stefan Metzmacher
b4928f3ea8 r5284: this is needed on my server
+/* this #undef is needed on my SuSE 9.2 Box with glibc-devel-2.3.3-118 */
+#undef u32

as sys/epoll.h has this:
typedef union epoll_data
{
  void *ptr;
  int fd;
  uint32_t u32;
  uint64_t u64;
} epoll_data_t;

metze
2007-10-10 13:09:36 -05:00
Andrew Tridgell
34e1a3ad78 r5273: fixed another bug in the code that keeps timed events
sorted. Hopefully it really works now :-)
2007-10-10 13:09:35 -05:00
Andrew Tridgell
d89b493aaf r5217: avoid epoll_ctl() if the event flags are already set correctly 2007-10-10 13:09:32 -05:00
Andrew Tridgell
2d7242f2ec r5198: don't consider failure to remove an epoll event as enough reason to
fallback to select(). This can happen in too many situations.
2007-10-10 13:09:30 -05:00
Andrew Tridgell
7f54c8a339 r5197: moved events code to lib/events/ (suggestion from metze) 2007-10-10 13:09:30 -05:00