Changeset 901


Ignore:
Timestamp:
Apr 1, 2016, 5:22:52 PM (10 years ago)
Author:
Silvan Scherrer
Message:

samba server: remove -Zbin-files, open needed files as O_BINARY, fix version string in build.cmd

Location:
trunk/server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/tdb/common/open.c

    r896 r901  
    217217        tdb->map_ptr = NULL;
    218218        tdb->flags = tdb_flags;
     219
     220
     221
    219222        tdb->open_flags = open_flags;
    220223        if (log_ctx) {
  • trunk/server/lib/util/util_file.c

    r745 r901  
    203203        if (!fname || !*fname) return NULL;
    204204       
     205
     206
     207
    205208        fd = open(fname,O_RDONLY);
     209
    206210        if (fd == -1) return NULL;
    207211
  • trunk/server/source3/build.cmd

    r900 r901  
    7979 *   - added lxlite and emxomfstripe
    8080 *   - rename some variables eCS vs OS/2
     81
     82
     83
    8184*/
    8285
     
    8992
    9093/* init the version string (don't forget to change) */
    91 version      = "1.1.0"
    92 version_date = "24.03.2016"
     94version      = "1.1."
     95version_date = ".2016"
    9396
    9497'@echo off'
     
    281284            parse var OS2Ver.I . '='vendor_suffix
    282285            vendor_suffix = strip(vendor_suffix,,'"')
    283             parse var vendor_suffix vendor suffix
    284286        end
    285287        if left(OS2Ver.I,14) = "MAINTAINED_BY=" then do
    286288            parse var OS2Ver.I . '='maintainedBy
    287289            maintainedBy = '"Maintained by: ' || strip(maintainedBy,,'"') || '"'
     290
     291
     292
     293
    288294        end
    289295    end
     
    295301    OS2Ver.0 = I
    296302
     303
     304
     305
     306
    297307    do until lines(VERSION) = 0
    298308        verline = linein(VERSION)
     
    310320            parse var OS2Ver.I tag'='strvalue
    311321            parse var verline stag'=' .
     322
     323
     324
    312325            if stag = tag then do
    313326                verline = tag'='strvalue
     
    321334    ok = stream(newVersion,'c','close')
    322335    address cmd "sh ./script/mkversion.sh "newVersion" >NUL"
    323     verstring = suffix'-'Major'.'minor'.'release'.'revision'-'vendor'-'date('S')
     336    verstring = -'date('S')
    324337    say 'Samba branded as: '
    325338    say '"'verstring'"'
     
    338351    call lineout scriptfile, "CXXFLAGS='-O2 -g -march=pentium'";
    339352    call lineout scriptfile, "export CXXFLAGS";
    340     call lineout scriptfile, "LDFLAGS=' -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp -Zbin-files'";
     353    call lineout scriptfile, "LDFLAGS=' -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp'";
    341354    call lineout scriptfile, "export LDFLAGS";
    342355    call lineout scriptfile, "LIBS='-lmmap -lintl'";
  • trunk/server/source3/version.os2_

    r898 r901  
    1 SAMBA_VERSION_VENDOR_SUFFIX="OS/2 and OS/2-based systems v1.3.0"
     1SAMBA_VERSION_VENDOR_SUFFIX="OS/2 and OS/2-based systems"
     2VENDOR_VERSION="1.3.0"
    23MAINTAINED_BY="unknown"
Note: See TracChangeset for help on using the changeset viewer.