patch

Oracle Forms 6i crashes with 0xC0000005 at start after installing patch 19

In short. After patch 19 has been installed I can't run any form: compiled with patch 18 or 19, by myself or others. Immediately after starting I get Windows error: -------------------------------- ifrun60.exe .... -------------------------------- The application failed to initialize properly (0xC0000005). ..... ---------------------...

How to release patches for Java programs

I've recently released a cross platform Java application. For distribution we created a NSIS installer for Windows and used a DMG for Mac (that has JarBundled .app file). We also plan on creating Linux RPMs, DEBs and tarballs. In total that's 5 different distribution methods to look after. My question is: What is the best cross-platf...

How patching or updating of the compiled application works?

Could you help to understand generally how the applying of patch or an update works for already compiled and live application at the level of code? I mean, if we want to fix an error (or improve a functionality) in some piece of code, what is happening with that already compiled code, how it gets changed? ...

Better way of making Git to turn a blind eye on my changes

Is there some cleaner way to make Git just ignore some of my changes and never commit them? .gitattributes: config_to_be_deviated.xml filter=qqq .git/config: [filter "qqq"] clean = "perl -ne 'print unless /git_please_dont_look_here/'" smudge = (Q=$(mktemp) /tmp/pp I can continue adding and committing useful changes to config_to...

Git: How to create patches for a merge?

When I use git format-patch, it doesn't seem to include merges. How can I perform a merge and then e-mail it to someone as a set of patches? For example, let's say that I merge two branches and perform another commit on top of the merge: git init echo "initial file" > test.txt git add test.txt git commit -m "Commit A" git checkout -b...

Patching an EXE using IDA

Say there is a buggy program that contains a sprintf() and i want to change it to a snprintf so it doesn't have a buffer overflow.. how do I do that in IDA?? ...

splitting up a git commit into phases: how to manually intervene?

I have a source file where 2 features have been added. In order to allow cherry-picking, I'd like to commit that in 2 phases: one for each feature. Until now, in similar situations, using git add -p served me well, to commit one feature while leaving the local files in their final stage. However, I now have the problem that git add -p w...

How to create a patched build with Maven?

I was wondering if there is a standard way (i.e. a plugin) to apply a set of patches during a Maven build. Patching the code base in a dedicated step before building is getting tedious as soon as you have different builds or generated sources. To give an example, this script should deploy 3 different versions from a fresh SVN checkout: ...

How to visualize or format a diff / patch file?

I have a patch file (unified diff), like the output from svn diff, git diff, or diff -u .... I want to review it, but the unified diff format - especially with many files & changes - is hard on my eyes. How can I get a nicely-formatted diff view from the patch file? I don't have the files themselves, only the diff, so I can't use all th...

What is the best method to gain users and contributors for my own open source projects?

There are two questions to this: How can I best "spread the word" about my projects to interested users? How can I best "spread the word" to like-minded developers? I know this sounds easy, but it really isn't. I've participated in official mailing list discussions, establishing a presence on IRC, wrote articles for magazines, hoste...

Patching a perl cgi web application

Hello, I've written a web cgi application in perl and before I start to distribute it to clients, I'd like to provide an option for future updates. I would like to know what are the standard approaches for that using free Linux tools. It is OK for the server to be stopped during updating. Thank you, Spasski ...

How to move certain commits to another branch in git?

The situation: master is at X; quickfix1 is at X + 2 commits then i started working on quickfix2, but by accident took quickfix1 as the source branch to copy, not the master. Now quickfix2 is at X + 2 commits + 2 relevant commits Not I want to have a branch with quickfix2, but without the 2 commits that belong to quickfix1. I tried to...

Selective patching

Hi, I have a folder and a patch for that folder. Now, I do not want to include every change made in the patch in my commit. I can select which files I want to exclude in Subclipse, but can I do the same with only certain lines in those files? ...

how to crate a PATCH file for the binary difference output file

hi i want to know how to create a PATCH for the difference file i got by comparing two banary files. $cmp -l > output file name i checked for text files 'diff" can be used to compare and generate a PATCH file $ diff -u oldFile newFile > mods.diff # -u tells diff to output unified diff format i want to apply the PATCH on the old...

Change interface guids of COM DLL (ressource patch)

I have to build OEM versions of a COM library (DLL). Does anyone know a tool (ressource hacker) which may replace some of my interface guids after build time? I just want to build and test one DLL and generate the OEM versions afterwards. ...

Using diff and patch to force one local code base to look like another

I've noticed this strange behavior of diff and patch when I've used them to force one code base to be identical to another. Let's say I want to update update_me to look identical to leave_unchanged. I go to update_me. I run a diff from leave_unchanged to update_me. Then I patch the diff into update_me. If there are new files in leave_unc...

What is the correct procedure to install a Drupal security patch?

The back-end admin interface informs me that there is a new security patch for Drupal 6, but I can find any information about ho wto install it. ...

Port a live system from App Engine Helper to App Engine Patch

I am running a live system that is currently serving about 20K pages a day which is based on App Engine Helper (Python) with session support provided by AppEngine utilities. One problem that I have been having is that sessions are occasionally randomly logging out. I would like to try using the App Engine Patch, since it has "native" dj...

Creating a patch file from a diff of 2 folders

I made some changes to an open source project without taking time to create proper patch files. Now, the maintainer of the project released a new version, and among new and edited files, there are a bunch of renamed files. Whats is the best way to apply my changes to the new version ? I'm completely new to diff/patch use, and If I can ...

Resolving patch conflicts manually

I've downloaded a patch from some site and trying to apply it (twisted, python web framework). Several hunks failed. How do I automate manual patching process using vim? Details: I'm trying to automate the process of applying failed hunks. Many tiny changes, each about adding/removing 1-2 chars. Difficult to see. I Have to create...