time so that it is found
and fixed quickly.
I think the question boils down to what are the priorities CVS is aiming for.
Either reliability takes a back seat to performance or vice versa. It's true
that it's possible to have both, but we've all seen that this doesn't happen in
practice without
[EMAIL PROTECTED] on 05/03/2000 12:44:09 AM
I was looking at that, too. I tend to feel that 0-byte allocations should be
allowed (returning NULL) and, if systems' frees don't handle NULL properly,
there should be an xfree() that'll do so.
I can see the occasional need to allocate a unique
Derek Scherger wrote:
For safety, I propose that xmalloc zero out the memory it allocates. Any
comments or rebuttals?
For safety, I would prefer it does not. I don't think we should
use non-portable solutions to cover up the faults of badly-written
software. I'd feel more
Donald Sharp writes:
I was/am volunteering to waste my own time. Would you accept it
if it was done?
No. It's not worth my time to apply a patch.
-Larry Jones
I've got an idea for a sit-com called "Father Knows Zilch." -- Calvin
Noel L Yap writes:
Hopefully, many eyes will tend to spot wild-pointer errors.
I prefer the cybernetic eyes of Purify and similar tools -- I run a
Purified version of CVS through the test suite every now and then and
there are currently no errors (although there are still a *lot* of
leaks).
[ On Wednesday, May 3, 2000 at 11:46:27 (-0400), Larry Jones wrote: ]
Subject: Re: question (preference?) about xmalloc
Noel L Yap writes:
Hopefully, many eyes will tend to spot wild-pointer errors.
I prefer the cybernetic eyes of Purify and similar tools -- I run a
Purified version
[smc] David Thornley wrote: [...]
If xmalloc is to initialize memory, I'd prefer it to be initialized
to something obviously bad. Jonathan Gilligan had some very good
suggestions. Now, "obviously bad" is system-specific, but it's better
than initializing to a value selected to be
Donald Sharp [EMAIL PROTECTED] writes:
Although looking at the xmalloc call, I don't know if it's such a good
thing for it to take a 0 length request and turn it into a 1 byte
request. Why would we need to ask for a 0 length portion of memory?
malloc of 0 bytes on some platforms returns
[EMAIL PROTECTED] on 05/02/2000 03:13:34 PM
i agree in principle ;). It probably would be better to
use calloc, within the xmalloc call( as that calloc will zero
out the memory for you ), then malloc.
Larry's convinced me otherwise. IMHO, the "right" way to fix the problem is to
have
On Tue, May 02, 2000 at 03:28:15PM -0400, Noel L Yap wrote:
[EMAIL PROTECTED] on 05/02/2000 03:13:34 PM
i agree in principle ;). It probably would be better to
use calloc, within the xmalloc call( as that calloc will zero
out the memory for you ), then malloc.
Larry's convinced me
Noel L Yap writes:
I was looking at that, too. I tend to feel that 0-byte allocations should be
allowed (returning NULL) and, if systems' frees don't handle NULL properly,
there should be an xfree() that'll do so.
The problem with that is that code that calls malloc almost always
assumes
[ On Tuesday, May 2, 2000 at 14:01:09 (-0400), Noel L Yap wrote: ]
Subject: question (preference?) about xmalloc
For safety, I propose that xmalloc zero out the memory it allocates. Any
comments or rebuttals?
Generally speaking it is not safe (i.e. not portable) to assume that
memset()ing
Noel L Yap wrote:
I've noticed that xmalloc does not zero out the memory that's just been
allocated.
Right. It shouldn't have to. Well-written programs do not access
uninitialized memory.
This doesn't jive well when adding new fields to existing structures
(specially these structures
Donald Sharp writes:
would this be a good thing(tm) for someone to go and do?
No. The existing methodology may fall slightly short of some people's
ideal, but it's a widely used methodology and it works just fine.
Changing it at this point would be a lot of work for very little gain.
could be made a macro.
would this be a good thing(tm) for someone to go and do?
donald
Noel
[EMAIL PROTECTED] on 05/02/2000 04:50:40 PM
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: question (preference?) about xmalloc
Noel L Yap writes
I was/am volunteering to waste my own time. Would you accept it
if it was done?
donald
On Tue, May 02, 2000 at 05:57:57PM -0400, Larry Jones wrote:
Donald Sharp writes:
would this be a good thing(tm) for someone to go and do?
No. The existing methodology may fall slightly short of
For safety, I propose that xmalloc zero out the memory it allocates. Any
comments or rebuttals?
For safety, I would prefer it does not. I don't think we should
use non-portable solutions to cover up the faults of badly-written
software. I'd feel more comfortable using the software
If I have a copy of a file and I do "cvs up", should CVS change the mode (ie
read, write, execute bits) of the file? IMHO, it should not since, the only way
permissions wouldn't match that of the archive (aside from the write bits of
course) would be if I explicitly changed them. I should
Well, hmm... the question is, then, should the mode of a file be part of
the information the cvs is responsible for "controlling".
As it is right now, the mode the file is in when it is first added is what
it will always have unless you go change the mode in the actual
repository.
ange it back before the
commit.
It doesn't make sense at all to change the read bits so let's not discuss it.
Noel
[EMAIL PROTECTED] on 2000.04.28 17:30:49
To: [EMAIL PROTECTED]
cc: (bcc: Noel L Yap)
Subject: Re: philosophy question about CVS and permissions
Well, hmm... the
This must be an FAQ, but I can't find the answer anywhere in the manual.
How do I start a cvs server on a machine where I don't have root access to
play with /etc/inetd.conf.
--
ian
You can use rsh or ssh to access a remote repository as well.
Set your $CVSROOT = :ext:user@machine:/path/to/repository.
By default cvs uses rsh. Set $CVS_RSH = ssh if you want to
use ssh. You can also tell cvs to use a different port
if you insist on using pserver mode via the $CVS_CLIENT_PORT
Donald Sharp wrote:
How do I start a cvs server on a machine where I don't have root access to
play with /etc/inetd.conf.
Try xinetd, which doesn't require root privileges. See
http://synack.net/xinetd/.
--Avi
= Avi Green :) (: www.sputnik7.com =
Unix S/A
Read the manual. Specifically section 12 keyword substitution.
Starting on page 73. The manual should come with your version
of cvs.
donald
On Thu, Apr 13, 2000 at 11:40:34AM -0600, David A. Hite wrote:
Hi,
I'm using CVS and I can't find any info on making CVS automatically
update my
Hi All,
I would like to ask a question on binary files. For the right now, I
am
using cvs-1.10 and WinCVS as Front End. I have been imported the
binary files as binary type in the cvs. and then use admin function to
turn it binary. But no matter what kinds of functions that I have been
taken
Hi Hilary,
Hilary Cheng schrieb:
Hi All,
I would like to ask a question on binary files. For the right now, I
am
using cvs-1.10 and WinCVS as Front End. I have been imported the
binary files as binary type in the cvs.
i.e. you used
cvs add -kb myfile.bin
and
cvs commit
Hilary Cheng wrote:
Hi All,
I would like to ask a question on binary files. For the right now, I
am
using cvs-1.10 and WinCVS as Front End. I have been imported the
binary files as binary type in the cvs. and then use admin function to
turn it binary. But no matter what kinds
think NT CVS got problem on Line Feed Characters.
Regards,
Hilary
Ulrik Sandberg wrote:
Hilary Cheng wrote:
Hi All,
I would like to ask a question on binary files. For the right now, I
am
using cvs-1.10 and WinCVS as Front End. I have been imported the
binary files
[ On Friday, April 7, 2000 at 09:19:12 (-0400), Laird Nelson wrote: ]
Subject: Importing of CVS sources question
I started by importing cvs v1.10 lo these many months ago into our own
CVS repository. Now I pulled down CVS v1.10.8 and imported that onto
the vendor branch following
I started by importing cvs v1.10 lo these many months ago into our own
CVS repository. Now I pulled down CVS v1.10.8 and imported that onto
the vendor branch following the recommended steps. Everything worked
fine. Then I went to make it.
On making lib/getdate.c, it looks like that's made
Laird Nelson writes:
However, it strikes me that getdate.c is a generated file (after all
it's made from some combination of its previous self and a yacc file).
If it's a generated file, why isn't there an entry for it in
lib/.cvsignore in the distribution? Should I check in the "made"
From: Donald Sharp [EMAIL PROTECTED]
Subject: val-tags file question...( merging two repositories )
Date: Thu, 6 Apr 2000 00:55:43 +0900 (JST)
| I looked in the cvs manual and was unable to find any info on
| the val-tags file. If I am merging two repositories would
| it be ok
I looked in the cvs manual and was unable to find any info on
the val-tags file. If I am merging two repositories would
it be ok to just merge the val-tags file( removing any duplicates
of course )?
Thanks!
donald
I have the following issue with WinCVS that keeps me from using it in my
application. I am interested in finding someone (under paid contract) to
add the features I've listed. Any help you can provide will be useful.
Here are the characteristics of our use of CVS:
* We use NT
I have a website I'm managing with CVS. I have a development system at
home where I make changes, commit them, then go to the remote "live"
server, and do an update.
Question 1: If I add directories or files on the local dev machien and
follow the commit-update steps above, will
Peter Loron writes:
Question 1: If I add directories or files on the local dev machien and
follow the commit-update steps above, will those new directories show
up on the remote server or do I need to do a checkout?
You have to use the -d option to update to create new directories
(either
Peter Loron writes:
Ok, is there a way to go back and retroactively mark *.gif *.jpg in the
repository as binary? Would setting up the correct line in CVSWRAPPERS do
it?
You can use ``cvs admin -kb [files]'' in your working directory to mark
the repository files as binary (note that this
- Original Message -
From: "Larry Jones" [EMAIL PROTECTED]
To: "Peter Loron" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, March 22, 2000 2:22 PM
Subject: Re: Question on checkout/update
Peter Loron writes:
Question 1: If I add directories or fi
On Wednesday, March 22, 2000 6:40 AM, Russell A Hoffman
[SMTP:[EMAIL PROTECTED]] wrote:
Hi, I was wondering if anyone could help me out with a CVS question I
had?
Well, what I'm trying to do is manage a fairly large website using CVS.
I've managed to successfully import and test checking
:
On Wednesday, March 22, 2000 6:40 AM, Russell A Hoffman
[SMTP:[EMAIL PROTECTED]] wrote:
Hi, I was wondering if anyone could help me out with a CVS question I
had?
Well, what I'm trying to do is manage a fairly large website using CVS.
I've managed to successfully import and test
This information is documented, but I want to make sure I am correct
in my understanding of it.
Is it true that when used with the -r option, 'HEAD' always refers to
the latest revision on the _main_ _trunk_, or does it refer to the
latest revision of the file, including revisions that are on
Is there a good way to to get a commitinfo entry to always run on
files under a certain directory, even if the person committing the
file is doing it from a subdirectory of that directory? For example,
say I want everything under the directory $CVSROOT/Top checked by a
program, and a user
t I can see browsing the archives at
http://www.egroups.com/list/info-cvs/, at least two people have asked
the question I'd like to ask, but I can't find any answers. My
apologies if I've overlooked it.
I would like a script called from commitinfo to examine the contents
of committe
. One
would then checkout this module to a spot that can be found by the users of the
module.
Noel
[EMAIL PROTECTED] on 02/23/2000 04:11:31 PM
To: [EMAIL PROTECTED]
cc: (bcc: Noel L Yap)
Subject: Question About Modules
I have a situation where I have a CVS project that contains sharable
I have a situation where I have a CVS project that contains sharable
components.
I then want to be able to get those sharable components into other projects'
directories
but not under CVS control. Here is an example:
ShareProject
Models
CatFiles
MyProject
Hi there,
I'm trying to refresh my memory in CVS (I haven't used it for over 5
years now..)
If I have an existing CVS repository that contains one module, and in
this module, there are about 50 sub-directories which were not
modulized. My question is, if I wish to module-rize these 50
sub
1001 - 1046 of 1046 matches
Mail list logo