summaryrefslogtreecommitdiff
path: root/src/input/input_cdda.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-03-03 20:18:36 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-03-03 20:18:36 +0000
commit3be3e001c835425d48a6207abcc5fcf560258c26 (patch)
tree0f6746ccae80b31181a652ce06a7651ae170ce99 /src/input/input_cdda.c
parente9ef4bdefa978a05e9de2a251464e2b527543ec3 (diff)
downloadxine-lib-3be3e001c835425d48a6207abcc5fcf560258c26.tar.gz
xine-lib-3be3e001c835425d48a6207abcc5fcf560258c26.tar.bz2
we check for a directory with lstat(), but since a link to a directory would
do just fine, using stat() is better CVS patchset: 6213 CVS date: 2004/03/03 20:18:36
Diffstat (limited to 'src/input/input_cdda.c')
-rw-r--r--src/input/input_cdda.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index a98cc0db0..c5730852b 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2003 the xine project
+ * Copyright (C) 2000-2004 the xine project
*
* This file is part of xine, a free video player.
*
@@ -20,7 +20,7 @@
* Compact Disc Digital Audio (CDDA) Input Plugin
* by Mike Melanson (melanson@pcisys.net)
*
- * $Id: input_cdda.c,v 1.43 2004/01/09 01:26:33 miguelfreitas Exp $
+ * $Id: input_cdda.c,v 1.44 2004/03/03 20:18:36 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1313,7 +1313,7 @@ static void _cdda_mkdir_safe(xine_t *xine, char *path) {
{
struct stat pstat;
- if((lstat(path, &pstat)) < 0) {
+ if((stat(path, &pstat)) < 0) {
/* file or directory no exist, create it */
if(mkdir(path, 0755) < 0) {
xprintf(xine, XINE_VERBOSITY_DEBUG,
@@ -1406,7 +1406,7 @@ static char *_cdda_cddb_get_default_location(void) {
* Small sighandler ;-)
*/
static void die(int signal) {
- //abort();
+ //_x_abort();
}
/*