Viktor Szakáts napsal(a):
Good, so the command line is fine.
Next question is what happens if the source
filenames were in uppercase, plus whether the
patch command works after above conversion.
Can you test this process?
s...@siki:~/clipp/harbour/source/debug/test_src$ ls
DBUCOPY.PRG DBU.HLP DBUNET.PRG DBUSTRU.PRG DBUVIEW.PRG
DBUEDIT.PRG DBUINDX.PRG DBU.PRG DBUUTIL.PRG
DBUHELP.PRG DBU.LNK DBU.RMK DBUVIEW.BAK
s...@siki:~/clipp/harbour/source/debug/test_src$ hbformat
-lFCaseLow=yes -nEol=0 -lIndent=no -lCase=no -lSpaces=no *.prg
Reformatting ./DBUHELP.PRG
<................................................>
Reformatting ./DBUINDX.PRG
<.............................................>
Reformatting ./DBUSTRU.PRG
<.........................................>
Reformatting ./DBUVIEW.PRG
<.........................................>
Reformatting ./DBUUTIL.PRG
<.........................................>
Reformatting ./DBUCOPY.PRG
<.........................................>
Reformatting ./DBU.PRG
<.........................................>
Reformatting ./DBUEDIT.PRG
<.........................................>
Reformatting ./DBUNET.PRG
<............................................>
s...@siki:~/clipp/harbour/source/debug/test_src$ ls
DBU.bak dbuedit.prg DBUINDX.bak dbunet.prg dbustru.prg
DBUVIEW.BAK
DBUCOPY.bak DBUHELP.bak dbuindx.prg dbu.prg DBUUTIL.bak
dbuview.prg
dbucopy.prg dbuhelp.prg DBU.LNK DBU.RMK dbuutil.prg
DBUEDIT.bak DBU.HLP DBUNET.bak DBUSTRU.bak DBUVIEW.bak
s...@siki:~/clipp/harbour/source/debug/test_src$
Thanks. This looks fine to me, hbformat left the
uppercased names as .bak files.
What I don't understand is how hbformat found the *.PRG
extension where we looked for *.prg one. Anyway current
behavior is very good for us, since it accept extension
regardless of the case.
Can you test the 'patch -N -i dbu52.dif' (or dif53.dif)
command, if it finished successfully?
better now, but stel there are errors
s...@siki:~/clipp/harbour/examples/dbu/test_src$ dos2unix *.prg
s...@siki:~/clipp/harbour/examples/dbu/test_src$ patch -N -i dbu52.dif
patching file dbu.prg
Hunk #1 FAILED at 60.
Hunk #2 FAILED at 381.
Hunk #3 FAILED at 398.
3 out of 3 hunks FAILED -- saving rejects to file dbu.prg.rej
patching file dbucopy.prg
Hunk #3 succeeded at 741 (offset 6 lines).
Hunk #4 succeeded at 756 (offset 6 lines).
Hunk #5 succeeded at 819 (offset 6 lines).
Hunk #6 succeeded at 834 (offset 6 lines).
patching file dbuindx.prg
patching file dbustru.prg
patching file dbuutil.prg
patching file dbuview.prg
Hunk #3 succeeded at 2789 (offset -1 lines).
Hunk #4 succeeded at 2798 (offset -1 lines).
Hunk #5 succeeded at 2840 (offset -1 lines).
Hunk #6 succeeded at 3009 (offset -1 lines).
Hunk #7 succeeded at 3080 (offset -1 lines).
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour