Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  nss.disablefsync.patch   Sprache: unbekannt

 
--- a/nss/nss/lib/sqlite/sqlite3.c
+++ b/nss/nss/lib/sqlite/sqlite3.c
@@ -36136,6 +36136,15 @@
 static int full_fsync(int fd, int fullSync, int dataOnly){
   int rc;
 
+  static int disabledKnown = 0, disabled = 0;
+  if (!disabledKnown)
+  {
+    disabled = getenv("SAL_DISABLE_FSYNC") != NULL;
+    disabledKnown = 1;
+  }
+  if (disabled)
+    return 0;
+
   /* The following "ifdef/elif/else/" block has the same structure as
   ** the one below. It is replicated here solely to avoid cluttering 
   ** up the real code with the UNUSED_PARAMETER() macros.

[ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet)  ]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge