Index: /trunk/BNC/bncrinex.cpp
===================================================================
--- /trunk/BNC/bncrinex.cpp	(revision 697)
+++ /trunk/BNC/bncrinex.cpp	(revision 698)
@@ -101,4 +101,8 @@
   while (it.hasNext()) {
     delete it.next();
+  }
+  QSettings settings;
+  if ((_rinexVers == 3) && ( Qt::CheckState(settings.value("rnxAppend").toInt()) != Qt::Checked) ) {
+    _out << "END OF FILE" << endl;
   }
   _out.close();
@@ -657,4 +661,7 @@
 void bncRinex::closeFile() {
   QMutexLocker locker(&_mutex);
+  if (_rinexVers == 3) {
+    _out << "END OF FILE" << endl;
+  }
   _out.close();
   if (!_rnxScriptName.isEmpty()) {
