From 5e5a2e6339ff7be46001fb18b222bbeededf58ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Sun, 7 Apr 2013 03:32:32 +0200 Subject: More ChangeLog and NEWS entries for upcoming release --- ChangeLog | 22 ++++++++++++++++++++++ NEWS | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 91cfa97..7a44d16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +commit 37fc06213b65b9b8ced68f08697608632be91de0 +Author: Jérémie Courrèges-Anglas +Date: Sun Apr 7 03:23:50 2013 +0200 + + In strtok_ws() use "last", not "pointer" for the static variable + + * since X11/Xdefs.h may define it too. Found by -Wshadow. + + Bonus: "last" carries more meaning. + +commit e0714ec506da0a3647e352cf86094446cb6d2b38 +Author: Jérémie Courrèges-Anglas +Date: Sun Apr 7 03:07:35 2013 +0200 + + Don't use a flexible array member in struct history_item + + * They are a c99 feature, which makes it impossible to build ratpoison + on some platforms. GCC supports zero-sized arrays, more conservative + approaches say to use foo[1], but as brlink says a compiler with + aggressive optimization turned on might play nasty tricks. + Just use a traditional struct. + commit 340833f5e0c4350ac0c7fc6589a4305014b56ba8 Author: Jérémie Courrèges-Anglas Date: Mon Apr 1 13:44:57 2013 +0200 diff --git a/NEWS b/NEWS index b2024ea..d1b8404 100644 --- a/NEWS +++ b/NEWS @@ -12,7 +12,7 @@ notice and this notice are preserved. Please check out the ChangeLog for more details. ** Build process cleanup -e.g. detection of getline() was fixed. +e.g. detection of getline() was fixed, build is ok with old gcc's (2.95) ** ratpoison -c now reports errors ($? != 0) -- cgit v1.2.3