Revert "make "canonicalization(...)shrank by one character" error message more usefull"
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 9 Jan 2013 11:48:40 +0000 (13:48 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 29 Jan 2013 06:14:26 +0000 (08:14 +0200)
- The message is not about basedir and destdir, and printing them
  here only makes the message even more confusing than it was, eg:
      canonicalization unexpectedly shrank by one character \
          ('/home/pmatilai/rpmbuild/BUILD/' vs '/usr/src/debug/')
- This reverts commit 1eea433d9961d74dbc797cea7f9bfceab8c16a3e
(cherry picked from commit e83cc97792d66f8d31ef471455a9fa6ae136ae9a)

tools/debugedit.c

index c8fa15a..f48d6f7 100644 (file)
@@ -670,7 +670,7 @@ edit_dwarf2_line (DSO *dso, uint32_t off, char *comp_dir, int phase)
        {
          if (--shrank == 0)
            error (EXIT_FAILURE, 0,
-                  "canonicalization unexpectedly shrank by one character ('%s' vs '%s')", base_dir, dest_dir);
+                  "canonicalization unexpectedly shrank by one character");
          else
            {
              memset (ptr, 'X', shrank);