User Name:


Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, dbnu, Vladaar, joeyfogas

Members: 4
Guests: 5
Newest Member
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

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)


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

Black Hand
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 >>