зеркало из https://github.com/mozilla/Negatus.git
Remove trailing whitespace.
This commit is contained in:
Родитель
cd0bdf1ad6
Коммит
ea382a7da8
|
@ -70,7 +70,7 @@ Prerequisites - Mac OS X
|
|||
|
||||
You need to have the latest version of Xcode (available from the App Store) and the
|
||||
command line developer tools packages installed. You will have to build your own
|
||||
nspr Mac installation, available at
|
||||
nspr Mac installation, available at
|
||||
https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/.
|
||||
|
||||
The default nspr build installs nspr to /usr/local; the Mac Makefile assumes that you
|
||||
|
@ -81,4 +81,3 @@ have done that. To build Negatus, do:
|
|||
Invoke with:
|
||||
|
||||
./agent
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ std::string
|
|||
CommandEventHandler::cwd(std::vector<std::string>& args)
|
||||
{
|
||||
char buffer[BUFSIZE];
|
||||
|
||||
|
||||
// FIXME: Check for errors here.
|
||||
getcwd(buffer, BUFSIZE);
|
||||
return std::string(buffer);
|
||||
|
|
|
@ -25,7 +25,7 @@ id()
|
|||
continue;
|
||||
|
||||
fgets(buffer, BUFSIZE, iface);
|
||||
|
||||
|
||||
// FIXME: Error handling here. What if line is longer than BUFSIZE bytes?
|
||||
buffer[strlen(buffer) - 1] = '\0'; // remove extra newline
|
||||
fclose(iface);
|
||||
|
|
Загрузка…
Ссылка в новой задаче