VirtualBox

Changeset 18117 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Mar 20, 2009 1:33:58 PM (16 years ago)
Author:
vboxsync
Message:

sed(1): make these locale independent by using [:alnum:] and friends.
See also #3743: “tstAsmStructsAsm-lst.sed locale sensitive”

Location:
trunk/src/VBox/Runtime/common/err
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/err/errmsg.sed

    r8256 r18117  
    44#
    55
    6 # Copyright (C) 2006-2007 Sun Microsystems, Inc.
     6# Copyright (C) 2006-2009 Sun Microsystems, Inc.
    77#
    88# This file is part of VirtualBox Open Source Edition (OSE), as
     
    4747# Convert the defines
    4848:defines
    49 s/^[[:space:]]*#[[:space:]]*define[[:space:]]*\([a-zA-Z0-9_]*\)[[:space:]]*\(.*\)[[:space:]]*$/    "\1",\n     \1 }, /
     49s/^[[:space:]]*#[[:space:]]*define[[:space:]]*\([[:alnum:]_]*\)[[:space:]]*\(.*\)[[:space:]]*$/    "\1",\n     \1 }, /
    5050b end
    5151
  • trunk/src/VBox/Runtime/common/err/errmsgcom.sed

    r8256 r18117  
    44#
    55
    6 # Copyright (C) 2006-2007 Sun Microsystems, Inc.
     6# Copyright (C) 2006-2009 Sun Microsystems, Inc.
    77#
    88# This file is part of VirtualBox Open Source Edition (OSE), as
     
    6262    s/"/\\"/g
    6363    # output C array entry
    64     s/\([a-zA-Z0-9_]*\)[\t ]*\n\(.*\)[\t ]*$/{ "\2", "\1", \1 }, /
     64    s/\([[:alnum:]_]*\)[\t ]*\n\(.*\)[\t ]*$/{ "\2", "\1", \1 }, /
    6565}
    6666b end
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette