Changeset 363
- Timestamp:
- Jan 7, 2010, 4:12:19 PM (16 years ago)
- Location:
- branches/samba-3.0/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/dynconfig.c
r169 r363 139 139 * @sa lib_path() to get the path to a file inside the LIBDIR. 140 140 **/ 141 pstring dyn_LIBDIR = LIBDIR; 141 // we try to set the libdir based on the current running process 142 const char* getlibdir() 143 { 144 static pstring buffer = ""; 145 if (!*buffer) 146 { 147 148 if (getenv("SMB_EXE") == NULL) 149 { 150 snprintf(buffer, 260, "%s", LIBDIR); 151 } else { 152 snprintf(buffer, 260, "%s/lib", getenv("SMB_EXE")); 153 } 154 } 155 156 return buffer; 157 } 158 142 159 fstring dyn_SHLIBEXT = SHLIBEXT; 143 160 -
branches/samba-3.0/source/include/dynconfig.h
r1 r363 37 37 #define dyn_SMB_PASSWD_FILE (getsmbpasswd()) 38 38 #define dyn_LMHOSTSFILE (getlmhosts()) 39 #define dyn_LIBDIR (getlibdir()) 39 40 #else 40 41 extern pstring dyn_CONFIGFILE; … … 44 45 extern pstring dyn_SMB_PASSWD_FILE; 45 46 extern pstring dyn_PRIVATE_DIR; 47 extern pstring dyn_LIBDIR; 46 48 #endif /* __OS2__ */ 47 49 extern fstring dyn_SHLIBEXT; 48 extern pstring dyn_LIBDIR;49 50 -
branches/samba-3.0/source/include/version.h
r355 r363 4 4 #define SAMBA_VERSION_RELEASE 37 5 5 #define SAMBA_VERSION_OFFICIAL_STRING "3.0.37" 6 #define SAMBA_VERSION_VENDOR_SUFFIX "eCS 1.0. 3"7 #define SAMBA_VERSION_VENDOR_PATCH 35 46 #define SAMBA_VERSION_VENDOR_SUFFIX "eCS 1.0.x-EA-TEST-DYN" 7 #define SAMBA_VERSION_VENDOR_PATCH 355 8 8 #define SAMBA_VERSION_STRING samba_version_string() -
branches/samba-3.0/source/lib/os2ea.c
r352 r363 382 382 if (pfea->oNextEntryOffset > 0x10000) 383 383 { 384 DEBUG(0, ("Broken Extended Attributes detected for: %s:%d\n", path ? path : "null", file)); 384 // DEBUG(0, ("Broken Extended Attributes detected for: %s:%d\n", path ? path : "null", file)); 385 DEBUG(0, ("Broken Extended Attributes detected for: %s:%d, Last EA:%s\n", path ? path : "null", file, pfea->szName)); 385 386 break; 386 387 }
Note:
See TracChangeset
for help on using the changeset viewer.