Changeset 591


Ignore:
Timestamp:
Jul 1, 2011, 9:17:44 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.7

Location:
vendor/current
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/WHATSNEW.txt

    r587 r591  
     1
     2
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
    150                   =============================
    251                   Release Notes for Samba 3.5.6
     
    95144
    96145
    97 Release notes for older releases follow:
    98 ----------------------------------------
     146----------------------------------------------------------------------
     147
    99148
    100149                   =============================
  • vendor/current/lib/tevent/tevent_select.c

    r414 r591  
    112112        struct tevent_fd *fde;
    113113
     114
     115
     116
     117
     118
    114119        fde = tevent_common_add_fd(ev, mem_ctx, fd, flags,
    115120                                   handler, private_data,
     
    144149        /* setup any fd events */
    145150        for (fde = select_ev->ev->fd_events; fde; fde = fde->next) {
     151
     152
     153
     154
     155
    146156                if (fde->flags & TEVENT_FD_READ) {
    147157                        FD_SET(fde->fd, &r_fds);
  • vendor/current/lib/tevent/tevent_standard.c

    r414 r591  
    458458        /* setup any fd events */
    459459        for (fde = std_ev->ev->fd_events; fde; fde = fde->next) {
     460
     461
     462
     463
     464
    460465                if (fde->flags & TEVENT_FD_READ) {
    461466                        FD_SET(fde->fd, &r_fds);
  • vendor/current/nsswitch/libwbclient/wbc_async.c

    r414 r591  
    510510        int selret;
    511511
    512         if (fd == -1) {
     512        if (fd ) {
    513513                return true;
    514514        }
  • vendor/current/nsswitch/wb_common.c

    r587 r591  
    245245                        case EINPROGRESS:
    246246                                FD_ZERO(&w_fds);
     247
     248
     249
     250
    247251                                FD_SET(fd, &w_fds);
    248252                                tv.tv_sec = CONNECT_TIMEOUT - wait_time;
     
    392396
    393397                FD_ZERO(&r_fds);
     398
     399
     400
     401
     402
    394403                FD_SET(winbindd_fd, &r_fds);
    395404                ZERO_STRUCT(tv);
     
    452461
    453462                FD_ZERO(&r_fds);
     463
     464
     465
     466
     467
    454468                FD_SET(winbindd_fd, &r_fds);
    455469                ZERO_STRUCT(tv);
  • vendor/current/packaging/RHEL-CTDB/samba.spec

    r587 r591  
    66Packager: Samba Team <[email protected]>
    77Name:         samba
    8 Version:      3.5.6
     8Version:      3.5.
    99Release:      1GITHASH
    1010Epoch:        0
  • vendor/current/packaging/RHEL/makerpms.sh

    r587 r591  
    2121USERID=`id -u`
    2222GRPID=`id -g`
    23 VERSION='3.5.6'
     23VERSION='3.5.'
    2424REVISION=''
    2525SPECFILE="samba.spec"
  • vendor/current/packaging/RHEL/samba.spec

    r587 r591  
    66Packager: Samba Team <[email protected]>
    77Name:         samba
    8 Version:      3.5.6
     8Version:      3.5.
    99Release:      1
    1010Epoch:        0
  • vendor/current/source3/VERSION

    r587 r591  
    2626SAMBA_VERSION_MAJOR=3
    2727SAMBA_VERSION_MINOR=5
    28 SAMBA_VERSION_RELEASE=6
     28SAMBA_VERSION_RELEASE=
    2929
    3030########################################################
  • vendor/current/source3/client/client.c

    r414 r591  
    44214421 again:
    44224422
    4423         if (cli->fd == -1)
     4423        if (cli->fd < 0 || cli->fd >= FD_SETSIZE) {
     4424                errno = EBADF;
    44244425                return;
     4426
    44254427
    44264428        FD_ZERO(&fds);
  • vendor/current/source3/client/dnsbrowse.c

    r414 r591  
    8080                if (fdset != NULL) {
    8181                        TALLOC_FREE(fdset);
     82
     83
     84
     85
     86
    8287                }
    8388
     
    182187                }
    183188
     189
     190
     191
     192
     193
     194
    184195                fdsetsz = howmany(mdnsfd + 1, NFDBITS) * sizeof(fd_mask);
    185196                fdset = TALLOC_ZERO(ctx, fdsetsz);
  • vendor/current/source3/include/version.h

    r587 r591  
    22#define SAMBA_VERSION_MAJOR 3
    33#define SAMBA_VERSION_MINOR 5
    4 #define SAMBA_VERSION_RELEASE 6
    5 #define SAMBA_VERSION_OFFICIAL_STRING "3.5.6"
     4#define SAMBA_VERSION_RELEASE
     5#define SAMBA_VERSION_OFFICIAL_STRING "3.5."
    66#ifdef SAMBA_VERSION_VENDOR_FUNCTION
    77#  define SAMBA_VERSION_STRING SAMBA_VERSION_VENDOR_FUNCTION
  • vendor/current/source3/lib/events.c

    r427 r591  
    5656
    5757        for (fde = ev->fd_events; fde; fde = fde->next) {
     58
     59
     60
     61
     62
     63
     64
     65
    5866                if (fde->flags & EVENT_FD_READ) {
    5967                        FD_SET(fde->fd, read_fds);
  • vendor/current/source3/lib/g_lock.c

    r453 r591  
    392392                        FD_ZERO(r_fds);
    393393                        max_fd = ctdbd_conn_get_fd(conn);
    394                         FD_SET(max_fd, r_fds);
     394                        if (max_fd >= 0 && max_fd < FD_SETSIZE) {
     395                                FD_SET(max_fd, r_fds);
     396                        }
    395397                }
    396398#endif
  • vendor/current/source3/lib/packet.c

    r414 r591  
    108108        fd_set r_fds;
    109109
     110
     111
     112
     113
     114
    110115        FD_ZERO(&r_fds);
    111116        FD_SET(ctx->fd, &r_fds);
  • vendor/current/source3/lib/readline.c

    r414 r591  
    9292                timeout.tv_usec = 0;
    9393
     94
     95
     96
     97
     98
    9499                FD_ZERO(&fds);
    95100                FD_SET(fd,&fds);
  • vendor/current/source3/lib/select.c

    r414 r591  
    7676                }
    7777
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
    7889                /*
    7990                 * These next two lines seem to fix a bug with the Linux
     
    102113                FD_ZERO(readfds2);
    103114        }
     115
    104116        FD_SET(select_pipe[0], readfds2);
    105117
  • vendor/current/source3/lib/util_sock.c

    r414 r591  
    496496
    497497        for (nread=0; nread < mincnt; ) {
     498
     499
     500
     501
     502
    498503                FD_ZERO(&fds);
    499504                FD_SET(fd,&fds);
     
    12361241        for (i=0; i<num_addrs; i++) {
    12371242                sockets[i] = socket(addrs[i].ss_family, SOCK_STREAM, 0);
    1238                 if (sockets[i] < 0)
     1243                if (sockets[i] < 0)
    12391244                        goto done;
    12401245                set_blocking(sockets[i], false);
     
    12851290
    12861291        for (i=0; i<num_addrs; i++) {
    1287                 if (sockets[i] == -1)
     1292                if (sockets[i] < 0 || sockets[i] >= FD_SETSIZE) {
     1293                        /* This cannot happen - ignore if so. */
    12881294                        continue;
     1295
    12891296                FD_SET(sockets[i], &wr_fds);
    12901297                FD_SET(sockets[i], &r_fds);
     
    13061313        for (i=0; i<num_addrs; i++) {
    13071314
    1308                 if (sockets[i] == -1)
     1315                if (sockets[i] < 0 || sockets[i] >= FD_SETSIZE) {
     1316                        /* This cannot happen - ignore if so. */
    13091317                        continue;
     1318
    13101319
    13111320                /* Stevens, Network Programming says that if there's a
  • vendor/current/source3/libaddns/dnssock.c

    r414 r591  
    220220                int fd_ready;
    221221               
     222
     223
     224
     225
     226
    222227                FD_ZERO( &rfds );
    223228                FD_SET( fd, &rfds );
  • vendor/current/source3/libsmb/nmblib.c

    r587 r591  
    10951095        int ret;
    10961096
     1097
     1098
     1099
     1100
     1101
    10971102        FD_ZERO(&fds);
    10981103        FD_SET(fd,&fds);
  • vendor/current/source3/nmbd/nmbd_packets.c

    r414 r591  
    16971697        count *= 4;
    16981698
    1699         if(count > FD_SETSIZE) {
     1699        if(count > FD_SETSIZE) {
    17001700                DEBUG(0,("create_listen_fdset: Too many file descriptors needed (%d). We can \
    17011701only use %d.\n", count, FD_SETSIZE));
     
    17131713
    17141714        /* Add in the lp_socket_address() interface on 137. */
     1715
     1716
     1717
     1718
     1719
     1720
    17151721        FD_SET(ClientNMB,pset);
    17161722        sock_array[num++] = ClientNMB;
     
    17221728        /* Add in the 137 sockets on all the interfaces. */
    17231729        for (subrec = FIRST_SUBNET; subrec; subrec = NEXT_SUBNET_EXCLUDING_UNICAST(subrec)) {
     1730
     1731
     1732
     1733
    17241734                FD_SET(subrec->nmb_sock,pset);
    17251735                sock_array[num++] = subrec->nmb_sock;
    17261736                *maxfd = MAX( *maxfd, subrec->nmb_sock);
    17271737
     1738
     1739
     1740
     1741
    17281742                sock_array[num++] = subrec->nmb_bcast;
    1729                 if (subrec->nmb_bcast != -1) {
    1730                         FD_SET(subrec->nmb_bcast,pset);
    1731                         *maxfd = MAX( *maxfd, subrec->nmb_bcast);
    1732                 }
     1743                FD_SET(subrec->nmb_bcast,pset);
     1744                *maxfd = MAX( *maxfd, subrec->nmb_bcast);
    17331745        }
    17341746
    17351747        /* Add in the lp_socket_address() interface on 138. */
     1748
     1749
     1750
     1751
     1752
    17361753        FD_SET(ClientDGRAM,pset);
    17371754        sock_array[num++] = ClientDGRAM;
     
    17431760        /* Add in the 138 sockets on all the interfaces. */
    17441761        for (subrec = FIRST_SUBNET; subrec; subrec = NEXT_SUBNET_EXCLUDING_UNICAST(subrec)) {
     1762
     1763
     1764
     1765
    17451766                FD_SET(subrec->dgram_sock,pset);
    17461767                sock_array[num++] = subrec->dgram_sock;
    17471768                *maxfd = MAX( *maxfd, subrec->dgram_sock);
    17481769
     1770
     1771
     1772
     1773
    17491774                sock_array[num++] = subrec->dgram_bcast;
    17501775                if (subrec->dgram_bcast != -1) {
     
    18771902#ifndef SYNC_DNS
    18781903        dns_fd = asyncdns_fd();
    1879         if (dns_fd != -1) {
     1904        if (dns_fd ) {
    18801905                FD_SET(dns_fd, &r_fds);
    18811906                maxfd = MAX( maxfd, dns_fd);
  • vendor/current/source3/utils/smbfilter.c

    r587 r591  
    194194               
    195195                FD_ZERO(&fds);
    196                 if (s != -1) FD_SET(s, &fds);
    197                 if (c != -1) FD_SET(c, &fds);
     196                if (s ) FD_SET(s, &fds);
     197                if (c ) FD_SET(c, &fds);
    198198
    199199                num = sys_select_intr(MAX(s+1, c+1),&fds,NULL,NULL,NULL);
     
    268268               
    269269                FD_ZERO(&fds);
     270
     271
     272
    270273                FD_SET(s, &fds);
    271274
  • vendor/current/source3/winbindd/winbindd_dual.c

    r478 r591  
    14611461                FD_ZERO(&r_fds);
    14621462                FD_ZERO(&w_fds);
     1463
     1464
     1465
     1466
     1467
     1468
     1469
    14631470                FD_SET(state.sock, &r_fds);
    14641471                maxfd = state.sock;
Note: See TracChangeset for help on using the changeset viewer.