]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 5 Apr 1998 12:06:27 +0000 (12:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 5 Apr 1998 12:06:27 +0000 (12:06 +0000)
1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
instead of AF_FILE.

ChangeLog
manual/examples/mkfsock.c

index 7bca7bb9fc781c39b4db7d385f964fa52ba3098c..1596d6567e9404944fb29b0e8b8126471efc0bc2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
index 46729d13f04a2341423a6ac28b9b3c8bd4871b24..8683fbdc547acfb967f7da555f5b0fd11923f0aa 100644 (file)
@@ -5,7 +5,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 
-int 
+int
 make_named_socket (const char *filename)
 {
   struct sockaddr_un name;
@@ -21,7 +21,7 @@ make_named_socket (const char *filename)
     }
 
   /* 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));
 
   /* The size of the address is
This page took 0.057868 seconds and 5 git commands to generate.