https://bugs.freedesktop.org/show_bug.cgi?id=55962

--- Comment #20 from Michael Meeks <[email protected]> ---
Julien - your code pointer is rather interesting; if indeed this is where it
fails in printerinfomanager.cxx:

initialize does:
    psp::getPrinterPathList( aDirList, NULL );
    ...
    for( print_dir_it = aDirList.begin(); print_dir_it != aDirList.end();
++print_dir_it )
    ...
    // now collect all available printers
    for( print_dir_it = aDirList.begin(); print_dir_it != aDirList.end();
++print_dir_it )
    ... add each of aDirList to m_aWatchFiles ...

Then later when it comes to write we do:

writePrinterConfig: does -
    for( ::std::list< WatchFile >::const_iterator wit = m_aWatchFiles.begin();
wit != m_aWatchFiles.end(); ++wit )
    {
        if( checkWriteability( wit->m_aFilePath ) )
        {
            files[ wit->m_aFilePath ] = new Config( wit->m_aFilePath );
            break;

...

I never see m_aWatchFiles extended after init - but - this should point to eg.

1604  openat(AT_FDCWD,
"/home/mervin/.config/libreoffice/3/user/psprint/driver",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 20

which seems to succeed just fine. Most odd.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to