-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backend code ignores backends after hitting broken symbolic link #1953
Comments
CUPS.org User: ecatmur The problem is in cupsDirRead: do
} /*
It returns NULL, indicating error reading directory or end of directory, if the stat fails. It should instead just loop to the next dirent. |
CUPS.org User: ecatmur cupsDirRead-dont-end-on-failed-stat.patch Suggested patch. |
CUPS.org User: mike Fixed in Subversion repository. |
"cupsDirRead-dont-end-on-failed-stat.patch": --- cups/dir.c 2006/09/03 08:53:52 1.1
- strlcpy(dp->entry.filename, entry->d_name, sizeof(dp->entry.filename));
/*
|
"str1953.patch": Index: dir.c--- dir.c (revision 5922)
|
Version: 1.2.2
CUPS.org User: ecatmur
lpinfo -v was not listing parallel ports.
/usr/libexec/cups/backends contained two broken symlinks. After deleting the broken symlinks, lpinfo -v listed the parallel ports.
The text was updated successfully, but these errors were encountered: