forked from OpenPrinting/system-config-printer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make inter-process communication with install-printerdriver script mo…
…re reliable For adding package repositories and installing printer driver packages out of them the install-printerdriver script is used. It provided data to the caller from both stderr and stdout. As the data could come out in an unexpected order a buffer could run full (especially with the openprinting-gutenprint package which has a very long file list) and block system-config-printer or make it crash (broken pipe). Now all relevant data (progress and file list) is provided via stdout and only stdout is read. This way the install-printerdriver script works reliably.
- Loading branch information
1 parent
25309c9
commit 830aba4
Showing
2 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters