Jim Meyering
|
fc71e28b65
|
(canon_host): Use malloc and memcpy to copy an
address, not strdup. Include <stdlib.h> and don't declare free().
|
2000-06-21 13:00:49 +00:00 |
|
Jim Meyering
|
cf251ff75b
|
Declare strdup only if it's not defined.
|
2000-04-29 09:25:09 +00:00 |
|
Jim Meyering
|
594b06988b
|
(canon_host): Declare strdup. Required for ultrix4.3.
|
2000-04-05 14:57:36 +00:00 |
|
Jim Meyering
|
b910e6ea14
|
(canon_host): Don't use he->h_addr directly.
Based on a patch from Savochkin Andrey Vladimirovich.
|
1999-03-10 15:39:02 +00:00 |
|
Jim Meyering
|
ac25bd69bf
|
(main) [TEST_CANON_HOST]: Add a simple test driver.
|
1999-01-11 02:46:33 +00:00 |
|
Jim Meyering
|
955e21bb83
|
protoize
|
1999-01-07 03:43:01 +00:00 |
|
Jim Meyering
|
84b3a78396
|
Include sys/types.h for the definitions
(otherwise missing on some systems) of caddr_t (used by
sys/socket.h) and ushort (used by netinet/in.h). From Karl Heuer.
|
1996-11-03 20:59:43 +00:00 |
|
Jim Meyering
|
19bff1c02d
|
indent cpp-directives
|
1996-07-15 03:56:06 +00:00 |
|
Jim Meyering
|
6014da9e30
|
update FSF address in copyright
|
1996-07-15 03:43:36 +00:00 |
|
Jim Meyering
|
ce4e2493ee
|
[HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for definition of AF_INET
on at least SunOS 4.
|
1996-02-23 16:14:27 +00:00 |
|
Jim Meyering
|
c4b593538b
|
Be careful to always return something.
|
1996-02-13 05:28:38 +00:00 |
|
Jim Meyering
|
73c74c0303
|
(canon_host): Cast returned he->h_name to char*.
|
1996-02-04 13:22:22 +00:00 |
|
Jim Meyering
|
2d882a7200
|
.
|
1996-02-04 12:47:33 +00:00 |
|