summaryrefslogtreecommitdiff
path: root/.cvsignore
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-02-14 17:09:00 +0000
committerPedro Alves <palves@redhat.com>2013-02-14 17:09:00 +0000
commit57c3b6ede58a103b97baa10bef7d9d9031d2269b (patch)
tree6edf764e3b43b65853bd747c3b39c610b7d3cbf2 /.cvsignore
parent420f4384af4aac17ca68d8834519f18d6dbe0ee6 (diff)
downloadbinutils-gdb-57c3b6ede58a103b97baa10bef7d9d9031d2269b.tar.gz
savestring: Rename parameter 'size' to 'len'.
It's better to avoid needless confusion, and call string length, length, instead of size, which is usually used to refer to sizeof of the string (len+1): size_t len = strlen (str); size_t size = sizeof (str); Tested on x86_64 Fedora 17. 2013-02-14 Pedro Alves <palves@redhat.com> * utils.c (savestring): Rename parameter 'size' to 'len'.
Diffstat (limited to '.cvsignore')
0 files changed, 0 insertions, 0 deletions