OS400 pragma comment: replace (date) by (user, __DATE__) to include year.
authorPatrick Monnerat <pm@datasphere.ch>
Mon, 18 Apr 2011 14:52:27 +0000 (16:52 +0200)
committerPatrick Monnerat <pm@datasphere.ch>
Mon, 18 Apr 2011 14:52:27 +0000 (16:52 +0200)
packages/OS400/make-lib.sh

index b7f951b5a4a54b1b53229e82b8bc350d4d9260c0..9b3e335ab14acb45faa6587dc5738d998326c900 100644 (file)
@@ -11,8 +11,9 @@ cd "${TOPDIR}/lib"
 #      Create and compile the identification source file.
 
 echo '#pragma comment(user, "libcurl version '"${LIBCURL_VERSION}"'")' > os400.c
-echo '#pragma comment(date)' >> os400.c
-echo '#pragma comment(copyright, "Copyright (C) 1998-2010 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
+echo '#pragma comment(user, __DATE__)' >> os400.c
+echo '#pragma comment(user, __TIME__)' >> os400.c
+echo '#pragma comment(copyright, "Copyright (C) 1998-2011 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
 make_module     OS400           os400.c
 LINK=                           # No need to rebuild service program yet.
 MODULES=