Ralf Corsepius
7cf4893bca
2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/gethostnamadr.c:
Cast addr to uintptr_t instead of size_t.
2010-05-29 04:32:39 +00:00
Ralf Corsepius
ba344291ad
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/gethostnamadr.c:
Try to make crazy address arithmetic more portable.
2010-05-27 16:50:01 +00:00
Ralf Corsepius
093d20d1c0
2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/map_v4v6.c: Use uintptr_t instead of u_long for
better 16bit target compliance.
2010-04-29 03:13:13 +00:00
Ralf Corsepius
c922a9dd0a
2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/gethostbydns.c: Use uintptr_t instead of u_long
for 16bit target compliance.
2010-04-14 12:42:11 +00:00
Ralf Corsepius
e005f6e8d9
Add HAVE_STRINGS_H for better POSIX compliance.
2010-03-28 05:53:22 +00:00
Ralf Corsepius
b25b88e732
Add HAVE_CONFIG_H support to let files receive configure defines.
2010-03-28 05:50:29 +00:00
Ralf Corsepius
39f13cbc46
Add HAVE_STRINGS_H for better POSIX compliance.
2010-03-27 04:00:53 +00:00
Joel Sherrill
bab5c5fac0
2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* 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-12 16:26:16 +00:00
Joel Sherrill
391b4dda25
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* 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.
2010-03-11 19:12:30 +00:00
Chris Johns
199ccded5d
2009-05-08 Chris Johns <chrisj@rtems.org>
...
* 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.
2009-05-08 04:55:53 +00:00
Ralf Corsepius
9b17fb61db
Add missing initializers.
2008-12-22 12:29:57 +00:00
Ralf Corsepius
029c374c9c
Stop using old-style function definitions.
2008-09-01 07:02:00 +00:00
Ralf Corsepius
f5a2f211c4
Remove BSD "Add clause" (From FreeBSD).
2008-09-01 06:26:20 +00:00
Ralf Corsepius
c78ecb0eda
Stop using old-style function-definitions.
2008-08-27 11:13:59 +00:00
Joel Sherrill
930775ddb7
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
warnings.
2008-08-19 18:47:54 +00:00
Joel Sherrill
02aaec7647
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* 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.
2008-08-18 21:42:41 +00:00
Ralf Corsepius
082d4a2879
Add missing prototypes.
2008-08-02 05:37:10 +00:00
Ralf Corsepius
e386ad7265
Add missing prototypes.
2008-08-01 05:07:41 +00:00
Joel Sherrill
1fbd0bafe7
2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* 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.
2008-07-02 13:40:19 +00:00
Ralf Corsepius
807337d281
Adjust to POSIX. Minor updates from FreeBSD.
2007-10-15 07:59:00 +00:00
Ralf Corsepius
3d2a28d738
New (from FreeBSD)
2007-10-04 14:23:45 +00:00
Joel Sherrill
b5bf8cd163
2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
...
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.
2007-09-24 21:35:10 +00:00
Ralf Corsepius
cd9564e1cd
Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
2007-05-10 07:29:14 +00:00
Ralf Corsepius
678b3b069a
Eliminate __P.
2007-05-08 12:44:16 +00:00
Ralf Corsepius
53d8e07c66
Remove (Unused).
2007-03-30 06:28:33 +00:00
Ralf Corsepius
09fdb5e819
Eliminate SCCS, LINT. Add HAVE_CONFIG_H.
2007-03-30 05:15:58 +00:00
Ralf Corsepius
0f0318e2de
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/strsep.c: Don't build if provided by libc.
2007-03-29 14:25:40 +00:00
Ralf Corsepius
dbd2c7dcea
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
2007-03-29 08:39:21 +00:00
Ralf Corsepius
07d0ce8eb3
2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
Remove isblank (supposed to be provided by libc).
2007-01-28 03:57:09 +00:00
Ralf Corsepius
3a0d61e9c3
Cosmetic updates from FreeBSD.
...
Eliminate bcopy in favor of memcpy.
2006-11-16 16:37:49 +00:00
Joel Sherrill
068c3ee1df
2006-11-02 Steven Johnson <sjohnson@sakuraindustries.com>
...
* 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.
2006-11-02 21:48:41 +00:00
Joel Sherrill
300c914c64
*** empty log message ***
2006-09-01 18:15:01 +00:00
Joel Sherrill
a009d94459
2006-08-30 Joel Sherrill <joel@OARcorp.com>
...
* 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-31 01:10:02 +00:00
Joel Sherrill
352332193c
2006-08-30 Joel Sherrill <joel@OARcorp.com>
...
* 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 13:53:02 +00:00
Joel Sherrill
48b1e29a7d
2006-08-30 Joel Sherrill <joel@OARcorp.com>
...
* 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.
2006-08-30 13:18:40 +00:00
Joel Sherrill
24cf3e5eb9
2005-11-02 Fredic Praca <freebsd-fr.org>
...
PR 842/networking
* libnetworking/libc/gethostbydns.c: Avoid use of dprintf(). Rename
dprintf to debugprintf().
2005-11-02 22:24:12 +00:00
Ralf Corsepius
c3713b3a93
Reflect changes to libnetworking/arpa/nameser.h.
2005-05-24 04:49:12 +00:00
Ralf Corsepius
8b02581b22
socklen_t.
2005-05-10 08:06:58 +00:00
Ralf Corsepius
00a578ad6b
in_addr_t.
2005-05-09 12:45:45 +00:00
Ralf Corsepius
a0a03de2c3
Ansify, socklen_t.
2005-05-09 12:42:30 +00:00
Ralf Corsepius
cf29bcb979
Cosmetics from FreeBSD.
2005-05-08 06:40:09 +00:00
Joel Sherrill
3274c87676
2005-04-28 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/inet_ntop.c,
libnetworking/net/if_ppp.c, libnetworking/net/pppcompress.c,
libnetworking/net/slcompress.c, libnetworking/netinet/ip_output.c,
libnetworking/netinet/udp_usrreq.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_select.c,
libnetworking/rtems/rtems_showifstat.c,
libnetworking/rtems/rtems_showroute.c,
libnetworking/rtems/rtems_syscall.c: Fixed type mismatch and
uninitialized variable warnings.
2005-04-28 21:49:50 +00:00
Ralf Corsepius
4c92297a3e
Misc. part. updates from FreeBSD.
2005-02-04 16:35:05 +00:00
Ralf Corsepius
b90307a092
2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
...
PR 755/rtems
* libnetworking/libc/res_init.c, libnetworking/lib/rtems_bsdnet_ntp.c,
libnetworking/nfs/bootp_subr.c: Include <rtems/bsdnet/servers.h>.
2005-02-03 05:49:30 +00:00
Joel Sherrill
0e245a1103
2005-01-07 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/libc/res_debug.c: Added const to eliminate warnings.
2005-01-07 19:47:15 +00:00
Ralf Corsepius
2609e83f77
Unused.
2004-03-08 16:26:41 +00:00
Joel Sherrill
cb2f32039d
2004-03-05 Joel Sherrill <joel@OARcorp.com>
...
* libblock/src/bdbuf.c, libblock/src/ramdisk.c,
libcsupport/src/newlibc.c, libcsupport/src/sync.c,
libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c,
libmisc/shell/cmds.c, libmisc/shell/shell.c,
libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c,
libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c,
libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c,
libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c,
libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c,
libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c,
libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c,
libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c,
libnetworking/libc/res_send.c, libnetworking/libc/res_update.c,
libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c,
librpc/src/rpc/clnt_perror.c, librpc/src/rpc/svc.c,
score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Too
much was accidentally committed -- revert.
2004-03-05 18:02:41 +00:00
Joel Sherrill
b2b143f402
2004-03-05 Joel Sherrill <joel@OARcorp.com>
...
* libblock/src/bdbuf.c, libblock/src/ramdisk.c,
libcsupport/src/newlibc.c, libcsupport/src/sync.c,
libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c,
libmisc/shell/cmds.c, libmisc/shell/shell.c,
libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c,
libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c,
libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c,
libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c,
libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c,
libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c,
libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c,
libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c,
libnetworking/libc/res_send.c, libnetworking/libc/res_update.c,
libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c,
librpc/src/rpc/clnt_perror.c, librpc/src/rpc/rtems_rpc.c,
librpc/src/rpc/svc.c, sapi/include/confdefs.h,
score/macros/rtems/score/chain.inl, score/src/objectidtoname.c:
2004-03-05 17:58:51 +00:00
Ralf Corsepius
489c1588f4
2003-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* libc/Makefile.am: Remove.
* lib/Makefile.am: Remove.
* Makefile.am: Merge-in the Makefile.ams above.
2003-11-28 13:27:15 +00:00
Ralf Corsepius
14d34d841e
2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* configure.ac: Remove (Merged into ../configure.ac).
* Makefile.am, libc/Makefile.am, lib/Makefile.am, wrapup/Makefile.am:
Reflect having merged configure.ac into ../configure.ac.
* kern/kern_mib.c: Use RTEMS_VERSION to setup osrelease.
2003-07-08 12:21:36 +00:00