summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-08-30 00:58:28 +0000
committerUlrich Drepper <drepper@redhat.com>1996-08-30 00:58:28 +0000
commit6e953631df4b716fcf2d2bcfb62e44ffba2a6b40 (patch)
treea7258ce3689b120b270f0bedda5806092660774c /manual
parent747e2b436143d80406e21f647f7ba9837f73a173 (diff)
update from main archive 960829cvs/libc-960830
Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/Dist: Add close.S. * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. * version.c: Add comment about where to report bugs to. * catgets/gencat.c (usage): Likewise. * db/makedb.c (usage): Likewise. * locale/programs/locale.c (usage): Likewise. * locale/programs/localedef.c (usage): Likewise. * manual/socket.texi: A little bit better wording. Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com> * Makerules: Make sure directory exists before generating stamp file. (BUILD_CFLAGS): Always refer to using $(..). * manual/Makefile: Make sure directory exists before generating stamp file. (make-target-directory): Add macro definition. * sysdeps/generic/Makefile: Make sure directory exists before generating stamp file. * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny. Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> When compiling in separate directory put objects into subdirectories matching the source layout. * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir). When looking for configparms try in $(common-objpfx). Use $(common-objpfx)SUBDIR to find objects from other subdirectory builds. * Makerules: Add $(objpfx) to vpath list. (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d more than once. All uses in dependency lists changed. (+make-deps): Make target directory. (sed-remove-objpfx): Substitute $(common-objpfx). (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use $(objpfx) instead of $(objdir) for cd command. (O%-lib): Always find libc relative to $(..). (subdir-stamps): Collect stamp files from subdirs. (common-mostlyclean): Remove stub file in $(common-objpfx). * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common. * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to more than once. ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use $(common-objfpx). All uses in dependency lists changed. (generated): Prepend $(..) to names. * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx) from $@. * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so): Use $(common-objpfx) instead of $(..) in dependencies. * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use $(common-objpfx) instead of $(..) and (objpfx). * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise. (rpath-link): Likewise. (rpcuserlibs): Likewise. * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for errlist.c in $(objpfx), not $(common-objpfx). ($(common-objpfx)s-proto.d): Special rule not covered by pattern rule. * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on s-proto.d in $(common-objpfx), not $(objpfx). Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com> * nss/nsswitch.c (nss_dlerror_run): Free returned error string. Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double' implementation. * sysdeps/libm-ieee754/e_atanhl.c: Likewise. * sysdeps/libm-ieee754/e_remainderl.c: Likewise. * sysdeps/libm-ieee754/e_scalbl.c: Likewise. * sysdeps/libm-ieee754/s_asinhl.c: Likewise. * sysdeps/libm-ieee754/s_cosl.c: Likewise. * sysdeps/libm-ieee754/s_sinl.c: Likewise. * sysdeps/libm-ieee754/s_tanhl.c: Likewise. * sysdeps/libm-ieee754/s_tanl.c: Likewise. * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
Diffstat (limited to 'manual')
-rw-r--r--manual/Makefile13
-rw-r--r--manual/socket.texi24
2 files changed, 23 insertions, 14 deletions
diff --git a/manual/Makefile b/manual/Makefile
index a6cd048d6e..c0a5782ea7 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -165,8 +165,17 @@ $(glibc-targets):
# changed the library.
lib: $(foreach o,$(object-suffixes),$(objpfx)stamp$o-$(subdir))
stubs: $(common-objpfx)stub-manual
-$(common-objpfx)stub-manual ../po/manual.pot:; cp /dev/null $@
-$(objpfx)stamp%-$(subdir):; cp /dev/null $@
+$(common-objpfx)stub-manual ../po/manual.pot $(objpfx)stamp%-$(subdir):
+ $(make-target-directory)
+ cp /dev/null $@
+
+
+# Make the target directory if it doesn't exist, using the `mkinstalldirs'
+# script that does `mkdir -p' even if `mkdir' doesn't support that flag.
+define make-target-directory
+$(addprefix $(..)./mkinstalldirs ,\
+ $(filter-out $(wildcard $(@D:%/=%)),$(@D:%/=%)))
+endef
# The top-level glibc Makefile expects subdir_install to update the stubs file.
subdir_install: stubs
diff --git a/manual/socket.texi b/manual/socket.texi
index 0b338fca82..91084be16d 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -151,7 +151,7 @@ Use of this style is covered in detail in @ref{Connections}.
@comment BSD
@deftypevr Macro int SOCK_DGRAM
The @code{SOCK_DGRAM} style is used for sending
-individually-addressed packets, unreliably.
+individually-addressed packets, unreliably.
It is the diametrical opposite of @code{SOCK_STREAM}.
Each time you write data to a socket of this kind, that data becomes
@@ -585,7 +585,7 @@ for information about this.
* Services Database:: Ports may have symbolic names.
* Byte Order:: Different hosts may use different byte
ordering conventions; you need to
- canonicalize host address and port number.
+ canonicalize host address and port number.
* Inet Example:: Putting it all together.
@end menu
@@ -650,7 +650,7 @@ numeric address it stands for.
* Names: Host Names. Translating host names to host numbers.
@end menu
-@node Abstract Host Addresses
+@node Abstract Host Addresses
@subsubsection Internet Host Addresses
@cindex host address, Internet
@cindex Internet host address
@@ -683,7 +683,7 @@ of an Internet address specifies a network. The remaining bytes of the
Internet address specify the address within that network.
The Class A network 0 is reserved for broadcast to all networks. In
-addition, the host number 0 within each network is reserved for broadcast
+addition, the host number 0 within each network is reserved for broadcast
to all hosts in that network.
The Class A network 127 is reserved for loopback; you can always use
@@ -966,9 +966,9 @@ This condition happens when the name server could not be contacted. If
you try again later, you may succeed then.
@comment netdb.h
-@comment BSD
-@item NO_RECOVERY
-@vindex NO_RECOVERY
+@comment BSD
+@item NO_RECOVERY
+@vindex NO_RECOVERY
A non-recoverable error occurred.
@comment netdb.h
@@ -1421,7 +1421,7 @@ read and write operations. But, like pipes, sockets do not support file
positioning operations.
@end deftypefun
-For examples of how to call the @code{socket} function,
+For examples of how to call the @code{socket} function,
see @ref{File Namespace}, or @ref{Inet Example}.
@@ -1615,7 +1615,7 @@ error conditions are defined for this function:
The socket @var{socket} is not a valid file descriptor.
@item ENOTSOCK
-The socket @var{socket} is not a socket.
+File descriptor @var{socket} is not a socket.
@item EADDRNOTAVAIL
The specified address is not available on the remote machine.
@@ -2635,7 +2635,7 @@ This option gets or sets the size of the input buffer. The value is a
@comment GNU
@item SO_STYLE
@comment sys/socket.h
-@comment BSD
+@comment BSD
@itemx SO_TYPE
This option can be used with @code{getsockopt} only. It is used to
get the socket's communication style. @code{SO_TYPE} is the
@@ -2644,7 +2644,7 @@ The value has type @code{int} and its value designates a communication
style; see @ref{Communication Styles}.
@comment sys/socket.h
-@comment BSD
+@comment BSD
@item SO_ERROR
@c Extra blank line here makes the table look better.
@@ -2712,7 +2712,7 @@ network.
@deftypefun {struct netent *} getnetbyaddr (long @var{net}, int @var{type})
The @code{getnetbyaddr} function returns information about the network
of type @var{type} with number @var{net}. You should specify a value of
-@code{AF_INET} for the @var{type} argument for Internet networks.
+@code{AF_INET} for the @var{type} argument for Internet networks.
@code{getnetbyaddr} returns a null pointer if there is no such
network.