Ignore:
Timestamp:
May 24, 2009, 7:45:16 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/client/mount.cifs.c

    r221 r222  
    651651                        *filesys_flags &= ~MS_NOEXEC;
    652652                } else if (strncmp(data, "guest", 5) == 0) {
    653                         got_password=1;
     653                        user_name = (char *)calloc(1, 1);
     654                        got_user = 1;
     655                        got_password = 1;
    654656                } else if (strncmp(data, "ro", 2) == 0) {
    655657                        *filesys_flags |= MS_RDONLY;
     
    10801082                mountpoint = argv[2];
    10811083        } else {
     1084                if ((strcmp (argv[1], "--version") == 0) ||
     1085                    ((strcmp (argv[1], "-V") == 0))) {
     1086                        printf ("mount.cifs version: %s.%s%s\n",
     1087                        MOUNT_CIFS_VERSION_MAJOR,
     1088                        MOUNT_CIFS_VERSION_MINOR,
     1089                        MOUNT_CIFS_VENDOR_SUFFIX);
     1090                        exit (0);
     1091                }
    10821092                mount_cifs_usage();
    10831093                exit(EX_USAGE);
Note: See TracChangeset for help on using the changeset viewer.