[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #35231] Backward compatibility: Versions prior to 3.81 allowed spac
From: |
anonymous |
Subject: |
[bug #35231] Backward compatibility: Versions prior to 3.81 allowed spaces in variable names |
Date: |
Tue, 03 Jan 2012 23:48:27 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2 |
URL:
<http://savannah.gnu.org/bugs/?35231>
Summary: Backward compatibility: Versions prior to 3.81
allowed spaces in variable names
Project: make
Submitted by: None
Submitted on: Tue 03 Jan 2012 11:48:26 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.82
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
I ran across an ancient makefile previously used with gmake 3.74. The
following idiom works on 3.81:
set something = something else
all:
@echo ${set something}
My guess is the 'set something' line is a carry-over from some even older
build system; it didn't cause an error in make, so it was ignored.
Personally I'd be inclined to ditch allowing spaces in variable names, but in
case there's a good reason to keep it around I figured I'd write it up.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35231>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #35231] Backward compatibility: Versions prior to 3.81 allowed spaces in variable names,
anonymous <=