mirror of
https://github.com/postgres/postgres.git
synced 2025-12-10 14:22:35 +03:00
Standard pgindent run for 8.1.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.39 2005/05/30 18:28:11 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.40 2005/10/15 02:49:40 momjian Exp $
|
||||
*/
|
||||
#include "postgres_fe.h"
|
||||
#include "prompt.h"
|
||||
@@ -175,7 +175,7 @@ get_prompt(promptStatus_t status)
|
||||
case '5':
|
||||
case '6':
|
||||
case '7':
|
||||
*buf = (char) strtol(p, (char **)&p, 8);
|
||||
*buf = (char) strtol(p, (char **) &p, 8);
|
||||
--p;
|
||||
break;
|
||||
case 'R':
|
||||
@@ -293,9 +293,8 @@ get_prompt(promptStatus_t status)
|
||||
|
||||
/*
|
||||
* readline >=4.0 undocumented feature: non-printing
|
||||
* characters in prompt strings must be marked as
|
||||
* such, in order to properly display the line during
|
||||
* editing.
|
||||
* characters in prompt strings must be marked as such, in
|
||||
* order to properly display the line during editing.
|
||||
*/
|
||||
buf[0] = '\001';
|
||||
buf[1] = (*p == '[') ? RL_PROMPT_START_IGNORE : RL_PROMPT_END_IGNORE;
|
||||
|
||||
Reference in New Issue
Block a user