From b63461812ff268dcff55990a18c70d9875a9dd66 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 21 May 2013 10:20:10 +0300 Subject: Add advice to run make install. --- doc/gawk.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index b8856115..a4e2c6b6 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -34217,6 +34217,15 @@ check the files in the @file{README_d} directory to see if you've found a known problem. If the failure is not described there, please send in a bug report (@pxref{Bugs}). +Of course, once you've built @command{gawk}, it is likely that you will +wish to install it. To do so, you need to run the command @samp{make +check}, as a user with the appropriate permissions. How to do this +varies by system, but on many systems you can use the @command{sudo} +command to do so. The command then becomes @samp{sudo make install}. It +is likely that you will be asked for your password, and you will have +to have been set up previously as a user who is allowed to run the +@command{sudo} command. + @node Additional Configuration Options @appendixsubsec Additional Configuration Options @cindex @command{gawk}, configuring, options -- cgit v1.2.3 From 62b366e5e839aee729a9f97d3c4c38bca4aaddab Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 27 May 2013 18:39:47 +0300 Subject: Replace obsolete AC_STRUCT_ST_BLKSIZE macro. --- doc/gawk.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index a4e2c6b6..b6c72540 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -31856,9 +31856,9 @@ certain members and/or the type of the file. It then returns zero, for success: @example -#ifdef HAVE_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE array_set_numeric(array, "blksize", sbuf->st_blksize); -#endif /* HAVE_ST_BLKSIZE */ +#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */ pmode = format_mode(sbuf->st_mode); array_set(array, "pmode", make_const_string(pmode, strlen(pmode), @@ -34300,7 +34300,7 @@ they can be correctly included, what (supposedly) standard functions are actually available in your C libraries, and various miscellaneous facts about your operating system. For example, there may not be an @code{st_blksize} element in the @code{stat} structure. In this case, -@samp{HAVE_ST_BLKSIZE} is undefined. +@samp{HAVE_STRUCT_STAT_ST_BLKSIZE} is undefined. @cindex @code{custom.h} file It is possible for your C compiler to lie to @command{configure}. It may -- cgit v1.2.3 From 407dddb6e9b24c2ca139ec84f8e3f541fbb18451 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 29 May 2013 22:15:50 +0300 Subject: Add "devbsize" to stat extension and doc. --- doc/gawk.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index b6c72540..240669cf 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -31597,6 +31597,15 @@ filesystem. @item "symlink" The file is a symbolic link. @end table + +@c 5/2013: Thanks to Corinna Vinschen for this information. +@item "devbsize" +The size of a block for the element indexed by @code{"blocks"}. +This information is derived from either the @code{DEV_BSIZE} +constant defined in @code{} on most systems, +or the @code{S_BLKSIZE} constant in @code{} on BSD systems. +For some other systems, @dfn{a priori} knowledge is used to provide +a value. Where no value can be determined, it defaults to 512. @end table Several additional elements may be present depending upon the operating -- cgit v1.2.3