transforming patch strip level
问题 Suppose I have a patch that can be applied with -p0, is there a tool to automatically transform this patch into a -p1 patch. For example, transforming Index: stdio-common/_i18n_number.h =================================================================== --- stdio-common/_i18n_number.h (revision 8348) +++ stdio-common/_i18n_number.h (working copy) @@ -116,7 +116,7 @@ _i18n_number_rewrite (CHAR_T *w, CHAR_T #else static CHAR_T * -_i18n_number_rewrite (CHAR_T *w, CHAR_T *rear_ptr) +_i18n_number