Skip to content

Commit

Permalink
Merge fix from master regarding lpstat hanging
Browse files Browse the repository at this point in the history
Master commit:
3f763a960f3

Fixes #773
  • Loading branch information
zdohnal committed Sep 13, 2023
1 parent cc7713b commit 8354850
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changes in CUPS v2.4.7 (TBA)
- Added OpenSSL support for cupsHashData (Issue #762)
- Fixed delays in lpd backend (Issue #741)
- Fixed extensive logging in scheduler (Issue #604)
- Fixed hanging of `lpstat` on IBM AIX (Issue #773)
- Fixed printing to stderr if we can't open cups-files.conf (Issue #777)
- Fixed purging job files via `cancel -x` (Issue #742)
- Fixed a bug in the PPD command interpretation code (Issue #768)
Expand Down
6 changes: 4 additions & 2 deletions cups/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
#ifndef O_BINARY
# define O_BINARY 0
#endif /* O_BINARY */
#ifndef MSG_DONTWAIT
#ifdef _AIX
# define MSG_DONTWAIT MSG_NONBLOCK
#elif !defined(MSG_DONTWAIT)
# define MSG_DONTWAIT 0
#endif /* !MSG_DONTWAIT */
#endif /* _AIX */


/*
Expand Down
3 changes: 3 additions & 0 deletions scheduler/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
# include <systemd/sd-journal.h>
#endif /* HAVE_ASL_H */
#include <syslog.h>
#ifndef va_copy
# define va_copy(__list1, __list2) ((void)(__list1 = __list2))
#endif


/*
Expand Down

0 comments on commit 8354850

Please sign in to comment.