Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
Immanuel
/
xmenu
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Fixing segfault in case of empty input
master
phillbush
hace 5 años
padre
a5ddd2cd22
commit
ddb15acfde
Se han
modificado 1 ficheros
con
2 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-0
xmenu.c
+ 2
- 0
xmenu.c
Ver fichero
@@ -379,6 +379,8 @@ parsestdin(void)
char *label, *output;
unsigned level = 0;
rootmenu = NULL;
while (fgets(buf, BUFSIZ, stdin) != NULL) {
/* get the indentation level */
level = strspn(buf, "\t");
Escribir
Vista previa
Cargando…
Cancelar
Guardar