Tilde expansion on Win32

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Tilde expansion on Win32
Дата
Msg-id 200506101430.j5AEUw702204@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: Tilde expansion on Win32  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
I noticed that we don't expand tildes in Win32 because of the use of
tilde in short versions of long file names:
char *expand_tilde(char **filename){    if (!filename || !(*filename))        return NULL;    /* MSDOS uses tilde for
shortversions of long file names, so skip it. */#ifndef WIN32    /* try tilde expansion */    if (**filename == '~')
{

However, I thought the tilde was usually used toward the end of the file
name, not at the beginning.  Is this true?  Should this code be modified?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: [PATCHES] Server instrumentation
Следующее
От: Mark Wong
Дата:
Сообщение: Re: Daily DBT-3 (DSS) Results on CVS head