simon-git: filter (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Sep 17 10:33:39 BST 2018


TL;DR:
  78b8a24 MacOS compile fix: condition out #include <features.h>.
  473a871 Use autoconf to control #include of <features.h>.
  b767c2e Add missing #include of <sys/ioctl.h>.
  2de73f2 Change return type of pty_resize to void.
  de0fe7c Update charset for a MacOS header-compatibility fix.

Repository:     https://git.tartarus.org/simon/filter.git
On the web:     https://git.tartarus.org/?p=simon/filter.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2018-09-17 10:33:39

commit 78b8a24e8325e5b1b4bc87e8e872dc545102f628
web diff https://git.tartarus.org/?p=simon/filter.git;a=commitdiff;h=78b8a24e8325e5b1b4bc87e8e872dc545102f628;hp=2aa632b0b046db4c49d8f93b86fe1f06e90fbfd4
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 17 10:16:50 2018 +0100

    MacOS compile fix: condition out #include <features.h>.
    
    MacOS doesn't have the GNUish <features.h> system at all.

 pty.c | 2 ++
 1 file changed, 2 insertions(+)

commit 473a8715fa65585bc25c9b483e55c30c866302d4
web diff https://git.tartarus.org/?p=simon/filter.git;a=commitdiff;h=473a8715fa65585bc25c9b483e55c30c866302d4;hp=78b8a24e8325e5b1b4bc87e8e872dc545102f628
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 17 10:20:15 2018 +0100

    Use autoconf to control #include of <features.h>.
    
    MacOS doesn't have it, and it probably isn't the only thing that
    doesn't.

 configure.ac | 2 ++
 pty.c        | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

commit b767c2e395de5b6222c85782ec08ed6e14b56b6a
web diff https://git.tartarus.org/?p=simon/filter.git;a=commitdiff;h=b767c2e395de5b6222c85782ec08ed6e14b56b6a;hp=473a8715fa65585bc25c9b483e55c30c866302d4
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 17 10:23:22 2018 +0100

    Add missing #include of <sys/ioctl.h>.
    
    MacOS's compiler warns about implicit declaration of ioctl(2) without
    this, and of course it's right.

 main.c | 1 +
 1 file changed, 1 insertion(+)

commit 2de73f2c67dc1fe3a8e06e3e8ecd966ee0787c77
web diff https://git.tartarus.org/?p=simon/filter.git;a=commitdiff;h=2de73f2c67dc1fe3a8e06e3e8ecd966ee0787c77;hp=b767c2e395de5b6222c85782ec08ed6e14b56b6a
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 17 10:23:49 2018 +0100

    Change return type of pty_resize to void.
    
    MacOS's compiler pointed out that it's declared as returning an int,
    but never bothers to actually specify a return value - and since no
    call site captures the nonsense return value either, it shouldn't have
    been declared to exist in the first place.

 filter.h | 2 +-
 pty.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit de0fe7cc5a152158872a1ad1c4634748252861b9
web diff https://git.tartarus.org/?p=simon/filter.git;a=commitdiff;h=de0fe7cc5a152158872a1ad1c4634748252861b9;hp=2de73f2c67dc1fe3a8e06e3e8ecd966ee0787c77
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 17 10:31:36 2018 +0100

    Update charset for a MacOS header-compatibility fix.

 charset | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list