QNX 6.x fixes



Hello! 

Attached: 

makefile.syntax.diff: 	adds define and ended keyrowrds

perl.syntax.diff:		adds break keyword

ext.c.diff:			Fixes <zombies> in QNX 6.x (QNX Neutrino) when guessing 					
file  type before viewing file (Long standing bug, which I erroneously 
tried to fix removed waitpid call long time ago)

extfs.c.diff:			Fixes bug in extfs, which showed 'Inconsistent extfs 					 
archive' on small archives and diffs. Also  QNX 6.x (QNX Neutrino) 					 
specific 

WBR,
Dmitry
--- perl.syntax.orig	2003-12-28 16:56:16 +0300
+++ perl.syntax	2003-12-28 00:58:18 +0300
@@ -110,6 +110,7 @@
     keyword \\' brightred
 
     keyword whole and magenta
+    keyword whole break magenta
     keyword whole or magenta
     keyword whole not magenta
     keyword whole do magenta
--- makefile.syntax.orig	2003-12-24 11:52:19 +0300
+++ makefile.syntax	2003-12-24 11:53:28 +0300
@@ -2,6 +2,8 @@
 context default
     keyword $(*) yellow
     keyword ${*} brightgreen
+    keyword whole linestart define magenta
+    keyword whole linestart endef magenta
     keyword whole linestart include magenta
     keyword whole linestart ifdef magenta
     keyword whole linestart ifndef magenta
--- ext.c.orig	Thu Nov 13 05:15:35 2003
+++ ext.c	Sun Dec 28 16:19:54 2003
@@ -304,6 +304,11 @@
     char *command = g_strconcat (FILE_CMD, tmp, NULL);
     FILE *f = popen (command, "r");
 
+#ifdef __QNXNTO__
+    if (setvbuf (f, NULL, _IOFBF, 0) != 0) 
+	return -1;
+    
+#endif
     g_free (tmp);
     g_free (command);
     if (f != NULL) {
--- extfs.c.orig	Wed Dec  3 12:51:53 2003
+++ extfs.c	Sun Dec 28 16:21:07 2003
@@ -245,6 +245,9 @@
     g_free (mc_extfsdir);
     open_error_pipe ();
     result = popen (cmd, "r");
+#ifdef ___QNXNTO__    
+    setvbuf (result, NULL, _IONBF, 0);
+#endif    
     g_free (cmd);
     if (result == NULL) {
 	close_error_pipe (1, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]