Closed Bug 603076 Opened 15 years ago Closed 15 years ago

Windows SDK 7.1 isn't handled properly in guess-msvc.bat

Categories

(Firefox Build System :: MozillaBuild, task)

x86_64
Windows 7
task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Gabri, Assigned: Gabri)

References

Details

Attachments

(1 file, 3 obsolete files)

Attached patch Patch#0 (obsolete) — Splinter Review
Bug 579159 added SDK7.1 to guess-msvc.bat but there's a bug on its regkey value delimiter (line 134) which uses 2 spaces instead of 1 tab and 1 space. I think we should resolve this bug using 3 approaches: 1. Add the correct delimiter to the SDK7.1 handle string (Patch#0) 2. Remove all the delimiters because we use the default one (1 tab + 1 space) (Patch#1) 3. Change all the delimiters to a more readable form such as "delims=<TAB> " which works properly (Patch#2) I've also added to each patch the reset of SDKDIR var, so guess-msvc.bat is able to update that var if we install a new SDK package (It fixes also the "Windows SDK version: 0.0" bug).
Attachment #482029 - Flags: review?(ted.mielczarek)
Attached patch Patch#1 (obsolete) — Splinter Review
Assignee: nobody → gabri.best
Attachment #482030 - Flags: review?(ted.mielczarek)
Attached patch Patch#2 (obsolete) — Splinter Review
Attachment #482031 - Flags: review?(ted.mielczarek)
Summary: Windows 7.1 SDK isn't handled properly in guess-msvc.bat → Windows SDK 7.1 isn't handled properly in guess-msvc.bat
Attachment #482029 - Flags: review?(ted.mielczarek) → review+
Attachment #482030 - Flags: review?(ted.mielczarek) → review+
Attachment #482031 - Flags: review?(ted.mielczarek) → review+
Oh, I didn't notice that these were three *alternatives*. Honestly, I don't care. r=me to land whichever one of these you prefer.
Attached patch Patch v1.1Splinter Review
* Removed all the "delims" attributes from all the REG QUERY instructions; * Removed all the "usebackq" attributes from all the REG QUERY instructions using a cleaner istruction coding (('REG QUERY...') instead of: (`REG QUERY...`));
Attachment #482029 - Attachment is obsolete: true
Attachment #482030 - Attachment is obsolete: true
Attachment #482031 - Attachment is obsolete: true
Attachment #482701 - Flags: review?(ted.mielczarek)
Attachment #482701 - Flags: review?(ted.mielczarek) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: