bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch]lib/savewd working on OpenVMS


From: Paul Eggert
Subject: Re: [patch]lib/savewd working on OpenVMS
Date: Mon, 3 Jul 2017 16:07:24 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 07/03/2017 03:30 PM, John E. Malmberg wrote:
OpenVMS does not have a fork() call and savewd.c is one of the few cases where the OpenVMS vfork() call can be directly substituted.

This is true only if the application limits itself to a fairly restrictive set of actions between the savewd_chdir and the savewd_restore, no? For example, the caller to savewd_chdir cannot return before calling savewd_restore. If so, these restrictions should be documented in a brief savewd.h comment to the effect, "To be portable to OpenVMS, callers to savewd_chdir and savewd_restore should respect the following constraints: ...."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]