Ticket #34572: patch-source_lib_system_smbd_c.diff

File patch-source_lib_system_smbd_c.diff, 351 bytes (added by ayearout@…, 5 years ago)
  • lib/system_smbd.c

    old new  
    210210        gid_t *groups;
    211211        int i;
    212212
     213#if defined(DARWINOS)
     214        max_grp = 128;
     215#else
    213216        max_grp = MIN(128, groups_max());
     217#endif
    214218        temp_groups = SMB_MALLOC_ARRAY(gid_t, max_grp);
    215219        if (! temp_groups) {
    216220                return False;