s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn

Original commit message from CVS:
s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
This commit is contained in:
Christian Schaller 2004-04-12 19:41:34 +00:00
parent d5153a8691
commit 178b620bc7
2 changed files with 5 additions and 1 deletions

View file

@ -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):

View file

@ -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;