1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Fix garbled output from Ctrl+Alt+V (#135)

This fixes a regression introduced in commit f9c127e3.
When the legacy code for older versions of libast was
removed, the fmtident wrapper wasn't removed. As a result,
the version string output by Ctrl+Alt+V is garbled because
the fmtident wrapper doesn't do any formatting:

$ <Ctrl+Alt+V>
^J@(#)$Id: Version AJM 93u+m 2020-09-14

src/cmd/ksh93/sh/string.c:
- Remove the old version of fmtident that was overriding
  the current version of fmtident provided by libast
  (in src/lib/libast/string/fmtident.c).
This commit is contained in:
Johnothan King 2020-09-24 19:37:22 -07:00 committed by GitHub
parent e40aaa8aa8
commit 651bbd563e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -741,8 +741,3 @@ char *sh_checkid(char *str, char *last)
}
return(last);
}
char *fmtident(const char *string)
{
return((char*)string);
}