Last active
December 27, 2015 09:59
-
-
Save krupenik/7307698 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/general.c w/general.c | |
index 491a7ea267ab..ec9b6271015d 100644 | |
--- i/general.c | |
+++ w/general.c | |
@@ -700,10 +700,11 @@ polite_directory_format (name) | |
strncpy (tdir + 1, name + l, sizeof(tdir) - 2); | |
tdir[0] = '~'; | |
tdir[sizeof(tdir) - 1] = '\0'; | |
- return (tdir); | |
} | |
else | |
- return (name); | |
+ strcpy (tdir, name); | |
+ | |
+ return (tdir); | |
} | |
/* Trim NAME. If NAME begins with `~/', skip over tilde prefix. Trim to | |
diff --git a/patchlevel.h b/patchlevel.h | |
index d959843..f5e2525 100644 | |
--- a/patchlevel.h | |
+++ b/patchlevel.h | |
@@ -25,6 +25,6 @@ | |
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh | |
looks for to find the patch level (for the sccs version string). */ | |
-#define PATCHLEVEL 45 | |
+#define PATCHLEVEL 46 | |
#endif /* _PATCHLEVEL_H_ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment