Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ifeq (0.15 sec)

  1. Makefile.core.mk

    SHELL := /bin/bash -o pipefail
    
    # Version can be defined:
    # (1) in a $VERSION shell variable, which takes precedence; or
    # (2) in the VERSION file, in which we will append "-dev" to it
    ifeq ($(VERSION),)
    VERSION_FROM_FILE := $(shell cat VERSION)
    ifeq ($(VERSION_FROM_FILE),)
    $(error VERSION not detected. Make sure it's stored in the VERSION file or defined in VERSION variable)
    endif
    VERSION := $(VERSION_FROM_FILE)-dev
    endif
    
    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