]> git.pld-linux.org Git - packages/crossmingw32-binutils.git/commitdiff
- new bug
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 31 Jul 2004 18:59:49 +0000 (18:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    binutils-dll.patch -> 1.1

binutils-dll.patch [new file with mode: 0644]

diff --git a/binutils-dll.patch b/binutils-dll.patch
new file mode 100644 (file)
index 0000000..b271a23
--- /dev/null
@@ -0,0 +1,35 @@
+--- binutils-2.15.91.0.2/binutils/dllwrap.c.orig       2004-07-28 06:36:09.000000000 +0200
++++ binutils-2.15.91.0.2/binutils/dllwrap.c    2004-07-31 20:23:00.454866160 +0200
+@@ -253,7 +253,7 @@
+   dash = NULL;
+   slash = NULL;
+-  for (cp = name; *cp != '\0'; ++cp)
++  for (cp = prog_name; *cp != '\0'; ++cp)
+     {
+       if (*cp == '-')
+       dash = cp;
+@@ -272,17 +272,17 @@
+   cmd = NULL;
+   if (dash != NULL)
+-    /* First, try looking for a prefixed PROG_NAME in the
+-       PROGRAM_NAME directory, with the same prefix as PROGRAM_NAME.  */
+-    cmd = look_for_prog (name, name, dash - name + 1);
++    /* First, try looking for a prefixed NAME in the
++       PROG_NAME directory, with the same prefix as PROG_NAME.  */
++    cmd = look_for_prog (name, prog_name, dash - prog_name + 1);
+   if (slash != NULL && cmd == NULL)
+-    /* Next, try looking for a PROG_NAME in the same directory as
++    /* Next, try looking for a NAME in the same directory as
+        that of this program.  */
+-    cmd = look_for_prog (name, name, slash - name + 1);
++    cmd = look_for_prog (name, prog_name, slash - prog_name + 1);
+   if (cmd == NULL)
+-    /* Just return PROG_NAME as is.  */
++    /* Just return NAME as is.  */
+     cmd = xstrdup (name);
+   return cmd;
This page took 0.044804 seconds and 4 git commands to generate.