GNU bug report logs - #18240
24.3; sql-postgres password with cygwin psql

Previous Next

Package: emacs;

Reported by: Mark Wilkinson <wilkinsonmr <at> gmail.com>

Date: Sun, 10 Aug 2014 16:51:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 24.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: 18240 <at> debbugs.gnu.org
Subject: bug#18240: 24.3; sql-postgres password with cygwin psql
Date: Sat, 18 Oct 2014 16:41:59 +0400
It's not clear what this code is supposed to do...  However it breaks
entering passwords.  Maybe just remove it?

        ;; Break up output by physical lines if we haven't hit the final prompt
        (unless (and (not (string= oline ""))
                     (string-match (sql-ends-with-prompt-re) oline)
                     (>= (match-end 0) (length oline)))
          (setq last-nl 0)
          (while (string-match "\n" oline last-nl)
            (setq last-nl (match-end 0)))
          (setq sql-preoutput-hold (concat (substring oline last-nl)
                                           sql-preoutput-hold)
                oline (substring oline 0 last-nl))))))

-- 
    Filipp




This bug report was last modified 4 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.