Changeset 257
- Timestamp:
- Jun 9, 2009, 12:08:29 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/printing/printing.c
r232 r257 1403 1403 DEBUG(3,("start_background_queue: Starting background LPQ thread\n")); 1404 1404 1405 #ifndef __OS2__ 1405 1406 if (pipe(pause_pipe) == -1) { 1407 #else 1408 // on OS2 we have no select() on pipes, so we use socketpair() instead 1409 if (socketpair(AF_UNIX, SOCK_STREAM,0, pause_pipe) < 0) { 1410 #endif 1406 1411 DEBUG(5,("start_background_queue: cannot create pipe. %s\n", strerror(errno) )); 1407 1412 exit(1); -
branches/samba-3.2.x/source/smbd/password.c
r232 r257 346 346 347 347 vuser->homes_snum = -1; 348 349 #ifdef __OS2__ 350 /* On OS/2 we use drive letters which have a colon. This is also the 351 field separator in master.passwd, so we use a $ instead of a colon 352 for the drive separator, ie e$/user instead of e:/user. This code 353 simply exchanges any $ for a : in the user's homedir */ 354 if (vuser->unix_homedir[1] == '$') 355 vuser->unix_homedir[1] = ':'; 356 #endif 357 348 358 if ( (!vuser->guest) && vuser->unix_homedir && *(vuser->unix_homedir)) { 349 359 int servicenumber = lp_servicenumber(vuser->user.unix_name);
Note:
See TracChangeset
for help on using the changeset viewer.