From: Eli Zaretskii Date: Sun, 27 Feb 2011 19:51:35 +0000 (+0200) Subject: Implement stub emulation of `readlink' for MS-DOS. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~711 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4824410fa8236c8c005107d24898e48c762e83c6;p=emacs.git Implement stub emulation of `readlink' for MS-DOS. src/msdos.c (readlink) [DJGPP < 2.04]: New stub function. src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype. --- 4824410fa8236c8c005107d24898e48c762e83c6 diff --cc src/ChangeLog index f3710495c4a,3288a79e9c6..a7c9d4c7e3c --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,40 -1,9 +1,44 @@@ 2011-02-27 Eli Zaretskii + * msdos.c (readlink) [DJGPP < 2.04]: New stub function. + + * msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype. + + * w32.c (symlink, readlink): New stub functions. + +2011-02-27 Paul Eggert + + * scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG. + This avoids a gcc warning in some configurations. + + * frame.c (x_set_screen_gamma): Rename local to avoid shadowing. + + * frame.h: Avoid gcc -Wmissing-prototypes diagnostics. + (set_menu_bar_lines, x_get_resource_string): New decls. + * msdos.c (set_menu_bar_lines): Omit decl. + + * dispextern.h (struct glyph): Make u.img_id int, not unsigned. + It's always given int values and used as an int. This suppresses + a gcc "comparison of unsigned expression >= 0" warning in some + configurations. + + * dispnew.c: Rename locals to avoid shadowing. + (update_text_area, scrolling_window, update_frame_1): Rename locals. + +2011-02-26 Paul Eggert + + * dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes. + (copy_glyph_row_contents): Remove; not used. + (frame_row_to_window, check_current_matrix_flags): + (window_change_signal): Now static, since they're not used elsewhere. + (check_current_matrix_flags): Surround with "#if 0", since its + only use is in a comment. Maybe both the comment and the "#if 0" + stuff should be removed? + + * dispnew.c: Fix problem uncovered by gcc -Wunused-variable. + (adjust_frame_glyphs_for_window_redisplay): Make 'w' local to the + contexts that actually need it. + 2011-02-26 Eli Zaretskii * s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.