mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
2008-08-01 Bean <bean123ch@gmail.com>
* normal/menu_entry.c (editor_getline): Don't return the original string as result, as it will be released by lexer once it has done using it.
This commit is contained in:
1 parent
cdfb3d2273
commit
b15d8a0cc6
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
2008-08-01 Bean <bean123ch@gmail.com>
|
||||||
|
|
||||||
|
* normal/menu_entry.c (editor_getline): Don't return the original
|
||||||
|
string as result, as it will be released by lexer once it has done
|
||||||
|
using it.
|
||||||
|
|
||||||
2008-08-01 Robert Millan <rmh@aybabtu.com>
|
2008-08-01 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* util/grub.d/10_linux.in: Use prepare_grub_to_access_device() from
|
* util/grub.d/10_linux.in: Use prepare_grub_to_access_device() from
|
||||||
|
|||||||
+1
-1
@@ -996,7 +996,7 @@ run (struct screen *screen)
|
|||||||
linep->len = p - linep->buf;
|
linep->len = p - linep->buf;
|
||||||
for (p = linep->buf; grub_isspace (*p); p++)
|
for (p = linep->buf; grub_isspace (*p); p++)
|
||||||
;
|
;
|
||||||
*line = p;
|
*line = grub_strdup (p);
|
||||||
currline++;
|
currline++;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user