Re: lines modified in newly-added files

2005-02-21 Thread Neil Conway
Derek Price wrote: You will need to count the total number of lines in the HEAD revision and keep it up to date as added and deleted lines for other revisions are processed. Later, in `cvs log', these new fields should be usable in conjunction with added and removed lines to get the output you are

Re: lines modified in newly-added files

2005-02-21 Thread Neil Conway
Jim.Hyslop wrote: Maybe it could be turned on using a command-line option, e.g.: cvs commit -a -a Display the number of lines added/removed for new or deleted files. I'm don't think that a flag to "commit" is the right place -- I want this change to take effect retroactively on old repositories. Al

RE: Windows & POSIX

2005-02-21 Thread Conrad T. Pino
Hi Derek, My Visual C++ 6.0 installation has source for the C Run Time library. File handles returned by "open" and "create" are NOT Windows API level file handles. They are an index into arrays of an internal library structure which contains a field for saving the Windows API level file handle.

Windows & POSIX

2005-02-21 Thread Conrad T. Pino
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Derek, New thread started from Frank Hemmer's ":ext: with ssh failure on w2k - patch" thread. I agree with Frank that Windows "select" implementation accepts neither pipe nor file descriptors. Microsoft claims POSIX compliance for Windows but I

Re: CVS Feature Branch - Windows Build Broken - run_add_arg, run_piped

2005-02-21 Thread Frank Hemer
On Monday 21 February 2005 22:42, Conrad T. Pino wrote: > The following patch fixes all build errors. > > I don't claim it works and I don't claim it doesn't work. It works for me - I have just testet the same patch;-) Frank ___ Bug-cvs mailing list B

RE: CVS Feature Branch - Windows Build Broken - run_add_arg, run_piped

2005-02-21 Thread Conrad T. Pino
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following patch fixes all build errors. I don't claim it works and I don't claim it doesn't work. It's a good guess and I'd appreciate feedback before committing. Index: windows-NT/run.c

CVS Feature Branch - Windows Build Broken - run_add_arg, run_piped

2005-02-21 Thread Conrad T. Pino
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - Configuration: cvsnt - Win32 Debug Linking... logmsg.obj : error LNK2001: unresolved external symbol _run_add_arg modules.obj : error LNK2001: unresolved external symbol _run_add_arg release.obj : error LNK20

Re: import.c: heisenbug detected

2005-02-21 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Frank, Good catch. Patch committed to 1.11.x and 1.12.x. Thanks, -- Mark 2005-02-21 Mark D. Baushke <[EMAIL PROTECTED]> * import.c (import): Avoid using assert with side effects it may be configured away using N

import.c: heisenbug detected

2005-02-21 Thread Frank Hemer
If NDEBUG is defined, import fails with an unspecific error. This happens with the 1.12.x and the 1.11.x tree. Note that the linux build does not define NDEBUG by default. However the win build has it. Find below a patch that fixes this issue: Index: import.c ==

RE: Changing passwords for CVS Users (pserver protocol)

2005-02-21 Thread Jim.Hyslop
Derek Price wrote: > Actually, most of the CVS maintainers have simply been busy lately. I know that feeling ;=) > I'll try to get to the watch patch soon. Thanks. -- Jim Hyslop Senior Software Designer Leitch Technology International Inc. ( http://www.leitch.com ) Columnist, C/C++ Users Journal

RE: lines modified in newly-added files

2005-02-21 Thread Jim.Hyslop
Neil Conway wrote: > On Tue, 2005-02-15 at 12:41 +1100, Neil Conway wrote: > > I would like to see "lines: +3 0" associated with revision > 1.1. It is > > possible to get the number of lines modified via a kludge > (fetch the 1.1 > > revision of the file and manually count the number of lines >

Re: Changing passwords for CVS Users (pserver protocol)

2005-02-21 Thread Derek Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim.Hyslop wrote: | Guus Leeuw jr. wrote: | |> Guess the dev mailing list is not really frequented, and also |> monitored? | | Does seem that way, doesn't it? Nobody's responded to my messages | about the default watch attributes. | | I know many people

Re: lines modified in newly-added files

2005-02-21 Thread Derek Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Conway wrote: | On Tue, 2005-02-15 at 12:41 +1100, Neil Conway wrote: | |> I would like to see "lines: +3 0" associated with revision 1.1. |> It is possible to get the number of lines modified via a kludge |> (fetch the 1.1 revision of the file and

Re: fix xgethostname on OSX [patch]

2005-02-21 Thread Jim Meyering
"Mark D. Baushke" <[EMAIL PROTECTED]> wrote: ... > 2) It seems that the patch you sent was stripped > by the list software on gnu.org (normally it > throws away attachments of any kind). ... > I am adding [EMAIL PROTECTED] to this message so > that they see a description of your problem