Bug 41320 - Only accept setting an icon for user if file is regular
Summary: Only accept setting an icon for user if file is regular
Status: RESOLVED FIXED
Alias: None
Product: accountsservice
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 01:52 UTC by Vincent Untz
Modified: 2011-09-30 15:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch (1.78 KB, patch)
2011-09-29 01:52 UTC, Vincent Untz
Details | Splinter Review

Description Vincent Untz 2011-09-29 01:52:09 UTC
Created attachment 51744 [details] [review]
Patch

We don't want to call cat on files that are FIFO, for instance, since that can block.

(Note that the g_file_query_info call will get the type of the target files for symlinks)
Comment 1 Ray Strode [halfline] 2011-09-30 15:21:50 UTC
thanks


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.