mirror of git://sourceware.org/git/glibc.git
Update.
1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL instead of AF_FILE.
This commit is contained in:
parent
a904b5d93a
commit
80aea676e3
|
@ -1,3 +1,8 @@
|
||||||
|
1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||||
|
|
||||||
|
* manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
|
||||||
|
instead of AF_FILE.
|
||||||
|
|
||||||
1998-04-05 Ulrich Drepper <drepper@cygnus.com>
|
1998-04-05 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
|
* iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
make_named_socket (const char *filename)
|
make_named_socket (const char *filename)
|
||||||
{
|
{
|
||||||
struct sockaddr_un name;
|
struct sockaddr_un name;
|
||||||
|
@ -21,7 +21,7 @@ make_named_socket (const char *filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Bind a name to the socket. */
|
/* Bind a name to the socket. */
|
||||||
name.sun_family = AF_FILE;
|
name.sun_family = AF_LOCAL;
|
||||||
strncpy (name.sun_path, filename, sizeof (name.sun_path));
|
strncpy (name.sun_path, filename, sizeof (name.sun_path));
|
||||||
|
|
||||||
/* The size of the address is
|
/* The size of the address is
|
||||||
|
|
Loading…
Reference in New Issue