VirtualBox

Changeset 106033 in vbox for trunk/include/VBox/various.sed


Ignore:
Timestamp:
Sep 12, 2024 1:26:05 PM (5 months ago)
Author:
vboxsync
Message:

VBox/various.sed: Ignore the \r in \r\n when on unixy hosts. Fixes building the recompiler on linux from a windows svn checkout. bugref:10653 bugref:10370

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/various.sed

    r104378 r106033  
    3737# SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
    3838#
     39
     40# Convert \r\n -> \n if running a windows checkout with unix tools (IEM).
     41s/[\r]$//
    3942
    4043# Pass thru the file header and copyright.
     
    5861/\\$/!bno-more-newline-escapes
    5962N
     63s/[\r]$//
    6064b check-newline-escape
    6165:no-more-newline-escapes
     
    7377/\*\//b strip_c_style_comment
    7478N
     79s/[\r]$//
    7580b load_another_c_style_comment_line
    7681:strip_c_style_comment
     
    247252h
    248253N
     254s/[\r]$//
    249255/\*\//!b asm-inc-c-style-block-next
    250256x
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