这是indexloc提供的服务,不要输入任何密码
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: termux/termux-api-package
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.59.0
Choose a base ref
...
head repository: termux/termux-api-package
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 6 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 28, 2025

  1. Include arpa/inet.h instead of sys/endian.h

    The header is included to get defintion for htons. In termux the
    definition is in sys/endian.h, but on other systems it is in
    arpa/inet.h.
    
    arpa/inet.h includes sys/endian.h though, so including that header
    works in termux as well.
    
    Change to arpa/inet.h so that termux-api-package can be easily
    compiled both in termux and for other systems.
    Grimler91 committed Mar 28, 2025
    Configuration menu
    Copy the full SHA
    a0e1c71 View commit details
    Browse the repository at this point in the history
  2. termux-api: free malloc'ed child_argv array on execv error

    We exit right after so this is not exactly strictly necessary, but
    that might change at some point and is good practise in any case.
    Grimler91 committed Mar 28, 2025
    Configuration menu
    Copy the full SHA
    530f292 View commit details
    Browse the repository at this point in the history
  3. termux-api: handle malloc errors

    malloc might fail to allocate memory for child_argv. Ensure it was
    successfully allocated before trying to set its elements.
    Grimler91 committed Mar 28, 2025
    Configuration menu
    Copy the full SHA
    512a252 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2025

  1. Fixed: only malloc as many bytes as are actully needed

    And make malloc&memcpy handling clearer.
    
    Before we potentially had an element with uninitialised memory, see
    discussion in #203.
    
    Fixes: 1ec1334 ("Initial push")
    agnostic-apollo authored and Grimler91 committed Mar 29, 2025
    Configuration menu
    Copy the full SHA
    0edd4d4 View commit details
    Browse the repository at this point in the history
  2. Changed: bump to 0.59.1

    Grimler91 committed Mar 29, 2025
    Configuration menu
    Copy the full SHA
    319a7a5 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2025

  1. 1 Configuration menu
    Copy the full SHA
    0e3f922 View commit details
    Browse the repository at this point in the history
Loading