summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sys/oss/gstosselement.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fe98892e..a012cb35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-12 Christian Schaller <Uraeus@gnome.org>
+
+ * sys/oss/gstosselement.c: s/lstat/stat/ from freeBSD, since it can
+ be a symlink
2004-04-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_data):
diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c
index 0ca2e8e9..600e0b05 100644
--- a/sys/oss/gstosselement.c
+++ b/sys/oss/gstosselement.c
@@ -194,7 +194,7 @@ gst_osselement_probe (gchar * device_base,
goto end;
}
- if (lstat (device, &s) || !S_ISCHR (s.st_mode))
+ if (stat (device, &s) || !S_ISCHR (s.st_mode))
goto end;
*name = device;