mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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:
parent
d5153a8691
commit
178b620bc7
2 changed files with 5 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue