diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-21 22:52:54 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-21 22:52:54 +0000 |
commit | fbcb995a81e378db8afa41034949429af953006b (patch) | |
tree | 7f44469cd30ada5e72b038b7d223f0444986b2ad /src | |
parent | 28e29a29e9f0fee15aeb94828cfc0e2bc4304489 (diff) | |
download | mpd-fbcb995a81e378db8afa41034949429af953006b.tar.gz mpd-fbcb995a81e378db8afa41034949429af953006b.tar.xz mpd-fbcb995a81e378db8afa41034949429af953006b.zip |
cleanup EINTR checking in tag.c
git-svn-id: https://svn.musicpd.org/mpd/trunk@1127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/tag.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -310,11 +310,10 @@ MpdTag * oggTagDup(char * utf8file) { char * s1; char * s2; - while(!(fp = fopen(rmp2amp(utf8ToFsCharset(utf8file)),"r")) - && errno==EINTR); + fp = fopen(rmp2amp(utf8ToFsCharset(utf8file)),"r"); if(!fp) return NULL; if(ov_open(fp,&vf,NULL,0)<0) { - while(fclose(fp) && errno==EINTR); + fclose(fp); return NULL; } |