Errata

Power Programming with RPC

Errata for Power Programming with RPC

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 7
Example 1-3, line 25: changed

if feof (fp) {
to
if (feof(fp)) {

Anonymous    Jul 01, 1997
Printed
Page 7
Example 1-3, line 25: changed

if feof (fp) {
to
if (feof(fp)) {

Anonymous    Jun 01, 1998
Printed
Page 7
Example 1-3, line 25: changed

if feof (fp) {
to
if (feof(fp)) {

Anonymous    Jul 01, 1998
Printed
Page 15
para. 3 and 4: changed "rtele_svc" to "rdb"

(in constant-width)

Anonymous    Jul 01, 1997
Printed
Page 15
para. 3 and 4: changed "rtele_svc" to "rdb"

(in constant-width)

Anonymous    Jun 01, 1998
Printed
Page 15
para. 3 and 4: changed "rtele_svc" to "rdb"

(in constant-width)

Anonymous    Jul 01, 1998
Printed
Page 45
example 3-2

Line 5:
#include <sys/dir.h> /* ...
should be:
#include <dirent.h> /* ...

Line 13:
struct direct *d;
should be:
struct dirent *d;

Note from the Author or Editor:
time marches on as do include files?

Anonymous    Apr 03, 2015
Printed
Page 51

xdr_string(xdrs, &objp, DIR_SIZE) );

Note from the Author or Editor:
based on the context, should be replaced by
xdr_string(xdrs, &objp, DIR_SIZE);

Anonymous    Apr 03, 2015
Printed
Page 58

"vi a" should read "via"

Anonymous    Apr 03, 2015
Printed
Page 84
Example 4-4, moved lines 27-31

/*
* Free previous result if there was one. It might be a long list
* that eats up memory.
*/
if (dirp) xdr_free(xdr_readdir_res, &res);

under line 18

struct direct *d;

Anonymous    Jul 01, 1997
Printed
Page 84
Example 4-4, moved lines 27-31

/*
* Free previous result if there was one. It might be a long list
* that eats up memory.
*/
if (dirp) xdr_free(xdr_readdir_res, &res);

under line 18

struct direct *d;

Anonymous    Jun 01, 1998
Printed
Page 84
Example 4-4, moved lines 27-31

/*
* Free previous result if there was one. It might be a long list
* that eats up memory.
*/
if (dirp) xdr_free(xdr_readdir_res, &res);

under line 18

struct direct *d;

Anonymous    Jul 01, 1998
Printed
Page 224
Example 8-5: changed line 1 from

#define SLAVE_TIMEOUT(900); /* time-out in secs. */
to
#define SLAVE_TIMEOUT 900 /* time-out in secs. */

Anonymous    Jul 01, 1997
Printed
Page 224
Example 8-5: changed line 1 from

#define SLAVE_TIMEOUT(900); /* time-out in secs. */
to
#define SLAVE_TIMEOUT 900 /* time-out in secs. */

Anonymous    Jun 01, 1998
Printed
Page 224
Example 8-5: changed line 1 from

#define SLAVE_TIMEOUT(900); /* time-out in secs. */
to
#define SLAVE_TIMEOUT 900 /* time-out in secs. */

Anonymous    Jul 01, 1998
Printed
Page 235-236
changed figure references in numbers 1-3 under "Remote

Asynchronous..." to

1. Heavyweight processing, as illustrated in Figure 9-2(c).

2. ONC RPC library support as illustrated in Figure 9-2(a).

3. Follow-up RPC (FRPC) as illustrated in Figure 9-2(b).

Anonymous    Jul 01, 1997
Printed
Page 235-236
changed figure references in numbers 1-3 under "Remote

Asynchronous..." to

1. Heavyweight processing, as illustrated in Figure 9-2(c).

2. ONC RPC library support as illustrated in Figure 9-2(a).

3. Follow-up RPC (FRPC) as illustrated in Figure 9-2(b).

Anonymous    Jun 01, 1998
Printed
Page 235-236
changed figure references in numbers 1-3 under "Remote

Asynchronous..." to

1. Heavyweight processing, as illustrated in Figure 9-2(c).

2. ONC RPC library support as illustrated in Figure 9-2(a).

3. Follow-up RPC (FRPC) as illustrated in Figure 9-2(b).

Anonymous    Jul 01, 1998
Printed
Page 259
Example 9-9: under 3rd line from bottom

CLIENT *client

added this new line

init sock;

("init" is aligned with "CLIENT" and the "s" in "sock" is aligned
with the "c" in "*client". there is a blank line after "init sock;")

Anonymous    Jul 01, 1997
Printed
Page 259
Example 9-9: under 3rd line from bottom

CLIENT *client

added this new line

init sock;

("init" is aligned with "CLIENT" and the "s" in "sock" is aligned
with the "c" in "*client". there is a blank line after "init sock;")

Anonymous    Jun 01, 1998
Printed
Page 259
Example 9-9: under 3rd line from bottom

CLIENT *client

added this new line

init sock;

("init" is aligned with "CLIENT" and the "s" in "sock" is aligned
with the "c" in "*client". there is a blank line after "init sock;")

Anonymous    Jul 01, 1998