Commit graph

4 commits

Author SHA1 Message Date
Colin Finck 4f3f3a53bc Readd the removed line from the patch and add more information about the Usage of the "-f" option (see comment #6 of bug #2379)
The "-f" option now works like in Windows: If you did not specify any other parameter, it will also log off from the current session.

svn path=/trunk/; revision=27702
2007-07-16 21:50:50 +00:00
Sylvain Petreolle 3f9f01b3b3 unicode compatibility
svn path=/trunk/; revision=27684
2007-07-15 13:53:28 +00:00
Colin Finck 085f7002ae Add a "shutdown" utility written by Frode Lillerud (frode AT enkelt DOT no), which is more compatible with the syntax of the Windows "shutdown" utility
I applied the second patch of bug #2379 and made the following changes to it:

- Removed the LocalFree line
  LocalFree can only be used if the memory is allocated with LocalAlloc. The memory doesn't need to be freed explicitly here.
- Removed the "uncertain if this is needed. Do boolean struct members default to TRUE?" comment
  Independent of the value, this setting is needed here.
- Removed a wrong 'exitOpts.shouldExit = TRUE;' in line 101.
  shouldExit was already set before and resetting it here to TRUE would also lead to TRUE if the user only sets opts.force, but not any of the other shutdown options.
- Use a consistent indentation and coding style
- Modified the Usage text a little bit, so all lines fit into console lines (max. 80 characters)
See issue #2379 for more details.

svn path=/trunk/; revision=27674
2007-07-15 11:15:27 +00:00
Ged Murphy 5bde3198b0 add the base .rbuild files
svn path=/trunk/; revision=21021
2006-02-16 23:32:18 +00:00
Renamed from reactos/apps/utils/shutdown/shutdown.c (Browse further)