Changeset 755 for trunk/server/source3/lib/pidfile.c
- Timestamp:
- Nov 29, 2012, 3:48:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/lib/pidfile.c
r751 r755 43 43 /* Add a suffix to the program name if this is a process with a 44 44 * none default configuration file name. */ 45 /* On OS/2, CONFIGFILE will always be different to dyn_CONFIGFILE 46 as dyn_CONFIGFILE dynamically looks up the system ETC directory */ 47 #ifndef __OS2__ 45 48 if (strcmp( CONFIGFILE, get_dyn_CONFIGFILE()) == 0) { 46 49 name = SMB_STRDUP(program_name); … … 59 62 } 60 63 } 64 #else 65 name = SMB_STRDUP(program_name); 66 #endif 61 67 62 68 if (asprintf(&pidFile, "%s/%s.pid", lp_piddir(), name) == -1) {
Note:
See TracChangeset
for help on using the changeset viewer.