mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
zsh-3.1.5-pws-5
This commit is contained in:
parent
2a5a899a55
commit
20d67907c9
47 changed files with 2212 additions and 425 deletions
|
@ -235,7 +235,7 @@ watchlog2(int inout, WATCH_STRUCT_UTMP *u, char *fmt, int prnt, int fini)
|
|||
# endif /* WATCH_UTMP_UT_HOST */
|
||||
|
||||
while (*fmt)
|
||||
if (*fmt == '\\')
|
||||
if (*fmt == '\\') {
|
||||
if (*++fmt) {
|
||||
if (prnt)
|
||||
putchar(*fmt);
|
||||
|
@ -244,6 +244,7 @@ watchlog2(int inout, WATCH_STRUCT_UTMP *u, char *fmt, int prnt, int fini)
|
|||
return fmt;
|
||||
else
|
||||
break;
|
||||
}
|
||||
else if (*fmt == fini)
|
||||
return ++fmt;
|
||||
else if (*fmt != '%') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue