Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ifneq (0.07 sec)

  1. Makefile.core.mk

    # linux binaries to the build dependencies, BUILD_DEPS, which can be added to other targets
    # that would need the Linux binaries (ex. tests).
    BUILD_DEPS:=
    ifeq ($(IN_BUILD_CONTAINER),1)
      ifneq ($(GOOS_LOCAL),"linux")
        BUILD_DEPS += build-linux
      endif
    endif
    
    export ARTIFACTS ?= $(TARGET_OUT)
    export JUNIT_OUT ?= $(ARTIFACTS)/junit.xml
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    index 8ba5eae..b620d21 100644
    --- a/sysdeps/unix/sysv/linux/if_index.c
    +++ b/sysdeps/unix/sysv/linux/if_index.c
    @@ -38,12 +38,19 @@ __if_nametoindex (const char *ifname)
       return 0;
     #else
       struct ifreq ifr;
    +  if (strlen (ifname) >= IFNAMSIZ)
    +    {
    +      __set_errno (ENODEV);
    +      return 0;
    +    }
    +
    +  strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
    +
       int fd = __opensock ();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
Back to top