lkml.org 
[lkml]   [1999]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: GNU/Linux stance by Richard Stallman
Date
From
In message <E10QqdE-0007nW-00@g212.hadiko.de>, Olaf Titz writes:
+-----
| > Never mind /bin/false; the original /bin/true was an *empty file*.
|
| Wouldn't that depend on the shell to give a correct result?
| exec()ing an empty file should return ENOEXEC.
+--->8

Yes; but "true" and "false" were intended for use from shell scripts. And
exec[lv]p() fell back to the shell if the exec failed, so it even worked from
most programs. (I see glibc2 finally implements that fallback; [many
versions of] glibc1 didn't, which I considered a bug.)

It should also be remembered that "#!" didn't exist on those systems.

--
brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering KF8NH
We are Linux. Resistance is an indication that you missed the point.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.084 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site