Re: ECPG timestamp.c

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ECPG timestamp.c
Дата
Msg-id 20030517090601.GC28045@feivel.fam-meskes.de
обсуждение исходный текст
Ответ на ECPG timestamp.c  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-hackers
On Thu, May 01, 2003 at 10:20:34PM -0400, Rod Taylor wrote:
> src/interfaces/ecpg/pgtypeslib/timestamp.c has started throwing
> warnings:
> 
> timestamp.c: In function `dttofmtasc_replace':
> timestamp.c:468: warning: `%g' yields only last 2 digits of year
> timestamp.c:606: warning: `%x' yields only last 2 digits of year in some
> locales on non-BSD systems

Anyone with an idea on how to stop these warnings? Depending on the
parameter the function dttofmtasc_replace is supposed to use just the
last 2 digits.

Michael

-- 
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304, AIM: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Patch from Aurora SPARC linux project -- -fpic verus -fPIC.
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Feature suggestions (long)