linkchecker/linkcheck
Marius Gedminas 03dfe3d3a1 Fix "operation on ... may be undefined" [-Wsequence-point] warnings
Fixes a bunch of warnings like

  htmlparse.y:509:25: warning: operation on ‘self->userData->buf’ may be undefined [-Wsequence-point]
  htmlparse.y:518:29: warning: operation on ‘self->userData->tmp_buf’ may be undefined [-Wsequence-point]

which were a result of (macro-expanded) code like this (simplified):

  if ((tmp = (tmp = PyMem_Realloc(...))) == NULL) return NULL;

The PyMem_Resize(p, ...) macro assigns the new value to p before
returning it, so there's no need to assign it again.

See http://bugs.python.org/issue1668036 for evidence (from 2007) that
this is indeed a documented side-effect of the macro API.
2017-02-13 15:20:33 +02:00
..
bookmarks Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
cache Detect if "url_data" contains proxy attributes before using them. 2014-11-12 09:58:30 -05:00
checker Allow wayback-format urls without affecting atom 'feed' urls 2017-02-09 11:43:45 +00:00
configuration Fix TypeError: hasattr(): attribute name must be string 2017-02-01 16:02:35 +02:00
director Move GUI files to separate project 2016-01-23 13:28:15 +01:00
HtmlParser Fix "operation on ... may be undefined" [-Wsequence-point] warnings 2017-02-13 15:20:33 +02:00
htmlutil Crawl HTML attributes in deterministic order 2017-02-01 19:19:53 +02:00
logger Print interrupt note in text output. 2014-04-30 20:17:33 +02:00
network More python3 fixes 2014-09-12 21:59:07 +02:00
parser Support itms-services: URLs. #532 2014-09-05 21:06:10 +02:00
plugins Force header names to lower to allow for CaseInsensitvieDict variability 2017-02-01 16:28:07 +00:00
__init__.py Fix python requests version check 2017-01-31 11:25:38 -05:00
ansicolor.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
better_exchook2.py Rename external module to exclude it from some style checks. 2013-01-06 18:17:29 +01:00
cmdline.py Reactivate paging of help pages. 2014-09-11 19:42:42 +02:00
colorama.py Fix GUI startup for Windows. 2012-12-19 21:12:02 +01:00
containers.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
cookies.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
decorators.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
dummy.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
fileutil.py Move mime stuff into own submodule. 2014-05-10 21:22:10 +02:00
ftpparse.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
gzip2.py Updated gzip and httplib copies. 2013-03-11 20:21:58 +01:00
httputil.py Merge branch '9.3.x' 2017-01-31 19:21:22 -05:00
i18n.py Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
lc_cgi.py Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
loader.py Add missing docstring. 2014-03-01 19:14:43 +01:00
lock.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
log.py More python3 fixes 2014-09-12 21:59:07 +02:00
logconf.py Move GUI files to separate project 2016-01-23 13:28:15 +01:00
mem.py Remove trailing spaces. 2010-03-06 11:03:25 +01:00
memoryutil.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
mimeutil.py Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
robotparser2.py Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
socketutil.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
strformat.py Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
threader.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
trace.py Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
updater.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
url.py Allow wayback-format urls without affecting atom 'feed' urls 2017-02-09 11:43:45 +00:00
winutil.py Add PDF link parsing. 2014-04-28 18:13:45 +02:00