9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] CVS 1.11.23
@ 2013-09-12 16:22 lucio
  0 siblings, 0 replies; only message in thread
From: lucio @ 2013-09-12 16:22 UTC (permalink / raw)
  To: 9fans

Should anyone find it useful, I have repaired CVS where it insisted in
creating files (on import and add/commit, seemingly) with empty
permissions.

The expression in src/import.c:1444,1448

    mode = (sb.st_mode |
            (sb.st_mode & S_IRWXU) >> 3 |
            (sb.st_mode & S_IRWXU) >> 6) &
           ~cvsumask &
           ~(S_IWRITE | S_IWGRP | S_IWOTH);

must lose the ~ in front of cvsumask.  How it got there and why no one
has fixed it is a bit of a mystery to me.

I haven't yet made sure that my copy of the sources is faithful to the
release - it's been a long time since I last looked into this - but if
anyone wants me to dump the sources as they stand in their direction,
just drop me a line, preferably here on 9fans or on my google mail
account: lucio.dere is the account.

++L




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-12 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-12 16:22 [9fans] CVS 1.11.23 lucio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).