Changeset 57cfaad in rtems for cpukit/librpc/src/rpc/pmap_rmt.c


Ignore:
Timestamp:
Oct 31, 2000, 4:39:06 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
df3b242
Parents:
3e59793
Message:

2000-10-30 Joel Sherrill <joel@…>

  • POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code.
  • src/rpc/Makefile.am, src/rpc/auth_time.c, src/rpc/clnt_simple.c, src/rpc/clnt_tcp.c, src/rpc/clnt_udp.c, src/rpc/clnt_unix.c, src/rpc/get_myaddress.c, src/rpc/pmap_clnt.c, src/rpc/pmap_getmaps.c, src/rpc/pmap_getport.c, src/rpc/pmap_rmt.c, src/rpc/rtime.c, src/rpc/svc_tcp.c, src/rpc/svc_udp.c, src/rpc/svc_unix.c: Use of _read, _write, and _close as macros conflicted with newlib's use of these as routine names. They were renamed to include "_RPC_" prefix.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/src/rpc/pmap_rmt.c

    r3e59793 r57cfaad  
    9999        }
    100100        if (socket != -1)
    101                 (void)_close(socket);
     101                (void)_RPC_close(socket);
    102102        addr->sin_port = 0;
    103103        return (stat);
     
    409409                free(fds);
    410410        if (sock >= 0)
    411                 (void)_close(sock);
     411                (void)_RPC_close(sock);
    412412        AUTH_DESTROY(unix_auth);
    413413        return (stat);
Note: See TracChangeset for help on using the changeset viewer.