Branch: refs/heads/ta/use-xasprintf
  Home:   https://github.com/fvwmorg/fvwm
  Commit: 2b666f34f3108e13e6be2ae5bcde047617579f06
      
https://github.com/fvwmorg/fvwm/commit/2b666f34f3108e13e6be2ae5bcde047617579f06
  Author: Thomas Adam <[email protected]>
  Date:   2016-04-07 (Thu, 07 Apr 2016)

  Changed paths:
    M libs/safemalloc.c
    M libs/safemalloc.h
    M modules/FvwmIconBox/FvwmIconBox.h
    M modules/FvwmScroll/FvwmScroll.h
    M modules/FvwmWharf/Wharf.h

  Log Message:
  -----------
  safemalloc: use void */size_t

Convert the guts of safemalloc() to use size_t for the amount of memory to
allocate.  Additionally, don't use char* where void* is now implied, since
this requires the use of casts, which for malloc() isn't wanted any more, and
dangerous, when it can affect type safety.


  Commit: 097e5731ff6e4760b6da595661a4cc18af608915
      
https://github.com/fvwmorg/fvwm/commit/097e5731ff6e4760b6da595661a4cc18af608915
  Author: Thomas Adam <[email protected]>
  Date:   2016-04-07 (Thu, 07 Apr 2016)

  Changed paths:
    M libs/safemalloc.c
    M libs/safemalloc.h

  Log Message:
  -----------
  safemalloc: convert calloc/realloc

Use void*/size_t, etc.


  Commit: d5b9f20fff3a42d1f5ae37c20e4b05efab1b0574
      
https://github.com/fvwmorg/fvwm/commit/d5b9f20fff3a42d1f5ae37c20e4b05efab1b0574
  Author: Thomas Adam <[email protected]>
  Date:   2016-04-07 (Thu, 07 Apr 2016)

  Changed paths:
    M fvwm/add_window.c
    M fvwm/borders.c
    M fvwm/builtins.c
    M fvwm/colorset.c
    M fvwm/conditional.c
    M fvwm/events.c
    M fvwm/ewmh.c
    M fvwm/ewmh_icons.c
    M fvwm/ewmh_names.c
    M fvwm/execcontext.c
    M fvwm/expand.c
    M fvwm/functions.c
    M fvwm/fvwm.c
    M fvwm/gnome.c
    M fvwm/infostore.c
    M fvwm/menuitem.c
    M fvwm/menus.c
    M fvwm/menustyle.c
    M fvwm/modconf.c
    M fvwm/module_interface.c
    M fvwm/module_list.c
    M fvwm/schedule.c
    M fvwm/session.c
    M fvwm/stack.c
    M fvwm/style.c
    M fvwm/virtual.c
    M fvwm/windowlist.c

  Log Message:
  -----------
  fvwm/: Remove casts from safemalloc() calls

Don't cast the return value from malloc() as this hides type-safety.


  Commit: 16e47b924fa231d525af312f63e145b1eaaa8cbf
      
https://github.com/fvwmorg/fvwm/commit/16e47b924fa231d525af312f63e145b1eaaa8cbf
  Author: Thomas Adam <[email protected]>
  Date:   2016-04-07 (Thu, 07 Apr 2016)

  Changed paths:
    M libs/BidiJoin.c
    M libs/Bindings.c
    M libs/CombineChars.c
    M libs/FBidi.c
    M libs/FEvent.c
    M libs/FGettext.c
    M libs/FImage.c
    M libs/FScreen.c
    M libs/FTips.c
    M libs/Fft.c
    M libs/Flocale.c
    M libs/FlocaleCharset.c
    M libs/Graphics.c
    M libs/Module.c
    M libs/Parse.c
    M libs/Picture.c
    M libs/PictureBase.c
    M libs/PictureGraphics.c
    M libs/PictureImageLoader.c
    M libs/PictureUtils.c
    M libs/XResource.c
    M libs/flist.c
    M libs/fsm.c
    M libs/queue.c

  Log Message:
  -----------
  libs/: safemalloc: remove casts

Don't cast the return value from malloc() as this hides type safety.


  Commit: 1b218bd6d4fcab45f16396b384cbfd2b343164fe
      
https://github.com/fvwmorg/fvwm/commit/1b218bd6d4fcab45f16396b384cbfd2b343164fe
  Author: Thomas Adam <[email protected]>
  Date:   2016-04-07 (Thu, 07 Apr 2016)

  Changed paths:
    M modules/FvwmBacker/FvwmBacker.c
    M modules/FvwmCommand/FvwmCommandS.c
    M modules/FvwmConsole/FvwmConsole.c
    M modules/FvwmDragWell/fvwmDragWell.c
    M modules/FvwmEvent/FvwmEvent.c
    M modules/FvwmForm/FvwmForm.c
    M modules/FvwmGtk/FvwmGtk.c
    M modules/FvwmGtk/dialog.c
    M modules/FvwmGtk/expand.c
    M modules/FvwmGtk/windowlist.c
    M modules/FvwmIconBox/FvwmIconBox.c
    M modules/FvwmIconMan/FvwmIconMan.c
    M modules/FvwmIconMan/functions.c
    M modules/FvwmIconMan/globals.c
    M modules/FvwmIconMan/readconfig.c
    M modules/FvwmIconMan/winlist.c
    M modules/FvwmIdent/FvwmIdent.c
    M modules/FvwmPager/FvwmPager.c
    M modules/FvwmPager/x_pager.c
    M modules/FvwmProxy/FvwmProxy.c
    M modules/FvwmRearrange/FvwmRearrange.c
    M modules/FvwmSave/FvwmSave.c
    M modules/FvwmSaveDesk/FvwmSaveDesk.c
    M modules/FvwmTaskBar/ButtonArray.c
    M modules/FvwmTaskBar/FvwmTaskBar.c
    M modules/FvwmTaskBar/Goodies.c
    M modules/FvwmTaskBar/List.c
    M modules/FvwmTaskBar/Start.c
    M modules/FvwmWharf/FvwmWharf.c

  Log Message:
  -----------
  modules/: remove casts from safemalloc()

Don't cast the return value from malloc() as this hides type safety.


Compare: https://github.com/fvwmorg/fvwm/compare/6fa34c9f4791...1b218bd6d4fc

Reply via email to