Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

Location:
branches/samba-3.2.x/source/printing
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/printing/print_cups.c

    r228 r232  
    389389
    390390        /* Child. */
    391         if (!reinit_after_fork(smbd_messaging_context(), true)) {
     391        close_all_print_db();
     392
     393        if (!reinit_after_fork(smbd_messaging_context(),
     394                        smbd_event_context(), true)) {
    392395                DEBUG(0,("cups_pcap_load_async: reinit_after_fork() failed\n"));
    393396                smb_panic("cups_pcap_load_async: reinit_after_fork() failed");
     
    17111714                ippDelete(response);
    17121715
     1716        if (request) {
     1717                ippDelete(request);
     1718        }
     1719
    17131720        if (language)
    17141721                cupsLangFree(language);
  • branches/samba-3.2.x/source/printing/printfsp.c

    r228 r232  
    2929
    3030NTSTATUS print_fsp_open(connection_struct *conn, const char *fname,
    31                         files_struct *fsp)
     31                        files_struct *fsp, SMB_STRUCT_STAT *psbuf)
    3232{
    3333        int jobid;
    34         SMB_STRUCT_STAT sbuf;
    3534        fstring name;
    3635        NTSTATUS status;
     
    7675        string_set(&fsp->fsp_name,print_job_fname(lp_const_servicename(SNUM(conn)),jobid));
    7776        fsp->wcp = NULL;
    78         SMB_VFS_FSTAT(fsp, &sbuf);
    79         fsp->mode = sbuf.st_mode;
    80         fsp->file_id = vfs_file_id_from_sbuf(conn, &sbuf);
     77        SMB_VFS_FSTAT(fsp, psbuf);
     78        fsp->mode = psbuf->st_mode;
     79        fsp->file_id = vfs_file_id_from_sbuf(conn, psbuf);
    8180
    8281        return NT_STATUS_OK;
  • branches/samba-3.2.x/source/printing/printing.c

    r228 r232  
    14221422                pause_pipe[0] = -1;
    14231423
    1424                 if (!reinit_after_fork(smbd_messaging_context(), true)) {
     1424                if (!reinit_after_fork(smbd_messaging_context(),
     1425                                       smbd_event_context(), true)) {
    14251426                        DEBUG(0,("reinit_after_fork() failed\n"));
    14261427                        smb_panic("reinit_after_fork() failed");
Note: See TracChangeset for help on using the changeset viewer.