Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
uehli committed Sep 11, 2006
1 parent 5aa9121 commit 0a3d227
Show file tree
Hide file tree
Showing 10 changed files with 111 additions and 11 deletions.
2 changes: 1 addition & 1 deletion daemons/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Daemons Version 1.0.0
= Daemons Version 1.0.1

(See Releases for release-specific information)

Expand Down
4 changes: 4 additions & 0 deletions daemons/Releases
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
= Daemons Release History

== Release 1.0.1: August 30, 2006

* Fixed a regex for parsing the 'ps ax' system call. (thanks to Garance Alistair Drosehn)

== Release 1.0.0: August 29, 2006

* Fix the parsing of the 'ps ax' system call. (thanks to Garance Alistair Drosehn)
Expand Down
98 changes: 95 additions & 3 deletions daemons/daemons.tmproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,107 @@
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>currentDocument</key>
<string>lib/daemons/pid.rb</string>
<key>documents</key>
<array/>
<array>
<dict>
<key>expanded</key>
<true/>
<key>name</key>
<string>daemons</string>
<key>regexFolderFilter</key>
<string>!.*/(\.[^/]*|CVS|_darcs|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
<key>sourceDirectory</key>
<string></string>
</dict>
</array>
<key>fileHierarchyDrawerWidth</key>
<integer>200</integer>
<key>metaData</key>
<dict/>
<dict>
<key>README</key>
<dict>
<key>caret</key>
<dict>
<key>column</key>
<integer>23</integer>
<key>line</key>
<integer>0</integer>
</dict>
<key>firstVisibleColumn</key>
<integer>0</integer>
<key>firstVisibleLine</key>
<integer>0</integer>
</dict>
<key>Rakefile</key>
<dict>
<key>caret</key>
<dict>
<key>column</key>
<integer>0</integer>
<key>line</key>
<integer>0</integer>
</dict>
<key>firstVisibleColumn</key>
<integer>0</integer>
<key>firstVisibleLine</key>
<integer>0</integer>
</dict>
<key>TODO</key>
<dict>
<key>caret</key>
<dict>
<key>column</key>
<integer>0</integer>
<key>line</key>
<integer>0</integer>
</dict>
<key>firstVisibleColumn</key>
<integer>0</integer>
<key>firstVisibleLine</key>
<integer>0</integer>
</dict>
<key>lib/daemons.rb</key>
<dict>
<key>caret</key>
<dict>
<key>column</key>
<integer>18</integer>
<key>line</key>
<integer>67</integer>
</dict>
<key>firstVisibleColumn</key>
<integer>0</integer>
<key>firstVisibleLine</key>
<integer>40</integer>
</dict>
<key>lib/daemons/pid.rb</key>
<dict>
<key>caret</key>
<dict>
<key>column</key>
<integer>74</integer>
<key>line</key>
<integer>9</integer>
</dict>
<key>firstVisibleColumn</key>
<integer>0</integer>
<key>firstVisibleLine</key>
<integer>0</integer>
</dict>
</dict>
<key>openDocuments</key>
<array>
<string>README</string>
<string>lib/daemons/pid.rb</string>
<string>Rakefile</string>
<string>TODO</string>
<string>lib/daemons.rb</string>
</array>
<key>showFileHierarchyDrawer</key>
<true/>
<key>windowFrame</key>
<string>{{331, 306}, {720, 403}}</string>
<string>{{264, 79}, {944, 786}}</string>
</dict>
</plist>
Empty file removed daemons/lib/ctrl_proc.rb.output
Empty file.
2 changes: 1 addition & 1 deletion daemons/lib/daemons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#
module Daemons

VERSION = "1.0.0"
VERSION = "1.0.1"

require 'daemons/daemonize'

Expand Down
4 changes: 2 additions & 2 deletions daemons/lib/daemons/pid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ module Daemons
class Pid

def Pid.running?(pid, additional = nil)
match_pid = Regexp.new("^\s*#{pid}\s")
match_pid = Regexp.new("^\\s*#{pid}\\s")
got_match = false

ps_all = IO.popen("ps ax")
ps_all = IO.popen("ps ax") # the correct syntax is without a dash (-)
ps_all.each { |psline|
next unless psline =~ match_pid
got_match = true
Expand Down
2 changes: 1 addition & 1 deletion daemons/pkg/daemons-0.4.4/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Daemons Version 1.0.0
= Daemons Version 1.0.1

(See Releases for release-specific information)

Expand Down
4 changes: 4 additions & 0 deletions daemons/pkg/daemons-0.4.4/Releases
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
= Daemons Release History

== Release 1.0.1: August 30, 2006

* Fixed a regex for parsing the 'ps ax' system call. (thanks to Garance Alistair Drosehn)

== Release 1.0.0: August 29, 2006

* Fix the parsing of the 'ps ax' system call. (thanks to Garance Alistair Drosehn)
Expand Down
2 changes: 1 addition & 1 deletion daemons/pkg/daemons-0.4.4/lib/daemons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#
module Daemons

VERSION = "1.0.0"
VERSION = "1.0.1"

require 'daemons/daemonize'

Expand Down
4 changes: 2 additions & 2 deletions daemons/pkg/daemons-0.4.4/lib/daemons/pid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ module Daemons
class Pid

def Pid.running?(pid, additional = nil)
match_pid = Regexp.new("^\s*#{pid}\s")
match_pid = Regexp.new("^\\s*#{pid}\\s")
got_match = false

ps_all = IO.popen("ps ax")
ps_all = IO.popen("ps ax") # the correct syntax is without a dash (-)
ps_all.each { |psline|
next unless psline =~ match_pid
got_match = true
Expand Down

0 comments on commit 0a3d227

Please sign in to comment.