Mercurial > hg > xemacs-beta
view etc/trash.xpm @ 4954:70e8a00896e9
fix an obscure crash reading from stream devices
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-27 Ben Wing <ben@xemacs.org>
* event-unixoid.c (read_event_from_tty_or_stream_desc):
Don't try to write one byte into a four-byte variable, leaving
the rest undefined. This is a recipe for crashing.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 27 Jan 2010 00:44:03 -0600 |
parents | 376386a54a3c |
children | 7910031dd78a |
line wrap: on
line source
/* XPM */ /* A trash can, drawn by jwz */ static char *trash[] = { /* width height ncolors chars_per_pixel x_hot y_hot */ " 32 46 4 1 16 23", /* colors */ " c None m None", "= c gray85 m white", "- c gray75 m white", "# c black m black", /* pixels */ " ", " ###### ", " #======# ", " #==# ==# ", " ########################## ", " #==========================# ", " ####=####################### ", " #========================# ", " #======================# ", " #=====##====##====##===# ", " ###-#==#--#==#--#==#--#==### ", " #--#-#==#--#==#--#==#--#==#--# ", " ####-#==#--#==#--#==#--#==#### ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #-#==#--#==#--#==#--#==# ", " #======================# ", " #======================# ", " #==######=###########==# ", " #========================# ", " ######################## ", " " };