It's a security feature of your inetd. If too many connections are
initiated in too short a time it stops accepting connections for 10
minutes. I think both the number of connections that takes and the
length of the timeout is configurable, but if you can rewrite your
script to open less
We have been using a pserver implementation
for a while at my company. On an HPUX-10 server
the following seem to work fine.
cvspserver 2401/tcp# in the /etc/service file
cvspserver stream tcp nowait root
/usr/local/bin/cvs cvs --allow-root=/usr/cvsroot pserver
# in the
I'm curious about ampersand modules.
Once a regular module (containing another module via the "" construct)
is checked out, does that module actually *know* that it contains the
contained module?
If my modules file says something like this:
frobnicator frobnicator caturgiator
...and I do
Laird Nelson [EMAIL PROTECTED] writes:
I'm curious about ampersand modules.
Once a regular module (containing another module via the "" construct)
is checked out, does that module actually *know* that it contains the
contained module?
If my modules file says something like this:
On Wednesday, November 29, 2000 10:22 AM, Laine Stump
[SMTP:[EMAIL PROTECTED]] wrote:
Laird Nelson [EMAIL PROTECTED] writes:
I'm curious about ampersand modules.
Once a regular module (containing another module via the "" construct)
is checked out, does that module actually *know* that
Richard Whitfield writes:
I have had a good look through the www.cvshome.org website and I have found
out that CVS sends patches for large files during updates "when
appropriate". Can anybody tell me the algorithm followed in deciding whether
to send the whole file or just a patch when
Hi All,
I am considering using CVS for distributed engineering design projects
(2,000+ CAD files, each 1-3MB). Drawings would be created/modified in
several countries.
I have had a good look through the www.cvshome.org website and I have found
out that CVS sends patches for large files during
Hello info-cvs,
CVS is a really great program. I am using it since 09-2000 and I am so
happy about this great product.
Currently, i have not setup any branches yet, because i never felt to
do this. But my project i am developing gets bigger and bigger, i am
sure i could give out a CURRENT
I have a current version of code that is stable. I have a developer
that wants to go off in a different direction on a few ideas and see how
it comes out. Management has okayed this. Can I just create a branch
in CVS to handle this? I only ask, as the documentation I have read
indicates that
"Tige D. Chastain" wrote:
I have a current version of code that is stable. I have a developer
that wants to go off in a different direction on a few ideas and see how
it comes out. Management has okayed this. Can I just create a branch
in CVS to handle this? I only ask, as the
I am currently evaluating CVS for use at my work place (I already use it for
some open source programs I do on the side) and I have a question about
binary files that I need to clarify before I can recommend we use it.
As I understand it, CVS stores the differences of text files so that you can
William Mulvihill wrote:
to the server, does CVS make a backup of that old file and then add the new
updated file in as the newest version? Or does it remove the old one and
replace it with the new one? I believe the case is that it backups the old
This morning I am attempting to replace a file in
CVS that someone deleted. When I hit the "add selection" I recieved the
following error message:
cvs add glossary.html (in directory
C:\Project\documentation\doc\Glossary)
cvs server: glossary.html added independently by second party
Hi Lisa,
This morning I am attempting to replace a file in CVS that someone
deleted. When I hit the "add selection" I recieved the following
error message:
cvs add glossary.html (in directory C:\Project\documentation\doc\Glossary)
cvs server: glossary.html added independently by second
Suppose a project has to branches: the head is the current,
development, release, and there is a stable branch, as well.
Suppose I'm about to make a change which is supposed to go in both the
head and the stable branch.
What would be the easiest way to achieve this? Is there an idiomatic
way
[ On Tuesday, October 24, 2000 at 15:18:20 (-0700), Ryan Hennig wrote: ]
Subject: RE: Commitinfo question
Perhaps I should clarify my intentions in setting up the system that I
described. My team is building a system that enforces the policy that a
developer should only commit code that has
A Visionary Name for a Visionary Company
On October 24, 2000 at 1:00 p.m., STC announced that we have changed our
name to SeeBeyond. The new name reflects the company's strategic role in
helping customers see beyond corporate and geographic boundaries - an
essential element of leadership in the
A Visionary Name for a Visionary Company
On October 24, 2000 at 1:00 p.m., STC announced that we have changed our
name to SeeBeyond. The new name reflects the company's strategic role in
helping customers see beyond corporate and geographic boundaries - an
essential element of leadership in the
both compiling and serving up developers'
CVS requests. This will undoubtedly save your developers lots of
frustration during the day.
This process can help to make your development organization much more
streamlined. I hope this helps answer your question, or at least gives you
some ideas.
---
day, October 24, 2000 10:57 AM
To: [EMAIL PROTECTED]
Subject: Re: Commitinfo question
I agree with Dennis' comments, but I would add a few things. First, I
believe and recommend that there should be a differentiation between
"checked-in code" and "code that is eligib
Hello,
I am currently setting up an automated build and testing system that rides
on top of CVS, using the commitinfo file to run compilations and tests on
each commit. I was just wondering if anyone on this list who has done this
type of thing could share some wisdom with me.
I am
.
This process can help to make your development organization much more
streamlined. I hope this helps answer your question, or at least gives you
some ideas.
- Dennis
- Original Message -
From: "Ryan Hennig" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 23, 2000 6:56
g the user belongs to the
group of the directory). man chmod for more info.
Noel
[EMAIL PROTECTED] on 2000.10.19 08:58:53
To: [EMAIL PROTECTED]
cc: (bcc: Noel L Yap)
Subject: newbie question - specifing a group name for CVS to use on add/import
Hi all,
I'm new to CVS and also to th
Annette Waters [EMAIL PROTECTED] writes:
Sorry if this is not the place to ask this but here goes: :)
I am looking for a matrix or tree structure for release numbering schemes.
i.e,
three different products that have
1) developers version number
2) Configuration management build/release
What was the intent behind the -o, -u, -e, -i, -t, etc. modules file
options? I understand that they are the ancestors of the commit support
files, but some of them run their programs on the server side, some on
the client, and (it seems) all of them run only after the operation has
completed.
David Keith wrote:
I understand how to import, checkout, and commit. At least I think I
do. What is not clear to me is how do you set the version number for a
given project for the first time?
Don't. Those version numbers are for CVS internal use and generally vary
greatly between files.
To: [EMAIL PROTECTED]
cc: (bcc: Noel L Yap)
Subject: newbie question
Hello,
I am new to CVS and trying to figure out the proper way to deal with out
code and checking it in and out of CVS. Most of the stuff we'll be putting
in CVS will be web-based files, like html, php, etc.
So here's
another newbie question.. regarding the web-site CVSing again. I was
reading the dox about the binary files stuff, so I imported my htdocs
directory using the -kb option. Now, when I get stuff out of CVS (using the
winCVS client), it says all the files are binary files. However, they still
Noel L Yap wrote:
I wouldn't use CVS as an install tool. IMHO, it would be much cleaner if you
checked out your stuff into a temporary directory, then installed from there
(possibly as easy as a recursive copy of everything minus the CVS
subdirectories).
I might use CVS as my installer, as
"Hanser, Kevin" wrote:
another newbie question.. regarding the web-site CVSing again. I was
reading the dox about the binary files stuff, so I imported my htdocs
directory using the -kb option. Now, when I get stuff out of CVS (using the
winCVS client), it says all the files
On Wed, Oct 04, 2000 at 04:31:29PM -0700, Annette Waters wrote:
I am looking for a matrix or tree structure for release numbering schemes.
i.e,
three different products that have
1) developers version number
2) Configuration management build/release number
3) Marketing release number
The
Sorry if this is not the place to ask this but here goes: :)
I am looking for a matrix or tree structure for release numbering schemes.
i.e,
three different products that have
1) developers version number
2) Configuration management build/release number
3) Marketing release number
Any and all
I'm adding a subdirectory for MVS platform dependent code (kind of line the
windows-NT directory). The problem I've run into is that the mvs/ directory
needs to be build before src/, so that the platform dependent code is compiled
before the link in src/.
If I put mvs in with
Not sure I have a straight answer for this, but I'll give it a try -
In general principal, look for things in this order:
1) A general standard already defined and being used, such as POSIX, SYSV, or
_STDC_.
2) A autoconf macro that already does what you want
3) Some test code you
Thanks for the answer. After poking through the configure.in I decided to do a
AC_TRY_COMPILE and key off the predefined macro __MVS_ just like CYGWIN32. From
there I and able to modify LIBS to include ../mvs/libmvs.a (which holds our
platform specific abstracts).
The biggest question left
[EMAIL PROTECTED] wrote:
This should probably be discuessed in cvs_devel. Whom do I need to talk to to
get submit access to this mailing list?
From the DEVEL-CVS file distributed with CVS:
Charter for the devel-cvs mailing list:
The CVS Developers' List [EMAIL PROTECTED] exists to
[EMAIL PROTECTED] wrote:
I am working on the port of CVS to MVS. [...]
As I see it, we need to modify Configure.in (which generates configure) so that
configure tests to see if this is a MVS system, and to append ../mvs/libmvs.a to
@LIBS@.
Any suggestions on where and how to do this? Am I
).
The biggest question left was this piece of code I needed to add to config.h:
#if defined(__MVS__)
/* Do EBCDIC to ASCII conversion */
#define CVS_HTON(From, To, Size) mvsEtoA(From, To, Size)
#define CVS_NTOH(From, To, Size) mvsAtoE(From, To, Size)
extern void mvsEtoA(char *buff, char
Hello list,
i like CVS very much, but i have a question i can not solve.
If i take a look at this site: http://www.kernelnotes.de/2/2.2.15-changes.html
there is a (CVS?) listing of the linux kernel like this:
net/irda/irttp.c | 543 -
net/irda/parameters.c
I am working on the port of CVS to MVS. We've got the client side working, and
now I'm trying to set up the Makefiles to properly include a platform lib.
As I see it, we need to modify Configure.in (which generates configure) so that
configure tests to see if this is a MVS system, and to
I'm finding a case where there's a '=' in the date field of a line in an
Entries file when I'm doing a cvs tag.
The = is not documented in the Cederqvist as being one of the characters
that should show up in the timestamp field.
I'm running a taginfo script under pserver that parses the Entries
Is there any way to determine from within a taginfo script whether the
tag being added is a branch tag? I'm inclined to say no--no such
information exists in any of the arguments etc. passed to taginfo, in
the ,v file or in the environment.
Cheers,
Laird
You could create a rule that says branches are all lowercase and
non-branch tags are all uppercase. Enforcement could be dictated
through a script you write that the users must use to lay tags...
donald
On Thu, Sep 14, 2000 at 08:50:04AM -0400, Laird Nelson wrote:
Is there any way to
Title: Taginfo question
I've been looking for this myself, and I believe you are correct.
A few weeks ago (in August) one of the OpenAvenue developers posted a patch which provides branch info in taginfo (as well as other information I need in commitinfo, etc.). The patch
inetd programs are supposed to be able to simply read from STDIN,
right? I'm trying to write a wrapper program around cvs pserver that
gets invoked, obviously, from STDIN. I'd like to peek at the
conversation between client and server, and I thought I could get at
this conversation by simply
Another taginfo question (maybe a bug report).
Cederqvist says that the taginfo script is supposed to get five
arguments: tag, action, directory, file and revision.
But when I do a cvs tag -d someTag someFile.txt I get three: tag
("someTag"), action ("del") and directory
Laird Nelson writes:
inetd programs are supposed to be able to simply read from STDIN,
right? I'm trying to write a wrapper program around cvs pserver that
gets invoked, obviously, from STDIN. I'd like to peek at the
conversation between client and server, and I thought I could get at
Laird Nelson writes:
I'm finding a case where there's a '=' in the date field of a line in an
Entries file when I'm doing a cvs tag.
The = is not documented in the Cederqvist as being one of the characters
that should show up in the timestamp field.
I'm running a taginfo script under
:51 AM
To: [EMAIL PROTECTED]
Subject: inetd question related to cvs (not usual pserver doesn't work
FAQ)
inetd programs are supposed to be able to simply read from STDIN,
right? I'm trying to write a wrapper program around cvs pserver that
gets invoked, obviously, from STDIN. I'd like
[EMAIL PROTECTED] wrote:
An easier way to look at the pserver client/server dialog is to define the
CVS_CLIENT_LOG environment variable with the base file name for the log on
the client.
Yes; thanks. What I'm actually trying to do is harvest some information
from the pserver connection that
"Laird" == Laird Nelson [EMAIL PROTECTED] writes:
Laird [EMAIL PROTECTED] wrote:
An easier way to look at the pserver client/server dialog is to define the
CVS_CLIENT_LOG environment variable with the base file name for the log on
the client.
Laird Yes; thanks. What I'm actually trying to
Laird Nelson writes:
Cederqvist says that the taginfo script is supposed to get five
arguments: tag, action, directory, file and revision.
No it doesn't, it says that the taginfo script gets tag, action, and
directory, and that any additional arguments are file/revisions pairs.
The taginfo
Richard June writes:
Add a directory 'mkdir DIR;cvs add DIR'
then commit 'cvs commit -m "because" DIR'
everythings cool, then when on another checkout of the same source.
cvs update doesn't create the directory, what gives? isn't it supposed to?
No. Because CVS only tracks files, not
On Thu, Aug 24, 2000 at 04:10:45PM -0500, Richard June wrote:
I've got a question with CVS v. 1.10.6 . if I
Add a directory 'mkdir DIR;cvs add DIR'
then commit 'cvs commit -m "because" DIR'
everythings cool, then when on another checkout of the same source.
cvs update does
On Thu, Aug 24, 2000 at 04:10:45PM -0500, Richard June wrote:
I've got a question with CVS v. 1.10.6 . if I
Add a directory 'mkdir DIR;cvs add DIR'
then commit 'cvs commit -m "because" DIR'
everythings cool, then when on another checkout of the same source.
cvs update does
[ On Wednesday, August 9, 2000 at 23:52:44 (-0500), Rohit Desai wrote: ]
Subject: Generic Question on Branches
My question is
a. should all these three branches be created on the main
or
b. Should we create a Features-Integration-Branch on main and Sub
branches under Features-Integration
PROTECTED]
From: John Polstra [EMAIL PROTECTED]
Date: Wed, 9 Aug 2000 08:54:58 -0700 (PDT)
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: CVS question
In-Reply-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
Organization: Polstra Co., Seattle, WA
Sender: [EMAIL
[ On Tuesday, August 8, 2000 at 22:27:09 (-0700), Reinstein, Shlomo wrote: ]
Subject: Question about the CVS mailing lists
Sorry for asking this - but what is the "CVS-II Discussion Mailing List"? I
am subscribed to [EMAIL PROTECTED], and I have a rule in my email client to
On Tue, Aug 08, 2000 at 22:27 -0700, Reinstein, Shlomo wrote:
Sorry for asking this - but what is the "CVS-II Discussion
Mailing List"? I am subscribed to [EMAIL PROTECTED], and I have
a rule in my email client to move all the messages from that
mailing list to some folder, but I keep
I have an install of wincvs on an NT box that allows only 1 specific user to
logon from that NT Box and I don't know why that is.
I have many NT boxes with wincvs and I can log in as several different users
on these box with the exeption of this 1 NT box!
From that station only 1 login works?
Hi Greg,
Sorry for asking this - but what is the "CVS-II Discussion Mailing List"? I
am subscribed to [EMAIL PROTECTED], and I have a rule in my email client to
move all the messages from that mailing list to some folder, but I keep
getting the CVS-II discussion mailing list messages in my
I'm new to the list. Is this a proper forum for CVS configuration
questions?
TIA,
--
Lan Barnes [EMAIL PROTECTED]
Icon Consulting, Inc 858-273-6677
One day, there will be no borders, no boundries, no flags
and no countries, and the only passport will be the heart.
Sure ;) Although Lately you can ask anything here.
donald
On Thu, Aug 03, 2000 at 11:02:51PM -0700, Lan Barnes wrote:
I'm new to the list. Is this a proper forum for CVS configuration
questions?
TIA,
--
Lan Barnes [EMAIL PROTECTED]
Icon Consulting, Inc
Sorry, but I do'nt speak and write english very well; so, I
try to say you my problem about the use of CVS 1.10 on a PC Windows
NT4.
(First, I do'nt known if it is possible to ask you a problem
about CVS but I try!!)
Here is my question:
---
I have make several
how to get only the revision numbers or the release versions
of the file.by this i mean only the various revisons numbers of the file
that is in the repository.
Ritesh Srivastava wrote:
how to get only the revision numbers or the release versions
of the file.by this i mean only the various revisons numbers of
the file
that is in the repository.
Do you mean the latest version in the repository? If so, use
"cvs status". This will give you the
On Wed, Jul 26, 2000 at 07:49:13PM +0530, Ritesh_Srivastava wrote:
how to get only the revision numbers or the release versions
of the file.by this i mean only the various revisons numbers of the file
that is in the repository.
You mean something like this?
---
kuno ~/src/mod_bccp$ cvs log
Masterson, David writes:
After having done a number of "imports", is there a simple command to get a
list of vendor and release tags (along with when they were created)?
Not really -- as far as CVS is concerned, vendor and release tags are
just tags, it doesn't keep track of them specially.
I'm sure this must have been addressed somewhere, but I can't find it...
I'm working with CVS v1.10 (Halibut). The documentation describes a
procedure for importing 3rd party source code into CVS and controlling it
there. The basic step is to do a 'cvs import' on the new sources for each
Masterson, David writes:
For instance, assume a 3rd party product consisting of a single directory of
source code. In release 1 of the product, the directory contains two source
files (x.c and y.c). In release 2 of the product, the developer has removed
y.c and added z.c. If you simply
Friday, July 07, 2000 1:37 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Dumb question about 'cvs import' of 3rd party products...
Masterson, David writes:
For instance, assume a 3rd party product consisting of a single directory
of
source code. In release 1 of the product, the
Masterson, David writes:
I think I see now. I couldn't quite gather in the purpose of the "checkout"
in the discussion with "import" -- particularly with *two* tag names
mentioned. Now that I look at it, would the proper way of doing the import
of release 2 be:
cd release2
Dumb question #2:
After having done a number of "imports", is there a simple command to get a
list of vendor and release tags (along with when they were created)?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 2:17 PM
L PROTECTED], info-cvs mailing list
[EMAIL PROTECTED]
cc:(bcc: Rex Jolliff/YM/RWDOE)
Subject: RE: loginfo question
On Friday, June 09, 2000 9:45 AM, Olaf Meding
[SMTP:[EMAIL PROTECTED]] wrote:
Can someone explain why CVS does not send an email notification to both
john
and olaf? In
When doing an update I am getting the message: "move file out of the way." or
something to that effect. The update works. How do I eliminate this message?
Michael
Michael Labhard writes:
When doing an update I am getting the message: "move file out of the way." or
something to that effect. The update works. How do I eliminate this message?
What that message is trying to tell you is that there's a file in your
working directory that has the same name
Can someone explain why CVS does not send an email notification to both john
and olaf? In either case, I commited a file in test/dir1 (see below).
Is there a way to fix this? I would like one person to get notifications
for all sub-directories and the other only for a specific sub-directory.
"Michael S. Tsirkin" schrieb:
Hello!
In WinCVS (11b13) when I do update, all files are marked
read-only, even if the "checkout read-only" option is not
selected.
1. Does anyone have any idea why?
Maybe someone did a "cvs watch on" on the files? Then they are checked
out read only and you
Hello!
In WinCVS (11b13) when I do update, all files are marked
read-only, even if the "checkout read-only" option is not
selected.
1. Does anyone have any idea why?
2. Can the read-only status be changed from WinCVS?
Thanks,
MST
--
This message content is not part of Intel's views or
Hi.
1) Does anyone know how to generate a report for all the files in CVS
that
were modified between two tags? I used "cvs log" command but i shows all
the files not just the ones that were modified.
Have a look at the command rdiff with the option -s. This should provide a
summary as you
-
From: Larry Jones [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 01, 2000 9:36 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie Question - WinCVS
Anthony E. Glover writes:
cvs -d :ext:me@machine:/home/cm/CVS co -c
I get the following response:
' from cvs server warning
Anthony E. Glover writes:
Does anyone know of a suitable rsh to use with WinCVS when
connecting to a Linux server?
If the internal rsh client is supported on Windows (and I think it is),
you can use :server: instead of :ext:.
-Larry Jones
...That would be pretty cool, if they weren't out
I was just trying that. It works great.
Thanks for the help.
Tony
-Original Message-
From: Larry Jones [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 01, 2000 10:00 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie Question - WinCVS
Anthony E. Glover writes
1) Does anyone know how to generate a report for all the files in CVS that
were modified between two tags? I used "cvs log" command but i shows all
the files not just the ones that were modified.
2) I tagged the repository twice with different tags on the same day but at
different time. There
I am new to using CVS and am in the process of trying to use
WinCVS to connect to a linux server on which I have a
repository already set up. I am starting with 'ext'/rsh
as my connection method; however, when I try a command such as:
cvs -d :ext:me@machine:/home/cm/CVS co -c
I get the
I have a question about checking out files when other files with the
same name already exist.
For example:
$ ls
file1
$ cvs co -l .
cvs checkout: Updating
cvs checkout: move away file1; it is in the way
C file1
U file2
$ ls
file1
file2
First, presumably the C means that file1 had a conflict
[smc] Derek Scherger wrote:
[...]
$ cvs update
cvs update: Updating
U file1
$ mv file1.old file1
After which cvs status knows about file1 and considers it modified or up
to date depending on what was there in the first place.
What about providing an option to
Robert Balahura writes:
Hi all, I have a simple cvs question. I try to 'cvs checkout modules' and
the message is 'waiting for user name lock on $CVSROOT/CVSROOT'. How
would I delete the lock or release it?
See "CVS locks in the repository" in the Cederqvist manual.
First,
I would love to run/try gCVS only my box has TCL 8.0 not 8.1, is there
anything that makes it 8.1 specific?
Not at all. Did you try ? I think gCvs is trying to use 8.0 (see
TclGlue.cpp).
But if you have only 8.0, you may have also a problem with GTK. GTK needs to
be 1.2.
Regards,
alex.
PROTECTED]
Sent: Tuesday, May 23, 2000 1:53 AM
Subject: Re: some question about gCVS.
David,
gCvs is still in Alpha stage, it's not feature complete. What you relate
have not been implemented yet.
gCvs is going to be advantage for WinCvs users because the interface is
going to be alike. However
On Tue, 23 May 2000, David Penn wrote:
what's the schedule for gCVS now? i am eagar for a full feature counterpart
of winCVS.
I would love to run/try gCVS only my box has TCL 8.0 not 8.1, is there
anything that makes it 8.1 specific?
:
hi, dear experts,
i am a newbie to CVS. i install a gCVS1.0a4 in a sparc/solaris2.6 machine. i
have some question about CVS/gCVS.
1. i heard from internet that tkCVS is the most favorite UNIX GUI. is it
true? how about gCVS? Consided with learning curve, how much do u think a
GUI
On Wed, May 03, 2000 at 04:18:48PM -0600, Derek Scherger wrote:
In .cvsrc I can put things like:
diff -u
log -N
etc. to set up default switches for various subcommands.
Is there a way to set a default -q (the global cvs -q xxx) option in
.cvsrc?
Hm, why don't just alias "cvs" to
Yes:
cvs -q
but it'll affect ALL subcommands. I know of no way to do something like:
cvs -Q rel -d
within .cvsrc.
Noel
[EMAIL PROTECTED] on 05/03/2000 06:18:48 PM
To: [EMAIL PROTECTED]
cc: (bcc: Noel L Yap)
Subject: .cvsrc question
In .cvsrc I can put things like:
diff -u
log
Paul Sander wrote :
||
|| An "isValid" field isn't valid if the structure isn't initialized properly.
|| When this is a concern, the value of the pointer itself becomes significant
|| (like it is with the NULL pointer, but when its value must also be
|| distinguishable from NULL). In such
--- Forwarded mail from [EMAIL PROTECTED]
Paul Sander wrote :
||
|| An "isValid" field isn't valid if the structure isn't initialized properly.
|| When this is a concern, the value of the pointer itself becomes significant
|| (like it is with the NULL pointer, but when its value must also be
||
Just for people to think about...
In working with object oriented code, we OFTEN create and return zero
length arrays when we are returning an array and have nothing to return
(ex: zero records from a database fetch.)
Accepting a zero length request, and returning a zero byte long
allocation
(out of
print, alas!) book, "Debugging C") have served me quite well for many years.
As to non-portability, this code compiles without errors or warnings with
strict ANSI compiler switches.
As to the question of requests to allocate zero bytes, I would consider
those to be dom
--- Forwarded mail from [EMAIL PROTECTED]
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
This is getting a bit off-topic, but...
--- Forwarded mail from [EMAIL PROTECTED]
[EMAIL PROTECTED] on 05/02/2000 03:13:34 PM
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
901 - 1000 of 1046 matches
Mail list logo