bug-coreutils
[Top][All Lists]
Advanced

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

Re: dd patch to remove noctty


From: Jim Meyering
Subject: Re: dd patch to remove noctty
Date: Thu, 08 Apr 2004 23:40:23 +0200

Paul Eggert <address@hidden> wrote:
> Philippe Troin <address@hidden> writes:
>
>> noctty definitely seems overkill... I can't see why dd would ever want
>> to open a file without O_NOCTTY.
>
> Good point; it's just a confusion for the user.  Here's a patch to
> cause dd to always use O_NOCTTY.  If someone ever needs it the other
> way (not likely) I suppose we can add a "ctty" flag.
>
> 2004-04-08  Paul Eggert  <address@hidden>
>
>       * NEWS: Remove noctty flag from dd.  Suggested by Philippe Troin.
>       * doc/coreutils.texi (dd invocation): Likewise.
>       * src/shred.c (O_NOCTTY): Remove redundant decl.
>       * src/dd.c (flags, usage): Remove noctty flag.
>       (main): Always use O_NOCTTY when opening files.

Applied.  Thanks!




reply via email to

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