Bug#172663: requested patch
I realized how stupid I was when sending the previous mail of this patch only to gotom. So I resend it to the proper place.
Please, accept my appologies.
floris
**** original mail ****
On Sun, Jan 05, 2003 at 04:09:48PM +0900, GOTO Masanori wrote:
> I couldn't find where you refer. I searched, but 2.2.5-11.2 and
> 2.3.1-9 does not have such text. Could you send us the form of diff
> patch?
Ok, I've never made a patch before but know somehow how to do so. Although it w
on't be done the Right Way. I will tell you what I've done to achieve this patc
h. Output is skipped.
~$ mkdir glibc_patch
~$ cd glibc_patch
~/glibc_patch$ apt-get source glibc-doc
# directory glibc-2.2.5 is created
~/glibc_patch$ cp glibc-2.2.5 glibc-2.2.5_flub
~/glibc_patch/glibc-2.2.5_flub$ tar -xvjf glibc-2.2.5.tar.bz2
~/glibc_patch/glibc-2.2.5_flub$ vi glibc-2.2.5/manual/locale.texi
# made the changes
~/glibc_patch/glibc-2.2.5_flub$ cd ..
~/glibc_patch$ LC_ALL=C TZ=UTC0 diff -Naur \
glibc-2.2.5/glibc-2.2.5/manual/locale.texi \
glibc-2.2.5_flub/flibc-2.2.5/manual/locale.texi \
> glibc-2.2.5-11.2_bug172663_locale.texi_patch.diff
# usage of diff I used was: diff [options] from-file to-file
As suggested in patch I also tried to patch it:
# usage of patch I use is: patch [originalfile] [patchfile]
~/glibc_patch$ patch glibc-2.2.5/glibc-2.2.5/manual/locale.texi \
glibc-2.2.5-11.2_bug172663_locale.texi_patch.diff
This all looks perhaps quite odd to you, but you will know now what I meant.
I know the manual speaks about input, but as far as I know gettext just translat
es strings so one can use it for any string she wants I guess. Altough I never
tried (actually I'm just trying to write a litle GNU-conform program so I will l
earn how it all works).
Hope this helps,
Regards,
floris
--- glibc-2.2.5/glibc-2.2.5/manual/locale.texi Sun Aug 12 04:48:56 2001
+++ glibc-2.2.5_flub/glibc-2.2.5/manual/locale.texi Sun Jan 5 20:45:50 2003
@@ -70,7 +70,11 @@
@item
What language to use for more complex user input.
-(The C library doesn't yet help you implement this.)
+@c(The C library doesn't yet help you implement this.)
+@c This is what the previous entry said, I will try this:
+For more information on this stuff you can have a look at the gettext
+manual (@pxref{Top,,GNU gettext utilities,gettext,Native Language
+Support Library and Tools}).
@end itemize
Some aspects of adapting to the specified locale are handled
Reply to: