Changeset 265 for branches/samba-3.3.x/source
- Timestamp:
- Jun 12, 2009, 6:40:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/lib/pidfile.c
r206 r265 96 96 /* Add a suffix to the program name if this is a process with a 97 97 * none default configuration file name. */ 98 99 /* On OS/2, CONFIGFILE will always be different to dyn_CONFIGFILE 100 as dyn_CONFIGFILE dynamically looks up the system ETC directory */ 101 #ifndef __OS2__ 98 102 if (strcmp( CONFIGFILE, get_dyn_CONFIGFILE()) == 0) { 99 103 name = SMB_STRDUP(program_name); … … 112 116 } 113 117 } 114 118 #else 119 name = SMB_STRDUP(program_name); 120 #endif 115 121 if (asprintf(&pidFile, "%s/%s.pid", lp_piddir(), name) == -1) { 116 122 smb_panic("asprintf failed");
Note:
See TracChangeset
for help on using the changeset viewer.