emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/process.c


From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/src/process.c
Date: Tue, 23 Sep 2003 08:40:39 -0400

Index: emacs/src/process.c
diff -c emacs/src/process.c:1.413 emacs/src/process.c:1.414
*** emacs/src/process.c:1.413   Thu Sep 18 06:39:47 2003
--- emacs/src/process.c Tue Sep 23 08:40:39 2003
***************
*** 3483,3489 ****
      return Qnil;
  
    elt = Qnil;
! #if defined(SIOCGIFFLAGS) && defined(ifr_flags)
    if (ioctl (s, SIOCGIFFLAGS, &rq) == 0)
      {
        int flags = rq.ifr_flags;
--- 3483,3489 ----
      return Qnil;
  
    elt = Qnil;
! #if defined(SIOCGIFFLAGS) && defined(HAVE_STRUCT_IFREQ_IFR_FLAGS)
    if (ioctl (s, SIOCGIFFLAGS, &rq) == 0)
      {
        int flags = rq.ifr_flags;
***************
*** 3511,3517 ****
    res = Fcons (elt, res);
  
    elt = Qnil;
! #if defined(SIOCGIFHWADDR) && defined(ifr_hwaddr)
    if (ioctl (s, SIOCGIFHWADDR, &rq) == 0)
      {
        Lisp_Object hwaddr = Fmake_vector (make_number (6), Qnil);
--- 3511,3517 ----
    res = Fcons (elt, res);
  
    elt = Qnil;
! #if defined(SIOCGIFHWADDR) && defined(HAVE_STRUCT_IFREQ_IFR_HWADDR)
    if (ioctl (s, SIOCGIFHWADDR, &rq) == 0)
      {
        Lisp_Object hwaddr = Fmake_vector (make_number (6), Qnil);
***************
*** 3537,3543 ****
    res = Fcons (elt, res);
  
    elt = Qnil;
! #if defined(SIOCGIFBRDADDR) && defined(ifr_broadaddr)
    if (ioctl (s, SIOCGIFBRDADDR, &rq) == 0)
      {
        any++;
--- 3537,3543 ----
    res = Fcons (elt, res);
  
    elt = Qnil;
! #if defined(SIOCGIFBRDADDR) && defined(HAVE_STRUCT_IFREQ_IFR_BROADADDR)
    if (ioctl (s, SIOCGIFBRDADDR, &rq) == 0)
      {
        any++;
***************
*** 3547,3553 ****
    res = Fcons (elt, res);
  
    elt = Qnil;
! #if defined(SIOCGIFADDR) && defined(ifr_addr)
    if (ioctl (s, SIOCGIFADDR, &rq) == 0)
      {
        any++;
--- 3547,3553 ----
    res = Fcons (elt, res);
  
    elt = Qnil;
! #if defined(SIOCGIFADDR) && defined(HAVE_STRUCT_IFREQ_IFR_ADDR)
    if (ioctl (s, SIOCGIFADDR, &rq) == 0)
      {
        any++;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]