summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libnetworking: Fix the sethostname decl to match newlib.Chris Johns2014-10-311-1/+1
|
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-111-3/+0
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1132-57/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-03-021-1/+4
| | | | | | * 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.
* Avoid buffer overflow and misaligned memory accessSebastian Huber2012-02-141-14/+24
|
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-1/+1
| | | | | | PR 1983/networking * libnetworking/libc/gethostbyht.c (gethostent_r): Abort if (!hostf).
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-1/+1
| | | | | * libnetworking/libc/ns_parse.c (ns_parserr): Comment out if ( section < 0 ) (type is unsigned).
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-0/+2
| | | | | * libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer (Unused).
* 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-201-2/+1
| | | | | * libnetworking/libc/res_mkupdate.c (res_mkupdate): Remove unused var "sp1".
* 2011-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-021-2/+2
| | | | * libnetworking/libc/res_comp.c: Eliminate unused var "ppch".
* Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).Ralf Corsepius2011-03-245-5/+5
|
* 2010-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-09-013-393/+0
| | | | | | | * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c, libnetworking/libc/addr2ascii.3: Remove. * libnetworking/Makefile.am: Reflect changes above.
* 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-291-1/+1
| | | | | * libnetworking/libc/gethostnamadr.c: Cast addr to uintptr_t instead of size_t.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-271-1/+1
| | | | | * libnetworking/libc/gethostnamadr.c: Try to make crazy address arithmetic more portable.
* 2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-291-1/+1
| | | | | * libnetworking/libc/map_v4v6.c: Use uintptr_t instead of u_long for better 16bit target compliance.
* 2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-141-1/+1
| | | | | * libnetworking/libc/gethostbydns.c: Use uintptr_t instead of u_long for 16bit target compliance.
* Add HAVE_STRINGS_H for better POSIX compliance.Ralf Corsepius2010-03-281-0/+3
|
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-283-0/+12
|
* Add HAVE_STRINGS_H for better POSIX compliance.Ralf Corsepius2010-03-2710-0/+30
|
* 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-129-50/+50
| | | | | | | | | | | | | | | | | | | * ftpd/ftpd.c, httpd/asp.c, httpd/ejparse.c, httpd/emfdb.c, httpd/misc.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_misc.c, libfs/src/nfsclient/src/nfs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/shell/shell.c, libmisc/shell/shell_makeargs.c, libmisc/uuid/parse.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/inet_network.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c, libnetworking/libc/res_query.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Readdress use of ctype methods per recommendation from D.J. Delorie on the newlib mailing list. We should pass an unsigned char into these methods.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-113-9/+9
| | | | | | | | | | | | * ftpd/ftpd.c, httpd/uemf.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libblock/src/diskdevs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/uuid/parse.c, libnetworking/lib/ftpfs.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_network.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Fix warnings for ctype methods.
* 2009-05-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-05-081-13/+13
| | | | | | | * cpukit/libblock/src/bdpart.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_rm.c, libnetworking/libc/gethostnamadr.c, score/include/rtems/score/bitfield.h, score/inline/rtems/score/priority.inl: Remove warnings.
* Add missing initializers.Ralf Corsepius2008-12-221-17/+17
|
* Stop using old-style function definitions.Ralf Corsepius2008-09-0123-139/+131
|
* Remove BSD "Add clause" (From FreeBSD).Ralf Corsepius2008-09-011-4/+0
|
* Stop using old-style function-definitions.Ralf Corsepius2008-08-277-20/+24
|
* 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-191-2/+2
| | | | | * libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix warnings.
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-182-1/+2
| | | | | | | | | * libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c, libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_glue.c, libnetworking/rtems/rtems_malloc_mbuf.c, libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h: Fix some warnings.
* Add missing prototypes.Ralf Corsepius2008-08-0210-103/+110
|
* Add missing prototypes.Ralf Corsepius2008-08-011-8/+9
|
* 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-023-0/+49
| | | | | | | | | * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getservbyname.c, libnetworking/libc/getservbyport.c: Add initial versions of getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this point they are just simple weappers for the version without the _r in the name.
* Adjust to POSIX. Minor updates from FreeBSD.Ralf Corsepius2007-10-152-7/+4
|
* New (from FreeBSD)Ralf Corsepius2007-10-043-0/+648
|
* 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-242-4/+9
| | | | | | | | | | PR 1262/filesystem * libcsupport/Makefile.am, libnetworking/libc/herror.c, libnetworking/libc/res_send.c, libnetworking/sys/uio.h, telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am, telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and writev() including documentation and test case. * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
* Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius2007-05-102-2/+2
|
* Eliminate __P.Ralf Corsepius2007-05-083-5/+5
|
* Remove (Unused).Ralf Corsepius2007-03-302-230/+0
|
* Eliminate SCCS, LINT. Add HAVE_CONFIG_H.Ralf Corsepius2007-03-3056-196/+170
|
* 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-291-0/+7
| | | | * libnetworking/libc/strsep.c: Don't build if provided by libc.
* 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-291-8/+6
| | | | * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
* 2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-01-281-6/+2
| | | | | * libnetworking/libc/gethostbyht.c: Remove warning on unused vars. Remove isblank (supposed to be provided by libc).
* Cosmetic updates from FreeBSD.Ralf Corsepius2006-11-163-28/+22
| | | | Eliminate bcopy in favor of memcpy.
* 2006-11-02 Steven Johnson <sjohnson@sakuraindustries.com>Joel Sherrill2006-11-022-21/+325
| | | | | | | | | | | | | | * libnetworking/netdb.h, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c: This patch adds a functional gethostbyname_r to RTEMS. We were having problems with multiple threads calling gethostbyname, so we decided the best way to deal with it was to do it properly, rather than kludge up our code to make gethostbyname safe. We have found several slightly different parameter lists for this function, it does not seem to be standard. The one we used has the linux interface. In RTEMS there was an existing gethostbyname_r inside a #ifdef _THREAD_SAFE which was NOT Threadsafe, as this just called gethostbyname. So we have placed all of the additional code inside the #ifdef _THREAD_SAFE.
* *** empty log message ***Joel Sherrill2006-09-011-7/+7
|
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-311-2/+2
| | | | | | | | | | | | | | | * ftpd/ftpd.c, libcsupport/include/sys/ioccom.h, libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c, libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h, libnetworking/net/if.c, libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h, libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c, libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_bsdnet_internal.h, libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings due to improper use of int which shows up on 16 bit targets. Added ioctl_command_t since IOCTL command argument does not reliably fit into 16 bits.
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-301-1/+1
| | | | | | | | * libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c, libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c, libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf format warnings.
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-301-1/+3
| | | | | | * libcsupport/src/utsname.c, libnetworking/libc/res_debug.c, libnetworking/net/if_media.h, libnetworking/rtems/rtems_mii_ioctl.c, librpc/src/rpc/svc_simple.c: Remove printf format warnings.
* 2005-11-02 Fredic Praca <freebsd-fr.org>Joel Sherrill2005-11-021-7/+7
| | | | | | PR 842/networking * libnetworking/libc/gethostbydns.c: Avoid use of dprintf(). Rename dprintf to debugprintf().
* Reflect changes to libnetworking/arpa/nameser.h.Ralf Corsepius2005-05-241-1/+1
|
* socklen_t.Ralf Corsepius2005-05-102-2/+2
|