Browse Source

Use octal mode for -M (patch by dfjoerg)

git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@57 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
master
Stefan Bühler 12 years ago
parent
commit
db801f5649
  1. 1
      NEWS
  2. 2
      src/spawn-fcgi.c

1
NEWS

@ -4,6 +4,7 @@ NEWS
====
- 1.6.4 -
* Use octal mode for -M (patch by dfjoerg)
- 1.6.3 - 2009-09-23
* Fix unix socket mode change to work without specifying user/group for socket

2
src/spawn-fcgi.c

@ -489,7 +489,7 @@ int main(int argc, char **argv) {
case 'U': if (i_am_root) { sockusername = optarg; } /* set socket user */ break;
case 'G': if (i_am_root) { sockgroupname = optarg; } /* set socket group */ break;
case 'S': if (i_am_root) { sockbeforechroot = 1; } /* open socket before chroot() */ break;
case 'M': sockmode = strtol(optarg, NULL, 0); /* set socket mode */ break;
case 'M': sockmode = strtol(optarg, NULL, 8); /* set socket mode */ break;
case 'n': nofork = 1; break;
case 'P': pid_file = optarg; /* PID file */ break;
case 'v': show_version(); return 0;

Loading…
Cancel
Save