wmfsm: Hide "system" file systems.
Patch [1] by roma1390 and Michele Noberasco to fix Gentoo bug #50148 [2]. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch [2] https://bugs.gentoo.org/show_bug.cgi?id=50148
This commit is contained in:
		
							parent
							
								
									443124b998
								
							
						
					
					
						commit
						b143ff46a6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -509,7 +509,7 @@ readFileSystems()
 | 
				
			||||||
#if defined IRIX64 || defined(SunOS)
 | 
					#if defined IRIX64 || defined(SunOS)
 | 
				
			||||||
			   strcmp(fstype, "hwgfs") && strcmp(fstype, "autofs") && strcmp(fstype, "proc") && strcmp(fstype, "fd") && !strstr(options, "ignore")
 | 
								   strcmp(fstype, "hwgfs") && strcmp(fstype, "autofs") && strcmp(fstype, "proc") && strcmp(fstype, "fd") && !strstr(options, "ignore")
 | 
				
			||||||
#elif defined linux
 | 
					#elif defined linux
 | 
				
			||||||
			   strcmp(fstype, "proc") && strcmp(fstype, "shm")
 | 
								   strcmp(fstype, "proc") && strcmp(fstype, "tmpfs") && strcmp(fstype, "devfs") && strcmp(fstype, "ramfs") && strcmp(fstype, "sysfs") && strcmp(fstype, "devpts") && strcmp(fstype, "usbfs")
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
			   1
 | 
								   1
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue