Skip to content

Instantly share code, notes, and snippets.

Created August 29, 2013 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6382654 to your computer and use it in GitHub Desktop.
Save anonymous/6382654 to your computer and use it in GitHub Desktop.
glibcfix.patch
diff -rupN udev-182-orig/src/sd-daemon.c udev-182/src/sd-daemon.c
--- udev-182-orig/src/sd-daemon.c 2013-06-22 21:55:26.988081265 +0200
+++ udev-182/src/sd-daemon.c 2013-06-22 21:58:10.537762538 +0200
@@ -391,8 +391,8 @@ _sd_export_ int sd_is_mq(int fd, const c
if (fd < 0)
return -EINVAL;
- if (mq_getattr(fd, &attr) < 0)
- return -errno;
+ //if (mq_getattr(fd, &attr) < 0)
+ // return -errno;
if (path) {
char fpath[PATH_MAX];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment