info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Commitinfo params wrong


From: Lourival Oliveira da Silva
Subject: Re: Commitinfo params wrong
Date: Sat, 10 Jul 2004 19:00:10 -0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Well, now I came back to response what is wrong with my program.

New CVS versions put the file list in STDIN (no more in argv[]), you must read from this stream to get the files wish want to be commited. See a sample C code fragment:

------------------------------------------
while(strcpy(filename, ""), fscanf(stdin, "%s", &filename), strcmp(filename, "")) {
 ..
 ..
 }

------------------------------------------

Lourival Oliveira da Silva
lourival.riachao.com

Lourival Oliveira da Silva wrote:

I have a pre commit check program, and its was working fine, but now its is being called with less params then before, only repository dir is send to the program, without any file name. I'm using CVSNT 2.0.14.0 under Windows XP Professional. There are any change in this version of CVS? How I can fix it?

Thanks,

Lourival Oliveira da Silva.



_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs








reply via email to

[Prev in Thread] Current Thread [Next in Thread]