We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AIX requires a patch so lpstat -a does not hang for 15 minutes. After 15 minutes, the command completes as expected.
This patch is also needed for the master version.
See also https://www3.software.ibm.com/aix/freeSoftware/aixtoolbox/PATCHES/cups-2.0.2-aix.patch I moved the patch higher up in the file:
diff --git a/cups/request.c b/cups/request.c index 66c803a04..059920e49 100644 --- a/cups/request.c +++ b/cups/request.c @@ -29,6 +29,10 @@ # define MSG_DONTWAIT 0 #endif /* !MSG_DONTWAIT */ +#ifdef _AIX +#define MSG_DONTWAIT MSG_NONBLOCK +#endif +
Stef
The text was updated successfully, but these errors were encountered:
I think it might be better for the code to read as follows:
#ifdef _AIX # define MSG_DONTWAIT MSG_NONBLOCK #elif !defined(MSG_DONTWAIT) # define MSG_DONTWAIT 0 #endif /* _AIX */
Sorry, something went wrong.
Indeed, I got some warnings during compile time. @michaelrsweet patch is better.
@michaelrsweet I'll apply combination of the @StefCoene patch and your proposal directly to master - I take your comment as review.
3f763a9
Merge fix from master regarding lpstat hanging
8354850
Master commit: 3f763a960f3 Fixes #773
No branches or pull requests
AIX requires a patch so lpstat -a does not hang for 15 minutes.
After 15 minutes, the command completes as expected.
This patch is also needed for the master version.
See also https://www3.software.ibm.com/aix/freeSoftware/aixtoolbox/PATCHES/cups-2.0.2-aix.patch
I moved the patch higher up in the file:
Stef
The text was updated successfully, but these errors were encountered: