FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-20-2010, 11:57 AM
Hans de Goede
 
Default Fix compile problem from 65a3c05.

Ack.

On 01/20/2010 01:48 PM, Ales Kozumplik wrote:

---
loader/init.c | 1 -
loader/init.h | 2 --
loader/shutdown.c | 4 ++--
3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/loader/init.c b/loader/init.c
index 715348f..6cb013d 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -409,7 +409,6 @@ static void termReset(void) {
/* reboot handler */
static void sigintHandler(int signum) {
termReset();
- shouldReboot = 1;
shutDown(getKillPolicy(), REBOOT);
}

diff --git a/loader/init.h b/loader/init.h
index 413c8ba..733bc8e 100644
--- a/loader/init.h
+++ b/loader/init.h
@@ -25,6 +25,4 @@ typedef enum {
HALT
} reboot_action;

-extern int shouldReboot;
-
#endif /* INIT_H */
diff --git a/loader/shutdown.c b/loader/shutdown.c
index 5fc3bed..774e11a 100644
--- a/loader/shutdown.c
+++ b/loader/shutdown.c
@@ -80,8 +80,8 @@ static void performReboot(reboot_action rebootAction) {

void shutDown(int doKill, reboot_action rebootAction) {
if (doKill) {
- performUnmounts(doKill);
- performTerminations(doKill);
+ performUnmounts();
+ performTerminations();
}

if ((rebootAction == POWEROFF || rebootAction == REBOOT)&& doKill) {


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 01-20-2010, 02:10 PM
Chris Lumens
 
Default Fix compile problem from 65a3c05.

> loader/init.c | 1 -
> loader/init.h | 2 --
> loader/shutdown.c | 4 ++--
> 3 files changed, 2 insertions(+), 5 deletions(-)

This will need to go on rhel6-branch too.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 01-21-2010, 06:53 AM
Ales Kozumplik
 
Default Fix compile problem from 65a3c05.

On 01/20/2010 04:10 PM, Chris Lumens wrote:

loader/init.c | 1 -
loader/init.h | 2 --
loader/shutdown.c | 4 ++--
3 files changed, 2 insertions(+), 5 deletions(-)


This will need to go on rhel6-branch too.

- Chris


Thanks for pushing.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 11:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org