--- Begin Message ---
Subject: |
25.0.50; Compilation fails on Darwin |
Date: |
Wed, 17 Dec 2014 10:06:07 +0100 |
Hello,
the following patch fixes a compilation problem on Darwin.
diff --git a/src/ChangeLog b/src/ChangeLog
index 596ae25..e6431f5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-17 Didier Verna <address@hidden>
+
+ * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a
+ C one.
+
2014-12-15 Stefan Monnier <address@hidden>
Various fixes to use bool type and constants.
diff --git a/src/nsselect.m b/src/nsselect.m
index bcf2ac1..3483692 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -437,8 +437,8 @@ On Nextstep, TERMINAL is unused. */)
CHECK_SYMBOL (selection);
if (EQ (selection, Qnil)) selection = QPRIMARY;
if (EQ (selection, Qt)) selection = QSECONDARY;
- return ns_get_pb_change_count (selection)
- == ns_get_our_change_count_for (selection);
+ return (ns_get_pb_change_count (selection)
+ == ns_get_our_change_count_for (selection)) ? Qt : Qnil;
}
--
My new Jazz CD entitled "Roots and Leaves" is out!
Check it out: http://didierverna.com/records/roots-and-leaves.php
Lisp, Jazz, Aïkido: http://www.didierverna.info
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#19396: 25.0.50; Compilation fails on Darwin |
Date: |
Tue, 23 Dec 2014 08:55:50 +0100 |
Thanks, applied.
Jan D.
> 17 dec 2014 kl. 10:06 skrev Didier Verna <address@hidden>:
>
>
> Hello,
>
> the following patch fixes a compilation problem on Darwin.
>
>
> diff --git a/src/ChangeLog b/src/ChangeLog
> index 596ae25..e6431f5 100644
> --- a/src/ChangeLog
> +++ b/src/ChangeLog
> @@ -1,3 +1,8 @@
> +2014-12-17 Didier Verna <address@hidden>
> +
> + * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a
> + C one.
> +
> 2014-12-15 Stefan Monnier <address@hidden>
>
> Various fixes to use bool type and constants.
> diff --git a/src/nsselect.m b/src/nsselect.m
> index bcf2ac1..3483692 100644
> --- a/src/nsselect.m
> +++ b/src/nsselect.m
> @@ -437,8 +437,8 @@ On Nextstep, TERMINAL is unused. */)
> CHECK_SYMBOL (selection);
> if (EQ (selection, Qnil)) selection = QPRIMARY;
> if (EQ (selection, Qt)) selection = QSECONDARY;
> - return ns_get_pb_change_count (selection)
> - == ns_get_our_change_count_for (selection);
> + return (ns_get_pb_change_count (selection)
> + == ns_get_our_change_count_for (selection)) ? Qt : Qnil;
> }
>
> --
> My new Jazz CD entitled "Roots and Leaves" is out!
> Check it out: http://didierverna.com/records/roots-and-leaves.php
>
> Lisp, Jazz, Aïkido: http://www.didierverna.info
>
>
--- End Message ---