Skip to content
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

cups-driverd complains about missing directories #2777

Closed
michaelrsweet opened this issue Mar 29, 2008 · 2 comments
Closed

cups-driverd complains about missing directories #2777

michaelrsweet opened this issue Mar 29, 2008 · 2 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.3-current
CUPS.org User: mike

The new "make check" test suite has discovered some problems in the cups-driverd program, specifically that it complains about missing directories.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"str2777.patch":

Index: scheduler/cups-driverd.c

--- scheduler/cups-driverd.c (revision 7411)
+++ scheduler/cups-driverd.c (working copy)
@@ -1583,9 +1583,10 @@

if ((dir = cupsDirOpen(drivers)) == NULL)
{

  • fprintf(stderr, "ERROR: [cups-driverd] Unable to open driver directory "
  •                "\"%s\": %s\n",
    
  •        drivers, strerror(errno));
    
  • if (errno != ENOENT)
  •  fprintf(stderr, "ERROR: [cups-driverd] Unable to open driver directory "
    
  •         "\"%s\": %s\n",
    
  •     drivers, strerror(errno));
    
    return (0);
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant