Changeset 396b80e in rtems


Ignore:
Timestamp:
Mar 2, 2012, 8:31:38 AM (7 years ago)
Author:
Ralf Corsépius <ralf.corsepius@…>
Branches:
4.11, master
Children:
7f2036aa
Parents:
f7bb9f9
git-author:
Ralf Corsépius <ralf.corsepius@…> (03/02/12 08:31:38)
git-committer:
Ralf Corsépius <ralf.corsepius@…> (03/02/12 08:40:03)
Message:

2012-03-02 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: Check for rcmd in unistd.h.
  • libnetworking/libc/rcmd.c: Build iff rcmd is declared in unistd.h. Change rcmd's decl to match with Linux/FreeBSD's decl.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rf7bb9f9 r396b80e  
     12012-03-02      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * configure.ac: Check for rcmd in unistd.h.
     4        * libnetworking/libc/rcmd.c: Build iff rcmd is declared in unistd.h.
     5        Change rcmd's decl to match with Linux/FreeBSD's decl.
     6
    172011-12-14      Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • cpukit/configure.ac

    rf7bb9f9 r396b80e  
    303303## BSD-ism, excluded from POSIX, but available on most platforms
    304304AC_CHECK_DECLS([sbrk],,,[#include <unistd.h>])
     305AC_CHECK_DECLS([rcmd],,,[#include <unistd.h>])
    305306
    306307## Check if libc provides BSD's strlcpy/strlcat
  • cpukit/libnetworking/libc/rcmd.c

    rf7bb9f9 r396b80e  
    3838#endif
    3939
     40#if HAVE_DECL_RCMD
     41
    4042#include <sys/param.h>
    4143#include <sys/socket.h>
     
    8284rcmd(
    8385        char **ahost,
    84         u_short rport,
     86        int rport,
    8587        const char *locuser,
    8688        const char *remuser,
     
    546548}
    547549#endif
     550#endif
Note: See TracChangeset for help on using the changeset viewer.