about summary refs log tree commit diff
path: root/manual/examples/filecli.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-09 14:14:20 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-09 14:14:20 +0000
commit356d71003eeb28bc90417f769c0396a9dfc5b0da (patch)
tree8b217c5703903b4023a8cd6d7653e8a1cc942869 /manual/examples/filecli.c
parent73237de3761836016f67a10121ecc97a5d45cac4 (diff)
downloadglibc-356d71003eeb28bc90417f769c0396a9dfc5b0da.tar.gz
glibc-356d71003eeb28bc90417f769c0396a9dfc5b0da.tar.xz
glibc-356d71003eeb28bc90417f769c0396a9dfc5b0da.zip
Update.
1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.

	* manual/socket.texi (Interface Naming): Fix typo.

1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/examples/filesrv.c (main): Remove filename first.

	* manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
	?F_UNIX.

	* manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
	instead of PF_UNIX.

	* manual/examples/filecli.c (main): Use AF_LOCAL
	instead of AF_UNIX.

1998-04-09  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
	signgam weak alias.
	* sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
	* sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
	* sysdeps/libm-ieee754/w_lgammal.c: Likewise.
	* sysdeps/libm-ieee754/w_gamma.c: Likewise.
	* sysdeps/libm-ieee754/w_gammaf.c: Likewise.
	* sysdeps/libm-ieee754/w_gammal.c: Likewise.

	* login/utmp_daemon.c (open_socket): Use __connect not connect.

	* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
	* Makerules: Re-add missing rule for $(objpfx)stamp.oS.
Diffstat (limited to 'manual/examples/filecli.c')
-rw-r--r--manual/examples/filecli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/examples/filecli.c b/manual/examples/filecli.c
index b77ae6763e..9f64445fa9 100644
--- a/manual/examples/filecli.c
+++ b/manual/examples/filecli.c
@@ -24,7 +24,7 @@ main (void)
   sock = make_named_socket (CLIENT);
 
   /* Initialize the server socket address. */
-  name.sun_family = AF_UNIX;
+  name.sun_family = AF_LOCAL;
   strcpy (name.sun_path, SERVER);
   size = strlen (name.sun_path) + sizeof (name.sun_family);