annotate make-check @ 54:125d79c9e586
noffle
[svn] * src/client.c, src/configfile.c, src/content.c, src/control.c,
src/database.c, src/dynamicstring.c, src/fetch.c, src/fetchlist.c,
src/group.c, src/itemlist.c, src/lock.c, src/log.c, src/noffle.c,
src/online.c, src/outgoing.c, src/over.c, src/post.c, src/protocol.c,
src/pseudo.c, src/request.c, src/server.c, src/util.c:
Added portable.h #include.
* src/client.h, src/database.h, src/fetch.c, src/group.h, src/lock.c,
src/outgoing.c, src/over.c, src/over.h, src/pseudo.c, src/server.c,
src/util.c, src/util.h: Added some #ifdefs to correctly include either
time.h or sys/time.h or both, depending on which are found.
* src/noffle.c: Changed the return-type of the signal-handlers bugReport()
and logSignal() to RETSIGTYPE, which is either void or int, depending on
the system you compile on (autoconf #defines the RETSIGTYPE).
author |
uh1763 |
date |
Tue, 09 May 2000 23:28:38 +0100 |
parents |
04124a4423d4 |
children |
|
rev |
line source |
0
|
1 #!/bin/bash
|
|
2
|
|
3 if grep '^CFLAGS.*DEBUG' Makefile ; then
|
|
4 echo "Debugging options are on in Makefile"
|
|
5 exit -1
|
|
6 fi
|
|
7
|
|
8 if grep // *.[ch] ; then
|
|
9 echo "Failed: Source contains C++ style comments"
|
|
10 exit -1
|
|
11 fi
|
|
12
|
|
13 if grep strncpy *.[ch] ; then
|
|
14 echo "strncpy may result in unterminated strings."
|
|
15 echo "Use Util_copyString"
|
|
16 exit -1
|
|
17 fi
|
|
18
|
|
19 if grep XXX *.[ch] ; then
|
|
20 echo "Source contains XXX marker (personnally used)"
|
|
21 exit -1
|
|
22 fi
|
|
23
|
|
24 if grep -i "since version" CHANGELOG.html ; then
|
|
25 echo "Warning: CHANGELOG.html should mention new version"
|
|
26 echo "Continue anyway? (y/n)"
|
|
27 read a
|
|
28 if test "$a" != "j" -a "$a" != "J"; then exit -1; fi
|
|
29 fi
|
|
30
|
|
31 exit 0
|
|
32
|