Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit31d2c47

Browse files
committed
windows: remove date from version number in win32ver.rc
This may have served a purpose at some point, but these days it justcontributes to a non-reproducible build.Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>Discussion:https://postgr.es/m/c5736f70-bb6d-8d25-e35c-e3d886e4e905@enterprisedb.comDiscussion:https://postgr.es/m/1cef5b48-32bd-5cbf-fb62-fb648860f5ef@enterprisedb.com
1 parentfbd2bd1 commit31d2c47

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

‎src/makefiles/Makefile.win32

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ win32ver.rc: $(top_srcdir)/src/port/win32ver.rc
6969
sed -e 's;FILEDESC;$(PGFILEDESC);' \
7070
-e 's;VFT_APP;$(PGFTYPE);' \
7171
-e 's;_ICO_;$(PGICOSTR);' \
72-
-e 's;\(VERSION.*\),0 *$$;\1,'`date '+%y%j' | sed 's/^0*//'`';' \
7372
-e '/_INTERNAL_NAME_/$(if $(shlib),s;_INTERNAL_NAME_;"$(basename $(shlib))";,d)' \
7473
-e '/_ORIGINAL_NAME_/$(if $(shlib),s;_ORIGINAL_NAME_;"$(shlib)";,d)' \
7574
$< >$@

‎src/tools/msvc/Project.pm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,6 @@ sub AddResourceFile
367367
{
368368
my ($self,$dir,$desc,$ico) =@_;
369369

370-
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
371-
localtime(time);
372-
my$d =sprintf("%02d%03d", ($year - 100),$yday);
373-
374370
if (Solution::IsNewer("$dir/win32ver.rc",'src/port/win32ver.rc'))
375371
{
376372
print"Generating win32ver.rc for$dir\n";
@@ -383,7 +379,6 @@ sub AddResourceFile
383379
{
384380
s/FILEDESC/"$desc"/gm;
385381
s/_ICO_/$icostr/gm;
386-
s/(VERSION.*),0/$1,$d/;
387382
if ($self->{type}eq"dll")
388383
{
389384
s/VFT_APP/VFT_DLL/gm;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp