summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}