Bug 15204 - Verwenden von locale in Funktionen in libs
Verwenden von locale in Funktionen in libs
Status: RESOLVED FIXED
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
All All
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-27 18:10 CEST by Jasper Schulz
Modified: 2023-07-26 14:48 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasper Schulz univentionstaff 2009-07-27 18:10:40 CEST
Im Moment werden die Variablen noch mit TMP_<variablenName> in Funktionen verwendet. Eine deutlich schönere Variante wäre die Nutzung von locale.

function foo () {
    locale name dn
    
    name=ABC
    dn=DEF

}
Comment 1 Philipp Hahn univentionstaff 2014-01-29 17:10:27 CET
./lib/printer.sh is the only lib still using TMP_
Comment 2 Philipp Hahn univentionstaff 2023-07-26 14:48:19 CEST
[5.0-4] 20fb5ec752 style(test): make TMP_ variable local
 test/ucs-test/lib/printer.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)