On Wed, Jul 1, 2015 at 9:07 AM, Hermann Hamann wrote:
> Well, identifying the version of a source file would be very easy if you put
> a
> comment at the beginning containing the modification date. Back in the 70s
> we
> were able to fully automate this using available tools (this was not on
> Unix).
> I feel, sed (available since the 70s) could do this for you.

The source revision control system log has taken over this function.

> I finally succeeded in getting a basic understanding of diff, but could not
> find out if patch needs a "diff original modified" or a "diff modified
> original" to work properly.

It should be "original modified" (from to). Please also used "unified"
format for more robust patches (they include some context). The
general diff command that matches the "git diff" output and similar is
"diff -Nurp old new" where old and new also can be directory trees.

> The original is from walac-pyusb-39816be.

39816be is actually the most recent repository revision. There are a
lot more changes between 39816be and the files you posted, than in
your diff files. And some changes in your diff that are already in the
repository.

> I was astonished to learn, that the sourceforge files are from 2014.

Which also indicates you were basing it on an older version.

Thanks for providing the diffs but unfortunately they don't apply
against the latest revision. I spent a lot of time trying to find
which revision you had used but was not successful.

> I hope you can proceed with the modifications. There are 4 lines to change
> and
> 20 lines to insert. Back in the 70s we could do this within 15 minutes.

It would be easy if we knew against which version... Maybe someone
familar with the code and its history can figure it out, but I am just
a patch fairy.

Best regards,
Tormod

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to