Changeset 776


Ignore:
Timestamp:
Jul 11, 2013, 5:58:35 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5: remove removing pid, add an important return

Location:
branches/samba-3.5.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/lib/tdb/common/lock.c

    r647 r776  
    255255                return -1;
    256256        }
     257#endif
    257258        return 0;
    258 #endif
     259
    259260}
    260261
  • branches/samba-3.5.x/source3/smbd/server.c

    r753 r776  
    897897        printing_end();
    898898
    899 #ifdef __OS2__
    900         if (am_parent){
    901                 /* On OS/2 - we need to remove the PID file on server exit otherwise we may not be able to restart Samba */
    902                 char pidFile[1024];
    903                 slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), "smbd");
    904                 unlink(pidFile);
    905         }
    906 #endif
    907899        /*
    908900         * we need to force the order of freeing the following,
Note: See TracChangeset for help on using the changeset viewer.