Re: C locale sort in src/tools/make_ctags

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: ntufar(at)pisem(dot)net
Cc: "'Peter Eisentraut'" <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: C locale sort in src/tools/make_ctags
Date: 2004-02-01 23:11:11
Message-ID: 200402012311.i11NBBB16475@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Nicolai Tufar wrote:
> > -----Original Message-----
> > From: Peter Eisentraut [mailto:peter_e(at)gmx(dot)net]
> >
> > Nicolai Tufar wrote:
> > > Greetings,
> > >
> > > Attached is a simple one-liner for src/tools/make_ctags.
> > > If tags are sorted in locale other than C, vim complains:
> > >
> > > E432: Tags file not sorted: tags
> > >
> > > Solution is to set LANG variable to C before calling sort.
> >
> > That should be LC_ALL.
>
> Sounds fair. Both could be done. It worked for me just with LANG.
> Should I submit a new patch?

Patch applied to do both. Thanks.

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

Attachment Content-Type Size
unknown_filename text/plain 604 bytes

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2004-02-01 23:59:37 Re: reading uninitialized buffer
Previous Message Claudio Natoli 2004-02-01 23:04:17 Re: pg_generate_sequence and info_schema patch (Was: SE