diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
commit | f96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch) | |
tree | edb17ec2c4ea13c5acb1c7350957a249a820e28d /frotz/files/remove_root_restriction.patch | |
parent | b6588aa6851fb220cedc387d21c51513ef8d67f4 (diff) | |
download | openembedded-f96441b9faf769c9ecdd4d338b605ea3d0cc4010.tar.gz |
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'frotz/files/remove_root_restriction.patch')
-rw-r--r-- | frotz/files/remove_root_restriction.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/frotz/files/remove_root_restriction.patch b/frotz/files/remove_root_restriction.patch index e69de29bb2..f2be13dec2 100644 --- a/frotz/files/remove_root_restriction.patch +++ b/frotz/files/remove_root_restriction.patch @@ -0,0 +1,18 @@ +--- ./src/curses/ux_init.c 2004-09-11 10:15:07.000000000 -0700 ++++ ux_init.c.patch 2004-09-11 10:15:40.000000000 -0700 +@@ -139,15 +139,6 @@ + char *home; + char configfile[FILENAME_MAX + 1]; + +- if ((getuid() == 0) || (geteuid() == 0)) { +- printf("I won't run as root!\n"); +- exit(1); +- } +- +- if ((home = getenv("HOME")) == NULL) { +- printf("Hard drive on fire!\n"); +- exit(1); +- } + + /* + * It doesn't look like Frotz can reliably be resized given its current |