summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-07-25 10:29:52 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-07-25 10:29:52 +0000
commit0fbf58d2942263a6fc0bc2ab6797e07250144907 (patch)
tree3b8a83b096e5c1faf402d2b34fa285d47ce32c66 /mdk-stage1
parent5de27435fada30e8776ff15ec79cd7ea9ead0b3c (diff)
downloaddrakx-0fbf58d2942263a6fc0bc2ab6797e07250144907.tar
drakx-0fbf58d2942263a6fc0bc2ab6797e07250144907.tar.gz
drakx-0fbf58d2942263a6fc0bc2ab6797e07250144907.tar.bz2
drakx-0fbf58d2942263a6fc0bc2ab6797e07250144907.tar.xz
drakx-0fbf58d2942263a6fc0bc2ab6797e07250144907.zip
Use Yahve quoting
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/init.c16
-rw-r--r--mdk-stage1/newt-frontend.c2
2 files changed, 13 insertions, 5 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index ebe9d1ba9..df0bf0afe 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -156,8 +156,7 @@ void doklog()
// print_str_init(log, "] bind error: ");
// print_int_init(log, errno);
// print_str_init(log, "\n");
-// sleep(5);
-// }
+// sleep(// }
//
// print_str_init(log, "] bound socket\n");
// chmod("/dev/log", 0666);
@@ -387,8 +386,8 @@ int main(int argc, char **argv)
print_error("could not set new controlling tty");
if (!testing) {
- char * my_hostname = "localhost.localdomain";
- sethostname(my_hostname, strlen(my_hostname));
+ char my_hostname[] = "localhost.localdomain";
+ sethostname(my_hostname, sizeof(my_hostname));
/* the default domainname (as of 2.0.35) is "(none)", which confuses
glibc */
setdomainname("", 0);
@@ -404,7 +403,14 @@ int main(int argc, char **argv)
2) we receive a SIGHUP
*/
- printf("Cooker says: chopping a bunch of trees each morning builds a man! (c) Warly\n");
+ printf("Yavpoovoy says:\n");
+ printf(" Abraham leva les yeux et vit un belier, qui s'etait pris par les\n");
+ printf(" cornes dans un buisson, et Abraham alla prendre le belier et l'offrit\n");
+ printf(" en holocauste a la place de son fils. A ce lieu, Abraham donna le nom\n");
+ printf(" de \"Yahve pourvoit\", en sorte que l'on dit aujourd'hui: \"Sur la\n");
+ printf(" montagne. Yahve pourvoit.\"\n");
+ printf(" Gn 22, 13-14\n");
+ printf("\n");
printf("Running install...\n");
if (!(installpid = fork())) {
diff --git a/mdk-stage1/newt-frontend.c b/mdk-stage1/newt-frontend.c
index b3a858f27..e0bc7c5ce 100644
--- a/mdk-stage1/newt-frontend.c
+++ b/mdk-stage1/newt-frontend.c
@@ -37,6 +37,8 @@
void init_frontend(char * welcome_msg)
{
+ int i;
+ for (i=0; i<38; i++) printf("\n");
newtInit();
newtCls();