Mercurial > geeqie
view po/regen_potfiles.sh @ 1661:13ff1db545f6
Fix two memory failures
1. if the description field for a exif information is empty the program
dumps core when trying to change this. The reason is a strcmp with a
NULL value.
The fix add the small functionality to set the field to default when
it is set empty.
2. There was a g_strdup miss in exif.c which could end in memory
corruption.
author | mow |
---|---|
date | Sun, 21 Jun 2009 22:52:08 +0000 |
parents | 4581d3f03d22 |
children | 351dd18c7db0 |
line wrap: on
line source
#!/bin/sh #generate a patch to update POTFILES.in #Use like this: ./regen_potfiles.sh | patch -p0 (cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$ diff -u POTFILES.in POTFILES.in.$$ rm -f POTFILES.in.$$