aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-21 22:52:54 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-21 22:52:54 +0000
commitfbcb995a81e378db8afa41034949429af953006b (patch)
tree7f44469cd30ada5e72b038b7d223f0444986b2ad /src
parent28e29a29e9f0fee15aeb94828cfc0e2bc4304489 (diff)
downloadmpd-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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tag.c b/src/tag.c
index 1a9b03549..3a968fe8e 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -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;
}