forked from MidnightCommander/mc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* editcmd.c (edit_printf): Use g_vsnprintf() instead of sprintf().
- Loading branch information
Andrew V. Samoilov
committed
Aug 27, 2002
1 parent
3f03b46
commit 63d111d
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
2002-08-27 Andrew V. Samoilov <[email protected]> | ||
|
||
* editcmd.c (edit_printf): Use g_vsnprintf() instead of sprintf(). | ||
|
||
2002-08-24 Pavel Roskin <[email protected]> | ||
|
||
* edit-widget.h: Eliminate ERROR_FILE. | ||
|
@@ -165,8 +169,8 @@ | |
* syntax.c (syntax_g_free): New macro to release and NULLify | ||
glib allocated memory area(s). | ||
(strdup_convert): Rename to ... | ||
(convert): ... this. Don't strdup passed string. | ||
(get_args): Use convert instead of strdup_convert. | ||
(convert): ... this. Don't strdup() passed string. | ||
(get_args): Use convert() instead of strdup_convert(). | ||
(free_args): Make it do notning macro. | ||
(open_include_file): Eliminate p array. Use glib function to | ||
construct error_file_name. Use PATH_SEP instead of '/'; | ||
|
@@ -182,16 +186,16 @@ | |
|
||
2001-12-22 Andrew V. Samoilov <[email protected]> | ||
|
||
* editcmd.c (edit_goto_cmd): Use g_free to release f. | ||
* editcmd.c (edit_goto_cmd): Use g_free() to release f. | ||
(edit_save_file): Use PATH_SEP instead of '/'. | ||
Undefine "close" before closing file created by mc_mkstemps. | ||
Define close to mc_close after it - temporary fix. | ||
Define close to mc_close() after it - temporary fix. | ||
|
||
(sprintf_p): Don't cast (char *) to (unsigned long). | ||
|
||
* syntax.c (read_one_line): Undo last patch - errno is a | ||
function on some systems. Check ferror() status before | ||
everithing else if fgetc returns EOF. | ||
everything else if fgetc() returns EOF. | ||
Accept last line without trailing newline. | ||
|
||
(compare_word_to_right): Don't cast p and q to unsigned long. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters