HP Tru64 UNIX and TruCluster Server Version 5.1B-6 Patch Summary and Release Notes

If STDS_FLAG is not set or is set to NULL, when uucp, attempts to create a regular file with the
same name as an existing directory, the attempt fails and the file attributes are not changed. This
was the default action before uucp was modified.
Changes to uudecode
The uudecode command has been enhanced to recognize symbolic file mode.
For example, consider a case in which an editor was used to modify the first line of a source file
of an encoded file from this:
begin 744 example.en
to this:
begin u=rwx,go=r example.en
The modified uudecode command would recognize the symbolic mode and create the file
example.en.
To produce this POSIX-compliant action, set the new STDS_FLAG to ALL:
STDS_FLAG=ALL
If STDS_FLAG is not set or is set to NULL, when uudecode, will recognize only absolute file
mode. This was the default action before uudecode was modified.
New Generic Subsystem Attribute Corrects UNIX98 Standards Violations
A new tunable system attribute, std_unix98, has been added under the generic subsystem to
cause the waitpid( ) and poll( ) system calls to conform to UNIX98 standard behavior.
See the revised sys_attris_generic(5) reference page delivered in this kit for more information.
Refer to the standards(5) reference page for more information about industry standards and
associated tags.
waitpid() System Call
Prior to the installation of this kit, the waitpid() system call failed to conform to the following
UNIX98 requirement:
A call to pid_t waitpid(pid_t pid, int *stat_loc, int options)
when
the calling process has SA_NOCLDWAIT set or has SIGCHLD set to SIG_IGN
and
has no unwaited for children that were transformed into zombie processes
shall block until all of its children terminate, fail, and set errno to ECHILD.
The new std_unix98 attribute enables waitpid( ) to conform to UNIX98 standard behavior.
For example, consider a situation in which a calling process has multiple children and no
unwaited-for child zombie and you call waitpid( ) with a specific child PID:
If you set std_unix98=1 or std_unix98=4, waitpid( ) blocks until all of its children
terminate (UNIX98 standard behavior).
If you set std_unix98=0 waitpid( ) blocks until any of its children exits.
poll() System Call
Prior to the installation of this kit, the poll() system call fails to conform to the following
UNIX98 requirement:
When no priority band has been written to on this STREAM, then a successful
call to int poll(struct pollfd fds[], nfds_t nfds, int timeout)
shall examine each element of the fds array for instances where the POLLWRBAND
flag is set in the events member and data for a priority band greater than 0 can
be written to the file descriptor specified by the fd member without blocking and
Prior Release Notes 39