使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Immanuel
/
btpd
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Don't really know why I did setlocale. Get rid of it since I want the CTYPE
to be standard.
master
Richard Nyberg
19 年前
父节点
798a7f0c1b
当前提交
4f1d44297a
共有
1 个文件被更改
,包括
0 次插入
和
3 次删除
合并视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+0
-3
btpd/main.c
+ 0
- 3
btpd/main.c
查看文件
@@ -7,7 +7,6 @@
#include <errno.h>
#include <errno.h>
#include <fcntl.h>
#include <fcntl.h>
#include <getopt.h>
#include <getopt.h>
#include <locale.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
@@ -158,8 +157,6 @@ main(int argc, char **argv)
char *dir = NULL, *log = NULL;
char *dir = NULL, *log = NULL;
int daemonize = 1;
int daemonize = 1;
setlocale(LC_ALL, "");
for (;;) {
for (;;) {
switch (getopt_long(argc, argv, "d:p:", longopts, NULL)) {
switch (getopt_long(argc, argv, "d:p:", longopts, NULL)) {
case -1:
case -1:
撰写
预览
正在加载...
取消
保存