bug-cvs
[Top][All Lists]
Advanced

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

Hugo Mildenberger: Once more, this time a correct patch


From: Harlan Stenn
Subject: Hugo Mildenberger: Once more, this time a correct patch
Date: Sun, 11 Mar 2001 00:22:42 -0500

Please consider this patch...
------- Forwarded Message

Received: from authsrv.nacamar.de by whimsy.udel.edu id aa28471;
          10 Mar 2001 17:51 EST
Received: (qmail 25726 invoked from network); 10 Mar 2001 22:51:29 -0000
Received: from dialup29-3.access.nacamar.de (HELO TRANTOR) (212.172.4.3)
  by authsrv.nacamar.de with SMTP; 10 Mar 2001 22:51:29 -0000
From: Hugo Mildenberger <address@hidden>
Reply-To: address@hidden
To: Harlan Stenn <address@hidden>
Subject: Once more, this time a correct patch
Date: Sat, 10 Mar 2001 23:42:46 +0100
X-Mailer: KMail [version 1.0.28]
Content-Type: Multipart/Mixed;
  boundary="Boundary-=_rJmOWFrxsjyBldbEFSArCBynEcdy"
References: <address@hidden>
In-Reply-To: <address@hidden>
Return-Receipt-To: address@hidden
X-Chameleon-Return-To: address@hidden
X-PRIORITY: 2 (High)
Priority: urgent
MIME-Version: 1.0
Message-Id: <address@hidden>


- --Boundary-=_rJmOWFrxsjyBldbEFSArCBynEcdy
Content-Type: text/plain
Content-Transfer-Encoding: 8bit


Harlan,

once again: sorry, this is what happens, when things are not done
in a clean way. I felt that it would be better to rewrite that piece of
authentication code, but decided that it would be too much for the
moment. cvs does not have clean prototypes, so -Wstrict-prototypes and/or -ansi
is not switched on. Most is done in old K&R style.  

Hugo


- --Boundary-=_rJmOWFrxsjyBldbEFSArCBynEcdy
Content-Type: text/x-c;
  name="cvs-1.11.src.client.c.diff"
Content-Transfer-Encoding: base64
Content-Description: corrected version
Content-Disposition: attachment; filename="cvs-1.11.src.client.c.diff"

LS0tIHNyYy9jbGllbnQuYwlUaHUgSnVsICA2IDE4OjIwOjQxIDIwMDAKKysrIHNyYy9jbGllbnQu
Yy5uZXcJU2F0IE1hciAx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ci4gKi8KKworICAgICAgICAgICAgICAgIC8qKiAKKyAgICAgICAgICAgICAgICAgKiAgUHJvYmxl
bTogdGhlcmUgbWF5IGJlIGFjY2VzcyBjb250cm9sIHNvZnR3YXJlCisgICAgICAgICAgICAgICAg
ICogIHJlc3BvbnNlIG1lc3NhZ2VzIHN0YXJ0aW5nIHdpdGggYSBsaW5lZmVlZCAuLi4KKyAgICAg
ICAgICAgICAgICAgKiAgQXMgcmVjdl9saW5lIHdhcyBpbXBsZW1lbnRlZCBpbiBhIHJhdGhlciBz
aW1wbGlzdGljCisgICAgICAgICAgICAgICAgICogIHdheSwgdGhlIGZpcnN0IGJ1ZmZlciBpcyBv
ZiB6ZXJvIGxlbmd0aCBpbiB0aGF0CisgICAgICAgICAgICAgICAgICogIGNhc2UsIGFuZCByZWFk
X2J1ZiB3aWxsIGJlIGVtcHR5LiAKKyAgICAgICAgICAgICAgICAgKiAgU28sIG1lc3NhZ2VzIGxp
a2UgImFjY2VzcyBkZW5pZWQgaW50byBVREVMIEVFQ0lTLCIKKyAgICAgICAgICAgICAgICAgKiAg
IiBjb250YWN0IHN0YWZmQGVlY2lzLnVkZWwuZWR1IiB3b3VsZAorICAgICAgICAgICAgICAgICAq
ICBuZXZlciBnZXQgZGlzcGxheWVkIHRvIHRoZSB1c2VyLgorICAgICAgICAgICAgICAgICAqICBT
YXQgTWFyIDEwIDE1OjUwOjI3IENFVCAyMDAxIEh1Z28uTWlsZGVuYmVyZ2VyQHRvcG1haWwuZGUK
KyAgICAgICAgICAgICAgICoqLworICAgICAgICAgICAgICAgICAgIAorICAgICAgICAgICAgICAg
IGlmIChzdWNjZXNzZnVsX3JlYWQgJiYgc3RybGVuKHJlYWRfYnVmKSA9PSAwKSB7CisgICAgICAg
ICAgICAgICAgICAgIGZyZWUocmVhZF9idWYpOworICAgICAgICAgICAgICAgICAgICByZWN2X2xp
bmUgKHNvY2ssICZyZWFkX2J1Ziwmc3VjY2Vzc2Z1bF9yZWFkKTsKKyAgICAgICAgICAgICAgICB9
IAorCiAJCWlmIChzaHV0ZG93biAoc29jaywgMikgPCAwKQogCQl7CiAJCSAgICBlcnJvciAoMCwg
MCwK

- --Boundary-=_rJmOWFrxsjyBldbEFSArCBynEcdy--

------- End of Forwarded Message




reply via email to

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