Bug 66931 - kprinter with a non existant file hangs
Summary: kprinter with a non existant file hangs
Status: CLOSED DUPLICATE of bug 93331
Alias: None
Product: kdeprint
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
: 78662 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-30 21:46 UTC by Stephan Kulow
Modified: 2008-12-31 13:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Kulow 2003-10-30 21:46:23 UTC
Version:           Unbekannt (using KDE 3.1.93 (CVS >= 20031028), compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-99-default

I called kprinter public_html/randomtext.txt and forgot I'm not in a directory where such a file
exists :)

Anyway, the code in kdeprint/printwrapper.cpp loops over the given arguments and tries
to reach them and then - if no existant files are there - reads from stdin, which is kind of
suboptimal error handling. I'd expected an error message of some kind.
Comment 1 Michael Goffioul 2004-03-29 16:51:58 UTC
*** Bug 78662 has been marked as a duplicate of this bug. ***
Comment 2 Cristian Tibirna 2005-09-24 05:08:17 UTC

*** This bug has been marked as a duplicate of 93331 ***
Comment 3 John Layt 2008-12-31 13:20:42 UTC
Closing old Resolved status bug.