Giter Club home page Giter Club logo

Comments (6)

jelmd avatar jelmd commented on August 19, 2024

please pull jelmd@bcf9fb4

from ast.

krader1961 avatar krader1961 commented on August 19, 2024

I vote no to merging the suggested fix.

Why is ksh93 still using the libast language translation functions? Rather than continuing to maintain and fix that code we should switch to the standard locale functions such as gettext() and the idiom of printf(_("please localize me\n"));. This would be another huge step in slimming down the ksh code base that has to be maintained by eliminating the need to maintain the AST message catalog code.

from ast.

jelmd avatar jelmd commented on August 19, 2024

Well, I guess, the initial idea was to not depend on non-libc/ non-ast libs and provide base for $'....' handling. Anyway, if you vote against merge, you should provide an alternative to fix the bug or tell, what needs to be fixed in the fix ;-)

from ast.

krader1961 avatar krader1961 commented on August 19, 2024

I did provide an alternative solution, jelmd. To wit: use the reasonably standard gettext() API and related tools. Also, your problem statement was just

NLSPATH resolver bug needs to be fixed.

What bug? How can someone reproduce the problem? Why didn't you add a unit test?

And this comment in your fix suggests to me the fix is not reliable:

/* 'ksh93_tm' hopefully does not resolve to a regular executable file */

I realize English is not your native language but you continue to be willfully obtuse and obnoxious in your comments. Not just in this project bug also here: tensorflow/tensorflow#13550. Most people are going to ignore you because of your abrasive style of interaction.

from ast.

jelmd avatar jelmd commented on August 19, 2024

Again, why do you read the subjects, only and not the problem description before making unqualified comments again and again?

The bug description as well as test case are included in the issue comment 1!

Wrt. "fix is not reliable": Can you read the issue description first and than ask, what you not understand?
I think it is pretty well explained, what happens and at least a ksh developer, who knows, how ksh's localization currently works, should understand it (even if it is not native/perfect English). And if so, one would realize, that the fix tries to circumvent the problem but can't fix it for all corner cases (here if a 'ksh93_tm' binary can be found via PATH), because this would break ksh behavior.

Wrt. to the last paragraph: plz do not talk about stuff you do not understand! Picking up some stuff w/o the context is a really bad behavior!

from ast.

krader1961 avatar krader1961 commented on August 19, 2024

We're going to drop use of the libast locale code as soon as possible. This will make ksh behavior consistent with other programs on a given platform. So there isn't much point merging a change for this obscure problem.

from ast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.