mount.c (6973ce04c4f7c82a9a930cb7585cf9eeaa2aaf67) mount.c (748e259bc447125956434314c5fb0f4e0bdf8949)
1/*-
2 * Copyright (c) 1980, 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 630 unchanged lines hidden (view full) ---

639 continue;
640 } else if (*p == '-') {
641 argv[argc++] = p;
642 p = strchr(p, '=');
643 if (p != NULL) {
644 *p = '\0';
645 argv[argc++] = p+1;
646 }
1/*-
2 * Copyright (c) 1980, 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 630 unchanged lines hidden (view full) ---

639 continue;
640 } else if (*p == '-') {
641 argv[argc++] = p;
642 p = strchr(p, '=');
643 if (p != NULL) {
644 *p = '\0';
645 argv[argc++] = p+1;
646 }
647 } else if (strcmp(p, "rw") != 0) {
647 } else {
648 argv[argc++] = strdup("-o");
649 argv[argc++] = p;
650 }
651 }
652
653 *argcp = argc;
654}
655

--- 145 unchanged lines hidden ---
648 argv[argc++] = strdup("-o");
649 argv[argc++] = p;
650 }
651 }
652
653 *argcp = argc;
654}
655

--- 145 unchanged lines hidden ---