Your message dated Mon, 13 Oct 2014 22:00:07 +0200
with message-id <[email protected]>
and subject line Re: Bug#748926: manpages-dev: umask(2) example unclear
has caused the Debian Bug report #748926,
regarding manpages-dev: umask(2) example unclear
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
748926: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748926
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: manpages-dev
Version: 3.65-1
Severity: minor

Dear Maintainer,

the man page for umask(2) is a bit unclear, in that it contains the
following line : 
    0666 & ~022 = 0644; i.e., rw-r--r--
that is slightly misleading (took me ~6 hours to understand where the problem 
was coming from) for anyone who doesn't use ~ as NOT.

Suggested fix : replace that line with something like 
    0666 !& 022 = 0644; since 110 110 110 NAND 000 010 010 = 110 100
    100; i.e., rw-r--r--


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages manpages-dev depends on:
ii  manpages  3.65-1

manpages-dev recommends no packages.

Versions of packages manpages-dev suggests:
ii  man-db [man-browser]  2.6.7.1-1

-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu, May 22, 2014 at 01:08:23PM +0200, Michael Kerrisk (man-pages) wrote:
> On Thu, May 22, 2014 at 12:40 PM, wxcafe <[email protected]> wrote:
> > the man page for umask(2) is a bit unclear, in that it contains the
> > following line :
> >     0666 & ~022 = 0644; i.e., rw-r--r--
> > that is slightly misleading (took me ~6 hours to understand where the 
> > problem
> > was coming from) for anyone who doesn't use ~ as NOT.
> >
> > Suggested fix : replace that line with something like
> >     0666 !& 022 = 0644; since 110 110 110 NAND 000 010 010 = 110 100
> >     100; i.e., rw-r--r--
> 
> But ~ *is* the C bitwise-NOT operator. So I don't understand this
> piece: "for anyone who doesn't use ~ as NOT"... Thus, the existing
> text seems fine to me.

Closing as wontfix.

-- 
Simon Paillard

--- End Message ---

Reply via email to