This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
btpd
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
pid_t is long on some systems. solaris is one.
master
Richard Nyberg
16 years ago
parent
df5fc31ea8
commit
8a150a2fb3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
btpd/main.c
+ 1
- 1
btpd/main.c
View File
@@ -9,7 +9,7 @@ static void
writepid(int pidfd)
{
FILE *fp = fdopen(dup(pidfd), "w");
fprintf(fp, "%d", getpid());
fprintf(fp, "%
l
d",
(long)
getpid());
fclose(fp);
}
Write
Preview
Loading…
Cancel
Save