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 11-03-2010, 11:00 AM
Ales Kozumplik
 
Default Remove mkdirChain() from isys, use g_mkdir_with_parents()

Ack,

just one comment:

On 11/02/2010 09:44 PM, David Cantrell wrote:

+ if (g_mkdir_with_parents(file, 0755) == -1)
+ logMessage(ERROR, "mkdir error on %s: %m", file);
+
+ if (g_mkdir_with_parents(DD_MODULES, 0755) == -1)
+ logMessage(ERROR, "mkdir error on %s: %m", DD_MODULES);


Maybe we should have a function to call instead of g_mkdir_with_parents
that would both call g_mkdir_with_parents() and then do the logging.
Would save us some lines and ifs.


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 11-10-2010, 03:19 PM
Ales Kozumplik
 
Default Remove mkdirChain() from isys, use g_mkdir_with_parents()

On 11/09/2010 11:45 PM, David Cantrell wrote:

Replace uses of mkdirChain() with g_mkdir_with_parents() and
remove the existing mkdirChain() code from isys/imount.*

Added a wrapper function for g_mkdir_with_parents() usage.


This looks good now.

Ales

_______________________________________________
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 05:38 AM.

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