Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Yahoo!

Members: 0
Guests: 3
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Patches and sick people
Forum Rules | Mark all | Recent Posts

Patches and sick people
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Aug 23, 2002, 2:54 pm
Go to the top of the page
Go to the bottom of the page

kilroy
Magician
GroupMembers
Posts122
JoinedMay 1, 2002

Howdy Samson,
Just a quick Question.
How long does it take you to make one of the patch files.

I know how long it is taking me to manually patch all the files that are not patching as they should, and I think I finally know what a hunk is (in code terms)

Kilroy

PS:
As far as patching by hand after many many makes
I am getting this

Compiling o/save.o....
save.c: In function `fwrite_mobile':
save.c:2841: warning: unused variable `obj_next'
save.c:2841: warning: unused variable `obj'
Compiling o/ships.o....

all the other files make fine.
How much of a problem is that going to be?
       
Post is unread #2 Aug 24, 2002, 3:59 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

They don't take long at all actually. Just need to have 2 separate directories. One where our development code sits and is updated when we need, and one for the distribution code. Which is usually untouched until an update is needed, then I run the patch command as so:

diff -uNbB --exclude-from=diffexcludes.txt afkmud/src dist3/src >> diff.txt

Don't ask me what the uNbB part does, I took that from an example command someone else's patch file used. The excludes argument is just a text file with source files that you don't want added to the update. Target directory is afkmud/src, and the source to pull the updates from is dist3/src. The output is dumped to diff.txt, which is the patch file you see. This command takes mere seconds to process
Patching it in obviously doesn't workk 100% which is why you get "hunks" that fail, which usually result in *.rej files with the portions that failed. Look for one of those for save.c since that warning should not be coming up and will cause problems with pet saving.
       
Pages:<< prev 1 next >>