[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] XaAES:update:CONFIGVARS
Helmut Karlowski a écrit :
> Thanks for your answer. Without -w the files with \r\n-endings will
> completely in the diff. So I either add the -w or someone has to
> remove the \r from from win_draw.c, xa_vdi.c.
Easy to fix. Use "diff -Naur" as we told to you, then convert your patch
file to the UNIX format. Personally I use Notepad++ on Windows, the
dos2unix command can to the trick, too.
> I will then post one mail per file with "changelog" containing what
> changed.
Actually, it is not one mail per file, but one patch related to one
changelog.
For example, I plan to send a patch for the stat block size, there will
be a single changelog like "Modified the st_blocks value to reflect the
raw value provided by the kernel.". I will provide a single patch for
all affected files.
Then if I want to fix something else, I will provide another patch, and
so on...
Just as a precision: you can use diff on directories to make a single
patch for all the files. Typycally, before working on the MiNTLib, I
make a reference copy named mintlib.orig and I keep it clean. Then I
work in the "mintlib" original directory. At the end, I do:
make clean
diff -Naur mintlib.orig mintlib >mypatch.patch
# Don't forget to convert the patch to UNIX format !
Things are a little more difficult with the MiNTLib, because the objects
are built in the same tree as the sources, and "make clean" does not get
rid of everything. So your patch file will contain differences on
unwanted files, you will have to get rid of them by editing manually the
patch file (quite easy).
If someone has a more clever method please tell it.
--
Vincent Rivière