Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-20-2007
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
how to patch?

Hi,

I have a simple problem about how to patch the Ice? The post looks like using patch tool. Where can I get the tool?

Thanks in advance.

Feng Xuebin
__________________
Fengxb
Reply With Quote
  #2 (permalink)  
Old 06-20-2007
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Hi,

The patch utility is installed with most Unix distributions. On Windows, it's available with Cygwin. There might be other binary package available such as the one from here.

Cheers,
Benoit.
Reply With Quote
  #3 (permalink)  
Old 06-20-2007
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
Thanks a lot for your rapid response.

I downloaded the tool and executed the command, but patching seems not succeed at all.

The following is the response:
Quote:
patching file src/IceUtil/Cond.cpp
missing header for context diff at line 261 of patch
can't find file to patch at input line 261
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|l::Cond::wake(bool broadcast)
Regards,

Feng Xuebin
__________________
Fengxb
Reply With Quote
  #4 (permalink)  
Old 06-20-2007
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Strange, it works fine for me with the patch utility from Cygwin. Did you try with the patch utility from Cygwin? Does the patch file look correct (check line 261 for instance)? Perhaps your patch utility is being confused by the Unix end of lines, if you have the unix2dos utility you could try to convert the patch.txt file to a DOS file and see if it helps.

In any case since the patch only affects one file, I've attached the zipped patched file to this post, unzip it and copy it in your Ice-3.2.0/src/IceUtil directory if you can't use the patch.

Cheers,
Benoit.
Attached Files
File Type: zip Cond.cpp.zip (2.5 KB, 8 views)
Reply With Quote
  #5 (permalink)  
Old 06-21-2007
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
Hi Benoit,

Thank you very much.
__________________
Fengxb
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch for Ice-3.1.0: icegridadmin application patch bug fix mpugach Patches 1 08-01-2006 07:26 AM


All times are GMT -4. The time now is 10:49 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.