Hello all, I received this request over the weekend and wanted to pass it on.

----- Forwarded message from Petr Salinger <[email protected]> -----

Date: Sat, 20 Apr 2013 19:19:11 +0200 (CEST)
From: Petr Salinger <[email protected]>
To: [email protected]
Subject: Bug#705827: babeltrace: FTBFS on GNU/kFreeBSD

Package: babeltrace
Version: 1.1.0-1
Severity: serious
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

The value ENODATA is linux specific,
please use some general error number, like shown bellow.

It would also be nice if you can inform upstream about this.

Thanks
        Petr

--- formats/ctf/ctf.c
+++ formats/ctf/ctf.c
@@ -1032,7 +1032,7 @@
        buflen = strlen(*buf);
        if (!buflen) {
                *fp = NULL;
-               return -ENODATA;
+               return -ENOENT;
        }
        *fp = babeltrace_fmemopen(*buf, buflen, "rb");
        if (!*fp) {

----- End forwarded message -----

-- 
Jon

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to